/* === Velllab — Obsidian Studio Design === */

/* === Fonts === */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Instrument+Serif:ital@0;1&display=swap');

/* === Reset === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === Custom Properties === */
:root {
    /* Typography */
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 48px;
    --space-2xl: 80px;
    --space-3xl: 120px;
    --space-4xl: 160px;

    /* Layout */
    --container-max: 1180px;
    --container-narrow: 720px;
    --nav-height: 72px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Colors — Dark Theme */
    --bg-page: #0C0C0E;
    --bg-elevated: #141416;
    --bg-card: #1A1A1E;
    --bg-card-hover: #222226;
    --bg-nav: rgba(12, 12, 14, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);

    --text-primary: #F0EDE8;
    --text-secondary: #8A8A8E;
    --text-muted: #505054;
    --text-accent: #D4A853;

    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(212, 168, 83, 0.3);

    --accent: #D4A853;
    --accent-glow: rgba(212, 168, 83, 0.15);
    --accent-soft: rgba(212, 168, 83, 0.08);
    --green: #4ADE80;
    --green-soft: rgba(74, 222, 128, 0.1);
    --red: #FF6B6B;

    --gradient-accent: linear-gradient(135deg, #D4A853 0%, #E8C878 50%, #D4A853 100%);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0) 100%);
    --gradient-hero: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(212, 168, 83, 0.08) 0%, transparent 60%);

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.2), 0 8px 32px rgba(0,0,0,0.15);
    --shadow-elevated: 0 8px 40px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 60px rgba(212, 168, 83, 0.08);
    --shadow-nav: 0 1px 0 rgba(255,255,255,0.04);
}

/* === Base === */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button {
    font-family: inherit;
    cursor: pointer;
}

::selection {
    background: rgba(212, 168, 83, 0.3);
    color: var(--text-primary);
}

/* === Container === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* === Scroll Reveal Animations === */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* === Nav === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--bg-nav);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-scrolled {
    background: rgba(12, 12, 14, 0.95);
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    transition: opacity 0.2s;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
    transition: color 0.2s;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.lang-toggle {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 16px;
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.lang-toggle:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
    background: var(--bg-glass-hover);
}

/* === Buttons === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-accent);
    color: #0C0C0E;
    border: none;
    border-radius: var(--radius-full);
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(212, 168, 83, 0.2);
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 24px rgba(212, 168, 83, 0.35);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bg-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-full);
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    text-align: center;
}

.btn-secondary:hover {
    background: var(--bg-glass-hover);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* === Hero === */
.hero {
    padding-top: calc(var(--nav-height) + var(--space-4xl));
    padding-bottom: var(--space-3xl);
    text-align: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    pointer-events: none;
}

/* Subtle radial glow behind hero */
.hero::after {
    content: "";
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 83, 0.04) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-accent);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-xl);
    animation: fadeInDown 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 400;
    font-style: normal;
    letter-spacing: -0.02em;
    line-height: 1.08;
    max-width: 780px;
    color: var(--text-primary);
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    margin-top: var(--space-lg);
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 540px;
    font-weight: 400;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-cta {
    margin-top: 40px;
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

/* === Hero Demo Animation === */
.hero-demo {
    margin-top: var(--space-2xl);
    max-width: 740px;
    width: 100%;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.demo-screen {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-elevated), var(--shadow-glow);
}

/* --- HUD overlay (matches real Velllab overlay) --- */
.demo-hud {
    position: absolute;
    top: 58px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(12, 12, 14, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: calc(100% - 32px);
    backdrop-filter: blur(12px);
}

.demo-hud.visible {
    opacity: 1;
}

.demo-hud-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
    flex-shrink: 0;
}

.demo-hud-dot.recording {
    animation: pulse-rec 1s ease-in-out infinite;
}

.demo-hud-dot.done {
    background: var(--green);
    animation: none;
}

@keyframes pulse-rec {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4); }
    50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(255, 107, 107, 0); }
}

/* Audio bars */
.demo-hud-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 18px;
    flex-shrink: 0;
}

.demo-bar {
    width: 3px;
    background: var(--red);
    border-radius: 2px;
    min-height: 3px;
    transition: height 0.1s ease;
}

.demo-hud-bars.done .demo-bar {
    background: var(--green);
}

