/* ==========================================================================
   Batchy & Friends — Pixel-Art Pastel Theme (Conversion + Product Detail)
   ========================================================================== */

/* Self-hosted Sometype Mono variable font (GDPR: no external font requests) */
@font-face {
    font-family: 'Sometype Mono';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('fonts/SometypeMono-VariableFont_wght.woff2') format('woff2');
}

@font-face {
    font-family: 'Sometype Mono';
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url('fonts/SometypeMono-Italic-VariableFont_wght.woff2') format('woff2');
}

/* ---------- Custom Properties ---------- */
:root {
    --purple: #C3A0FE;
    --lime: #C4FE8A;
    --cyan: #BFF6FD;
    --pink: #FE8AC9;
    --yellow: #F4FF70;
    --coral: #FF7A7A;
    --turquoise: #8AFFE3;
    --orange: #FEA878;
    --gold: #FEDB8A;
    --dark: #1a1a1a;
    --ink: #181419;
    --plum: #2b2136;
    --paper: #fff9f0;
    --paper-strong: #fffdf8;
    --paper-muted: #f7efe3;
    --shadow-soft: 0 16px 34px rgba(0, 0, 0, 0.12);
    --shadow-pixel: 6px 6px 0 #000;

    --border: 3px solid #000;
    --radius: 0.5rem;
    --font: 'Sometype Mono', monospace;

    --text-strong: #111;
    --text-dark: #2c2630;
    --text-secondary: #4a4450;
    --text-muted: #333;
    --text-light: #555;
    --text-placeholder: #888;

    --surface-subtle: #f8f8f8;
    --surface-hover: #f0f0f0;
    --surface-inset: #e8e8e8;
    --border-light: #e0e0e0;

    --max-width-content: 1100px;
    --max-width-narrow: 900px;
}

/* ---------- 1. Reset + Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: linear-gradient(180deg, #fffdf7 0%, var(--paper) 100%);
    color: var(--ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 14% 14%, rgba(195, 160, 254, 0.18), transparent 26%),
        radial-gradient(circle at 86% 10%, rgba(138, 255, 227, 0.16), transparent 20%),
        radial-gradient(circle at 78% 78%, rgba(254, 138, 201, 0.16), transparent 24%),
        radial-gradient(circle at 18% 76%, rgba(196, 254, 138, 0.14), transparent 22%);
    background-size: 24px 24px, 24px 24px, auto, auto, auto, auto;
    opacity: 0.85;
}

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

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

ul {
    list-style: none;
}

/* ---------- 2. Header ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(180deg, #171218 0%, #050505 100%);
    border-bottom: 3px solid #000;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.95), 0 9px 0 rgba(195, 160, 254, 0.35);
}

nav {
    max-width: var(--max-width-content);
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 0 rgba(254, 138, 201, 0.5);
}

.nav-links {
    display: flex;
    gap: 1.75rem;
}

.nav-links a {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s, transform 0.15s;
}

.nav-links a:hover {
    color: var(--pink);
    transform: translateY(-1px);
}

/* ---------- 3. Buttons ---------- */
.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border: var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s, background-color 0.2s;
    text-align: center;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 5px 5px 0 #000;
}

.btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 #000;
}

.btn:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 #000;
}

.btn-nav-download {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
    margin-left: 0.5rem;
}

.btn-nav-download:hover {
    color: #fff;
    transform: none;
    box-shadow: 5px 5px 0 var(--pink);
}

.btn-primary {
    background: linear-gradient(180deg, #ffc6e4 0%, var(--pink) 100%);
    color: #000;
}

.btn-primary:hover {
    background: linear-gradient(180deg, #ffbfdc 0%, #f575b5 100%);
}

.btn-secondary {
    background: linear-gradient(180deg, #fffefc 0%, #efe9ff 100%);
    color: #000;
}

.btn-secondary:hover {
    background: linear-gradient(180deg, #fffdf8 0%, #e4ddff 100%);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.15rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- 4. Shared Components ---------- */
.section-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 0.8rem;
    display: table;
    padding: 0.45rem 1.05rem;
    border: var(--border);
    border-radius: var(--radius);
    background: var(--paper-strong);
    box-shadow: var(--shadow-pixel);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--plum);
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
}

.pixel-card {
    position: relative;
    overflow: hidden;
    border: var(--border);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 236, 0.95));
    box-shadow: var(--shadow-pixel), var(--shadow-soft);
}

.pixel-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 14px;
    background: var(--card-accent, var(--purple));
    border-bottom: var(--border);
}

.pixel-card--hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pixel-card--hover:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 #000, 0 18px 30px rgba(0, 0, 0, 0.16);
}

/* Grid crosshatch background (reused across sections) */
.proof-section::before,
.pricing-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.35;
}

.proof-inner,
.pricing-section > * {
    position: relative;
    z-index: 1;
}

/* ============================================
   5. Hero
   ============================================ */
.hero {
    position: relative;
    isolation: isolate;
    text-align: center;
    padding: 4rem 1.5rem 3.5rem;
    max-width: var(--max-width-content);
    margin: 0 auto 1rem;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 1.1rem 0 0.5rem;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.55)),
        linear-gradient(135deg, rgba(195, 160, 254, 0.28) 0%, rgba(191, 246, 253, 0.26) 40%, rgba(254, 138, 201, 0.18) 100%);
    border: var(--border);
    border-radius: 1rem;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.92);
}

/* Product name — small, above the headline */
.hero-product-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--plum);
    margin-bottom: 1.25rem;
    text-shadow: 1px 1px 0 rgba(254, 138, 201, 0.4);
}

/* Headline — value proposition, larger and cleaner */
.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 1rem;
    color: var(--ink);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Highlighted keywords in description */
.hero-highlight {
    font-weight: 700;
    color: #000;
    background: linear-gradient(180deg, transparent 52%, rgba(254, 219, 138, 0.9) 52%);
    padding: 0 0.12rem 0.02rem;
}

/* Description — one tight sentence, capped width */
.hero-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto 1.25rem;
    line-height: 1.7;
}

/* Product truth pills — replaces the old prose description */
.hero-truths {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.hero-truth {
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    padding: 0.38rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

/* CTA block — button + caption + text link */
.hero-cta-block {
    margin-bottom: 2rem;
}

.hero-cta-block .btn {
    margin-bottom: 0.6rem;
}

.hero-cta-caption {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero-cta-link {
    font-weight: 700;
    color: var(--plum);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.hero-cta-link:hover {
    color: var(--pink);
}

/* Hero Download Buttons (OS-aware) */
.hero-download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

.hero-download-buttons.detected-mac .hero-dl-win,
.hero-download-buttons.detected-win .hero-dl-mac {
    display: none;
}

.hero-download-buttons.show-both .hero-dl-mac,
.hero-download-buttons.show-both .hero-dl-win {
    display: inline-block;
}

.pricing-download-buttons.detected-mac .hero-dl-win,
.pricing-download-buttons.detected-win .hero-dl-mac {
    display: none;
}

.pricing-download-buttons.show-both .hero-dl-mac,
.pricing-download-buttons.show-both .hero-dl-win {
    display: inline-block;
}

.midpage-download-buttons.detected-mac .hero-dl-win,
.midpage-download-buttons.detected-win .hero-dl-mac {
    display: none;
}

.midpage-download-buttons.show-both .hero-dl-mac,
.midpage-download-buttons.show-both .hero-dl-win {
    display: inline-block;
}

.hero-download-buttons:not(.detected-mac):not(.detected-win) ~ .hero-cta-caption .hero-other-platform {
    display: none;
}

.hero-cta-secondary {
    margin-top: 0.3rem;
}

.hero-secondary-cta {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--plum);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.hero-secondary-cta:hover {
    color: var(--pink);
}

/* Download Trust Signal */
.download-trust {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 0.4rem;
    letter-spacing: 0.02em;
}

.download-trust::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 14px;
    margin-right: 0.35rem;
    vertical-align: -1px;
    background: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M2 6V4a4 4 0 118 0v2h1v8H1V6h1zm2-2a2 2 0 114 0v2H4V4z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M2 6V4a4 4 0 118 0v2h1v8H1V6h1zm2-2a2 2 0 114 0v2H4V4z'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.download-trust a {
    color: var(--text-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.download-trust a:hover {
    color: var(--plum);
}

/* Price Anchoring */
.pricing-context {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 0 auto 2rem;
    text-align: center;
}

.pricing-context-heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.pricing-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.pricing-alt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.85rem;
    border: 2px solid rgba(0, 0, 0, 0.15);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.pricing-alt-name {
    color: var(--text-secondary);
    font-weight: 500;
    text-align: left;
}

.pricing-alt-price {
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
    margin-left: 0.5rem;
    opacity: 0.8;
}

.pricing-roi {
    font-size: 0.88rem;
    color: var(--text-dark);
    line-height: 1.6;
    max-width: 440px;
    margin: 0 auto;
}

.pricing-once {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    margin-top: -0.25rem;
}

/* FAQ Section */
.faq-section {
    position: relative;
    padding: 4rem 1.5rem;
    background: linear-gradient(180deg, rgba(255, 249, 240, 0.6) 0%, rgba(239, 248, 255, 0.5) 100%);
    border-bottom: var(--border);
    overflow: hidden;
}

.faq-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.35;
}

/* Hero screenshot frame */
.hero-screenshot {
    max-width: 1000px;
    margin: 0 auto;
}

.hero-frame {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 239, 227, 0.96));
    border: var(--border);
    border-radius: 0.9rem;
    padding: 0.9rem;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.92), var(--shadow-soft);
}

.showcase-topbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.7rem;
    border: var(--border);
    border-radius: 0.65rem;
    background: linear-gradient(180deg, #fffdf8 0%, #eee4ff 100%);
    box-shadow: 4px 4px 0 #000;
}

.showcase-lights {
    display: inline-flex;
    gap: 0.38rem;
}

.showcase-lights span {
    width: 12px;
    height: 12px;
    border: 2px solid #000;
    border-radius: 50%;
    box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.9);
}

.showcase-lights span:nth-child(1) { background: var(--coral); }
.showcase-lights span:nth-child(2) { background: var(--gold); }
.showcase-lights span:nth-child(3) { background: var(--lime); }

.showcase-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-left: auto;
}

.hero-frame picture img {
    border: 3px solid #000;
    border-radius: calc(var(--radius) - 2px);
}

/* Hero proof pills */
.hero-proof {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.hero-proof-item {
    background: rgba(255, 255, 255, 0.9);
    border: var(--border);
    border-radius: 999px;
    padding: 0.48rem 0.9rem;
    text-align: center;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.92);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* ============================================
   6. Demo Section (See it in action)
   ============================================ */
.demo-section {
    padding: 2.5rem 1.5rem 3rem;
    max-width: var(--max-width-content);
    margin: 0 auto;
}

.demo-heading {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--plum);
}

.demo-carousel-wrap {
    max-width: 900px;
    margin: 0 auto;
}

/* Carousel */
.hero-carousel {
    position: relative;
    max-width: 100%;
    border: 4px solid #000;
    border-radius: 0.85rem;
    overflow: hidden;
    box-shadow: 6px 6px 0 #000;
    padding: 0.75rem 0.75rem 0.85rem;
    background: linear-gradient(180deg, #1a1a1a 0%, #080808 100%);
}

.carousel-stage {
    position: relative;
}

.carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.08), transparent 30%),
        linear-gradient(180deg, #1d1d1d 0%, #090909 100%);
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-radius: calc(var(--radius) + 0.1rem);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.45);
    font-size: 2rem;
    line-height: 1;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background 0.2s, transform 0.15s;
    z-index: 2;
    font-family: var(--font);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-50%) scale(1.03);
}

.carousel-prev { left: 0.75rem; }
.carousel-next { right: 0.75rem; }

.carousel-pause {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    width: 2.75rem;
    height: 2.75rem;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 5;
}

.carousel-pause:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-dots {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.carousel-dot {
    width: 24px;
    height: 10px;
    border-radius: 999px;
    border: 2px solid #000;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    padding: 0;
    position: relative;
    transition: background 0.2s, transform 0.15s;
}

/* Expand touch target to 44px minimum */
.carousel-dot::after {
    content: "";
    position: absolute;
    inset: -17px -3px;
}

.carousel-dot.active {
    background: var(--pink);
}

.carousel-dot:hover {
    background: var(--gold);
    transform: translateY(-1px);
}

/* Caption below carousel */
.demo-caption {
    margin-top: 1.25rem;
    text-align: center;
}

.demo-caption-counter {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.demo-caption h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.demo-caption p:last-child {
    font-size: 0.88rem;
    color: var(--text-dark);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   7. Pain Section
   ============================================ */
.pain-section {
    padding: 3rem 1.5rem;
    background: linear-gradient(180deg, rgba(255, 244, 230, 0.7) 0%, rgba(255, 249, 240, 0.5) 100%);
    border-top: var(--border);
    border-bottom: var(--border);
}

.pain-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.pain-inner h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--ink);
}

.pain-list {
    text-align: left;
    max-width: 420px;
    margin: 0 auto 1.5rem;
}

.pain-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.65rem;
    font-size: 0.92rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.pain-list li::before {
    content: "\2717";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--coral);
}

/* ============================================
   8. Mid-page CTA
   ============================================ */
.midpage-cta {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(180deg, rgba(191, 246, 253, 0.3) 0%, rgba(196, 254, 138, 0.15) 100%);
    border-top: var(--border);
    border-bottom: var(--border);
}

.midpage-cta-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ink);
}

.midpage-cta .download-buttons {
    margin-bottom: 0.6rem;
}

.midpage-cta-note {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================
   9. Workflow Cards
   ============================================ */
.workflow-section {
    position: relative;
    padding: 4rem 1.5rem;
    max-width: var(--max-width-content);
    margin: 0 auto;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.workflow-card {
    padding: 1.4rem 1.5rem 1.5rem;
}

.workflow-card .workflow-kicker {
    margin-top: 0.75rem;
    margin-bottom: 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.workflow-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.workflow-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.workflow-points {
    margin-top: 1rem;
}

.workflow-points li {
    position: relative;
    padding-left: 1.1rem;
    margin-top: 0.5rem;
    font-size: 0.84rem;
    font-weight: 500;
    color: #222;
    line-height: 1.5;
}

.workflow-points li::before {
    content: "\2192";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
}

/* ============================================
   10. Production Details (Proof Cards)
   ============================================ */
.proof-section {
    position: relative;
    padding: 4rem 1.5rem;
    background: linear-gradient(180deg, rgba(239, 248, 255, 0.78) 0%, rgba(255, 249, 241, 0.98) 100%);
    border-top: var(--border);
    border-bottom: var(--border);
    overflow: hidden;
}

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

/* Accordion stack */
.proof-accordion {
    margin-top: 2.5rem;
    border: var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-pixel), var(--shadow-soft);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 236, 0.95));
}

.proof-item {
    border-left: 5px solid var(--accent, var(--purple));
    border-bottom: 2px solid #000;
    background: rgba(255, 255, 255, 0.88);
    transition: background 0.2s;
}

.proof-item:last-child {
    border-bottom: none;
}

.proof-item[open] {
    background: rgba(255, 255, 255, 0.97);
}

.proof-item summary {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    list-style: none;
    list-style-type: none;
    position: relative;
}

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

/* Boxed +/x indicator */
.proof-item summary::after {
    content: "+";
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent, var(--purple));
    width: 1.6rem;
    height: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid currentColor;
    border-radius: 3px;
    line-height: 1;
    transition: transform 0.2s ease, background 0.15s;
}

.proof-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
    background: var(--accent, var(--purple));
    color: #000;
}

.proof-item summary:hover {
    background: rgba(0, 0, 0, 0.06);
}

.proof-item summary:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: -3px;
    z-index: 1;
}

.proof-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent, var(--text-muted));
}

.proof-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    padding-right: 2.5rem;
}

.proof-detail {
    padding: 0.75rem 1.5rem 1.25rem;
    border-top: 2px dashed rgba(0, 0, 0, 0.15);
    margin: 0 0.75rem;
}

.proof-detail p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.proof-snippet {
    display: block;
    padding: 0.7rem 1rem;
    border: 2px solid #000;
    border-radius: 3px;
    background: var(--dark);
    color: var(--lime);
    font-family: var(--font);
    font-size: 0.78rem;
    line-height: 1.5;
    overflow-x: auto;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Content reveal animation */
.proof-item[open] .proof-detail {
    animation: accordionReveal 0.2s ease-out;
}

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

/* ============================================
   11. DSP Nodes Showcase
   ============================================ */
.dsp-nodes {
    position: relative;
    padding: 4rem 1.5rem;
    max-width: var(--max-width-content);
    margin: 0 auto;
    overflow: visible;
}

.dsp-category {
    margin-bottom: 2rem;
}

.dsp-category:last-child {
    margin-bottom: 0;
}

.dsp-category-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #ddd;
    color: var(--text-strong);
}

.dsp-nodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.85rem;
}

.dsp-node-card {
    border: var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.9);
}

.dsp-node-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.95), 0 10px 22px rgba(0, 0, 0, 0.16);
}

.dsp-node-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.dsp-node-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* ---------- Node Settings Modal ---------- */
#node-modal {
    border: var(--border);
    border-radius: var(--radius);
    padding: 0;
    max-width: 700px;
    width: 90vw;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

#node-modal::backdrop {
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    padding: 1.5rem;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    font-family: var(--font);
    line-height: 1;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    transition: background 0.2s;
}

.modal-close:hover {
    background: #f0f0f0;
}

#modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-right: 2rem;
}

.modal-image-wrapper {
    border: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: #f0f0f0;
}

.modal-image {
    width: 100%;
    height: auto;
    display: block;
}

.modal-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 280px;
    color: #888;
    font-size: 0.95rem;
    font-family: var(--font);
}

/* ============================================
   12. Creative Angle
   ============================================ */
.creative-section {
    padding: 2.5rem 1.5rem;
    background: linear-gradient(180deg, rgba(191, 246, 253, 0.25) 0%, rgba(196, 254, 138, 0.12) 100%);
    border-bottom: var(--border);
}

.creative-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.creative-inner h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--ink);
}

.creative-inner p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.7;
}

/* ============================================
   13. Trust Section
   ============================================ */
.trust-section {
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 244, 230, 0.5) 0%, rgba(255, 249, 240, 0.3) 100%);
    border-bottom: var(--border);
}

.trust-inner {
    max-width: 650px;
    margin: 0 auto;
}

.trust-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    color: var(--ink);
}

.trust-body {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.trust-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.trust-detail {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #000;
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-dark);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.9);
}

/* ============================================
   14. Pricing Section
   ============================================ */
.pricing-section {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 1.5rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(229, 255, 199, 0.92) 0%, rgba(255, 238, 179, 0.92) 100%);
    border-top: var(--border);
    border-bottom: var(--border);
}

.pricing-trial-block {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.pricing-trial-heading {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.pricing-trial-block .download-buttons {
    margin-bottom: 0.75rem;
}

.pricing-card {
    display: inline-block;
    padding: 2rem 2.5rem 1.5rem;
    margin-bottom: 1rem;
}

.pricing-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.pricing-amount {
    font-size: 3.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.pricing-bullets {
    text-align: left;
    display: inline-block;
}

.pricing-bullets li {
    padding: 0.3rem 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.pricing-bullets li::before {
    content: "\2713\0020";
    font-weight: 700;
    color: #000;
}

.pricing-after {
    font-size: 0.82rem;
    color: var(--text-light);
    margin: 0;
}

/* DSP nodes back-to-download link */
.dsp-nodes-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ============================================
   15. Final CTA
   ============================================ */
.final-cta {
    position: relative;
    padding: 3.5rem 1.5rem;
    text-align: center;
    background: linear-gradient(180deg, #1a1520 0%, #0a080c 100%);
    color: #fff;
    border-top: 3px solid #000;
}

.final-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.final-cta-body {
    font-size: 1.05rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.final-cta .btn-primary {
    margin-bottom: 0.75rem;
}

/* ============================================
   16. Footer
   ============================================ */
footer {
    background: linear-gradient(180deg, #151117 0%, #050505 100%);
    color: #fff;
    padding: 3.5rem 1.5rem 1.5rem;
    border-top: 3px solid #000;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: var(--max-width-content);
    margin: 0 auto 2rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-column a {
    color: #fff;
    opacity: 0.7;
    font-size: 0.9rem;
    transition: opacity 0.2s;
    overflow-wrap: break-word;
    word-break: break-word;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--cyan);
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-link-btn {
    background: none;
    border: none;
    color: #fff;
    opacity: 0.7;
    font-size: 0.9rem;
    font-family: var(--font);
    cursor: pointer;
    padding: 0;
    text-align: left;
    transition: opacity 0.2s;
}

.footer-link-btn:hover {
    opacity: 1;
    color: var(--cyan);
}

.footer-bottom {
    text-align: center;
    font-size: 0.82rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-width: var(--max-width-content);
    margin: 0 auto;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.6;
}

.footer-bottom p + p {
    margin-top: 0.4rem;
}

.footer-bottom .footer-operator {
    opacity: 0.75;
}

.footer-bottom .footer-operator a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer-bottom .footer-operator a:hover {
    color: var(--cyan);
}

.site-footer__address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #fff;
    opacity: 0.75;
}

.site-footer__address a {
    color: inherit;
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-footer__address a:hover {
    color: var(--cyan);
}

.site-footer__address strong {
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.25rem;
}

/* ============================================
   17. Lightbox
   ============================================ */
img[data-enlargeable] {
    cursor: zoom-in;
}

#lightbox {
    border: none;
    border-radius: 0;
    padding: 0;
    background: rgba(0, 0, 0, 0.92);
    max-width: 100vw;
    max-height: 100vh;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    cursor: zoom-out;
}

#lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox::backdrop {
    background: transparent;
}

#lightbox img {
    max-width: 92vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    font-family: var(--font);
    line-height: 1;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

/* ============================================
   18. Accessibility
   ============================================ */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    z-index: 200;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.carousel-dot:focus-visible,
[role="button"]:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 3px;
}

/* ============================================
   19. Mobile Nav
   ============================================ */
.nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.nav-toggle-label span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ============================================
   20. Cookie Consent
   ============================================ */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ink, #181419);
    color: var(--paper-strong, #fffdf8);
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.3);
    font-size: 0.9rem;
    max-height: 80vh;
    overflow-y: auto;
}

#cookie-consent-banner:focus:not(:focus-visible) {
    outline: none;
}

.consent-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.consent-inner p {
    margin: 0;
    flex: 1 1 300px;
}

.consent-inner a {
    color: var(--cyan);
    text-decoration: underline;
}

.consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.consent-btn {
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    transition: background-color 0.2s;
}

.consent-btn:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}

.consent-btn-primary {
    background: #4080c8;
    color: #fff;
}

.consent-btn-primary:hover {
    background: #3570b8;
}

.consent-btn-secondary {
    background: transparent;
    color: var(--paper-strong, #fffdf8);
    border: 1px solid var(--paper-strong, #fffdf8);
}

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

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   Tablet (769px - 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Mobile (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    .nav-toggle-label {
        display: flex;
    }

    nav {
        position: relative;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #000;
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    .nav-links li {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-toggle:checked ~ .nav-links {
        display: flex;
    }

    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* Hero mobile */
    .hero {
        padding: 2rem 1rem 1.5rem;
        overflow: hidden;
    }

    .hero::before {
        inset: 0.75rem 0.5rem 0.35rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .showcase-topbar {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

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

    /* Sections mobile */
    .pain-inner h2 {
        font-size: 1.4rem;
    }

    .section-heading {
        font-size: 1.25rem;
        display: inline-block;
        max-width: calc(100% - 1rem);
        word-wrap: break-word;
        box-shadow: 4px 4px 0 #000;
    }

    .demo-heading {
        font-size: 1.35rem;
    }

    .final-cta h2 {
        font-size: 1.5rem;
    }

    .pricing-card {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .pricing-card h2 {
        font-size: 1.4rem;
    }

    .pricing-trial-heading {
        font-size: 1.4rem;
    }

    .pricing-amount {
        font-size: 2.5rem;
    }

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

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    /* Accordion mobile */
    .proof-item summary {
        padding: 0.85rem 1rem;
    }

    .proof-item summary::after {
        right: 1rem;
    }

    .proof-heading {
        font-size: 0.92rem;
        padding-right: 2rem;
    }

    .proof-detail {
        padding: 0.6rem 1rem 1rem;
        margin: 0 0.5rem;
    }

    .proof-snippet {
        font-size: 0.72rem;
        -webkit-overflow-scrolling: touch;
    }

    .dsp-nodes-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

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

/* ── Email Capture (post-download) ── */
.email-capture {
    margin-top: 1rem;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    animation: emailCaptureSlideUp 0.3s ease-out;
}

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

.email-capture-started {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
}

.email-capture-check {
    width: 20px;
    height: 20px;
    background: var(--turquoise);
    border: 2px solid #000;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 2px 2px 0 #000;
}

.email-capture-started-text {
    font-weight: 700;
    font-size: 0.9rem;
}

.email-capture-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.email-capture-row {
    display: flex;
    gap: 8px;
}

.email-capture-input {
    flex: 1;
    padding: 10px 12px;
    border: var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.85rem;
    background: var(--paper-strong);
    box-shadow: 3px 3px 0 #000;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.email-capture-input:focus {
    border-color: var(--purple);
    box-shadow: 3px 3px 0 var(--purple);
}

.email-capture-input::placeholder {
    color: var(--text-placeholder);
}

.email-capture-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.email-capture-legal {
    font-size: 0.7rem;
    margin-top: 6px;
    color: var(--text-placeholder);
}

.email-capture-legal a {
    color: inherit;
    text-decoration: underline;
}

.email-capture-success {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: 8px 0;
    font-weight: 700;
    font-size: 0.9rem;
    animation: emailCaptureSlideUp 0.3s ease-out;
}

/* ============================================
   Small mobile (max-width: 600px)
   ============================================ */
@media (max-width: 600px) {
    .consent-inner {
        flex-direction: column;
        text-align: center;
    }
    .consent-buttons {
        width: 100%;
        justify-content: center;
    }

    .email-capture-row {
        flex-direction: column;
    }
}
