/* ==========================================================================
   HOME PAGE - Magi SAF-T Landing Page
   Visual arc: dark navy hero → dark-to-light steps → white middle →
               light-blue testimonials/faq → dark navy CTA
   Tokens: #0a2540 | #0f3d5c | #1a5a8e | #2d7aaf | #408fc4 | #5ba3d0
   ========================================================================== */

/* ── SHARED ANIMATIONS ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes logo-breathe {
    0%,100% { transform: scale(1);    opacity: 1; }
    50%      { transform: scale(1.12); opacity: 0.88; }
}

/* ── SCROLL REVEAL (generic) ──
   home.js adds `will-animate` to a group's items right before observing,
   and `is-visible` the first time each one scrolls into view (or has an
   ancestor's display swapped to visible) - content stays visible by default
   if JS never runs. One-shot per element; stagger is set inline by JS via
   animation-delay. */
.will-animate { opacity: 0; transform: translateY(18px); }
.will-animate.is-visible { animation: fadeInUp 0.6s ease-out both; }

@media (prefers-reduced-motion: reduce) {
    .will-animate { opacity: 1; transform: none; }
    .will-animate.is-visible { animation: none; }
}

/* ────────────────────────────────────────────────
   HERO SECTION
   ──────────────────────────────────────────────── */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 3rem;
    background: linear-gradient(to bottom,
        #071828  0%,
        #0a2540 12%,
        #0f3d5c 28%,
        #1a5a8e 45%,
        #408fc4 62%,
        #57a9d8 72%,
        #3da8c0 80%,
        #2d7aaf 87%,
        #1a5a8e 92%,
        #0f3d5c 96%,
        #0a2540 100%);
}

/* Scan lines */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 4px,
        rgba(255,255,255,0.025) 4px,
        rgba(255,255,255,0.025) 5px
    );
    z-index: 0;
    pointer-events: none;
}

/* Concentric ring spirals - top anchors white centre at logo centre:
   white_centre = top - 240px  →  23rem (368px) - 240px = 128px ≈ logo centre */
.hero-section::after {
    content: '';
    position: absolute;
    top: 23rem;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    min-width: 1600px;
    min-height: 1600px;
    background:
        radial-gradient(ellipse 80px 75px at 50% 35%,
            rgba(255,255,255,0.95) 0%, rgba(220,240,255,0.88) 70%,
            rgba(120,200,220,0.75) 88%, transparent 95%),
        radial-gradient(ellipse 160px 145px at 49% 36%,
            transparent 78%, rgba(120,200,220,0.8) 83%,
            rgba(120,200,220,0.45) 89%, transparent 94%),
        radial-gradient(ellipse 245px 220px at 51% 34%,
            transparent 75%, rgba(93,188,210,0.75) 80%,
            rgba(93,188,210,0.4) 87%, transparent 94%),
        radial-gradient(ellipse 340px 305px at 48% 37%,
            transparent 72%, rgba(60,180,200,0.7) 77%,
            rgba(60,180,200,0.35) 87%, transparent 95%),
        radial-gradient(ellipse 440px 395px at 52% 33%,
            transparent 68%, rgba(50,140,200,0.68) 74%,
            rgba(50,140,200,0.3) 86%, transparent 96%),
        radial-gradient(ellipse 560px 500px at 47% 38%,
            transparent 64%, rgba(20,180,180,0.7) 71%,
            rgba(20,180,180,0.3) 85%, transparent 96%),
        radial-gradient(ellipse 700px 630px at 53% 32%,
            transparent 60%, rgba(26,90,142,0.72) 67%,
            rgba(26,90,142,0.35) 83%, transparent 97%),
        radial-gradient(ellipse 870px 780px at 50% 34%,
            transparent 55%, rgba(10,37,64,0.8) 63%,
            rgba(10,37,64,0.4) 82%, transparent 98%),
        radial-gradient(ellipse 1080px 970px at 50% 34%,
            transparent 50%, rgba(10,37,64,0.65) 61%,
            rgba(10,37,64,0.25) 84%, transparent 100%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.9;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 860px;
    margin: 0 auto;
}

/* ── LOGO ── */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.75rem;
    margin-top: -0.80rem;
}

.logo-wrapper {
    display: inline-block;
    padding: 1.6rem;
    background: radial-gradient(circle, rgba(255,255,255,0.98) 0%, rgba(245,250,255,0.95) 100%);
    border-radius: 50%;
    box-shadow:
        0 0 0 2px rgba(120,200,220,0.4),        /* thin teal ring - echoes first gradient */
        0 0 40px 14px rgba(255,255,255,0.45),   /* white core glow */
        0 0 80px 28px rgba(120,200,220,0.38),   /* teal mid-glow matching ring palette */
        0 0 140px 50px rgba(93,188,210,0.22);   /* broad halo bleeding into outer rings */
    position: relative;
    transition: all 0.4s ease;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    inset: -16px;
    border-radius: 50%;
    /* gradient bleeds into the ring colour palette instead of fading to transparent */
    background: radial-gradient(circle,
        rgba(255,255,255,0.70) 0%,
        rgba(200,235,255,0.50) 30%,
        rgba(120,200,220,0.32) 55%,
        rgba(93,188,210,0.18) 72%,
        transparent 88%);
    z-index: -1;
    filter: blur(16px);
    animation: logo-breathe 4s ease-in-out infinite;
}

.logo-wrapper:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow:
        0 0 0 2px rgba(120,200,220,0.6),
        0 0 70px 26px rgba(255,255,255,0.55),
        0 0 110px 40px rgba(120,200,220,0.5),
        0 0 180px 65px rgba(93,188,210,0.3);
}

.logo { width: 75px; height: auto; display: block; }

/* ── DEADLINE BADGE ── */
.hero-deadline {
    display: inline-block;
    background: linear-gradient(135deg, rgba(10,37,64,0.88), rgba(26,90,142,0.88));
    color: white;
    padding: 0.5rem 1.6rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1.5px solid rgba(255,255,255,0.25);
    box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

.hero-deadline i { color: white; margin-right: 0.5rem; }

/* ── HERO TITLE ── */
.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    background: linear-gradient(180deg,
        #ffffff  0%,
        #e8f5ff 38%,
        #6fd8f0 68%,
        #5ce0f0 92%,
        #8cd0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter:
        drop-shadow(0 3px 6px rgba(0,0,0,0.8))
        drop-shadow(0 0 40px rgba(255,255,255,0.85));
}

/* ── HERO SUBTITLE ── */
.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 2rem;
    background: linear-gradient(180deg,
        #ffffff  0%,
        #f0faff 42%,
        #80e0ff 78%,
        #6ce8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter:
        drop-shadow(0 2px 5px rgba(0,0,0,0.85))
        drop-shadow(0 0 24px rgba(255,255,255,0.75));
}

/* ── HERO "HOW" CLAIM ── solid mint, not another gradient - the hero's
   gradient budget is already spent on the title/subtitle above. Repeated
   in the same language at .manifesto-claim in the steps section. */
.hero-how-claim {
    max-width: 680px;
    margin: 0 auto 2rem;
    text-align: center;
    line-height: 1.6;
}
.hero-how-claim__them {
    display: block;
    font-size: 1.02rem;
    font-weight: 500;
    color: rgba(226,240,250,0.82);
    text-shadow: 0 2px 8px rgba(0,0,0,0.65);
    margin-bottom: 0.45rem;
}
.hero-how-claim__us {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #6ee7b7;
    text-shadow: 0 2px 16px rgba(110,231,183,0.4);
}

/* ── SOFTWARE BADGES (still used by upload_reports.html) ── */
.software-badge {
    background: linear-gradient(135deg, rgba(10,37,64,0.82), rgba(26,90,142,0.82));
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    color: white;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    position: relative;
}

.software-badge::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(20,180,180,0.3));
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.software-badge:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 6px 18px rgba(0,0,0,0.5), 0 0 40px rgba(20,180,180,0.3);
}

.software-badge:hover::before { opacity: 1; }
.software-badge i { margin-right: 0.4rem; color: white; }

.software-badge--universal {
    background: linear-gradient(135deg, rgba(26,90,142,0.92), rgba(45,122,175,0.92));
    border-color: rgba(255,255,255,0.28);
    font-size: 0.9rem;
}

.software-badge--new-integration {
    background: linear-gradient(135deg, rgba(5,100,80,0.72), rgba(16,185,129,0.22));
    border-color: rgba(110,231,183,0.38);
}
.software-badge--new-integration i { color: #6ee7b7; }

/* ── INTEGRATION CARDS (continuous horizontal marquee) ──
   Track holds two identical sets side by side; animating translateX from
   0 to -50% moves exactly one set-width, so the loop point is invisible. */
.integration-marquee {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    /* fade the strip into the hero background at both edges */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%);
}

