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

:root {
    --bg-color: #05050A; /* Very dark background to match the figma */
    --surface-color: #0f172a; 
    --surface-light: #1e293b;
    --border-color: rgba(255, 255, 255, 0.08);
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-color: #5A74FF; /* Matches the soft purplish blue in figma */
    --accent-hover: #7B8FFF;
    --accent-glow: rgba(90, 116, 255, 0.25);
    
    --font-sans: 'Outfit', -apple-system, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* Background Glow Effects matching Figma */
body::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%); width: 100vw; height: 800px;
    background: radial-gradient(circle at 50% 0%, rgba(20, 30, 60, 0.6) 0%, var(--bg-color) 70%);
    z-index: -1; pointer-events: none;
}

a { color: var(--accent-color); text-decoration: none; transition: 0.2s; }
a:hover { color: var(--accent-hover); }

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

/* Header & Nav */
.site-header {
    padding: 24px 0;
    /* Removed border bottom to match figma exactly */
}
.header-inner {
    display: flex; justify-content: space-between; align-items: center;
}
.site-brand img { max-height: 48px; } /* Slightly larger logo to match */
.header-right {
    display: flex; align-items: center; justify-content: flex-end;
}
.nav-wrapper {
    display: flex; align-items: center; gap: 40px;
}
.mobile-menu-toggle { display: none; }
.nav {
    list-style: none; display: flex; gap: 32px; margin: 0; padding: 0;
}
.nav li { margin: 0; padding: 0; }
.nav li a {
    color: var(--text-secondary); font-size: 0.95rem; font-weight: 500; text-decoration: none;
    padding-bottom: 4px;
}
.nav li a:hover { color: #fff; }
.nav li.nav-current a {
    color: #fff;
    border-bottom: 2px solid var(--accent-color);
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 28px; border-radius: var(--radius-full);
    font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: 0.3s;
}
.btn-sm {
    padding: 10px 24px;
}
.btn-primary {
    background-color: var(--accent-color); color: #fff; border: none;
}
.btn-primary:hover {
    background-color: var(--accent-hover); color: #fff;
}
.btn-glow {
    box-shadow: 0 0 30px rgba(90, 116, 255, 0.4);
}
.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(90, 116, 255, 0.6);
}
.btn-outline {
    background-color: rgba(255,255,255,0.02); color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-outline:hover { background-color: rgba(255,255,255,0.06); }

/* Typography */
.text-accent {
    color: #8A9FFF; /* The specific light purplish-blue from the figma */
}
section { padding: 100px 0; }
.section-heading {
    font-size: 2.5rem; font-weight: 700; margin-bottom: 64px;
    text-align: center; letter-spacing: -0.03em; color: #fff;
}

/* Hero */
.hero {
    padding: 80px 0 60px; text-align: center; max-width: 900px; margin: 0 auto;
}
.hero-badge {
    display: inline-flex; align-items: center; padding: 6px 16px; border-radius: var(--radius-full);
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-secondary); font-size: 0.85rem; font-weight: 500;
    margin-bottom: 40px;
}
.badge-dot {
    width: 6px; height: 6px; background-color: var(--accent-color);
    border-radius: 50%; margin-right: 8px;
    box-shadow: 0 0 8px var(--accent-color);
}
.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.1;
    margin-bottom: 24px; letter-spacing: -0.03em; color: #fff;
}
.hero-subtitle {
    font-size: 1.15rem; color: var(--text-secondary); max-width: 700px;
    margin: 0 auto 40px; line-height: 1.7;
}
.hero-actions {
    display: flex; gap: 16px; justify-content: center;
}

/* Metrics Section */
.metrics {
    padding: 0 0 100px 0;
}
.metrics-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1) 50%, transparent);
    margin-bottom: 60px;
}
.metrics-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); text-align: center;
}
.metric-item h2 {
    font-size: 2.25rem; font-weight: 700; color: #fff; margin-bottom: 8px;
}
.metric-item p {
    color: var(--text-secondary); font-size: 0.95rem;
}

