/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {          
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

/* Variáveis CSS */
:root {
    --primary: hsl(167, 53%, 50%);
    --primary-light: hsl(168, 52%, 82%);
    --primary-lighter: hsl(168, 52%, 91%);
    --secondary: hsl(165, 43%, 11%);
    --secondary-light: hsl(168, 43%, 33%);
    --text-normal: hsl(60,5%,16%);
    --text-secondary: hsl(60,5%,28%);
    --accent: hsl(48, 96%, 62%);
    --destructive: hsl(0, 84%, 60%);
    --alert:hsl(41,74%,77%);
    --alert-dark:hsl(40,45%,25%);
    --alert-light:hsl(41,74%,85%);
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(224, 71%, 4%);
    --muted: hsl(210, 40%, 98%);
    --border: hsl(214, 32%, 91%);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Utilitários */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--foreground);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 80px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--border);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.center {
    margin: 0 auto;
    padding: 2rem 0;
    width: 100%;
    text-align: center;
}

/* Hero Section */
.hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, 
        hsla(221, 83%, 53%, 0.1) 0%, 
        hsla(142, 69%, 58%, 0.05) 50%, 
        var(--background) 100%
    ), url('img-hero-line.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(26, 26, 26, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}



.health-section {
            position: relative;
            display: flex;
            align-items: center;
            /* background: linear-gradient(135deg, #4ECDC4 0%, #44B3A8 100%); */
            padding: 120px 0;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 2;
        }

        .content-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0px;
            align-items: center;
        }

        .text-content {
            color: var(--secondary);
            z-index: 3;
            position: relative;
        }

        .box-text-hero {
            display: block;
            border-radius: 0;
            padding: 64px 64px 64px 0;
            position: relative;
            z-index: 0;
        }

        .main-title {
            font-size: 2.8rem;
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 2rem;
            letter-spacing: -0.01em;
        }

        .subtitle {
            font-size: 1.25rem;
            font-weight: 400;
            line-height: 1.5;
            margin-bottom: 2.5rem;
            opacity: 0.90;
        }

        .cta-button {
            display: inline-block;
            background: linear-gradient(145deg, #307869 0%, #205045 100%);
            color: white;
            padding: 18px 36px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            color: var(--primary-light);
            box-shadow: 0 16px 16px rgba(45, 55, 72, 0.2);
            background: linear-gradient(145deg, #307869 0%, #205045 100%);
        }

        .image-container {
            position: relative;
            z-index: 9;
        }

        .image-hero {
            margin-left: -32px;
        }

        .pharmacy-image {
            width: 100%;
            height: auto;
            position: relative;
            z-index: 2;
        }

        /* Elemento decorativo para criar sobreposição */
        .overlay-shape {
            position: absolute;
            top: -30px;
            right: -30px;
            width: 120%;
            height: 120%;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 40px;
            z-index: 1;
        }

        /* Efeito de sobreposição entre os blocos */
        .content-wrapper::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 45%;
            transform: translateY(-50%);
            width: 200px;
            height: 200px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 50%;
            z-index: 1;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .main-title {
                font-size: 2.4rem;
            }
            
            .content-wrapper {
                gap: 0px;
            }
        }

        @media (max-width: 768px) {
            .health-section {
                min-height: auto;
                padding: 40px 0;
            }

            .content-wrapper {
                grid-template-columns: 1fr;
                gap: 0px;
                text-align: center;
            }

            .main-title {
                font-size: 2.4rem;
                margin-bottom: 1.5rem;
            }

            .subtitle {
                font-size: 1.1rem;
                margin-bottom: 2rem;
            }

            .cta-button {
                padding: 16px 32px;
                font-size: 1rem;
            }

            .overlay-shape {
                display: none;
            }

            .content-wrapper::before {
                display: none;
            }

            .image-container {
                order: -1;
            }

            .image-hero {
                margin-left: 0;
            }

            .pharmacy-image {
                border-radius: 20px;
                max-width: 100%;
                margin: 0 auto;
            }

            .box-text-hero {
                border-radius: 24px;
                padding: 32px;
            }   
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 15px;
            }

            .main-title {
                font-size: 2rem;
            }

            .subtitle {
                font-size: 1rem;
            }

            .cta-button {
                padding: 14px 28px;
                font-size: 0.95rem;
            }
        }

        /* Animações */
        @keyframes fadeInUp {
            from {
                opacity: 0.2;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInRight {
            from {
                opacity: 0.2;
                transform: translateX(30px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .text-content {
            animation: fadeInUp 0.8s ease-out;
        }

        .image-container {
            animation: fadeInRight 0.8s ease-out 0.2s both;
        }


/* Section Base */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: rgba(26, 26, 26, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

/* Problema Section */
.problema-section {
    padding: 5rem 0;
    background: var(--alert-light);
}

.problema-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.problema-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.problema-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.problema-icon {
    width: 4rem;
    height: 4rem;
    background: var(--alert);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--alert-dark);
    font-size: 2rem;
}

.problema-stat {
    font-size: 2rem;
    font-weight: bold;
    color: var(--alert-dark);
    margin-bottom: 1rem;
}

.problema-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-normal);
}

.problema-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Solução Section */
.solucao-section {
    padding: 5rem 0;
}

.solucao-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.solucao-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.feature-desc {
    color: rgba(26, 26, 26, 0.7);
    font-size: 0.875rem;
}

.solucao-image {
    position: relative;
}

.image-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 1rem;
    filter: blur(40px);
    opacity: 0.2;
}

.solucao-image img {
    position: relative;
    width: 100%;
    height: auto;
}

/* Vantagens Section */
.vantagens-section {
    padding: 5rem 0;
    background: var(--primary-lighter);
}

.vantagens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.vantagem-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
}

.vantagem-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.vantagem-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary);
    font-size: 2rem;
}