.integration-marquee__track {
    display: flex;
    width: max-content;
    animation: integration-marquee-scroll 26s linear infinite;
}

.integration-marquee:hover .integration-marquee__track,
.integration-marquee:focus-within .integration-marquee__track {
    animation-play-state: paused;
}

.integration-marquee__set {
    display: flex;
    gap: 0.9rem;
    padding-right: 0.9rem;
}

@keyframes integration-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .integration-marquee__track { animation: none; }
}

.integration-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-align: center;
    width: 168px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(10,37,64,0.82), rgba(26,90,142,0.82));
    padding: 1rem 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.integration-card__icon { font-size: 1.3rem; color: #6ee7b7; }
.integration-card--live .integration-card__icon { color: #6ee7b7; }
.integration-card--new .integration-card__icon { color: #ffd166; }
.integration-card--excel .integration-card__icon { color: #7fd4ff; }

.integration-card__name { font-weight: 700; font-size: 0.9rem; color: #fff; }
.integration-card__tag { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.65); }

.integration-card--new {
    background: linear-gradient(135deg, rgba(5,100,80,0.72), rgba(16,185,129,0.22));
    border-color: rgba(110,231,183,0.38);
}
.integration-card--excel {
    background: linear-gradient(135deg, rgba(26,90,142,0.92), rgba(45,122,175,0.92));
}

.integration-cards-note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    font-weight: 600;
    margin-bottom: 2.5rem;
}


/* ── TRUST INDICATORS ── */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: white;
    background: linear-gradient(135deg, rgba(10,37,64,0.82), rgba(26,90,142,0.82));
    padding: 0.6rem 1.1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.82rem;
    border: 1.5px solid rgba(255,255,255,0.18);
    box-shadow: 0 3px 12px rgba(0,0,0,0.4);
}

.trust-item i {
    color: #14b4b4;
    font-size: 1.1rem;
}

/* ── HERO BUTTON ── */
.hero-section .btn-primary {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    background: linear-gradient(135deg, #1a5a8e, #2d7aaf, #5ba3d0);
    color: white;
    border: 2px solid rgba(91,163,208,0.45);
    box-shadow: 0 5px 22px rgba(0,0,0,0.38), 0 0 32px rgba(91,163,208,0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-section .btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.4s ease;
}

.hero-section .btn-primary:hover::after { left: 100%; }

.hero-section .btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #0f3d5c, #1a5a8e, #2d7aaf);
    box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 50px rgba(91,163,208,0.45);
    color: white;
}

.hero-section .btn-primary i { transition: transform 0.25s ease; }
.hero-section .btn-primary:hover i { transform: translateX(4px); }

.hero-section .hero-cta-note {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    margin: 0.55rem 0 0;
    line-height: 1.4;
}

/* ────────────────────────────────────────────────
   CALCULATOR TEASER - bridge between the hero's deadline
   urgency and the steps section below. Previews the phase
   register from the redesigned /saft-kalkulator/ page in
   miniature (dark-mode styled to match this navy gradient) so
   clicking through continues the same idea instead of landing
   somewhere visually unrelated. Teal only - no gold/yellow.
   ──────────────────────────────────────────────── */
.calc-teaser { position: relative; overflow: hidden; background: #0a2540; padding: 3.25rem 0; }

/* Scan lines - matches the rest of the page's dark sections */
.calc-teaser::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg, transparent, transparent 4px,
        rgba(255,255,255,0.025) 4px, rgba(255,255,255,0.025) 5px);
    z-index: 0; pointer-events: none;
}

.calc-teaser-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 2.5rem;
    align-items: center;
}
.calc-teaser-eyebrow {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase;
    color: #5EEBD9; background: rgba(47,211,192,0.12);
    border: 1px solid rgba(47,211,192,0.3); border-radius: 999px;
    padding: 0.3rem 0.75rem; margin-bottom: 1rem;
}
.calc-teaser-title {
    font-size: 1.5rem; font-weight: 800; color: #EDEAE0;
    line-height: 1.25; margin: 0 0 0.75rem;
}
.calc-teaser-desc {
    font-size: 0.92rem; color: #C7D1CC;
    line-height: 1.6; margin: 0 0 1.25rem; max-width: 46ch;
}
.calc-teaser-cta-row { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.calc-teaser-cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: #12A897; color: #06201d; font-weight: 700; font-size: 0.9rem;
    padding: 0.7rem 1.25rem; border-radius: 9px; text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.calc-teaser-cta:hover { background: #17c7b2; color: #06201d; transform: translateY(-1px); }
.calc-teaser-cta i { transition: transform 0.2s ease; }
.calc-teaser-cta:hover i { transform: translateX(3px); }
.calc-teaser-note { font-size: 0.78rem; color: #8CA39A; }

.calc-teaser-register {
    display: block; text-decoration: none;
    background: #1B262C; border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px; padding: 1rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.calc-teaser-register:hover { border-color: rgba(47,211,192,0.4); transform: translateY(-2px); }
.calc-teaser-register-cap {
    display: flex; justify-content: space-between;
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.66rem; letter-spacing: 0.05em; text-transform: uppercase;
    color: #9BB0A8; margin-bottom: 0.65rem;
}
.calc-teaser-register-cols {
    display: grid; grid-template-columns: repeat(5, 1fr);
    border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; overflow: hidden;
    background: #202C33;
}
.calc-teaser-col {
    position: relative; display: flex; flex-direction: column; align-items: center;
    gap: 0.2rem; padding: 0.6rem 0.25rem; text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.calc-teaser-col:last-child { border-right: none; }
.calc-teaser-col.is-example { background: rgba(47,211,192,0.16); }
.calc-teaser-col.is-example::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: #2FD3C0; }
.calc-teaser-col-n { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 0.62rem; font-weight: 600; color: #8FA39B; }
.calc-teaser-col-y { font-weight: 700; font-size: 1rem; color: #F5F2E9; }
.calc-teaser-col-p { font-size: 0.68rem; font-weight: 600; color: #D3DDD7; }
.calc-teaser-tag {
    position: absolute; top: 4px; right: 4px;
    font-family: 'JetBrains Mono', Consolas, monospace; font-size: 0.5rem; font-weight: 700;
    color: #fff; background: #E2695A; border-radius: 3px; padding: 1px 4px;
}

/* Desktop only - the register's 5 columns have room to breathe, so scale
   the whole card up and give it more of the row's width. Left untouched
   below 861px, where the teaser is already stacked to a single column. */
@media (min-width: 861px) {
    .calc-teaser-inner { grid-template-columns: 0.85fr 1.25fr; gap: 3rem; }
    .calc-teaser-register { padding: 2rem 1.75rem; }
    .calc-teaser-register-cap { font-size: 0.8rem; margin-bottom: 1.4rem; }
    .calc-teaser-col { padding: 1.85rem 0.6rem 1.4rem; gap: 0.45rem; }
    .calc-teaser-col.is-example { padding-top: 2.35rem; }
    .calc-teaser-col-n { font-size: 0.76rem; }
    .calc-teaser-col-y { font-size: 1.7rem; }
    .calc-teaser-col-p { font-size: 0.9rem; }
    .calc-teaser-tag { font-size: 0.64rem; padding: 3px 8px; top: 10px; right: 10px; }
}

@media (max-width: 860px) {
    .calc-teaser-inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .calc-teaser { padding: 2.5rem 0; }
    .calc-teaser-col-p { display: none; }
}

/* ────────────────────────────────────────────────
   STEPS SECTION - Stripe-style tab carousel
   ──────────────────────────────────────────────── */
.steps-section {
    background: linear-gradient(to bottom,
        #0a2540  0%,
        #0f3d5c 12%,
        #1a5a8e 28%,
        #2d7aaf 45%,
        #408fc4 62%,
        #5ba3d0 76%,
        #a8d4ed 90%,
        #d4ebf7 100%);
    padding: 5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.steps-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg, transparent, transparent 4px,
        rgba(255,255,255,0.018) 4px, rgba(255,255,255,0.018) 5px);
    z-index: 0; pointer-events: none;
}

.steps-section .container { position: relative; z-index: 1; }

/* ── Section header ── */
.steps-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.steps-title {
    font-size: 2.1rem;
    font-weight: 800;
    background: linear-gradient(180deg, #ffffff 0%, #e8f4fa 40%, #b8ddf0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.28));
}

.steps-subtitle {
    color: rgba(255,255,255,0.72);
    font-size: 1rem;
    font-weight: 500;
}

/* ── Carousel shell ── */
.stripe-carousel {
    background: rgba(255,255,255,0.97);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.22),
        0 4px 16px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.6);
}

/* ── Tab strip ── */
.stripe-tab-strip {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
    scrollbar-width: none;
    background: white;
}

.stripe-tab-strip::-webkit-scrollbar { display: none; }

.stripe-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 1rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #6b7280;
    background: none;
    border: none;
    border-bottom: 2.5px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.stripe-tab:hover:not(.active) { color: #374151; }

.stripe-tab.active {
    color: #1a5a8e;
    border-bottom-color: #1a5a8e;
}

/* Auto-advance progress fill - a second underline layered over the steady
   active border, draining left-to-right over one step's dwell time.
   animationend (in home.html's stripe-carousel script) advances the step;
   hover/focus pauses it so reading is never interrupted mid-sentence. */
.stripe-tab.active::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2.5px;
    height: 2.5px;
    background: #6ee7b7;
    transform: scaleX(0);
    transform-origin: left;
    animation: stripeTabFill 6s linear forwards;
}

.stripe-carousel:hover .stripe-tab.active::after,
.stripe-carousel:focus-within .stripe-tab.active::after {
    animation-play-state: paused;
}

@keyframes stripeTabFill {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    .stripe-tab.active::after { display: none; }
}

.stripe-tab.done {
    color: #10b981;
    border-bottom-color: transparent;
}

.stripe-tab-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    font-size: 0.72rem;
    font-weight: 700;
    transition: all 0.18s ease;
    flex-shrink: 0;
}

.stripe-tab.active   .stripe-tab-num { background: #1a5a8e; color: white; }
.stripe-tab.done     .stripe-tab-num { background: #10b981; color: white; }

/* ── Stage: two columns ── */
.stripe-stage {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    min-height: 420px;
}

/* ── Left info panel ── */
.stripe-info {
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #f3f4f6;
}

.stripe-step-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #5ba3d0;
    margin-bottom: 0.6rem;
}

.stripe-step-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0a2540;
    margin-bottom: 0.875rem;
    line-height: 1.25;
}

.stripe-step-desc {
    font-size: 0.9rem;
    color: #4a7a9a;
    line-height: 1.68;
    margin-bottom: 1.25rem;
}

/* Feature bullets */
.stripe-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stripe-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #374151;
    font-weight: 500;
}

.stripe-feat-dot {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #e8f4fa;
    border: 1.5px solid #5ba3d0;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.stripe-feat-dot::after {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #1a5a8e;
}

/* Tag */
.stripe-step-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.22);
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #059669;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.stripe-step-tag i { font-size: 0.75rem; }

/* Nav buttons */
.stripe-nav {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.stripe-nav-prev {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1.5px solid #d1d5db;
    background: white;
    color: #374151;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.18s ease;
    flex-shrink: 0;
}

.stripe-nav-prev:hover:not(:disabled) {
    border-color: #1a5a8e;
    color: #1a5a8e;
}

.stripe-nav-prev:disabled { opacity: 0.3; cursor: not-allowed; }

.stripe-nav-next {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.25rem;
    background: #1a5a8e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
}

.stripe-nav-next:hover:not(:disabled) {
    background: #0f3d5c;
    transform: translateX(2px);
}

.stripe-nav-next:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.stripe-nav-next i { font-size: 0.75rem; }

/* ── Step 6 inline CTA ── */
.stripe-step-cta {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    margin-top: 0.1rem;
}

.stripe-step-cta.visible {
    display: flex;
    animation: stripeCtaIn 0.28s ease;
}

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

.stripe-cta-divider {
    width: 100%;
    height: 1px;
    background: #e5e7eb;
    margin-bottom: 0.4rem;
}

.stripe-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.35rem;
    background: #1a5a8e;
    color: #fff;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.18s ease, transform 0.18s ease;
}

.stripe-cta-btn:hover {
    background: #0f3d5c;
    transform: translateY(-1px);
    color: #fff;
}

.stripe-cta-btn i { font-size: 0.85rem; }

.stripe-cta-btn--returning { background: #0f766e; }
.stripe-cta-btn--returning:hover { background: #0a5c55; }

.stripe-cta-note {
    font-size: 0.775rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* ── Right image panel ── */
.stripe-image-panel {
    position: relative;
    background: #f0f4f8;
    overflow: hidden;
    min-height: 380px;
}

.stripe-image-frame {
    width: 100%;
    height: 100%;
    min-height: 380px;
    transition: opacity 0.18s ease;
}

.stripe-image-frame.is-switching { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
    .stripe-image-frame { transition: none; }
}

.stripe-image-frame img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    object-position: top left;
    display: block;
    transition: opacity 0.25s ease;
}

.stripe-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    background: linear-gradient(135deg, #e8f4fa, #d4ebf7);
    color: #4a7a9a;
}

.stripe-image-placeholder i {
    font-size: 2.5rem;
    color: #5ba3d0;
    opacity: 0.6;
}

.stripe-image-placeholder span {
    font-size: 0.875rem;
    font-weight: 600;
    font-style: italic;
}

.stripe-image-badge {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(10,37,64,0.72);
    color: rgba(255,255,255,0.92);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    letter-spacing: 0.3px;
}

/* ── Bottom progress trail ── */
.stripe-progress-trail {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0;
}

.stripe-progress-trail::-webkit-scrollbar { display: none; }

.spt-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #9ca3af;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.18s ease;
    padding: 2px 0;
}

.spt-item:hover { color: #374151; }
.spt-item.active { color: #1a5a8e; }
.spt-item.done   { color: #10b981; }

.spt-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    flex-shrink: 0;
    transition: background 0.18s ease;
}

.spt-item.active .spt-dot { background: #1a5a8e; }
.spt-item.done   .spt-dot { background: #10b981; }

.spt-line {
    flex: 1;
    height: 1.5px;
    background: #e5e7eb;
    margin: 0 8px;
    min-width: 20px;
    transition: background 0.18s ease;
}

.spt-line.done { background: rgba(16,185,129,0.45); }

/* ── Responsive ── */
@media (max-width: 900px) {
    .stripe-stage {
        grid-template-columns: 1fr;
    }
    .stripe-image-panel {
        min-height: 260px;
        border-top: 1px solid #e5e7eb;
    }
    .stripe-image-frame,
    .stripe-image-frame img,
    .stripe-image-placeholder { min-height: 260px; }
    .stripe-info { padding: 1.75rem 1.5rem; }
}

@media (max-width: 600px) {
    .stripe-tab { padding: 0.875rem 0.875rem; font-size: 0.75rem; }
    .stripe-tab-strip { gap: 0; }
    .steps-title { font-size: 1.65rem; }
    .stripe-step-title { font-size: 1.2rem; }
    .spt-label { display: none; }
}

/* ── "How Magi Works" manifesto (inside steps section) ──
   Reworked from a modest inline card into a prominent standalone dark
   block - this is the one place on the page that proves the "how", so it
   gets real visual weight instead of being a footnote under the carousel.
   Leads with the same them/us claim as the hero, same mint accent. */
.steps-manifesto {
    margin-top: 3rem;
    background: linear-gradient(165deg, #0f2942 0%, #0a1929 100%);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 25px 60px rgba(10,25,41,0.35);
}

.steps-manifesto .steps-tc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7fb0d0;
    margin-bottom: 1.25rem;
}
.steps-manifesto .steps-tc-eyebrow i { font-size: 0.72rem; }

.manifesto-claim {
    max-width: 640px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}
.manifesto-claim__them {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(226,240,250,0.82);
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 0.4rem;
}
.manifesto-claim__us {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #6ee7b7;
    text-shadow: 0 2px 16px rgba(110,231,183,0.35);
}

.manifesto-body {
    max-width: 56ch;
    margin: 0 auto 2.25rem;
    color: rgba(217,232,242,0.75);
    font-size: 0.98rem;
    line-height: 1.65;
}

.manifesto-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2.25rem;
    flex-wrap: wrap;
}
.manifesto-stat { display: flex; flex-direction: column; align-items: center; }
.manifesto-stat__num { font-size: 2.2rem; font-weight: 800; color: #ffffff; font-variant-numeric: tabular-nums; }
.manifesto-stat__label {
    font-size: 0.75rem;
    color: rgba(217,232,242,0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.3rem;
}

.manifesto-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.25rem;
    background: linear-gradient(135deg, #2d7aaf, #57b4e0);
    color: #fff;
    font-weight: 700;
    font-size: 1.02rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(45,122,175,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.manifesto-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(45,122,175,0.55);
    color: #fff;
    text-decoration: none;
}
.manifesto-cta i { transition: transform 0.2s ease; }
.manifesto-cta:hover i { transform: translateX(4px); }

@media (max-width: 768px) {
    .steps-manifesto { padding: 2.25rem 1.5rem; }
    .manifesto-claim__us { font-size: 1.3rem; }
    .manifesto-stats { gap: 1.75rem; }
    .manifesto-stat__num { font-size: 1.8rem; }
    .manifesto-cta { width: 100%; justify-content: center; }
}

/* ────────────────────────────────────────────────
   WHY MAGI SECTION
   ──────────────────────────────────────────────── */
.why-magi-section {
    background: linear-gradient(to bottom,
        #d4ebf7  0%,
        #ebf5fc 28%,
        #f4f9fd 55%,
        #f9fcfe 78%,
        #ffffff 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.why-magi-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg, transparent, transparent 4px,
        rgba(30,127,207,0.012) 4px, rgba(30,127,207,0.012) 5px);
    z-index: 0; pointer-events: none;
}

.why-magi-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 1000px 550px at 50% 0%, rgba(125,190,224,0.12) 0%, transparent 68%),
        radial-gradient(ellipse 1100px 350px at 50% 100%, rgba(10,37,64,0.025) 0%, transparent 55%);
    z-index: 0; pointer-events: none;
}

.why-magi-section .container { position: relative; z-index: 1; }

.why-magi-section .section-header {
    text-align: left;
    margin-bottom: 3rem;
    padding-left: 0.5rem;
}

.why-magi-section .section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0a2540;
    display: inline-block;
    position: relative;
}

.why-magi-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -7px; left: 0;
    width: 48px; height: 3px;
    background: #2d7aaf;
    border-radius: 2px;
}

.why-magi-section .section-subtitle {
    color: #1a5a8e;
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: 600;
}

/* Value props - numbered editorial rows, deliberately not boxed cards */
.value-prop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(168,212,237,0.5);
}

.value-prop-item {
    display: flex;
    gap: 1.25rem;
    padding: 2rem 1.75rem;
    border-bottom: 1px solid rgba(168,212,237,0.5);
}

.value-prop-item:nth-child(odd) {
    border-right: 1px solid rgba(168,212,237,0.5);
}

.value-prop-item:nth-child(5),
.value-prop-item:nth-child(6) {
    border-bottom: none;
}

.value-prop-index {
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: #5ba3d0;
    flex-shrink: 0;
    width: 24px;
    padding-top: 0.2rem;
}

.value-prop-heading {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 0.5rem;
}

.value-prop-heading i {
    color: #2d7aaf;
    font-size: 0.95rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.value-prop-desc {
    color: #2d5570;
    line-height: 1.65;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 700px) {
    .value-prop-grid { grid-template-columns: 1fr; }
    .value-prop-item { padding: 1.5rem 0.5rem; }
    .value-prop-item:nth-child(odd) { border-right: none; }
    .value-prop-item:nth-child(5) { border-bottom: 1px solid rgba(168,212,237,0.5); }
    .value-prop-item:nth-child(6) { border-bottom: none; }
}

/* Seam accent - marks a hard section-color cut on purpose instead of
   trying to blend it away (a blend was tried at the why-magi/proof seam
   and made things worse - see conversation/commit history). Reusable
   wherever a section boundary has non-negotiable colors on both sides. */
.section-seam {
    height: 3px;
    margin: 0;
    background: linear-gradient(90deg, transparent, #5ba3d0 20%, #6ee7b7 50%, #5ba3d0 80%, transparent);
    box-shadow: 0 0 12px rgba(110,231,183,0.5);
}

/* ────────────────────────────────────────────────
   PROOF SECTION (track record + resource cards)
   ──────────────────────────────────────────────── */
.proof-section {
    position: relative;
    overflow: hidden;
    /* Hard cut from why-magi-section's white above it, left deliberately:
       a blended transition was tried here (see git history / conversation)
       and looked worse - a wide dead gray band instead of a clean seam,
       since any pale-to-navy blend wide enough to read as "smooth" also
       reads as "empty" at this scale. Both sections have non-negotiable
       content-color requirements (light bg for dark text above, dark bg
       for white text below), so this swing stays a real cut rather than
       a forced blend - same call made for closed-beta-section's swing
       into transformation-section. */
    background: radial-gradient(ellipse 1100px 550px at 50% -10%, #123049 0%, #0a1929 60%), #0a1929;
    padding: 5.5rem 0 5rem;
}

/* Scan lines - matches the rest of the page's dark sections */
.proof-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg, transparent, transparent 4px,
        rgba(255,255,255,0.025) 4px, rgba(255,255,255,0.025) 5px);
    z-index: 0; pointer-events: none;
}

.proof-section .container { position: relative; z-index: 1; }

/* Two columns filling the full section width - resources stacked on the
   left, headline + schema tree on the right - instead of one centered
   narrow column with empty space on either side. order swaps the visual
   position while keeping the headline first in source/reading order. */
.proof-columns {
    display: grid;
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: 3rem;
    align-items: start;
    text-align: left;
}
.proof-resources-col { order: 1; display: flex; flex-direction: column; gap: 1rem; }
.proof-content-col { order: 2; }

.proof-resources-kicker {
    font-family: var(--font-family-mono, monospace);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #6ee7b7;
    margin-bottom: 0.25rem;
}

.proof-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #6ee7b7;
    background: rgba(110,231,183,0.1);
    border: 1px solid rgba(110,231,183,0.3);
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    margin-bottom: 1.4rem;
}

.proof-section .section-title {
    color: #ffffff;
    font-size: 2.1rem;
    font-weight: 800;
    margin: 0 0 1rem;
    line-height: 1.25;
}

.proof-section .section-subtitle {
    color: rgba(217,232,242,0.68);
    font-size: 1.02rem;
    max-width: 60ch;
    margin: 0;
    font-weight: 500;
    line-height: 1.65;
}

/* Schema tree - an explorable org-chart of the REAL BG_SAFT AuditFile
   structure. Header / MasterFiles / GeneralLedgerEntries / SourceDocuments
   are the actual top-level elements of the schema this product validates
   against - not a metaphor. Click a branch, the readout below swaps.
   Monospace is used only for the real XML tag names. The dark blueprint
   treatment now belongs to the SECTION itself (.proof-section above),
   not a card floating on top of it - this is a content wrapper only. */
.schema-panel {
    margin-top: 2.25rem;
    color: #d9e8f2;
}

.schema-eyebrow {
    display: flex;
    width: fit-content;
    font-family: var(--font-family-mono, monospace);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #9fd8c4;
    background: rgba(110,231,183,0.08);
    border: 1px solid rgba(110,231,183,0.25);
    border-radius: 6px;
    padding: 0.5rem 1.1rem;
    margin: 0 auto 1.75rem;
}
.schema-root-wrap { display: flex; flex-direction: column; align-items: center; }

.schema-root {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    background: #0f2942;
    border: 1px solid rgba(110,231,183,0.4);
    border-radius: 12px;
    padding: 1.35rem 2rem;
    box-shadow: 0 0 0 4px rgba(110,231,183,0.06);
    flex-wrap: wrap;
    justify-content: center;
}
.schema-root .tag { font-family: var(--font-family-mono, monospace); font-size: 1rem; color: #7fb0d0; }
.schema-root .big { font-size: 2.3rem; font-weight: 800; color: #ffffff; font-variant-numeric: tabular-nums; }
.schema-root .big .u { font-size: 0.9rem; color: #6ee7b7; font-weight: 700; margin-left: 4px; }
.schema-root-wrap::after { content: ''; width: 1px; height: 28px; background: rgba(110,231,183,0.35); }

.schema-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding-top: 28px;
}
.schema-row::before {
    content: '';
    position: absolute;
    top: 0; left: 12.5%; right: 12.5%;
    height: 1px;
    background: rgba(110,231,183,0.3);
}
.schema-node { position: relative; }
.schema-node::before {
    content: '';
    position: absolute;
    top: -28px; left: 50%;
    width: 1px; height: 28px;
    background: rgba(110,231,183,0.3);
}
.schema-node button {
    width: 100%;
    background: #101f30;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 1.35rem 0.85rem;
    color: #cfe0ec;
    cursor: pointer;
    text-align: center;
    font: inherit;
    transition: border-color 0.18s ease, background 0.18s ease;
}
.schema-node .tag { display: block; font-family: var(--font-family-mono, monospace); font-size: 0.82rem; color: #6f93ab; margin-bottom: 0.5rem; word-break: break-word; }
.schema-node .label { display: block; font-size: 0.98rem; font-weight: 700; }
.schema-node button:hover { border-color: rgba(110,231,183,0.4); }
.schema-node button:focus-visible { outline: 2px solid #6ee7b7; outline-offset: 2px; }
.schema-node.is-active button { background: #123a35; border-color: #6ee7b7; }
.schema-node.is-active .tag { color: #6ee7b7; }

.schema-detail {
    margin-top: 1.75rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.75rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    min-height: 130px;
}
.schema-detail .metric { font-size: 2.5rem; font-weight: 800; color: #6ee7b7; font-variant-numeric: tabular-nums; white-space: nowrap; }
.schema-detail .text { display: none; font-size: 1.02rem; line-height: 1.7; color: #b9cddb; max-width: 52ch; }
.schema-detail .text.is-active { display: block; animation: schemaFadeIn 0.3s ease-out; }
.schema-detail .text strong { color: #e7f1f8; font-weight: 700; }
.schema-detail .metric-wrap { display: none; }
.schema-detail .metric-wrap.is-active { display: block; animation: schemaFadeIn 0.3s ease-out; }

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

@media (prefers-reduced-motion: reduce) {
    .schema-detail .text.is-active,
    .schema-detail .metric-wrap.is-active { animation: none; }
}

/* Resource tiles - stacked in their own column (.proof-resources-col,
   defined with .proof-columns above), icon badges instead of a numbered
   01/02/03/04 tag - there's no real sequence between a guide, a glossary,
   an error catalog and a readiness test, so numbering them implied an
   order that doesn't exist. */
.proof-resource-card {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid #5ba3d0;
    border-radius: 8px;
    padding: 1.1rem 1.1rem 1rem;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.proof-resource-card:hover {
    background: rgba(255,255,255,0.06);
    border-left-color: #6ee7b7;
    text-decoration: none;
}

.proof-resource-card--glossary { border-left-color: #12A897; }
.proof-resource-card--glossary:hover { border-left-color: #5eebd9; }
.proof-resource-card--errors { border-left-color: #e0605a; }
.proof-resource-card--errors:hover { border-left-color: #ff8a84; }
.proof-resource-card--test { border-left-color: #c9a227; }
.proof-resource-card--test:hover { border-left-color: #dbb935; }

.proof-resource-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.proof-resource-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    color: #7fb0d0;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.proof-resource-card--glossary .proof-resource-icon { color: #5eebd9; }
.proof-resource-card--errors .proof-resource-icon { color: #ff8a84; }
.proof-resource-card--test .proof-resource-icon { color: #dbb935; }

.proof-resource-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #e7f1f8;
    margin: 0;
}

.proof-resource-desc {
    font-size: 0.78rem;
    color: #8ba9c2;
    line-height: 1.55;
    margin-bottom: 0.9rem;
    flex: 1;
}

.proof-resource-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: #6ee7b7;
    transition: gap 0.2s ease;
}
.proof-resource-card:hover .proof-resource-cta { gap: 0.55rem; }
.proof-resource-cta i { font-size: 0.68rem; transition: transform 0.2s ease; }
.proof-resource-card:hover .proof-resource-cta i { transform: translateX(3px); }

@media (max-width: 960px) {
    .proof-columns { grid-template-columns: 1fr; }
    .proof-content-col, .proof-resources-col { order: 0; }
}

@media (max-width: 768px) {
    .proof-section { padding: 3.5rem 0 4rem; }
    .proof-section .section-title { font-size: 1.6rem; }
}

@media (max-width: 620px) {
    .proof-section { padding: 4rem 0 3.5rem; }

    /* The org-chart connector lines only make sense with room to breathe -
       squeezed into a phone width they read as chaotic, dangling stubs.
       Drop the tree metaphor here: a plain vertical list instead. */
    .schema-row {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding-top: 0;
    }
    .schema-row::before { display: none; }
    .schema-node::before { display: none; }
    .schema-node button { display: flex; align-items: center; gap: 0.75rem; text-align: left; padding: 1rem; }
    .schema-node .tag { margin-bottom: 0; flex-shrink: 0; }
    .schema-node .label { flex: 1; }

    /* Stack the three root stats instead of letting them wrap unpredictably */
    .schema-root { flex-direction: column; align-items: center; gap: 0.6rem; padding: 1.25rem 1.5rem; }
    .schema-root .big { font-size: 1.7rem; }

    .schema-detail { flex-direction: column; gap: 6px; }
}

/* ────────────────────────────────────────────────
   PRICING SECTION
   ──────────────────────────────────────────────── */
.pricing-section {
    background: linear-gradient(to bottom,
        #ffffff  0%,
        #f4f9fd 35%,
        #ebf5fc 70%,
        #e0f0fa 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 900px; height: 550px;
    background: radial-gradient(ellipse at center, rgba(45,122,175,0.05) 0%, transparent 68%);
    z-index: 0; pointer-events: none;
}

.pricing-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg, transparent, transparent 4px,
        rgba(45,122,175,0.008) 4px, rgba(45,122,175,0.008) 5px);
    z-index: 0; pointer-events: none;
}

.pricing-section .container { position: relative; z-index: 1; }

.pricing-section .section-header {
    text-align: left;
    margin-bottom: 3rem;
    padding-left: 0.5rem;
}

.pricing-section .section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0a2540;
    display: inline-block;
    position: relative;
}

.pricing-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -7px; left: 0;
    width: 48px; height: 3px;
    background: #2d7aaf;
    border-radius: 2px;
}

.pricing-section .section-subtitle {
    color: #1a5a8e;
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: 600;
}

/* ────────────────────────────────────────────────
   TRANSFORMATION LAYER SECTION
   ──────────────────────────────────────────────── */
.transformation-section {
    background: linear-gradient(to bottom,
        #e0f0fa  0%,
        #d4ebf7 25%,
        #c8e6f4 50%,
        #bce1f1 75%,
        #a8d4ed 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.transformation-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 850px; height: 450px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.35) 0%, transparent 65%);
    z-index: 0; pointer-events: none;
}

.transformation-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg, transparent, transparent 4px,
        rgba(45,122,175,0.012) 4px, rgba(45,122,175,0.012) 5px);
    z-index: 0; pointer-events: none;
}

.transformation-section .container { position: relative; z-index: 1; }

.transformation-section .section-header {
    text-align: left;
    margin-bottom: 3rem;
    padding-left: 0.5rem;
}

.transformation-section .section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0a2540;
    display: inline-block;
    position: relative;
}

.transformation-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -7px; left: 0;
    width: 48px; height: 3px;
    background: #2d7aaf;
    border-radius: 2px;
}

.transformation-section .section-subtitle {
    color: #1a5a8e;
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: 600;
}

/* ── Pipeline ── */
.transform-pipeline {
    display: flex;
    align-items: stretch;
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(26,90,142,0.1), 0 2px 12px rgba(26,90,142,0.06);
    border: 1px solid rgba(168,212,237,0.45);
    margin-bottom: 2.5rem;
}

.transform-col {
    flex: 1;
    padding: 2rem 1.75rem;
}

.transform-col--input  { background: rgba(240,248,255,0.7); border-right: 1px solid rgba(168,212,237,0.4); }
.transform-col--process { background: linear-gradient(160deg, rgba(26,90,142,0.03), rgba(45,122,175,0.06)); border-right: 1px solid rgba(168,212,237,0.4); }
.transform-col--output { background: rgba(240,255,250,0.7); }

.transform-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.25rem;
    color: #a8d4ed;
    font-size: 1.1rem;
    background: white;
    flex-shrink: 0;
}

.transform-col-label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #5ba3d0;
    margin-bottom: 0.45rem;
}

.transform-col-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0a2540;
    margin: 0 0 1rem;
    line-height: 1.25;
}

.transform-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.transform-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #2d5570;
    font-weight: 500;
}

.transform-col--input  .transform-list li i { color: #2d7aaf; font-size: 0.85rem; }
.transform-col--output .transform-list li i { color: #10b981; font-size: 0.85rem; }

.transform-steps {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.transform-steps li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: #2d5570;
    font-weight: 500;
}

.transform-step-num {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #1a5a8e;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ── Capabilities - flat row, no card chrome: the pipeline above already
   carries this section's visual weight, so this is a lightweight footnote
   list rather than a third "boxed card grid" repeated on the same page. ── */
.capability-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.capability-item {
    padding: 0 1.75rem;
    border-left: 1px solid rgba(168,212,237,0.5);
}

.capability-item:first-child {
    border-left: none;
    padding-left: 0;
}

.capability-icon {
    font-size: 1.3rem;
    color: #2d7aaf;
    display: block;
    margin-bottom: 0.9rem;
}

.capability-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.capability-desc {
    color: #2d5570;
    font-size: 0.85rem;
    line-height: 1.6;
    font-weight: 500;
}

@media (max-width: 900px) {
    .capability-row { grid-template-columns: 1fr 1fr; gap: 1.75rem 0; }
    .capability-item { border-left: none; padding-left: 0; }
    .capability-item:nth-child(even) { border-left: 1px solid rgba(168,212,237,0.5); padding-left: 1.75rem; }
}

@media (max-width: 560px) {
    .capability-row { grid-template-columns: 1fr; gap: 0; }
    .capability-item {
        border-left: none !important;
        padding: 1.5rem 0 0;
        border-top: 1px solid rgba(168,212,237,0.5);
    }
    .capability-item:first-child { border-top: none; padding-top: 0; }
}

/* ────────────────────────────────────────────────
   FAQ SECTION
   ──────────────────────────────────────────────── */
.faq-section {
    background: linear-gradient(to bottom,
        #a8d4ed  0%,
        #8bbfe3 28%,
        #6faad9 55%,
        #408fc4 82%,
        #2d7aaf 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg, transparent, transparent 4px,
        rgba(10,37,64,0.018) 4px, rgba(10,37,64,0.018) 5px);
    z-index: 0; pointer-events: none;
}


.faq-section .container { position: relative; z-index: 1; }

.faq-section .section-header {
    text-align: left;
    margin-bottom: 3rem;
    padding-left: 0.5rem;
}

.faq-section .section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0a2540;
    display: inline-block;
    position: relative;
    text-shadow: 0 1px 3px rgba(255,255,255,0.35);
}

.faq-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -7px; left: 0;
    width: 48px; height: 3px;
    background: #0a2540;
    border-radius: 2px;
}

.faq-section .section-subtitle {
    color: #0a2540;
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(255,255,255,0.4);
}

.faq-container {
    max-width: 100%;
    margin: 0;
    padding-left: 0.5rem;
    counter-reset: faq-counter;
}

.faq-item {
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    margin-bottom: 1.25rem;
    box-shadow: 0 3px 16px rgba(10,37,64,0.1), 0 1px 6px rgba(10,37,64,0.06);
    border: 1px solid rgba(168,212,237,0.38);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.faq-item:hover {
    border-color: rgba(91,163,208,0.55);
    box-shadow: 0 5px 20px rgba(10,37,64,0.12), 0 2px 8px rgba(10,37,64,0.08);
}

.faq-item.active {
    background: rgba(255,255,255,0.97);
    border-color: #2d7aaf;
    box-shadow: 0 6px 26px rgba(45,122,175,0.16), 0 3px 12px rgba(45,122,175,0.1);
}

.faq-question {
    padding: 1.5rem 4.5rem 1.5rem 1.25rem;
    font-weight: 700;
    font-size: 0.975rem;
    color: #0a2540;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.875rem;
    transition: color 0.18s ease, padding-left 0.18s ease, background 0.18s ease;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #2d7aaf, #408fc4, #5ba3d0);
    transform: scaleY(0);
    transition: transform 0.2s ease;
    border-radius: 12px 0 0 12px;
}

.faq-question:hover::before,
.faq-item.active .faq-question::before { transform: scaleY(1); }

.faq-question:hover { color: #2d7aaf; padding-left: 1.875rem; background: rgba(45,122,175,0.03); }

.faq-item.active .faq-question {
    color: #2d7aaf;
    padding-left: 1.875rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(91,163,208,0.18);
    background: rgba(45,122,175,0.04);
}

.faq-question i {
    font-size: 1rem;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(45,122,175,0.08);
    color: #2d7aaf;
}

.faq-question:hover i,
.faq-item.active .faq-question i { background: rgba(45,122,175,0.14); }
.faq-item.active .faq-question i { transform: rotate(180deg); }

.faq-item::before {
    content: counter(faq-counter);
    counter-increment: faq-counter;
    position: absolute;
    top: 1.5rem; right: 1.25rem;
    width: 28px; height: 28px;
    background: rgba(45,122,175,0.08);
    color: #2d7aaf;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(91,163,208,0.28);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    z-index: 1;
}

.faq-item:hover::before {
    background: rgba(45,122,175,0.13);
    transform: scale(1.07);
    border-color: #5ba3d0;
}

.faq-answer {
    padding: 0 1.75rem;
    color: #2d5570;
    line-height: 1.78;
    font-size: 0.9rem;
    font-weight: 500;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 650px;
    opacity: 1;
    padding-top: 1.25rem;
    padding-bottom: 1.75rem;
}

.faq-answer strong { color: #2d7aaf; font-weight: 600; }

.faq-inline-link {
    color: #1a5a8e;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.18s ease;
}
.faq-inline-link:hover { color: #0f3d5c; }

/* ────────────────────────────────────────────────
   BLOG PREVIEW SECTION
   ──────────────────────────────────────────────── */
.blog-preview-section {
    background: linear-gradient(to bottom,
        #2d7aaf  0%,
        #1a5a8e 25%,
        #0f3d5c 58%,
        #0a2540 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Scan lines - matches hero and CTA texture */
.blog-preview-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg, transparent, transparent 4px,
        rgba(255,255,255,0.022) 4px, rgba(255,255,255,0.022) 5px);
    z-index: 0; pointer-events: none;
}

.blog-preview-section .container { position: relative; z-index: 1; }

.blog-preview-header {
    text-align: left;
    margin-bottom: 3rem;
    padding-left: 0.5rem;
}

.blog-preview-meta {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 0.5rem;
}

.blog-preview-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    display: inline-block;
    position: relative;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.35);
}

.blog-preview-title::after {
    content: '';
    position: absolute;
    bottom: -7px; left: 0;
    width: 48px; height: 3px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
}

.blog-preview-subtitle {
    color: rgba(255,255,255,0.68);
    font-size: 1rem;
    margin-top: 1rem;
    font-weight: 500;
}

/* Blog article cards - glass on dark */
.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(8px);
    padding: 1.75rem;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease,
                background 0.28s ease;
    position: relative;
    overflow: hidden;
}

.blog-card::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 0%; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: width 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.11);
    box-shadow: 0 10px 34px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.22);
    color: inherit;
    text-decoration: none;
}

.blog-card:hover::after { width: 80%; }

.blog-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.blog-card__badge {
    display: inline-block;
    padding: 0.28rem 0.75rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.82);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card__badge--alma {
    background: rgba(16,185,129,0.15);
    border-color: rgba(16,185,129,0.35);
    color: #6ee7b7;
}

.blog-card__badge--warning {
    background: rgba(192,57,43,0.15);
    border-color: rgba(192,57,43,0.35);
    color: #e74c3c;
}

.blog-card__read-time {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-card__read-time i { font-size: 0.72rem; }

.blog-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.92);
    margin-bottom: 0.75rem;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card__title { color: #ffffff; }

.blog-card__desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.68;
    font-weight: 400;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.blog-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    margin-top: auto;
    transition: gap 0.2s ease, color 0.2s ease;
}

.blog-card:hover .blog-card__cta { gap: 0.6rem; color: #ffffff; }
.blog-card__cta i { font-size: 0.72rem; transition: transform 0.2s ease; }
.blog-card:hover .blog-card__cta i { transform: translateX(2px); }

/* ── Thumbnail card variant (home.css - blog.css not loaded on this page) ── */
.blog-card--with-thumb {
    padding: 0;
}

.blog-card__thumb {
    width: 100%;
    overflow: hidden;
    border-radius: 14px 14px 0 0;
    flex-shrink: 0;
    line-height: 0;
}

.blog-card__thumb img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.blog-card--with-thumb:hover .blog-card__thumb img {
    transform: scale(1.03);
}

.blog-card--with-thumb .blog-card__meta {
    padding: 1rem 1.25rem 0;
    margin-bottom: 0.75rem;
}

.blog-card--with-thumb .blog-card__title {
    padding: 0 1.25rem;
}

.blog-card--with-thumb .blog-card__desc {
    padding: 0 1.25rem;
}

.blog-card--with-thumb .blog-card__cta {
    padding: 0 1.25rem 1.25rem;
    display: block;
}

.blog-preview-all {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    transition: all 0.22s ease;
    background: rgba(255,255,255,0.07);
}

.blog-preview-all:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.38);
    color: #ffffff;
    gap: 0.65rem;
}

.blog-preview-all i { font-size: 0.8rem; transition: transform 0.2s ease; }
.blog-preview-all:hover i { transform: translateX(3px); }

/* ────────────────────────────────────────────────
   CTA SECTION
   ──────────────────────────────────────────────── */
/* .cta-section is now a nested block inside .social-proof-section (see
   that section below) rather than its own top-level section. The two used
   to sit side by side with independently-positioned ring pseudo-elements
   that only approximately lined up at the seam - merging them means the
   ring pattern is drawn ONCE, so there's no seam left to misalign. */
.cta-section {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 4.5rem;
}

/* Logo above title in content flow - identical to hero .logo-wrapper */
.cta-logo-wrapper {
    display: inline-block;
    padding: 1.6rem;
    background: radial-gradient(circle, rgba(255,255,255,0.98) 0%, rgba(245,250,255,0.95) 100%);
    border-radius: 50%;
    box-shadow:
        0 0 0 2px rgba(120,200,220,0.4),
        0 0 40px 14px rgba(255,255,255,0.45),
        0 0 80px 28px rgba(120,200,220,0.38),
        0 0 140px 50px rgba(93,188,210,0.22);
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.cta-logo-wrapper::before { display: none; }

.cta-logo-img { width: 68px; height: auto; display: block; }

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: white;
    text-shadow: 0 2px 6px rgba(0,0,0,0.55), 0 0 24px rgba(255,255,255,0.25);
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.75rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    text-shadow: 0 1px 5px rgba(0,0,0,0.45);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    background: rgba(255,255,255,0.97);
    color: #2d7aaf;
    text-decoration: none;
    transition: all 0.28s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.45), 0 3px 16px rgba(255,255,255,0.18),
                inset 0 2px 0 white;
    border: 2px solid rgba(255,255,255,0.28);
    position: relative;
    overflow: hidden;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
    transition: left 0.38s ease;
}

.cta-button:hover::after { left: 100%; }

.cta-button:hover {
    transform: translateY(-2px) scale(1.015);
    box-shadow: 0 12px 42px rgba(0,0,0,0.55), 0 5px 20px rgba(255,255,255,0.25),
                0 0 50px rgba(180,220,255,0.25);
    border-color: rgba(255,255,255,0.55);
    color: #1a5a8e;
}

.cta-button i { transition: transform 0.25s ease; }
.cta-button:hover i { transform: translateX(4px); }

.cta-info {
    color: rgba(255,255,255,0.88);
    font-size: 0.9rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    display: inline-block;
    padding: 1.1rem 2rem;
    border-radius: 30px;
    border: 1.5px solid rgba(255,255,255,0.22);
    box-shadow: 0 3px 16px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.18);
    font-weight: 500;
    white-space: nowrap;
}

/* ────────────────────────────────────────────────
   CTA BACKGROUND SCREENSHOT
   ──────────────────────────────────────────────── */
.cta-bg-screenshot {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.cta-bg-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.055;
    filter: saturate(0.4);
}


.btn-primary {
    background: linear-gradient(135deg, #2d7aaf, #5ba3d0);
    color: white;
    border: 1.5px solid rgba(91,163,208,0.45);
    box-shadow: 0 5px 20px rgba(45,122,175,0.3), inset 0 1px 0 rgba(255,255,255,0.18);
    transition: all 0.28s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    transition: left 0.38s ease;
}

.btn-primary:hover::after { left: 100%; }

.btn-primary:hover {
    background: linear-gradient(135deg, #5ba3d0, #2d7aaf);
    border-color: #7dbee0;
    box-shadow: 0 8px 28px rgba(45,122,175,0.42), inset 0 1px 0 rgba(255,255,255,0.25);
    color: white;
    transform: translateY(-2px) scale(1.015);
}

/* ────────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-section     { padding: 4rem 0 2.5rem; }
    /* Mobile: 4rem top padding → logo centre ≈ 115px → top = 115 + 240 = 355px ≈ 22rem */
    .hero-section::after { top: 22rem; }
    .hero-title       { font-size: 2rem; }
    .hero-subtitle    { font-size: 1.05rem; }
    .integration-marquee__set { gap: 0.6rem; padding-right: 0.6rem; }
    .integration-card  { width: 140px; padding: 0.8rem 0.6rem; }
    .trust-indicators { gap: 0.75rem; }
    .trust-item       { font-size: 0.78rem; padding: 0.5rem 0.875rem; }

    /* Move the CTA above the software badges so it lands above the fold on
       mobile - the badges + trust row pushed it below the fold otherwise.
       Structural nth-of-type ordering, not a markup change: logo → deadline
       → title → subtitle → CTA → badges → trust. */
    .hero-content { display: flex; flex-direction: column; }
    /* Not given an order and hidden outright: without an explicit order it
       defaults to 0, landing before the logo (order:1) and pushing it down
       out of the ring's fixed-position center behind it. */
    .hero-content > .hero-how-claim         { display: none; }
    .hero-content > .logo-container         { order: 1; }
    .hero-content > .text-center:has(.hero-deadline) { order: 2; }
    .hero-content > .hero-title              { order: 3; }
    .hero-content > .hero-subtitle           { order: 4; }
    .hero-content > .text-center.mb-4        { order: 5; margin-bottom: 1.5rem !important; }
    .hero-content > .integration-marquee     { order: 6; }
    .hero-content > .integration-cards-note  { order: 7; }
    .hero-content > .trust-indicators        { order: 8; }

    .steps-section        { padding: 4rem 0 3.5rem; }
    .steps-title          { font-size: 1.65rem; }
    .stripe-step-title    { font-size: 1.2rem; }
    .stripe-info          { padding: 1.5rem; }

    .why-magi-section      { padding: 4rem 0; }
    .why-magi-section .section-header { text-align: center; padding-left: 0; }
    .why-magi-section .section-title  { font-size: 1.75rem; }

    .pricing-section { padding: 4rem 0; }
    .pricing-section .section-header { text-align: center; padding-left: 0; }
    .pricing-section .section-title  { font-size: 1.75rem; }

    .transformation-section { padding: 4rem 0; }
    .transformation-section .section-header { text-align: center; padding-left: 0; }
    .transformation-section .section-title  { font-size: 1.75rem; }
    .transform-pipeline { flex-direction: column; }
    .transform-col--input,
    .transform-col--process { border-right: none; border-bottom: 1px solid rgba(168,212,237,0.4); }
    .transform-arrow { padding: 0.4rem 0; transform: rotate(90deg); align-self: center; }

    .faq-section { padding: 4rem 0; }
    .faq-section .section-header { text-align: center; padding-left: 0; }
    .faq-section .section-title  { font-size: 1.75rem; }
    .faq-container { padding-left: 0; }

    /* Keep space for both the chevron and the number badge (absolute right) */
    .faq-question {
        padding-right: 4.5rem;
        align-items: flex-start; /* anchor chevron to text-top on multi-line questions */
    }
    /* Slight optical offset so chevron sits level with the first text line */
    .faq-question i { margin-bottom: 1rem; flex-shrink: 0; }
    /* Align number badge with the top of the question (same as chevron with flex-start) */
    .faq-item::before { top: 1.375rem; transform: none; }

    .cta-section   { padding: 4.5rem 0; }
    .cta-logo-wrapper { display: none; }
    .cta-title     { font-size: 1.85rem; }
    .cta-subtitle  { font-size: 1rem; }
    .cta-button    { padding: 1rem 2.25rem; font-size: 1rem; }
    .cta-button-wrapper { flex-direction: column; gap: 1.25rem; }
    .cta-info      { white-space: normal; font-size: 0.85rem; text-align: center; padding: 0.875rem 1.25rem; }

    .blog-preview-section { padding: 4rem 0; }
    .blog-preview-header  { text-align: center; padding-left: 0; }
    .blog-preview-title   { font-size: 1.75rem; }

    .video-section { padding: 70px 0; }
    .video-play-circle { width: 60px; height: 60px; }
    .video-play-circle .fab { font-size: 1.7rem; }
    .video-timestamp-chip { font-size: 0.75rem; padding: 6px 12px; }
}


/* ════════════════════════════════════════════
   VIDEO SECTION
   ════════════════════════════════════════════ */

.video-section {
    background: linear-gradient(180deg, #0d2137 0%, #071828 50%, #0d2137 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.012) 2px,
        rgba(255, 255, 255, 0.012) 4px
    );
    pointer-events: none;
}

.video-section .section-title {
    color: #ffffff;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #ffffff;
    background-clip: unset;
    text-shadow: 0 2px 6px rgba(0,0,0,0.55), 0 0 24px rgba(255,255,255,0.12);
}

.video-section .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.video-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 206, 201, 0.1);
    color: #00cec9;
    border: 1px solid rgba(0, 206, 201, 0.25);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(91, 163, 208, 0.2), 0 24px 60px rgba(0, 0, 0, 0.55);
    position: relative;
}

.video-thumbnail-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    cursor: pointer;
}

.video-thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.video-play-btn:hover {
    background: rgba(0, 0, 0, 0.5);
}

.video-play-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s, box-shadow 0.2s;
}

.video-play-btn:hover .video-play-circle {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.video-play-circle .fab {
    color: #ff0000;
    font-size: 2.2rem;
}

.video-iframe-wrapper {
    display: none;
    aspect-ratio: 16 / 9;
}

.video-iframe-wrapper.active {
    display: block;
}

.video-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-timestamps {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 28px;
}

.video-timestamp-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.video-timestamp-chip:hover {
    background: rgba(91, 163, 208, 0.12);
    border-color: rgba(91, 163, 208, 0.4);
    color: #5ba3d0;
    text-decoration: none;
}

.video-timestamp-chip .ts-time {
    font-weight: 600;
    color: #5ba3d0;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}

.video-yt-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s;
}

.video-yt-link:hover {
    color: #ff4444;
    text-decoration: none;
}

.video-yt-link .fab {
    font-size: 1.1rem;
}


/* ════════════════════════════════════════════════
   SOCIAL PROOF + CTA SECTION (merged)
   These used to be two separate sections, each drawing its own
   approximation of the same concentric-ring pattern positioned to look
   continuous at their shared seam. The two formulas were never
   mathematically tied together (cta's was tuned to frame its own logo,
   not to continue social-proof's rings), so any content-height change
   could - and did - throw them out of alignment again. Merging into one
   section means the ring is drawn ONCE: there is no seam left to drift.
   The gradient below is the same two original gradients concatenated
   proportionally (assuming roughly equal-height halves), so the color
   arc is unchanged - dark to a lighter hub around the old seam, back to
   dark for the CTA button.
   ════════════════════════════════════════════════ */
.social-proof-section {
    background:
        radial-gradient(ellipse 900px 450px at 50% 45%, rgba(93,188,210,0.14) 0%, transparent 70%),
        radial-gradient(ellipse 700px 500px at 50% 68%, rgba(93,188,210,0.2) 0%, transparent 75%),
        linear-gradient(to bottom,
            #0a2540  0%,
            #0a2540 12.5%,
            #0f3d5c 30%,
            #2d7aaf 50%,
            #1a5a8e 57%,
            #0f3d5c 64%,
            #0a2540 74%,
            #071828 100%);
    padding: 5rem 0 5.5rem;
    position: relative;
    overflow: hidden;
}

/* Scan lines - matches adjacent sections */
.social-proof-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg, transparent, transparent 4px,
        rgba(255,255,255,0.025) 4px, rgba(255,255,255,0.025) 5px);
    z-index: 0;
    pointer-events: none;
}

/* Single ring system for the whole merged section - centered around where
   the CTA logo sits (roughly the old cta-section's own 28% position,
   translated into the merged section's coordinate space), so the upper
   rings read behind the quote cards and the lower rings frame the logo. */
.social-proof-section::after {
    content: '';
    position: absolute;
    top: 64%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    min-width: 1600px;
    min-height: 1600px;
    background:
        radial-gradient(ellipse 80px 75px at 50% 50%,
            rgba(93,188,210,0.18) 0%, rgba(93,188,210,0.28) 70%,
            rgba(93,188,210,0.55) 88%, transparent 95%),
        radial-gradient(ellipse 160px 145px at 50% 50%,
            transparent 78%, rgba(120,200,220,0.78) 83%,
            rgba(120,200,220,0.42) 89%, transparent 94%),
        radial-gradient(ellipse 245px 220px at 50% 50%,
            transparent 75%, rgba(93,188,210,0.72) 80%,
            rgba(93,188,210,0.38) 87%, transparent 94%),
        radial-gradient(ellipse 340px 305px at 50% 50%,
            transparent 72%, rgba(60,180,200,0.68) 77%,
            rgba(60,180,200,0.32) 87%, transparent 95%),
        radial-gradient(ellipse 440px 395px at 50% 50%,
            transparent 68%, rgba(50,140,200,0.65) 74%,
            rgba(50,140,200,0.28) 86%, transparent 96%),
        radial-gradient(ellipse 560px 500px at 50% 50%,
            transparent 64%, rgba(20,180,180,0.68) 71%,
            rgba(20,180,180,0.28) 85%, transparent 96%),
        radial-gradient(ellipse 700px 630px at 50% 50%,
            transparent 60%, rgba(26,90,142,0.7) 67%,
            rgba(26,90,142,0.32) 83%, transparent 97%),
        radial-gradient(ellipse 870px 780px at 50% 50%,
            transparent 55%, rgba(10,37,64,0.78) 63%,
            rgba(10,37,64,0.38) 82%, transparent 98%),
        radial-gradient(ellipse 1080px 970px at 50% 50%,
            transparent 50%, rgba(10,37,64,0.62) 61%,
            rgba(10,37,64,0.22) 84%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.social-proof-section .section-header,
.social-proof-section .social-proof-grid,
.social-proof-section .quote-closing {
    position: relative;
    z-index: 2; /* above the ::after spiral which is z-index:1 - was 1, causing ::after to paint on top of cards */
}

.social-proof-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffd166;
    background: rgba(255, 209, 102, 0.1);
    border: 1px solid rgba(255, 209, 102, 0.3);
    padding: 0.4rem 1.1rem;
    border-radius: 20px;
    margin-bottom: 1.4rem;
}

.social-proof-section .section-title {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: white;
    color: white;
    filter: none;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.social-proof-section .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.75);
}

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

/* No backdrop-filter here on purpose: this section's ring pattern is meant
   to read as one continuous system with the identical rings in .cta-section
   below it, and blurring the backdrop smeared the rings wherever a card sat
   in front of them. Readability comes from the card's own opacity instead,
   so the rings stay crisp everywhere - inside the cards' silhouette too. */
.quote-card {
    background: rgba(10, 37, 64, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-left: 3px solid #20b4b4;
    border-radius: 14px;
    padding: 2rem 1.75rem 1.75rem;
    display: flex;
    flex-direction: column;
}

.quote-mark {
    font-size: 3rem;
    line-height: 1;
    color: rgba(32, 180, 180, 0.7);
    margin-bottom: 0.75rem;
    font-family: Georgia, serif;
}

.quote-text {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.65;
    flex: 1;
    margin: 0 0 1.25rem;
}

.quote-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 1rem;
}

.quote-attribution {
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.82rem;
    font-style: italic;
    margin: 0;
}

.quote-closing {
    text-align: center;
    margin-top: 2.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.01em;
}

@media (max-width: 900px) {
    .social-proof-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==========================================================================
   ГИЛДИЯТА CROSS-PROMO SECTION
   ========================================================================== */
.gildiyata-crosspromo {
    position: relative;
    overflow: hidden;
    padding: 56px 0;
    /* Flat #0a2540 - blog-preview ends here and social-proof starts here
       too, so matching both exactly removes the seam on both edges at once */
    background: #0a2540;
}

/* Scan lines - matches the rest of the page's dark sections */
.gildiyata-crosspromo::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        0deg, transparent, transparent 4px,
        rgba(255,255,255,0.025) 4px, rgba(255,255,255,0.025) 5px);
    z-index: 0; pointer-events: none;
}

.gildiyata-crosspromo .container { position: relative; z-index: 1; }

.gildiyata-crosspromo-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(201,162,39,.22);
    border-left: 3px solid #c9a227;
    border-radius: 14px;
    padding: 40px 44px;
    box-shadow: 0 4px 32px rgba(0,0,0,.35), inset 0 1px 0 rgba(201,162,39,.08);
}

.gildiyata-crosspromo-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #c9a227;
}

.gildiyata-crosspromo-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(201,162,39,.45));
}

.gildiyata-crosspromo-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 14px;
    letter-spacing: -.01em;
}

