/* =============================================
   MakeQuote Marketing Website — Premium Design
   Inspired by: Linear, Vercel, Stripe
   CSS: Scroll-driven animations, container queries,
   mesh gradients, glassmorphism, multi-layer shadows
   ============================================= */

/* ---- CSS Custom Properties ---- */
:root {
    /* Backgrounds */
    --bg: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-muted: #f1f5f9;
    --bg-elevated: #ffffff;
    --bg-dark: #0f172a;

    /* Text */
    --text: #0f172a;
    --text-secondary: #475569;

    /* Compat aliases for docs.html inline styles */
    --text-primary: #0f172a;
    --card-bg: #f1f5f9;
    --card-border: #e2e8f0;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;

    /* Primary — refined blue */
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --primary-lighter: #f8faff;
    --primary-border: #bfdbfe;
    --primary-glow: rgba(37, 99, 235, 0.15);

    /* Accent — emerald green */
    --accent: #10b981;
    --accent-light: #ecfdf5;

    /* Warning — amber */
    --warning-bg: #fef3c7;
    --warning-text: #92400e;

    /* Borders */
    --border: #e2e8f0;
    --border-light: #f1f5f9;

    /* Shadows — multi-layer for depth (Stripe-style) */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md:
        0 1px 3px rgba(0, 0, 0, 0.06),
        0 6px 16px rgba(0, 0, 0, 0.04);
    --shadow-lg:
        0 2px 4px rgba(0, 0, 0, 0.02),
        0 12px 24px rgba(0, 0, 0, 0.06),
        0 32px 56px rgba(0, 0, 0, 0.04);
    --shadow-xl:
        0 4px 8px rgba(0, 0, 0, 0.03),
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 56px 96px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 60px rgba(37, 99, 235, 0.1);
    --shadow-card-hover:
        0 4px 8px rgba(0, 0, 0, 0.02),
        0 16px 32px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(37, 99, 235, 0.1);

    /* Layout */
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 100px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1200px;
    --nav-height: 64px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}

a:hover {
    color: var(--primary-hover);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Typography System ---- */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--text);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.06;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h3 {
    font-size: 1.15rem;
    letter-spacing: -0.015em;
}

/* ---- Button System ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.92rem;
    position: relative;
}

.btn-sm {
    padding: 9px 20px;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-inverse);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(37, 99, 235, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--text-inverse);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: var(--bg);
    color: var(--text);
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--primary-border);
    color: var(--primary);
    background: var(--primary-lighter);
    box-shadow: var(--shadow-md);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: var(--primary-hover);
}

/* ---- Navigation — Glassmorphism ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 1000;
    transition: all 0.3s var(--ease);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.logo:hover {
    color: var(--text);
}

.logo-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.15s var(--ease);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--text);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--primary);
    transition: width 0.25s var(--ease);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 20px;
    height: 1.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

/* ---- Hero — Side-by-side Layout ---- */
.hero {
    padding: calc(var(--nav-height) + 72px) 0 80px;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

/* Mesh gradient */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(37, 99, 235, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 10% 30%, rgba(124, 58, 237, 0.04) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 90% 30%, rgba(16, 185, 129, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

/* Dot grid */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.03) 1px, transparent 0);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
}

.hero-badge-wrapper {
    margin-bottom: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 18px 7px 14px;
    background: var(--bg);
    color: var(--primary);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.01em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.hero-title {
    margin-bottom: 20px;
}

/* Animated gradient text */
.gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 40%, #2563eb 80%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 36px;
    line-height: 1.75;
    font-weight: 400;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Hero video — right side */
.hero-visual {
    position: relative;
}

.hero-video-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--bg-muted);
    box-shadow: var(--shadow-xl);
    transition: box-shadow 0.5s var(--ease);
}

.hero-video-wrapper:hover {
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* Ambient glow behind video */
.hero-video-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.08), transparent 70%);
    z-index: -1;
    filter: blur(40px);
    pointer-events: none;
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
}


/* ---- Stats Bar ---- */
.stats-bar {
    padding: 48px 0;
    background: var(--bg-subtle);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 56px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* ---- Section Headers ---- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 5px 14px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 14px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.08rem;
    line-height: 1.7;
}

/* ---- Platform Cards ---- */
.platforms {
    padding: 96px 0;
    background: var(--bg);
}

.platforms-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 780px;
    margin: 0 auto;
}

.platform-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.35s var(--ease);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(37, 99, 235, 0.02));
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.platform-card:hover::before {
    opacity: 1;
}

.platform-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
    border-color: var(--primary-border);
}

.platform-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

.platform-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.platform-card p {
    color: var(--text-secondary);
    font-size: 0.93rem;
    margin-bottom: 20px;
    line-height: 1.65;
    position: relative;
}

.platform-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 0.01em;
}

.platform-status-review {
    background: var(--warning-bg);
    color: var(--warning-text);
}