/* Timer */
.demo-hud-timer {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.demo-hud-text {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Mock app window --- */
.demo-app {
    background: var(--bg-elevated);
}

.demo-app-bar {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}

.demo-app-dots {
    display: flex;
    gap: 8px;
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.demo-app-body {
    padding: 56px 32px 44px;
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 190px;
    font-family: var(--font-body);
}

.demo-cursor {
    color: var(--accent);
    font-weight: 300;
    animation: blink-cursor 1s step-end infinite;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* === Sections (shared) === */
.features,
.steps,
.pricing,
.faq {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section-label {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    text-align: center;
    max-width: 520px;
    margin: 0 auto var(--space-2xl);
    line-height: 1.6;
}

/* === Features Grid === */
.features {
    border-top: 1px solid var(--border);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 20px;
    border: 1px solid var(--border-accent);
}

.feature-title {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === Steps === */
.steps {
    border-top: 1px solid var(--border);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    position: relative;
}

/* Connecting line between steps */
.steps-grid::before {
    content: "";
    position: absolute;
    top: 24px;
    left: calc(16.66% + 24px);
    right: calc(16.66% + 24px);
    height: 1px;
    background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
    opacity: 0.3;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 1px solid var(--border-accent);
    color: var(--accent);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 1;
    font-variant-numeric: tabular-nums;
}

.step-title {
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

kbd {
    display: inline-block;
    padding: 3px 8px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: 6px;
    box-shadow: 0 2px 0 var(--border);
}

/* === Pricing === */
.pricing {
    border-top: 1px solid var(--border);
}

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

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.pricing-card.pro {
    border-color: var(--border-accent);
    background: linear-gradient(180deg, rgba(212, 168, 83, 0.06) 0%, var(--bg-card) 40%);
}

.pricing-card.pro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
}

.pricing-plan {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.pricing-card.pro .pricing-plan {
    color: var(--accent);
}

.pricing-price {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 400;
    letter-spacing: -0.03em;
    margin: 12px 0 4px;
    color: var(--text-primary);
}

.pricing-price-note {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.pricing-features li {
    padding: 8px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.pricing-features li::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    text-align: center;
    line-height: 18px;
}

.pricing-features li.included {
    color: var(--text-primary);
}

.pricing-features li.included::before {
    content: "\2713";
    color: var(--green);
    font-weight: 700;
    font-size: 14px;
}

.pricing-features li.excluded::before {
    content: "\2717";
    color: var(--text-muted);
    font-weight: 700;
    font-size: 14px;
}

.pricing-features li.excluded {
    color: var(--text-muted);
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    width: 100%;
}

/* === FAQ === */
.faq {
    border-top: 1px solid var(--border);
}

.faq-list {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item summary {
    cursor: pointer;
    padding: 20px 0;
    font-size: 16px;
    font-weight: 500;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    color: var(--text-primary);
    transition: color 0.2s;
}

.faq-item summary:hover {
    color: var(--accent);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 20px;
    font-weight: 300;
    color: var(--text-muted);
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    font-family: var(--font-body);
}

.faq-item summary:hover::after {
    border-color: var(--border-hover);
    color: var(--text-secondary);
}

.faq-item[open] summary::after {
    content: "\2212";
    background: var(--accent-soft);
    border-color: var(--border-accent);
    color: var(--accent);
    transform: rotate(180deg);
}

.faq-answer {
    padding-bottom: 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    animation: faqOpen 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === Footer === */
.footer {
    padding: var(--space-2xl) 0 var(--space-xl);
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    color: var(--text-primary);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-email {
    color: var(--text-secondary);
    transition: color 0.2s;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
}

.footer-email:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-links a {
    color: var(--text-muted);
    font-size: 13px;
    transition: color 0.2s;
}

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

.footer-copy {
    color: var(--text-muted);
    font-size: 12px;
    margin-top: var(--space-sm);
}

/* === Responsive === */
@media (max-width: 767px) {
    .hero {
        padding-top: calc(var(--nav-height) + var(--space-2xl));
        padding-bottom: var(--space-2xl);
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        max-width: 320px;
    }

    .section-title {
        font-size: 28px;
    }

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

    .feature-card {
        padding: 24px 20px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .steps-grid::before {
        display: none;
    }

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

    .pricing-card {
        padding: 32px 24px;
    }

    .pricing-price {
        font-size: 44px;
    }

    .demo-app-body {
        padding: 48px 20px 32px;
        font-size: 16px;
        min-height: 140px;
    }

    .demo-hud {
        top: 50px;
        padding: 10px 18px;
    }

    .demo-hud-text {
        font-size: 13px;
    }

    .footer-links {
        flex-direction: column;
        gap: var(--space-md);
        align-items: center;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === Thank You Page === */
.thankyou {
    padding-top: calc(var(--nav-height) + var(--space-3xl));
    padding-bottom: var(--space-2xl);
    text-align: center;
}

.thankyou-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.thankyou-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--green-soft);
    border: 1px solid rgba(74, 222, 128, 0.2);
    color: var(--green);
    font-size: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.thankyou-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.thankyou-text {
    margin-top: var(--space-md);
    font-size: 17px;
    color: var(--text-secondary);
}

.thankyou-steps {
    margin-top: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    text-align: left;
    max-width: 480px;
    width: 100%;
}

.thankyou-steps-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.thankyou-steps-list {
    padding-left: var(--space-lg);
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 2;
}

.thankyou-cta {
    margin-top: var(--space-xl);
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 767px) {
    .thankyou {
        padding-top: calc(var(--nav-height) + var(--space-xl));
    }

    .thankyou-title {
        font-size: 28px;
    }

    .thankyou-cta {
        flex-direction: column;
        align-items: center;
    }

    .thankyou-cta .btn-primary,
    .thankyou-cta .btn-secondary {
        width: 100%;
        max-width: 320px;
    }
}

/* === Legal Pages (Privacy, Terms) === */
.legal {
    padding-top: calc(var(--nav-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
}

.legal-inner {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.legal-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

.legal-updated {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

.legal h2 {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.legal h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.legal p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.legal a {
    color: var(--accent);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.legal a:hover {
    border-color: var(--accent);
}

.legal ul {
    padding-left: var(--space-lg);
    margin-bottom: var(--space-md);
}

.legal ul li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: var(--space-xs) 0;
}

@media (max-width: 767px) {
    .legal-title {
        font-size: 28px;
    }
}
