/* Minimalist Design - Dark Theme */
:root {
    --bg: #0b1120;
    --panel: #0f172a;
    --text: #e2e8f0;
    --text-light: #94a3b8;
    --primary: #0ea5e9;
    --primary-hover: #0284c7;
    --secondary: #64748b;
    --border: #1e293b;
    --shadow: rgba(0, 0, 0, 0.3);
    --gray-50: #1e293b;
    --gray-100: #334155;
    --card: #0b1226;
}

* {
    box-sizing: border-box;
}

html {
    scrollbar-gutter: stable;
    overflow-y: scroll;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

/* Vanta Globe Background */
#vanta-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.25;
}

body>*:not(#vanta-background):not(.site-header) {
    position: relative;
    z-index: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container>*+* {
    margin-top: 24px;
}

/* Header */
.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: rgba(11, 17, 32, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
}

.brand .logo {
    width: 32px;
    height: 32px;
}

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

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.nav-links a.btn-primary {
    color: white !important;
}

.nav-links a.btn-primary:hover {
    color: white !important;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: 0;
    border: 0;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text);
    margin: 6px auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

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

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

.btn-secondary {
    background: var(--gray-100);
    color: var(--text);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--gray-50);
    border-color: var(--secondary);
}

.btn-contrast {
    background: var(--text);
    color: var(--bg);
}

.btn-contrast:hover {
    background: var(--text-light);
    color: var(--bg);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

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

.btn-outline:hover {
    background: var(--gray-50);
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 100px;
    padding-top: calc(70px + 140px);
    /* Account for fixed header */
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: transparent;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 28px;
    color: var(--text);
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 20px;
    color: var(--text-light);
    margin: 0 0 40px;
    line-height: 1.7;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 40px 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text);
}

.check {
    color: var(--primary);
    font-weight: bold;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
}

/* Features Section */
.section {
    padding: 100px 0;
    position: relative;
}

.section.alt {
    background: rgba(20, 31, 60, 0.35);
}

.section h2 {
    margin-bottom: 60px;
}


/* Feature Boxes - Expandable */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-box:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

.feature-box.active {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.feature-box-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    cursor: pointer;
}

.feature-box-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.feature-box-header h3 {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--text);
}

.feature-toggle {
    font-size: 24px;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-box.active .feature-toggle {
    transform: rotate(45deg);
}

.feature-box-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
}

.feature-box.active .feature-box-content {
    max-height: 500px;
    padding: 0 20px 20px;
}

.feature-box-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 16px;
}

.feature-box-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-box-content li {
    color: var(--text-light);
    font-size: 14px;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.feature-box-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}


/* Apps Section */
.apps-section h2 {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 48px;
    color: var(--text);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: box-shadow 0.2s ease;
}

.app-item:hover {
    box-shadow: 0 4px 12px var(--shadow);
}

.app-icon {
    font-size: 32px;
}

.app-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

/* Pricing Section */
#pricing h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 48px;
    color: var(--text);
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-plan {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    position: relative;
    transition: box-shadow 0.2s ease;
}

.pricing-plan:hover {
    box-shadow: 0 8px 24px var(--shadow);
}

.pricing-plan.featured {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.plan-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--text);
}

.plan-price {
    margin-bottom: 24px;
}

.currency {
    font-size: 20px;
    color: var(--text-light);
}

.amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--text);
}

.period {
    font-size: 16px;
    color: var(--text-light);
}

.plan-save {
    background: #10b981;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    margin-top: 8px;
    display: inline-block;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.plan-features span {
    font-size: 14px;
    color: var(--text-light);
}

/* FAQ Section */
#faq h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 40px;
    color: var(--text);
}

.accordion {
    max-width: 700px;
    margin: 0 auto;
}

.accordion details {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.accordion summary {
    cursor: pointer;
    padding: 20px 24px;
    font-weight: 600;
    color: var(--text);
    transition: background-color 0.2s ease;
}

.accordion summary:hover {
    background: var(--gray-50);
    color: var(--text);
}

.accordion .content {
    padding: 0 24px 20px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: rgba(20, 31, 60, 0.35);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}

.cta-grid h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text);
}

.cta-grid p {
    margin: 0;
    color: var(--text-light);
    font-size: 16px;
}

.cta-actions {
    display: flex;
    gap: 12px;
}

.muted {
    color: var(--text-light);
}

.footnote {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footnote small {
    color: var(--text-light);
    font-size: 14px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    background: rgba(15, 23, 42, 0.4);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.footer-grid .brand {
    margin-bottom: 16px;
}

.footer-grid p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--text);
}

.footer-links a {
    color: var(--text-light);
    font-size: 14px;
    display: block;
    margin: 6px 0;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 80px 0 60px;
        padding-top: calc(70px + 80px);
        /* Account for fixed header */
    }

    .hero-content h1 {
        font-size: 40px;
        letter-spacing: -0.01em;
    }

    .section {
        padding: 80px 0;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-features {
        text-align: center;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .cta-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .cta-actions {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .apps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .pricing-table {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 24px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(11, 17, 32, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border);
        padding: 20px;
        flex-direction: column;
        gap: 16px;
        box-shadow: 0 4px 6px var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }
}

@media (max-width: 480px) {
    .apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}