* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a1929;
    --primary-blue: #1a2332;
    --accent-light: #6dcff6;
    --accent-dark: #374ea2;
    --text-white: #ffffff;
    --text-gray: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #374ea2 0%, #1a2332 50%, #0a1929 100%);
    min-height: 100vh;
    color: var(--text-white);
    position: relative;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Effects - Removido para melhor performance */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    padding: 30px 0 60px;
    text-align: center;
}

.logo {
    display: inline-block;
}

.logo-image {
    height: 140px;
    width: auto;
    max-width: 500px;
    object-fit: contain;
    transition: transform 0.2s ease;
    display: block;
}

.logo-image:hover {
    transform: scale(1.03);
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.4s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.play-icon {
    color: var(--accent-light);
    font-size: 10px;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-white);
}

.highlight {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    white-space: nowrap;
}

/* Links Section */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 80px;
    animation: fadeInUp 0.4s ease-out 0.1s both;
}

.link-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 0;
    transition: transform 0.2s ease, 
                border-color 0.2s ease,
                box-shadow 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.link-card::before {
    display: none;
}

.link-card:hover::before {
    left: 100%;
}

.link-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.link-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px 28px;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.link-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.link-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    flex-shrink: 0;
}

.link-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-white);
}

.link-text p {
    font-size: 14px;
    color: var(--text-gray);
}

.arrow-icon {
    transition: transform 0.2s ease;
    flex-shrink: 0;
    color: var(--text-gray);
}

.link-card.active .arrow-icon {
    transform: rotate(180deg);
}

/* CTA Link */
.cta-link {
    background: linear-gradient(135deg, rgba(109, 207, 246, 0.2) 0%, rgba(55, 78, 162, 0.3) 100%);
    border: 1px solid rgba(109, 207, 246, 0.4);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 24px 28px;
    position: relative;
}

.cta-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent-light);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cta-arrow {
    font-size: 24px;
    color: var(--accent-light);
    margin-left: auto;
    transition: transform 0.2s ease;
}

.cta-link:hover .cta-arrow {
    transform: translateX(6px);
}

.cta-link:hover {
    background: linear-gradient(135deg, rgba(109, 207, 246, 0.3) 0%, rgba(55, 78, 162, 0.4) 100%);
    border-color: rgba(109, 207, 246, 0.6);
}

/* Dropdown Menu */
.dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, 
                opacity 0.2s ease, 
                padding 0.25s ease;
    opacity: 0;
    padding: 0 28px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--glass-border);
}

.link-card.active .dropdown-menu {
    max-height: 900px;
    opacity: 1;
    padding: 16px 28px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    color: var(--text-white);
    text-decoration: none;
    transition: padding-left 0.15s ease, color 0.15s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    padding-left: 12px;
    color: var(--accent-light);
}

.dropdown-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    flex-shrink: 0;
}

.dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-text strong {
    font-size: 16px;
    font-weight: 600;
}

.dropdown-text span {
    font-size: 13px;
    color: var(--text-gray);
}

/* Planos Preview */
.planos-preview {
    margin-top: 20px;
    scroll-margin-top: 100px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.planos-preview-title {
    grid-column: 1 / -1;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.plano-mini-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-white);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.plano-mini-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.plano-mini-card.plano-gratis {
    border-color: rgba(109, 207, 246, 0.4);
    background: linear-gradient(135deg, rgba(109, 207, 246, 0.15) 0%, rgba(55, 78, 162, 0.2) 100%);
}

.plano-mini-card.plano-popular {
    position: relative;
    border-color: rgba(109, 207, 246, 0.4);
    background: linear-gradient(135deg, rgba(109, 207, 246, 0.1) 0%, rgba(55, 78, 162, 0.15) 100%);
}

.plano-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--accent-light);
}

.plano-nome {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-white);
}

.plano-preco {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-light);
}

.plano-features {
    font-size: 11px;
    color: var(--text-gray);
    line-height: 1.4;
}

.plano-cta {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-light);
    margin-top: 4px;
}

/* AI Models Section */
.ai-models-section {
    animation: fadeInUp 0.4s ease-out 0.2s both;
    scroll-margin-top: 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-white);
}

.ai-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.ai-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.2s ease,
                border-color 0.2s ease,
                box-shadow 0.2s ease,
                opacity 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(15px);
}

.ai-card.ai-card-visible {
    opacity: 1;
    transform: translateY(0);
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: -1;
    pointer-events: none;
}

.ai-card:hover::before {
    opacity: 0.15;
}

.ai-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.ai-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.ai-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-white);
}

.ai-badge {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-gray);
}

.ai-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-white);
}

.ai-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }

    .header {
        padding: 20px 0 40px;
    }

    .logo-image {
        height: 40px;
        max-width: 250px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .link-header {
        padding: 20px;
    }

    .link-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .link-text h3 {
        font-size: 18px;
    }

    .ai-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ai-card {
        padding: 20px;
    }

    .planos-preview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .link-content {
        gap: 12px;
    }

    .link-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .link-text h3 {
        font-size: 16px;
    }

    .link-text p {
        font-size: 12px;
    }
}