/* Cards (Base styling for features, why, pricing) */
.card {
    background: linear-gradient(145deg, var(--surface-color) 0%, rgba(15, 23, 42, 0.4) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    transition: 0.3s ease;
    text-align: left;
}
.card:hover { border-color: rgba(255,255,255,0.2); }

/* Features Split Section */
.features-split { padding: 120px 0; }
.split-grid {
    display: grid; grid-template-columns: 1fr; gap: 64px; align-items: center;
}
@media (min-width: 900px) {
    .split-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

/* Left side cards */
.split-left {
    display: flex; flex-direction: column; gap: 24px;
}
.tier-card {
    background: #0D0F14; /* very dark */
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.tier-header {
    display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px;
}
.tier-header h3 {
    font-size: 1.5rem; color: #fff; font-weight: 600; margin-bottom: 4px; line-height: 1.2;
}
.tier-sub {
    font-size: 0.95rem; color: var(--text-secondary);
}
.tier-sub.text-accent {
    color: var(--accent-color); font-weight: 500;
}
.tier-badge {
    font-size: 0.75rem; font-weight: 700; color: var(--text-muted);
    padding: 6px 12px; border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.1);
}
.tier-badge.badge-pro {
    background: var(--accent-color); color: #fff; border: none;
}

/* Mockup UI */
.tier-ui-mockup {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex; align-items: center; gap: 16px;
}
.mockup-icon {
    width: 40px; height: 40px; background: rgba(0,0,0,0.5); border-radius: 8px;
    display: flex; align-items: center; justify-content: center; color: var(--accent-color);
}
.mockup-icon svg { width: 20px; height: 20px; }
.mockup-text { flex-grow: 1; }
.mockup-text strong {
    display: block; font-size: 0.95rem; color: #fff; margin-bottom: 4px;
}
.mockup-meta {
    display: flex; gap: 8px; align-items: center; font-size: 0.8rem;
}
.tag-grant {
    color: #fdba74; background: rgba(253, 186, 116, 0.1);
    padding: 2px 8px; border-radius: 4px; font-weight: 500;
}
.deadline { color: var(--text-secondary); }
.free-tier .mockup-meta {
    filter: blur(4px);
    opacity: 0.6;
    user-select: none;
    pointer-events: none;
}
.mockup-arrow { color: var(--text-muted); display: flex; align-items: center; }
.mockup-arrow svg { width: 16px; height: 16px; }

/* Pro Card specifics */
.pro-tier {
    border-color: var(--accent-color);
    box-shadow: 0 0 40px rgba(90, 116, 255, 0.15);
}
.pro-features {
    list-style: none; margin-bottom: 32px;
}
.pro-features li {
    display: flex; align-items: center; gap: 12px;
    color: var(--text-secondary); margin-bottom: 16px; font-size: 1.05rem;
}
.pro-features li svg {
    width: 20px; height: 20px; color: var(--accent-color); flex-shrink: 0;
}

/* Right side text */
.split-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 700; color: #fff;
    line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em;
}
.split-desc {
    font-size: 1.15rem; color: var(--text-secondary); line-height: 1.7;
    margin-bottom: 40px; max-width: 500px;
}
.social-proof {
    display: flex; align-items: center; gap: 16px;
}
.avatars { display: flex; }
h4.avatar {
    width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--bg-color);
}
.avatar {
    width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--bg-color);
    object-fit: cover;
    display: block;
}
.social-proof p {
    font-size: 0.9rem; color: var(--text-secondary); line-height: 1.4; margin: 0;
}