.platform-status-soon {
    background: var(--primary-light);
    color: var(--primary);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-dot-amber {
    background: #f59e0b;
}

.status-dot-blue {
    background: var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

/* ---- Features Grid — Uniform 3x3 ---- */
.features {
    padding: 108px 0;
    background: var(--bg-subtle);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.35s var(--ease);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

/* Color gradient top-line on hover */
.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #7c3aed);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
    border-color: var(--primary-border);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    margin-bottom: 18px;
}

.feature-icon {
    font-size: 1.4rem;
    display: block;
    line-height: 1;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.08rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ---- How It Works — Card Grid ---- */
.how-it-works {
    padding: 108px 0;
    background: var(--bg);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.35s var(--ease);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--text-inverse);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.78rem;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.step-icon-large {
    font-size: 2rem;
    margin: 14px 0 16px;
}

.step-card h3 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ---- Screenshots ---- */
.screenshots {
    padding: 108px 0;
    background: var(--bg-subtle);
}

.screenshot-tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 44px;
}

.screenshot-tab {
    padding: 8px 22px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    background: transparent;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.screenshot-tab:hover {
    border-color: var(--primary-border);
    color: var(--primary);
    background: var(--primary-lighter);
}

.screenshot-tab.active {
    background: var(--primary);
    color: var(--text-inverse);
    border-color: var(--primary);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.screenshot-item {
    transition: all 0.35s var(--ease);
}

.screenshot-item[style*="display: none"] {
    display: none !important;
}

.screenshot-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: all 0.35s var(--ease);
    aspect-ratio: 16/10;
}

.screenshot-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px) scale(1.01);
}

.screenshot-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 18px 18px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
    color: var(--text-inverse);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.screenshot-card:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-label {
    font-weight: 600;
    font-size: 0.92rem;
}

.screenshot-overlay p {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 3px;
}

/* ---- Lightbox ---- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.lightbox.active {
    display: flex;
}

.lightbox-image {
    max-width: 88vw;
    max-height: 84vh;
    border-radius: var(--radius);
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--ease);
    backdrop-filter: blur(8px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-caption {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    font-weight: 500;
}

/* ---- Pricing ---- */
.pricing {
    padding: 108px 0;
    background: var(--bg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-elevated);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    position: relative;
    transition: all 0.35s var(--ease);
    box-shadow: var(--shadow-md);
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pricing-card-popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--primary);
}

.pricing-card-popular:hover {
    box-shadow: var(--shadow-xl), 0 0 0 1px var(--primary), var(--shadow-glow);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    color: var(--text-inverse);
    padding: 5px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.pricing-header {
    margin-bottom: 28px;
}

.pricing-header h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}

.amount {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.04em;
    line-height: 1;
}

.period {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.pricing-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-top: 8px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 28px;
}

.pricing-features li {
    padding: 7px 0;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
}

.pricing-features li.highlight {
    color: var(--text);
}

.pricing-features li.muted {
    color: var(--text-muted);
}

.check {
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

.check.accent {
    color: var(--primary);
}

.cross {
    color: var(--text-muted);
    font-weight: 400;
    flex-shrink: 0;
}

/* ---- Comparison Table ---- */
.comparison-wrapper {
    margin-top: 64px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-details {}

.comparison-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary);
    cursor: pointer;
    padding: 14px;
    list-style: none;
    border-radius: var(--radius);
    transition: background 0.2s var(--ease);
}

.comparison-toggle:hover {
    background: var(--primary-light);
}

.comparison-toggle::-webkit-details-marker {
    display: none;
}

.comparison-toggle svg {
    transition: transform 0.3s var(--ease);
}

.comparison-details[open] .comparison-toggle svg {
    transform: rotate(180deg);
}

.comparison-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
    padding: 13px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
    background: var(--bg-muted);
    font-weight: 600;
    color: var(--text);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.comparison-table td {
    color: var(--text-secondary);
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--text);
}

.highlight-col {
    background: rgba(37, 99, 235, 0.03);
    color: var(--text) !important;
}

.comparison-table tbody tr {
    transition: background 0.15s var(--ease);
}

.comparison-table tbody tr:hover {
    background: var(--bg-subtle);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* ---- Blog Section ---- */
.blog {
    padding: 108px 0;
    background: var(--bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.35s var(--ease);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
    color: inherit;
}

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 24px;
}

.blog-category {
    display: inline-block;
    padding: 3px 10px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.blog-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 14px;
}

.blog-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ---- Waitlist Section ---- */
.waitlist {
    padding: 108px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-subtle);
}

.waitlist::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(37, 99, 235, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 50%, rgba(124, 58, 237, 0.04) 0%, transparent 55%);
    pointer-events: none;
}

.waitlist-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.waitlist-text h2 {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    margin-bottom: 16px;
}

.waitlist-text p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.waitlist-perks {
    list-style: none;
}