.gildiyata-crosspromo-body {
    font-size: .92rem;
    color: rgba(255,255,255,.68);
    line-height: 1.65;
    margin: 0 0 24px;
}

.gildiyata-crosspromo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gildiyata-crosspromo-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    border-radius: 22px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .22s ease;
    white-space: nowrap;
}

.gildiyata-crosspromo-btn--primary {
    background: linear-gradient(135deg, #c9a227, #a87e1a);
    color: #0a1929;
    border: none;
    box-shadow: 0 3px 12px rgba(201,162,39,.3);
}

.gildiyata-crosspromo-btn--primary:hover {
    background: linear-gradient(135deg, #dbb935, #c9a227);
    color: #0a1929;
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(201,162,39,.4);
    text-decoration: none;
}

.gildiyata-crosspromo-btn--secondary {
    background: rgba(201,162,39,.1);
    color: #c9a227;
    border: 1px solid rgba(201,162,39,.35);
}

.gildiyata-crosspromo-btn--secondary:hover {
    background: rgba(201,162,39,.18);
    border-color: rgba(201,162,39,.6);
    color: #dbb935;
    transform: translateY(-1px);
    text-decoration: none;
}

.gildiyata-crosspromo-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.gildiyata-crosspromo-feat {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.gildiyata-crosspromo-feat > i {
    font-size: 1rem;
    color: #c9a227;
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    filter: drop-shadow(0 0 4px rgba(201,162,39,.3));
}

.gildiyata-crosspromo-feat > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gildiyata-crosspromo-feat strong {
    font-size: .85rem;
    font-weight: 700;
    color: rgba(255,255,255,.9);
    line-height: 1.3;
}

.gildiyata-crosspromo-feat span {
    font-size: .78rem;
    color: rgba(255,255,255,.5);
    line-height: 1.4;
}

@media (max-width: 860px) {
    .gildiyata-crosspromo-card {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px 24px;
    }

    .gildiyata-crosspromo-title { font-size: 1.4rem; }
}

@media (max-width: 560px) {
    .gildiyata-crosspromo-btn {
        white-space: normal;
        text-align: center;
        justify-content: center;
    }
    .gildiyata-crosspromo-actions {
        flex-direction: column;
    }
}