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

:root {
    --bg: #000000;
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.6);
    --border: rgba(41, 121, 255, 0.2);
    --accent: #2979ff;
}

body {
    font-family: 'Manrope', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overscroll-behavior-y: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
}

.logo-text {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800;
    letter-spacing: -0.04em;
}

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

/* Video Background */
/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #050505;
    /* Deep dark background */
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.5;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Simplified Gradient for Performance */
    background:
        radial-gradient(circle at 50% 0%, rgba(41, 121, 255, 0.1) 0%, transparent 70%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(5, 5, 5, 0.4) 50%, #000000 100%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
    z-index: 1;
}

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

.hidden {
    display: none !important;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.01) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 60px rgba(0, 0, 0, 0.8);
}

.nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.6) 50%,
            transparent);
    z-index: 2;
}

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

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

.nav-link {
    font-family: 'Manrope', sans-serif;
    text-decoration: none;
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s;
    letter-spacing: 0.02em;
}

.nav-link:hover {
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

.logo img {
    mix-blend-mode: screen;
    filter: brightness(1.2) contrast(1.1);
}

.logo:hover {
    opacity: 0.8;
}

.logo-text {
    font-family: 'Outfit', sans-serif !important;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.04em;
}

.cta-btn {
    padding: 12px 24px;
    background: white;
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    border: none;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.cta-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.4);
}

.cta-btn:hover::after {
    transform: translateX(100%);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-dim);
    max-width: 640px;
    margin-bottom: 44px;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin-bottom: 72px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: white;
    color: black;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(255, 255, 255, 0.35);
}

.btn-primary.large {
    padding: 20px 40px;
    font-size: 16px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px;
    max-width: 720px;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 600;
}

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

.section-header {
    text-align: center;
    margin-bottom: 68px;
}

.section-header h2 {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.section-header p {
    font-size: 18px;
    color: var(--text-dim);
    font-weight: 500;
}

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

.feature-card {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.03) 0%,
            rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 28px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    will-change: transform, opacity;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4) 50%,
            transparent);
    opacity: 0.6;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card.featured {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.05);
}

.feature-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 10px;
    background: white;
    color: black;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.feature-number {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-dim);
    margin-bottom: 20px;
    letter-spacing: 1.2px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--text-dim);
    line-height: 1.65;
    font-size: 15px;
    font-weight: 500;
}

/* Pricing */
.pricing {
    padding: 100px 0;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 56px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 10px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--border);
}

.toggle-btn {
    flex: 1;
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-weight: 700;
    font-size: 14px;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Manrope', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.toggle-btn.active {
    background: white;
    color: black;
}

.save-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    background: #ffffff;
    color: #000000;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1300px;
    margin: 0 auto;
}

.price-card {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.04) 0%,
            rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 28px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    will-change: transform;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.5) 50%,
            transparent);
    opacity: 0.6;
}

.price-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.25);
}

.price-card.featured {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.price-card.featured:hover {
    transform: scale(1.04) translateY(-6px);
}

.popular-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 14px;
    background: white;
    color: black;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.price-header {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.price-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.price {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
}

.currency {
    font-size: 28px;
    opacity: 0.6;
}

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

.price-desc {
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 600;
}

.price-features {
    list-style: none;
    margin-bottom: 28px;
}

.price-features li {
    padding: 10px 0;
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
}

.price-btn {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: white;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Manrope', sans-serif;
}

.price-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.price-btn.primary {
    background: white;
    color: black;
    border: none;
}

.price-btn.primary:hover {
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
    text-align: center;
}

.final-cta h2 {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.final-cta p {
    font-size: 18px;
    color: var(--text-dim);
    margin-bottom: 40px;
    font-weight: 500;
}

/* Footer */
.footer {
    padding: 68px 0 36px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 52px;
}

.footer-tagline {
    color: var(--text-dim);
    margin-top: 10px;
    font-size: 13px;
    font-weight: 500;
}

.footer-powered {
    text-align: right;
}

.footer-powered span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-dim);
    letter-spacing: 1.5px;
    margin-bottom: 3px;
}

.footer-powered strong {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 500;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none !important;
    transition: color 0.3s;
    font-weight: 600;
    font-size: 13px;
}

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

/* Mobile and Tablet Responsiveness Overhaul */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .nav {
        background: rgba(0, 0, 0, 0.85);
        /* Darker on mobile for readability */
        backdrop-filter: blur(20px);
    }

    .nav-content {
        padding: 12px 20px;
    }

    .logo-text {
        font-size: 16px;
    }

    .nav-actions {
        gap: 16px;
    }

    .nav-link {
        display: none;
        /* Hide Sign In text on very small screens or keep simple */
    }

    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        margin: 0 auto 32px;
        font-size: 16px;
    }

    .hero-cta {
        justify-content: center;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 100%;
        margin-top: 40px;
    }

    .stat {
        text-align: center;
        padding-bottom: 24px;
        border-bottom: 1px solid var(--border);
    }

    .stat:last-child {
        border-bottom: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .feature-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

    /* Add a bit more flair to the sequential steps on mobile */
    .how-it-works .feature-card {
        padding: 40px 24px;
        text-align: center;
        border-left: 1px solid var(--border);
        border-right: 1px solid var(--border);
    }

    .how-it-works .feature-number {
        font-size: 10px;
        background: rgba(255, 255, 255, 0.05);
        display: inline-block;
        padding: 4px 12px;
        border-radius: 100px;
        margin-bottom: 24px;
    }

    .price-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .nav-content {
        padding: 12px 16px;
    }

    .logo-text {
        display: none;
        /* Only logo on mobile */
    }

    .cta-btn {
        padding: 10px 18px;
        font-size: 11px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.1;
    }

    .hero-badge {
        font-size: 8px;
        padding: 6px 14px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-brand,
    .footer-powered {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

/* Scroll Optimization: Performance Fix for 'Hooking' */
.nav,
.video-background,
.video-overlay,
.feature-card,
.price-card {
    will-change: transform;
}

/* Smooth reveal fix */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* FAQ Accordion Styles */
.faq-accordion {
    max-width: 800px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #fff;
    font-family: 'Outfit', sans-serif;
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-dim);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.01);
}

.faq-answer-content {
    padding: 0 32px 32px;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.6;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #fff;
}