@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* AlpIA Tech Colors: Deep Navy and Cyan/Teal */
    --primary-color: #0F172A; /* Deep Navy Blue */
    --primary-light: #1E293B;
    --accent-color: #06B6D4; /* Cyan */
    --accent-dark: #0891B2;
    --accent-teal: #00A389;

    --text-dark: #1E293B;
    --text-light: #64748B;
    --bg-light: #F5F8FA; /* Cor off-white idêntica ao fundo do logo */
    
    --pure-white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.1);
    
    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-highlight {
    color: var(--accent-color);
}

h1, h2, h3 {
    font-family: var(--font-primary);
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

/* Glassmorphism */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
}

/* HEADER */
.header {
    background: var(--bg-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not([class*="nav-btn"]) {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-btn-primary {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-teal));
    color: var(--pure-white) !important;
    padding: 10px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-dark));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.nav-btn-secondary {
    color: var(--primary-color) !important;
    font-weight: 600;
    text-decoration: none;
}

.mobile-menu-btn { display: none; }

/* HERO SECTION */
.hero {
    padding: 50px 0 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-dark);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.cta-button {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent-teal));
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.25);
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-dark));
    transform: translateY(-3px);
}

.cta-button-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.cta-button-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* FEATURES */
.feature-section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 30px auto;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .section-header h2 {
        white-space: normal;
        font-size: 1.8rem;
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 40px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-dark);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.highlight-card {
    background: var(--primary-color);
    color: white;
}

.highlight-card h3, .highlight-card p {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

.highlight-card .feature-icon {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* PRICING */
.pricing-section {
    padding: 100px 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1350px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    padding: 30px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.popular-card {
    border: 2px solid var(--accent-color);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header {
    min-height: 85px;
}

.pricing-header h3 {
    font-size: 1.75rem;
    margin-bottom: 6px;
}

.pricing-header p {
    font-size: 0.88rem;
}

.pricing-price {
    margin: 14px 0 6px 0;
    min-height: 65px;
    display: flex;
    align-items: flex-end;
}

.currency { font-size: 1.35rem; font-weight: 600; vertical-align: top; margin-bottom: 6px; }
.amount { font-size: 3.4rem; font-weight: 800; line-height: 1; color: var(--primary-color); }
.period { color: var(--text-light); margin-bottom: 6px; font-size: 0.9rem; }

.pricing-setup {
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 20px;
    min-height: 36px;
    display: flex;
    align-items: center;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.35;
}

.pricing-features svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--accent-color);
    stroke-width: 3;
    fill: none;
}

.pricing-card .cta-button {
    display: block;
    text-align: center;
    width: 100%;
    margin-top: auto;
}

.cta-button-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid #E2E8F0;
    box-shadow: none;
}

.cta-button-outline:hover {
    border-color: var(--primary-color);
    background: transparent;
    color: var(--primary-color);
}

.b2g-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    margin-top: 80px;
    padding: 40px;
    text-align: center;
    border-radius: 24px;
}

.b2g-banner h3 {
    color: white;
    margin-bottom: 10px;
}

/* FOOTER */
.footer {
    background: var(--bg-light);
    padding: 60px 0 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-links a {
    margin-left: 24px;
    color: var(--text-light);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #E2E8F0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* MODAL */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.7);
    display: none; justify-content: center; align-items: center; z-index: 2000;
}
.modal-overlay.show { display: flex; }
.modal-content {
    padding: 40px; width: 90%; max-width: 400px;
    position: relative;
}
.close-btn { position: absolute; top: 20px; right: 20px; background: none; border: none; font-size: 24px; cursor: pointer; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-group input { width: 100%; padding: 12px; border: 1px solid #E2E8F0; border-radius: 8px; }
.submit-btn { width: 100%; padding: 12px; background: var(--primary-color); color: white; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
    h1 { font-size: 3rem !important; }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-light);
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        display: none; /* Hidden by default on mobile */
        border-top: 1px solid var(--border-color);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    }
    
    .mobile-menu-btn span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--primary-color);
        margin: 5px 0;
        transition: all 0.3s;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem !important;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .footer-links a {
        margin-left: 0;
    }
}