/* Benefits Section (Light Wrapper) */
.benefits-wrapper {
    background-color: #ffffff;
    padding: 120px 0;
    margin: 80px 0; /* Add margin to separate from dark sections */
}
.benefits-grid {
    display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 900px) {
    .benefits-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.benefit-card {
    padding: 48px 40px;
    border-radius: 20px;
    display: flex; flex-direction: column;
}
.benefit-icon {
    margin-bottom: 24px;
}
.benefit-icon svg {
    width: 28px; height: 28px;
}
.benefit-card h4 {
    font-size: 1.5rem; font-weight: 600; margin-bottom: 16px; color: #fff;
}
.benefit-card p {
    font-size: 1.05rem; line-height: 1.6;
}

/* Card Specifics */
.bg-dark {
    background-color: #000000;
}
.bg-dark .benefit-icon { color: var(--accent-color); }
.bg-dark p { color: var(--text-secondary); }

.bg-blue {
    background-color: var(--accent-color);
}
.bg-blue .benefit-icon { color: #ffffff; }
.bg-blue p { color: rgba(255, 255, 255, 0.9); }

.bg-darker {
    background-color: #0A0C10; /* Very dark navy */
}
.bg-darker .benefit-icon { color: var(--accent-color); }
.bg-darker p { color: var(--text-secondary); }

/* Built for Speed Grid */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.text-center { text-align: center; }

.speed-card {
    display: flex; flex-direction: column; align-items: center;
    padding: 24px;
}
.speed-icon {
    width: 72px; height: 72px;
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 32px;
}
.speed-icon img {
    width: 32px; height: 32px;
    object-fit: contain;
}
.speed-card h4 {
    font-size: 1.5rem; margin-bottom: 16px; color: #fff; font-weight: 600;
}
.speed-card p {
    color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7; max-width: 320px; margin: 0 auto;
}

/* Partners Strip */
.partners {
    text-align: center;
    padding: 60px 0;
}
.partners-title {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em;
    color: var(--text-muted); text-transform: uppercase; margin-bottom: 32px;
}
.partners-logos {
    display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap;
}
.partners-logos span {
    font-size: 1.25rem; font-weight: 700; color: rgba(255,255,255,0.4);
}

/* Pricing Section Modifications */
.pricing-toggle {
    display: flex; justify-content: center; align-items: center; gap: 16px; margin-bottom: 64px;
}
.toggle-label {
    font-size: 0.95rem; color: #fff; font-weight: 500;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}
.toggle-label.active {
    opacity: 1;
}
/* The switch */
.switch { position: relative; display: inline-block; width: 48px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255,255,255,0.1); transition: .4s; border-radius: 24px; border: 1px solid rgba(255,255,255,0.2); }
.slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
.switch input:checked + .slider { background-color: var(--accent-color); border-color: var(--accent-color); }
.switch input:checked + .slider:before { transform: translateX(24px); }

/* Pricing Grid Layout */
.pricing-grid {
    display: grid; grid-template-columns: 1fr; gap: 32px; max-width: 800px; margin: 0 auto;
}
@media (min-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr 1fr; }
}
.pricing-card {
    padding: 40px; position: relative;
    background: #0A0A0E; border: 1px solid rgba(255,255,255,0.05);
    display: flex; flex-direction: column; border-radius: 20px;
    text-align: left;
}
.pricing-card.premium-tier {
    border-color: var(--accent-color);
    box-shadow: 0 0 40px rgba(90, 116, 255, 0.15);
}
.popular-badge {
    position: absolute; top: -14px; right: 32px;
    background: var(--accent-color); color: #fff;
    font-size: 0.75rem; font-weight: 700; padding: 4px 12px;
    border-radius: 16px; text-transform: uppercase; letter-spacing: 0.05em;
}
.pricing-card h3 {
    font-size: 1.25rem; font-weight: 600; color: #fff; margin-bottom: 16px;
}
.price-block { margin-bottom: 32px; }
.price-val { font-size: 3.5rem; font-weight: 700; color: #fff; line-height: 1; }
.price-period { font-size: 1rem; color: var(--text-secondary); margin-left: 4px; }

.pricing-features {
    list-style: none; margin-bottom: 40px; flex-grow: 1;
}
.pricing-features li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.4;
}
.pricing-features li svg {
    width: 20px; height: 20px; color: var(--accent-color); flex-shrink: 0;
}
.btn-full { width: 100%; }
.pricing-card .btn-outline { border-color: rgba(255,255,255,0.1); color: #fff; }
.pricing-card .btn-outline:hover { background: rgba(255,255,255,0.05); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
    background-color: #0A0A0E;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
}
.faq-item summary {
    padding: 24px 32px; font-weight: 500; font-size: 1.15rem; cursor: pointer; list-style: none; position: relative; color: #fff;
    display: flex; align-items: center; justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: #fff; font-weight: 300; line-height: 1; }
.faq-item[open] summary::after { content: '×'; font-size: 1.5rem; transform: translateY(-2px); display: inline-block; }
.faq-content { padding: 0 32px 32px 32px; color: var(--text-secondary); font-size: 1.05rem; line-height: 1.6; }

/* Final CTA */
.final-cta {
    padding: 160px 0 120px;
    max-width: 800px;
    margin: 0 auto;
}
.cta-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
}
.cta-btn {
    font-size: 1.15rem;
    padding: 16px 40px;
    margin-bottom: 24px;
    display: inline-flex;
}
.cta-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Footer */
.site-footer { padding: 60px 24px; text-align: center; border-top: 1px solid var(--border-color); color: var(--text-muted); margin-top: 80px; font-size: 0.95rem; }

/* Hero Social Proof */
.hero-social-proof {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 20px;
    border-radius: var(--radius-full);
}
.hero-social-proof p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
    text-align: left;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 48px;
}
@media (min-width: 900px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(76, 110, 245, 0.3);
}
.testimonial-stars {
    color: #ffd700;
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
}
.author-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.author-info strong {
    font-size: 0.9rem;
    color: #fff;
}
.author-info span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Testimonials Mobile & Hero Social Proof Mobile */
    .testimonials { padding: 60px 0; }
    .testimonial-card { padding: 24px; }
    .hero-social-proof {
        flex-direction: column;
        gap: 10px;
        border-radius: 20px;
        padding: 16px;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-social-proof p {
        text-align: center;
    }
    /* Container & Layout */
    .container { width: 100%; padding: 0 32px; }
    
    /* Navigation */
    .mobile-menu-toggle { display: block; background: none; border: none; color: #fff; cursor: pointer; padding: 8px; z-index: 100; position: relative; }
    .nav-wrapper {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: #0A0A0E; border-left: 1px solid var(--border-color);
        display: flex; flex-direction: column; align-items: flex-start; padding: 80px 32px;
        transition: 0.3s ease; z-index: 99; gap: 32px;
    }
    .nav-wrapper.active { right: 0; }
    .nav { flex-direction: column; gap: 24px; }
    
    /* Hero */
    .hero { padding: 40px 0; }
    .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
    .hero-subtitle { font-size: 1.05rem; padding: 0 24px; margin-bottom: 32px; }
    .hero-actions { flex-direction: column; align-items: center; width: 100%; gap: 16px; }
    .hero-actions .btn { width: auto; min-width: 220px; margin-bottom: 0; }
    
    /* Grids & Padding */
    .metrics-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .metric-item h2 { font-size: 1.15rem; margin-bottom: 4px; }
    .metric-item p { font-size: 0.7rem; line-height: 1.2; }
    .metrics-divider { margin: 40px 0; }
    .card, .benefit-card, .pricing-card, .tier-card { padding: 32px 24px; }
    
    /* Splits */
    .split-title { font-size: 2.25rem; margin-bottom: 16px; }
    .split-grid { gap: 40px; }
    
    /* Sections */
    .benefits-wrapper { padding: 60px 0; margin: 40px 0; }
    .pricing-toggle { flex-direction: column; gap: 12px; }
    
    /* Partners */
    .partners { padding: 40px 0; }
    .partners-title { font-size: 0.65rem; margin-bottom: 24px; }
    .partners-logos { gap: 20px; }
    .partners-logos span { font-size: 0.9rem; }
    
    /* FAQ */
    .faq-item summary { padding: 20px; font-size: 1.05rem; }
    .faq-content { padding: 0 20px 20px 20px; }
    
    /* CTA */
    .final-cta { padding: 80px 0 60px; }
    .cta-title { font-size: 2.25rem; margin-bottom: 32px; }
}

/* Ghost CMS Required */
.kg-width-wide { max-width: 1040px; margin-left: auto; margin-right: auto; width: 100%; }
.kg-width-full { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }
