/* ==========================================================================
   PDF Batch Editor — Marketing Site
   Dark luxury meets technical precision
   ========================================================================== */

/* ---------- Custom Properties ---------- */
:root {
    --bg-deep:     #0a0a12;
    --bg-base:     #0e0e18;
    --bg-surface:  #14141f;
    --bg-card:     #1a1a28;
    --bg-hover:    #22223a;

    --text-primary:   #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted:     #6a6a80;

    --accent-red:     #e94560;
    --accent-red-hover: #ff5a78;
    --accent-blue:    #4da8da;
    --accent-blue-dim:#4da8da33;

    --border:         #ffffff0d;
    --border-light:   #ffffff18;

    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;

    --container:   1200px;
    --nav-height:  72px;
    --section-pad: clamp(80px, 10vw, 140px);

    --radius-sm:  6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-deep);
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

/* ---------- Container ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
.section-label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-blue);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    white-space: nowrap;
    cursor: pointer;
}
.btn--sm  { font-size: 14px; padding: 8px 18px; }
.btn--lg  { font-size: 16px; padding: 14px 32px; }
.btn--xl  { font-size: 18px; padding: 18px 44px; }
.btn--primary {
    background: var(--accent-red);
    color: #fff;
}
.btn--primary:hover {
    background: var(--accent-red-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px #e9456044;
}
.btn--ghost {
    border: 1.5px solid var(--border-light);
    color: var(--text-primary);
    background: transparent;
}
.btn--ghost:hover {
    border-color: var(--text-secondary);
    background: #ffffff08;
}

/* ---------- Badges ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}
.badge__icon {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
    border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
    background: #0a0a12e6;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--border);
}
.nav__inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.nav__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--accent-red);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
}
.nav__logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
}
.nav__wordmark {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.01em;
}
.nav__links {
    display: flex;
    gap: 28px;
    margin-left: auto;
}
.nav__links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.15s;
}
.nav__links a:hover { color: var(--text-primary); }
.nav__cta { margin-left: 16px; }
.nav__toggle { display: none; }

/* Mobile nav */
@media (max-width: 768px) {
    .nav__links, .nav__cta { display: none; }
    .nav__links.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg-base);
        border-bottom: 1px solid var(--border);
        padding: 20px 24px;
        gap: 16px;
    }
    .nav__toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-left: auto;
        padding: 8px;
    }
    .nav__toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--text-secondary);
        border-radius: 2px;
        transition: transform 0.2s, opacity 0.2s;
    }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 40px) 0 80px;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
}
.hero__glow--1 {
    width: 600px;
    height: 600px;
    background: var(--accent-red);
    top: -20%;
    right: -10%;
    opacity: 0.12;
}
.hero__glow--2 {
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    bottom: -10%;
    left: -5%;
    opacity: 0.08;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero__eyebrow {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-blue);
    margin-bottom: 20px;
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 60px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.hero__subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 32px;
}
.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero__badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

/* Pipeline animation */
.pipeline {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    position: relative;
}
.pipeline::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--accent-red) 0%, transparent 40%, transparent 60%, var(--accent-blue) 100%);
    opacity: 0.15;
    z-index: -1;
    padding: 1px;
}
.pipeline__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.pipeline__label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}
.pipeline__stage--input { min-width: 80px; }
.pipeline__doc {
    width: 28px;
    height: 34px;
    border-radius: 3px;
    border: 1.5px solid var(--accent-blue);
    background: var(--accent-blue-dim);
    position: absolute;
    animation: docFloat 3s ease-in-out infinite;
}
.pipeline__stage--input {
    position: relative;
    width: 80px;
    height: 110px;
}
.pipeline__stage--input > .pipeline__label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}
.pipeline__doc--1 { top: 28px; left: 5px;  animation-delay: 0s; }
.pipeline__doc--2 { top: 33px; left: 18px; animation-delay: 0.3s; }
.pipeline__doc--3 { top: 41px; left: 30px; animation-delay: 0.6s; }
.pipeline__doc--4 { top: 51px; left: 15px; animation-delay: 0.9s; }
.pipeline__doc--5 { top: 58px; left: 40px; animation-delay: 1.2s; }
@keyframes docFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
}
.pipeline__arrow {
    flex-shrink: 0;
    width: 60px;
    color: var(--text-muted);
}
.pipeline__arrow svg { width: 100%; }
.pipeline__op-icon svg {
    width: 40px;
    height: 40px;
    color: var(--accent-red);
}
.pipeline__stage--process {
    padding: 12px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--accent-red);
    box-shadow: 0 0 30px #e9456022;
}
.pipeline__check svg {
    width: 40px;
    height: 40px;
    color: #34d399;
}
.pipeline__stage--output .pipeline__label {
    color: #34d399;
}

@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero__subtitle { margin-left: auto; margin-right: auto; }
    .hero__actions { justify-content: center; }
    .hero__badges { justify-content: center; }
    .hero__visual { display: flex; justify-content: center; }
    .pipeline { transform: scale(0.85); transform-origin: center; }
}
@media (max-width: 500px) {
    .pipeline { transform: scale(0.65); }
}

/* ==========================================================================
   PROBLEM / SOLUTION
   ========================================================================== */
.problem {
    padding: var(--section-pad) 0;
    background: var(--bg-base);
}
.problem__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
}
.problem__card {
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.problem__card--before {
    background: linear-gradient(135deg, #1a1020, var(--bg-surface));
    border-color: #ff445020;
}
.problem__card--after {
    background: linear-gradient(135deg, #0f1a20, var(--bg-surface));
    border-color: #34d39920;
}
.problem__card-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 24px;
}
.problem__card--before .problem__card-label {
    background: #e9456018;
    color: var(--accent-red);
}
.problem__card--after .problem__card-label {
    background: #34d39918;
    color: #34d399;
}
.problem__math {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.problem__number {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}
.problem__unit {
    font-size: 14px;
    color: var(--text-secondary);
}
.problem__op {
    font-size: 24px;
    color: var(--text-muted);
    margin: 0 4px;
}
.problem__result {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}
.problem__result--bad  { color: var(--accent-red); }
.problem__result--good { color: #34d399; }
.problem__card p {
    color: var(--text-secondary);
    font-size: 15px;
}
@media (max-width: 700px) {
    .problem__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FEATURES
   ========================================================================== */
.features {
    padding: var(--section-pad) 0;
}
.features__nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-bottom: 40px;
}
.features__tab {
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.features__tab:hover {
    color: var(--text-primary);
    border-color: var(--border-light);
}
.features__tab.is-active {
    background: var(--accent-red);
    color: #fff;
    border-color: var(--accent-red);
}
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.feature-card {
    padding: 32px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
    box-shadow: 0 12px 40px #00000040;
}
.feature-card.is-hidden {
    display: none;
}
.feature-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}
.feature-card__icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-blue);
}
.feature-card__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}
.feature-card__desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.feature-card__stat {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-red);
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.feature-card__link {
    display: inline-block;
    margin-top: 12px;
    font-size: 13px;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
}
.feature-card__link:hover {
    color: var(--accent-red);
}
@media (max-width: 500px) {
    .features__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how-it-works {
    padding: var(--section-pad) 0;
    background: var(--bg-base);
}
.steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 56px;
}
.step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 24px;
}
.step__number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--accent-red);
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 24px;
    flex-shrink: 0;
}
.step__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}
.step__desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.step__connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-blue));
    margin-top: 28px;
    flex-shrink: 0;
    opacity: 0.4;
}
@media (max-width: 700px) {
    .steps {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .step { max-width: 400px; }
    .step__connector {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, var(--accent-red), var(--accent-blue));
    }
}

/* ==========================================================================
   USE CASES
   ========================================================================== */
.use-cases {
    padding: var(--section-pad) 0;
}
.use-cases__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.use-case {
    padding: 32px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color 0.2s;
}
.use-case:hover {
    border-color: var(--border-light);
}
.use-case__role {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-blue);
    background: var(--accent-blue-dim);
    padding: 4px 12px;
    border-radius: 100px;
    width: fit-content;
}
.use-case__quote {
    font-size: 17px;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-primary);
    flex: 1;
}
.use-case__module {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing {
    padding: var(--section-pad) 0;
    background: var(--bg-base);
}
.pricing__card {
    max-width: 480px;
    margin: 48px auto 0;
    padding: 48px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pricing__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-blue));
}
.pricing__name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
}
.pricing__amount {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.pricing__period {
    font-size: 18px;
    color: var(--text-secondary);
}
.pricing__monthly {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
    margin-bottom: 32px;
}
.pricing__features {
    text-align: left;
    margin-bottom: 32px;
}
.pricing__features li {
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 28px;
}
.pricing__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #34d39918;
    border: 1.5px solid #34d399;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6l2 2 4-4' stroke='%2334d399' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
}
.pricing__cta {
    width: 100%;
    margin-bottom: 24px;
}
.pricing__trial {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}
.pricing__trial strong {
    color: var(--text-secondary);
}
.pricing__enterprise {
    font-size: 13px;
    color: var(--text-muted);
}
.pricing__enterprise a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ==========================================================================
   TECH REQUIREMENTS
   ========================================================================== */
.tech {
    padding: var(--section-pad) 0;
}
.tech__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.tech__item {
    padding: 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.tech__key {
    display: block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.tech__value {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

/* ==========================================================================
   CTA (Download)
   ========================================================================== */
.cta {
    padding: var(--section-pad) 0;
    background: var(--bg-base);
}
.cta__inner {
    text-align: center;
    padding: 72px 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}
.cta__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, #e9456010, transparent 70%);
    pointer-events: none;
}
.cta__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    position: relative;
}
.cta__subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
}
.cta .btn {
    position: relative;
}
.cta__meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 16px;
    position: relative;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
}
.footer__top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}
.footer__brand { flex-shrink: 0; }
.footer__product-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-top: 12px;
}
.footer__tagline {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}
.footer__tagline a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer__columns {
    display: flex;
    gap: 64px;
}
.footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer__col-title {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.footer__col a {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.15s;
}
.footer__col a:hover { color: var(--text-primary); }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-muted);
}
.footer__powered a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}
@media (max-width: 768px) {
    .footer__top { flex-direction: column; }
    .footer__columns { flex-wrap: wrap; gap: 40px; }
    .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }
.reveal--delay-3 { transition-delay: 0.45s; }

/* ==========================================================================
   FAQ PAGE
   ========================================================================== */
.faq-hero {
    padding: calc(var(--nav-height) + 64px) 0 48px;
    background: var(--bg-base);
}
.faq-hero .section-subtitle {
    max-width: 540px;
}
.faq-hero__contact {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.faq {
    padding: 0 0 var(--section-pad);
    background: var(--bg-base);
}
.faq__category {
    margin-bottom: 48px;
}
.faq__category:last-child {
    margin-bottom: 0;
}
.faq__category-title {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-blue);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.faq__item {
    border-bottom: 1px solid var(--border);
}
.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 0;
    text-align: left;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.15s;
}
.faq__question:hover {
    color: var(--accent-red);
}
.faq__chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq__item.is-open .faq__chevron {
    transform: rotate(180deg);
}
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq__item.is-open .faq__answer {
    max-height: 400px;
}
.faq__answer p {
    padding-bottom: 20px;
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 720px;
}
.faq__answer a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.faq-cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-hero {
    padding: calc(var(--nav-height) + 64px) 0 48px;
    background: var(--bg-base);
}
.contact {
    padding: 0 0 var(--section-pad);
    background: var(--bg-base);
}
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}
@media (max-width: 900px) {
    .contact__grid {
        grid-template-columns: 1fr;
    }
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 600px) {
    .contact-form__row { grid-template-columns: 1fr; }
}
.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}
.contact-form__label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}
.contact-form__req {
    color: var(--accent-red);
}
.contact-form__input {
    font-family: var(--font-body);
    font-size: 15px;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.contact-form__input::placeholder {
    color: var(--text-muted);
}
.contact-form__input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px var(--accent-blue-dim);
}
.contact-form__input.is-invalid {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px #e9456020;
}
.contact-form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%236a6a80' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}
.contact-form__select option {
    background: var(--bg-card);
    color: var(--text-primary);
}
.contact-form__textarea {
    resize: vertical;
    min-height: 140px;
}
.contact-form__charcount {
    font-size: 12px;
    color: var(--text-muted);
    text-align: right;
    margin-top: -2px;
}
.contact-form__submit {
    align-self: flex-start;
    min-width: 180px;
}
.contact-form__submit-loading {
    align-items: center;
    gap: 8px;
}
.contact-form__submit-loading:not([hidden]) {
    display: inline-flex;
}
.contact-form__spinner {
    width: 18px;
    height: 18px;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.contact-form__status {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    line-height: 1.5;
}
.contact-form__status--success {
    background: #34d39915;
    border: 1px solid #34d39930;
    color: #34d399;
}
.contact-form__status--error {
    background: #e9456015;
    border: 1px solid #e9456030;
    color: var(--accent-red);
}

/* Sidebar */
.contact__sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact__info-card {
    padding: 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.2s;
}
.contact__info-card:hover {
    border-color: var(--border-light);
}
.contact__info-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
}
.contact__info-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent-blue);
}
.contact__info-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}
.contact__info-link {
    font-size: 14px;
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.contact__info-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---------- Purchase Page ---------- */
.purchase-details {
    padding: 0 0 var(--section-pad);
}
.purchase-details__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.purchase-details__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
}
.purchase-details__card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}
.purchase-details__steps {
    padding-left: 20px;
    list-style: decimal;
}
.purchase-details__steps li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
    line-height: 1.6;
}
.purchase-details__steps li::marker {
    color: var(--accent-blue);
    font-weight: 600;
}
.purchase-details__faq {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
}
.purchase-details__faq strong {
    color: var(--text-primary);
}
.purchase-details__faq a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}
@media (max-width: 768px) {
    .purchase-details__grid { grid-template-columns: 1fr; }
}

/* ---------- Download Page ---------- */
.download-hero {
    padding: calc(var(--nav-height) + 60px) 0 var(--section-pad);
    text-align: center;
}
.download-hero__inner {
    max-width: 640px;
    margin: 0 auto;
}
.download-hero__icon {
    margin-bottom: 24px;
}
.download-hero__icon img {
    margin: 0 auto;
    border-radius: var(--radius-md);
}
.download-hero__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 8px;
}
.download-hero__version {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}
.download-hero__btn {
    display: inline-block;
    margin-bottom: 16px;
}
.download-hero__meta {
    font-size: 13px;
    color: var(--text-muted);
}

.download-steps {
    padding: var(--section-pad) 0;
}
.download-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.download-steps__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
}
.download-steps__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-red);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.download-steps__card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}
.download-steps__card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.download-info {
    padding: 0 0 var(--section-pad);
}
.download-info__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.download-info__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
}
.download-info__card h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}
.download-info__card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.download-info__table {
    width: 100%;
    border-collapse: collapse;
}
.download-info__table td {
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}
.download-info__table td:first-child {
    color: var(--text-secondary);
    width: 45%;
}
.download-info__table td:last-child {
    color: var(--text-primary);
    font-weight: 500;
}
.download-info__table tr:last-child td {
    border-bottom: none;
}
.download-info__list {
    list-style: none;
    padding: 0;
}
.download-info__list li {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}
.download-info__list li::before {
    content: "\2713";
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-weight: 600;
}
.download-info__note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}
.download-info__note a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.download-cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn--outline {
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    transition: border-color .2s, background .2s;
}
.btn--outline:hover {
    border-color: var(--accent-blue);
    background: var(--bg-hover);
}

@media (max-width: 768px) {
    .download-steps__grid { grid-template-columns: 1fr; }
    .download-info__grid  { grid-template-columns: 1fr; }
}

/* ---------- Feature FAQ ---------- */
.feature-faq {
    padding: var(--section-pad) 0;
    background: var(--bg-base);
}
.feature-faq__list {
    max-width: 800px;
    margin: 40px auto 0;
}
.feature-faq__item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 16px;
}
.feature-faq__item h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.feature-faq__item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   LEGAL PAGES (Privacy Policy, Terms of Service)
   ========================================================================== */
.legal-page {
    padding: calc(var(--nav-height) + 60px) 0 var(--section-pad);
}
.legal-page__updated {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 40px;
}
.legal-page__content {
    max-width: 800px;
    margin: 0 auto;
}
.legal-page__content h2 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 32px 0 12px;
}
.legal-page__content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 8px;
}
.legal-page__content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}
.legal-page__content ul {
    padding-left: 20px;
    margin-bottom: 12px;
}
.legal-page__content li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 2px 0;
}
.legal-page__content a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumb {
    padding: calc(var(--nav-height) + 16px) 0 0;
    font-size: 13px;
}
.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s;
}
.breadcrumb a:hover {
    color: var(--accent-blue);
}
.breadcrumb__sep {
    color: var(--text-muted);
    margin: 0 8px;
    opacity: 0.5;
}
.breadcrumb__current {
    color: var(--text-secondary);
}
.breadcrumb + .download-hero {
    padding-top: 24px;
}

/* ---------- Trust Section ---------- */
.trust {
    padding: var(--section-pad) 0;
    background: var(--bg-base);
}
.trust__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.trust__item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
}
.trust__title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.trust__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}
@media (max-width: 768px) {
    .trust__grid { grid-template-columns: 1fr; }
}

/* ---------- Comparison Section ---------- */
.comparison {
    padding: 0 0 var(--section-pad);
    background: var(--bg-base);
}
.comparison__table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
}
.comparison__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 650px;
}
.comparison__table th {
    background: var(--bg-surface);
    color: var(--text-primary);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-family: var(--font-display);
    border-bottom: 2px solid var(--border-light);
}
.comparison__table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    vertical-align: middle;
}
.comparison__table tbody tr:hover {
    background: var(--bg-hover);
}
.comparison__highlight {
    background: rgba(77, 168, 218, 0.08);
    color: var(--text-primary) !important;
    font-weight: 500;
}
.comparison__table th.comparison__highlight {
    color: var(--accent-blue) !important;
}

/* ---------- Blog ---------- */
.blog-hero {
    padding: calc(var(--nav-height) + 60px) 0 var(--section-pad);
    text-align: center;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: border-color .2s, box-shadow .2s;
}
.blog-card:hover {
    border-color: var(--border-light);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.blog-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-blue);
    background: rgba(77, 168, 218, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}
.blog-card__title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}
.blog-card__title a {
    color: inherit;
    text-decoration: none;
}
.blog-card__title a:hover {
    color: var(--accent-blue);
}
.blog-card__date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.blog-card__excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}
.blog-card__link {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-blue);
    text-decoration: none;
}
.blog-card__link:hover {
    color: var(--accent-red);
}

/* Blog article */
.blog-article {
    padding: calc(var(--nav-height) + 40px) 0 var(--section-pad);
}
.blog-article__header {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}
.blog-article__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-blue);
    background: rgba(77, 168, 218, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
}
.blog-article__title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 12px;
}
.blog-article__meta {
    font-size: 14px;
    color: var(--text-muted);
}
.blog-article__body {
    max-width: 800px;
    margin: 0 auto;
}
.blog-article__body h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 40px 0 16px;
}
.blog-article__body h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 28px 0 12px;
}
.blog-article__body p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}
.blog-article__body ul, .blog-article__body ol {
    padding-left: 24px;
    margin-bottom: 16px;
}
.blog-article__body li {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 4px 0;
}
.blog-article__body strong {
    color: var(--text-primary);
}
.blog-article__body a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.blog-article__body blockquote {
    border-left: 3px solid var(--accent-red);
    margin: 24px 0;
    padding: 16px 24px;
    background: var(--bg-card);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.blog-article__body blockquote p {
    color: var(--text-primary);
    font-style: italic;
    margin: 0;
}
.blog-article__cta {
    max-width: 800px;
    margin: 48px auto 0;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
}
.blog-article__cta h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.blog-article__cta p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
}
