/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark futuristic theme - WhatsApp Tech */
    --background: #0f131a;
    --foreground: #e7fdf4;
    
    --card: #171c26;
    --card-foreground: #e7fdf4;
    
    --primary: #16a249;
    --primary-foreground: #0f131a;
    
    --secondary: #212631;
    --secondary-foreground: #e7fdf4;
    
    --muted: #2b303b;
    --muted-foreground: #8fbca9;
    
    --accent: #00bfff;
    --accent-foreground: #0f131a;
    
    --destructive: #ef4343;
    --destructive-foreground: #f8fafc;
    
    --border: #363d49;
    --input: #272c35;
    --ring: #16a249;
    
    /* Custom futuristic tokens */
    --whatsapp: #16a249;
    --whatsapp-dark: #117e39;
    --neon-blue: #00bfff;
    --neon-cyan: #00ffff;
    --tech-gray: #2b303b;
    --tech-dark: #0f131a;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0f131a, #181d25);
    --gradient-whatsapp: linear-gradient(135deg, #16a249, #1abc55);
    --gradient-neon: linear-gradient(90deg, #00bfff, #00ffff);
    --gradient-card: linear-gradient(145deg, #171c26, #272c35);
    
    /* Shadows */
    --shadow-neon: 0 0 30px rgba(0, 191, 255, 0.3);
    --shadow-whatsapp: 0 0 20px rgba(22, 162, 73, 0.4);
    --shadow-card: 0 8px 32px rgba(15, 19, 26, 0.5);
    
    --radius: 0.75rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100vw;
}
/* Scroll */
::-webkit-scrollbar {
    /* largura da barra de rolagem */
    width: 0.35rem !important;
    background-color: var(--primary) !important;
}

::-webkit-scrollbar-track {
    /* cor de fundo da área da barra de rolagem */
    background: var(--muted) !important;
    /* distância do topo da barra */
    margin: 3rem 0 !important;
}

::-webkit-scrollbar-thumb {
    /* cor da alça da barra de rolagem */
    background: var(--whatsapp-dark) !important;
    /* borda arredondada */
    border-radius: 0.8rem !important;
}

::-webkit-scrollbar-thumb:hover {
    /* cor da alça da barra de rolagem ao passar o mouse */
    background: var(--whatsapp) !important;
}
/* Hero section */
.hero {
    min-height: 100vh;
    max-width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    background-image: linear-gradient(rgba(34, 42, 53, 0.85), rgba(34, 42, 53, 0.9)), url('../assets/img/tech-hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.05) 0%, transparent 50%, rgba(22, 162, 73, 0.05) 100%);
}

.grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: 
        linear-gradient(rgba(142, 199, 74, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(142, 199, 74, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
    padding: 1rem;
    width: 100%;
    /* max-width: 32rem; */
}

.generator-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 32rem;

}

/* Icon */
.icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.padula-one-icon {
    padding: 1rem;
    border-radius: 50%;
    background: var(--gradient-whatsapp);
    box-shadow: var(--shadow-whatsapp);
    color: var(--primary-foreground);
}
.padula-one-icon>img {
    width: 4.2rem;
    height: 4rem;
}


/* Title */
.title-section {
    text-align: center;
    margin-bottom: 1rem;
    width: 100%;
    
}

.main-title {
    
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-neon);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--muted-foreground);
    font-size: 1rem;
}

/* Cards */
.form-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(8px);
}

.form-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Input groups */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-label svg {
    color: var(--whatsapp);
}

.input-label svg:nth-child(1) {
    color: var(--neon-cyan);
}

/* Form inputs */
.form-input {
    display: flex;
    height: 3rem;
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--gradient-card);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--foreground);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: var(--muted-foreground);
}

.form-input:focus {
    outline: none;
    border-color: var(--whatsapp);
    box-shadow: 0 0 0 2px rgba(22, 162, 73, 0.2);
    background: var(--tech-gray);
}

.phone-input {
    font-family: 'Courier New', monospace;
}

/* Buttons */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    height: 2.75rem;
    padding: 0 2rem;
    width: 100%;
    background: var(--gradient-whatsapp);
    color: var(--primary-foreground);
}

.btn-whatsapp:hover {
    box-shadow: var(--shadow-whatsapp);
    transform: scale(1.05);
}

.btn-neon {
    background: var(--gradient-neon);
    color: var(--tech-dark);
}

.btn-neon:hover {
    box-shadow: var(--shadow-neon);
    transform: scale(1.05);
}

.btn-icon {
    height: 2.5rem;
    width: 2.5rem;
    padding: 0;
    flex-shrink: 0;
}
.by-padula-one{
    /* display: flex; */
    position: absolute;
    bottom: 1rem;
    right: 1.4rem;
    font-size: 0.75rem;
    color: var(--muted-foreground);
    }
.by-padula-one a {
    color: var(--whatsapp);
    text-decoration: none;
}
/* Link display */
.link-display {
    display: flex;
    gap: 0.5rem;
}

.link-input {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    background: var(--tech-gray);
    flex: 1;
}

.link-help {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.test-link {
    color: var(--whatsapp);
    text-decoration: none;
}

.test-link:hover {
    text-decoration: underline;
}

/* Link card */
.link-card {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Light effects */
.light-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-neon);
    opacity: 0.3;
}

.light-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-whatsapp);
    opacity: 0.3;
}

/* Toast notification */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 100;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 1rem;
    max-width: 20rem;
    animation: toastSlide 0.3s ease-out;
}

.toast-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.toast-icon {
    color: var(--whatsapp);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.toast-title {
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.toast-description {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

@keyframes toastSlide {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Utility classes */
.hidden {
    display: none !important;
}

/* Responsive */
@media (min-width: 768px) {
    .main-title {
        font-size: 3rem;
    }
    
    .form-input {
        font-size: 0.875rem;
    }
}

@media (max-width: 640px) {
    .container {
        max-width: 100%;
        padding: 1rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .toast {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}