.gradient-1 { background: linear-gradient(135deg, var(--secondary), var(--secondary-light)); }
.gradient-2 { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.gradient-3 { background: linear-gradient(135deg, var(--accent), #fbbf24); }
.gradient-4 { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.gradient-5 { background: linear-gradient(135deg, #ec4899, #f472b6); }
.gradient-6 { background: linear-gradient(135deg, #10b981, #34d399); }

.vantagem-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.vantagem-desc {
    color: rgba(26, 26, 26, 0.7);
}

.vantagens-highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    color: white;
    max-width: 1000px;
    margin: 0 auto;
}

.vantagens-highlight h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.vantagens-highlight p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Planos Section */
.planos-section {
    padding: 5rem 0;
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.plano-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.plano-card:hover {
    box-shadow: var(--shadow-lg);
}

.plano-card.premium {
    border-color: var(--primary);
    background: linear-gradient(180deg, 
        hsla(221, 83%, 53%, 0.1) 0%, 
        hsla(142, 69%, 58%, 0.1) 100%
    );
}

.plano-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.plano-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plano-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.plano-card .plano-icon {
    background: var(--muted);
    color: rgba(26, 26, 26, 0.6);
}

.plano-card.premium .plano-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.plano-nome {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.plano-preco {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.preco {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary);
}

.periodo {
    font-size: 1rem;
    color: rgba(26, 26, 26, 0.6);
    margin-left: 0.25rem;
}

.plano-desc {
    color: rgba(26, 26, 26, 0.7);
    margin-bottom: 1rem;
}

.plano-features {
    space-y: 1rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature.incluido i {
    color: var(--secondary);
}

.feature.nao-incluido i {
    color: rgba(26, 26, 26, 0.4);
}

.feature.incluido span {
    color: var(--foreground);
}

.feature.nao-incluido span {
    color: rgba(26, 26, 26, 0.4);
}

.feature span {
    font-size: 0.875rem;
}

.planos-disclaimer {
    text-align: center;
    color: rgba(26, 26, 26, 0.6);
}

/* Equipe Section */
.equipe-section {
    padding: 5rem 0;
    background: var(--muted);
}

.equipe-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.equipe-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.equipe-info h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.equipe-info p {
    font-size: 1.125rem;
    color: rgba(26, 26, 26, 0.8);
    margin-bottom: 1.5rem;
}

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat {
    background: rgba(255, 255, 255, 0.6);
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(26, 26, 26, 0.7);
}

.membros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.membro-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.membro-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.membro-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.membro-avatar img {
max-width: 100%;
border: 2px solid var(--primary-light);
border-radius: 50%;
}

.membro-nome {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--foreground);
}

.membro-cargo {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--primary);
    border-radius: 1rem;
    font-size: 0.75rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.membro-especialidade {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.membro-experiencia {
    font-size: 0.75rem;
    color: rgba(26, 26, 26, 0.6);
    margin-bottom: 0.75rem;
}

.membro-desc {
    font-size: 0.875rem;
    color: rgba(26, 26, 26, 0.7);
}

.certificacoes {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    color: white;
    max-width: 1000px;
    margin: 0 auto;
}

.certificacoes h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.certificacoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.certificacoes-card {
    display: flex;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    align-items: center;
    justify-content: center;
}

.certificacoes-card img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
}



/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 4rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.contact-info {
    space-y: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    width: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .solucao-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .equipe-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .certificacoes-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .planos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .nav {
        padding: 1rem;
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .problema-grid,
    .vantagens-grid,
    .membros-grid {
        grid-template-columns: 1fr;
    }
    
    .solucao-features {
        grid-template-columns: 1fr;
    }
}



/* Modal Overlay */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            backdrop-filter: blur(4px);
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Modal Container */
        .modal-container {
            background: white;
            border-radius: 16px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
            max-width: 500px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            transform: scale(0.7) translateY(50px);
            transition: all 0.3s ease;
            position: relative;
        }

        .modal-overlay.active .modal-container {
            transform: scale(1) translateY(0);
        }

        /* Modal Header */
        .modal-header {
            padding: 30px 30px 20px;
            border-bottom: 1px solid #e2e8f0;
            position: relative;
        }

        .modal-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: #2d3748;
            margin-bottom: 8px;
        }

        .modal-subtitle {
            color: #718096;
            font-size: 0.95rem;
        }

        .close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: #a0aec0;
            cursor: pointer;
            padding: 8px;
            border-radius: 50%;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
        }

        .close-btn:hover {
            background: #f7fafc;
            color: #4a5568;
        }

        /* Modal Body */
        .modal-body {
            padding: 20px 30px 30px;
        }

        /* Form Styles */
        .form-group {
            margin-bottom: 24px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #4a5568;
            font-size: 0.95rem;
        }

        .form-input {
            width: 100%;
            padding: 14px 16px;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: #f8fafc;
        }

        .form-input:focus {
            outline: none;
            border-color: #4ECDC4;
            background: white;
            box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
        }

        .form-input.error {
            border-color: #e53e3e;
            background: #fef5f5;
        }

        .form-input.valid {
            border-color: #38a169;
            background: #f0fff4;
        }

        /* Error Message */
        .error-message {
            color: #e53e3e;
            font-size: 0.875rem;
            margin-top: 6px;
            display: none;
        }

        .error-message.show {
            display: block;
        }

        /* Submit Button */
        .submit-btn {
            width: 100%;
            background: linear-gradient(135deg, #4ECDC4 0%, #44B3A8 100%);
            color: white;
            padding: 16px;
            border: none;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .submit-btn:hover:not(:disabled) {
            transform: translateY(-1px);
            box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
        }

        .submit-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .submit-btn .loading {
            display: none;
        }

        .submit-btn.loading .loading {
            display: inline-block;
        }

        .submit-btn.loading .btn-text {
            display: none;
        }

        /* Loading Spinner */
        .spinner {
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: white;
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Success Message */
        .success-message {
            background: #f0fff4;
            border: 1px solid #9ae6b4;
            color: #2f855a;
            padding: 16px;
            border-radius: 8px;
            margin-bottom: 20px;
            display: none;
        }

        .success-message.show {
            display: block;
        }

        /* Alert Messages */
        .alert {
            padding: 16px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-weight: 500;
        }

        .alert-success {
            background: #f0fff4;
            border: 1px solid #9ae6b4;
            color: #2f855a;
        }

        .alert-error {
            background: #fef5f5;
            border: 1px solid #feb2b2;
            color: #c53030;
        }

        /* Rate Limit Warning */
        .rate-limit-warning {
            background: #fffbf0;
            border: 1px solid #f6e05e;
            color: #975a16;
            padding: 12px;
            border-radius: 6px;
            margin-bottom: 15px;
            font-size: 0.9rem;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .modal-container {
                width: 95%;
                border-radius: 12px;
            }

            .modal-header,
            .modal-body {
                padding-left: 20px;
                padding-right: 20px;
            }

            .modal-title {
                font-size: 1.25rem;
            }

            .form-input {
                padding: 12px 14px;
            }

            .submit-btn {
                padding: 14px;
                font-size: 1rem;
            }
        }

        @media (max-width: 480px) {
            .modal-container {
                width: 98%;
                margin: 10px;
            }

            .modal-header,
            .modal-body {
                padding: 20px 15px;
            }
        }
        