.waitlist-perks li {
    padding: 6px 0;
    font-size: 0.93rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.waitlist-perks svg {
    flex-shrink: 0;
}

.waitlist-form-wrapper {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg);
    transition: all 0.2s var(--ease);
    outline: none;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-note {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.waitlist-success {
    text-align: center;
    padding: 24px;
}

.success-check {
    margin-bottom: 16px;
}

.waitlist-success h3 {
    color: var(--accent);
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.waitlist-success p {
    color: var(--text-secondary);
}

/* ---- FAQ ---- */
.faq {
    padding: 108px 0;
    background: var(--bg);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    overflow: hidden;
    transition: all 0.2s var(--ease);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    border-color: var(--primary-border);
}

.faq-item.active {
    border-color: var(--primary-border);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 0.97rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    text-align: left;
    transition: color 0.2s var(--ease);
    gap: 16px;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-chevron {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s var(--ease);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
}

.faq-answer p {
    padding: 0 22px 20px;
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.93rem;
}

/* ---- Final CTA ---- */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e40af, #4f46e5, #2563eb);
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 20% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--text-inverse);
    margin-bottom: 12px;
    font-size: clamp(1.6rem, 3vw, 2rem);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.08rem;
    margin-bottom: 32px;
}

/* ---- Footer ---- */
.footer {
    padding: 64px 0 32px;
    background: var(--bg-muted);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-top: 14px;
    line-height: 1.65;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.82rem;
    margin-bottom: 16px;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: color 0.15s var(--ease);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ---- Scroll-based Animations (data-animate) ---- */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
[data-animate][data-delay="1"] {
    transition-delay: 0.1s;
}

[data-animate][data-delay="2"] {
    transition-delay: 0.2s;
}

[data-animate][data-delay="3"] {
    transition-delay: 0.3s;
}

[data-animate][data-delay="4"] {
    transition-delay: 0.4s;
}

[data-animate][data-delay="5"] {
    transition-delay: 0.5s;
}

/* Legacy reveal classes — keep for backwards compat */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 56px;
    }

    .container {
        padding: 0 20px;
    }

    /* Hero */
    .hero {
        padding: calc(var(--nav-height) + 40px) 0 48px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-content {
        text-align: center;
        order: 1;
    }

    .hero-visual {
        order: 2;
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    /* Hero video — constrain on mobile */
    .hero-video-wrapper {
        max-width: 100%;
    }

    .hero-video {
        width: 100%;
        height: auto;
        max-height: 360px;
        object-fit: contain;
    }

    .hero-video-glow {
        display: none;
    }


    /* Section headers */
    .section-header h2 {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .section-header p {
        font-size: 0.95rem;
    }

    /* Stats */
    .stats-grid {
        gap: 24px;
    }

    .stat-divider {
        display: none;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    /* Platforms */
    .platforms {
        padding: 64px 0;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .platform-card {
        padding: 28px 24px;
    }

    .platform-icon {
        width: 52px;
        height: 52px;
    }

    .platform-icon svg {
        width: 28px;
        height: 28px;
    }

    /* Features */
    .features {
        padding: 64px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .feature-card {
        padding: 24px 20px;
    }

    /* How It Works */
    .how-it-works {
        padding: 64px 0;
    }

    .steps-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 440px;
        margin: 0 auto;
        gap: 20px;
    }

    .step-card {
        padding: 24px 16px;
    }

    /* Screenshots */
    .screenshots {
        padding: 64px 0;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .screenshot-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Pricing */
    .pricing {
        padding: 64px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    /* Comparison table — horizontal scroll on mobile */
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table {
        min-width: 500px;
        font-size: 0.85rem;
    }

    /* Blog */
    .blog {
        padding: 64px 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    /* Waitlist */
    .waitlist {
        padding: 64px 0;
    }

    .waitlist-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .waitlist-form-wrapper {
        padding: 28px 20px;
    }

    /* CTA */
    .cta-section {
        padding: 64px 0;
    }

    .cta-box {
        padding: 40px 24px;
        border-radius: var(--radius-lg);
    }

    .cta-box h2 {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .cta-box p {
        font-size: 0.95rem;
    }

    /* FAQ */
    .faq {
        padding: 64px 0;
    }

    .faq-item {
        padding: 16px 0;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-brand p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Mobile nav */
    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 24px;
        gap: 12px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a:not(.btn)::after {
        display: none;
    }

    .nav-links a:not(.btn) {
        padding: 8px 0;
        font-size: 1rem;
    }

    .nav-links .btn {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: calc(var(--nav-height) + 24px) 0 36px;
    }

    .hero-title {
        font-size: clamp(1.4rem, 8vw, 1.8rem);
    }

    .hero-subtitle {
        font-size: 0.92rem;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 5px 12px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-video {
        max-height: 280px;
    }

    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 1.3rem;
    }

    .section-header .section-tag {
        font-size: 0.7rem;
    }

    /* Stats */
    .stats-grid {
        flex-direction: column;
        gap: 16px;
    }

    .stat-number {
        font-size: 1.3rem;
    }

    /* How It Works */
    .steps-grid {
        grid-template-columns: 1fr;
    }

    /* Pricing */
    .pricing-card {
        padding: 28px 20px;
    }

    /* Blog */
    .blog-card-image {
        height: 140px;
    }

    .blog-card-content {
        padding: 16px;
    }

    /* Waitlist */
    .waitlist-form-wrapper {
        padding: 24px 16px;
    }

    /* Platform cards */
    .platform-card h3 {
        font-size: 1.1rem;
    }

    .platform-card p {
        font-size: 0.88rem;
    }
}