/* ============================================================
   BookSync Automation Page - 100vh Hero & 3D MacBook Experience (Light Mode)
   Scroll-Driven Interactive App Walkthrough with Text Balloons
   ============================================================ */

/* ------------------------------------------------------------
   1. Fluid Layout Containers & Global Resets
   ------------------------------------------------------------ */
.auto-fluid-inner {
    width: 100%;
    margin: 0;
    padding: 0 clamp(24px, 4.5vw, 72px);
    box-sizing: border-box;
    max-width: none;
}

/* ------------------------------------------------------------
   2. Page Header over the white MacBook stage (no hero, 2026-11-21)
   ------------------------------------------------------------ */
.auto-page-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
}

.auto-page-header .site-header {
    position: relative;
    padding: 32px clamp(24px, 4.5vw, 72px);
    width: 100%;
    box-sizing: border-box;
}

.auto-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Call-to-action buttons (contact) */
.auto-btn-primary,
.auto-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    min-height: 48px;
    padding: 0 28px;
    border-radius: 999px;
    font-family: var(--font-nexa-bold, sans-serif);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.auto-btn-primary {
    background-color: var(--primary-color, #ee5a23);
    border: 1.5px solid var(--primary-color, #ee5a23);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(238, 90, 35, 0.28);
}

.auto-btn-primary:hover {
    background-color: #d94b18;
    border-color: #d94b18;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(238, 90, 35, 0.38);
}

.auto-btn-secondary {
    background: #ffffff;
    border: 1.5px solid #d1d5db;
    color: #111116;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.auto-btn-secondary:hover {
    background: #ffffff;
    border-color: #111116;
    color: #111116;
    transform: translateY(-2px);
}

/* ------------------------------------------------------------
   3. Three.js MacBook Scroll-Driven Experience (Light Studio Background)
   ------------------------------------------------------------ */
.macbook-scroll-track {
    position: relative;
    width: 100%;
    height: 580vh;
    background: #ffffff;
}

.macbook-sticky-viewport {
    position: sticky;
    top: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #ffffff;
}

.macbook-3d-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: opacity 0.25s ease;
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Scroll Hint Pill (Light Mode) */
.macbook-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    z-index: 5;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid #e2e8f0;
    padding: 10px 22px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #111116;
    font-family: var(--font-graphik-medium, sans-serif);
    font-size: 0.88rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(-50%, 14px, 0);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

/* Shown by automation.js once the MacBook has flown in, hidden again on the first scroll. */
.macbook-scroll-hint.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(-50%, 0, 0);
}

.scroll-mouse-icon {
    width: 18px;
    height: 28px;
    border: 2px solid #111116;
    border-radius: 12px;
    position: relative;
}

.mouse-wheel {
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background: #111116;
    border-radius: 2px;
    animation: mouse-scroll 1.5s infinite;
}

@keyframes mouse-scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    80% { transform: translate(-50%, 8px); opacity: 0; }
    100% { transform: translate(-50%, 0); opacity: 0; }
}

/* ------------------------------------------------------------
   4. Interactive BookSync Bookkeeping App Overlay (Light Mode)
   ------------------------------------------------------------ */
.macbook-app-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(8px, 1.8vw, 24px);
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    will-change: opacity;
    transform: translateZ(0);
}

.app-window-frame {
    width: 100%;
    max-width: 1560px;
    aspect-ratio: 16 / 10;
    max-height: 94vh;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    contain: layout style paint;
    transform: translateZ(0);
}

/* App Topbar (Light) */
.app-topbar {
    height: 54px;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    gap: 20px;
}

.app-traffic-lights {
    display: flex;
    gap: 8px;
}

.app-traffic-lights .light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.light.red { background: #ef4444; }
.light.yellow { background: #f59e0b; }
.light.green { background: #10b981; }

.app-search-bar {
    flex: 1;
    max-width: 600px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 7px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 0.82rem;
    font-family: var(--font-graphik-light, sans-serif);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.app-user-pill {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-user-avatar {
    color: #111116;
    font-family: var(--font-nexa-bold, sans-serif);
    font-size: 0.85rem;
}

.app-badge-active {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #059669;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-family: var(--font-nexa-bold, sans-serif);
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-dot-green {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

/* App Main Grid */
.app-main-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 230px 1fr;
    overflow: hidden;
}

/* Left Sidebar (Light) */
.app-sidebar {
    background: #f8fafc;
    border-right: 1px solid #eef2f7;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #64748b;
    font-family: var(--font-graphik-medium, sans-serif);
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.sidebar-item.active {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #111116;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.sidebar-badge-count {
    margin-left: auto;
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-family: var(--font-nexa-bold, sans-serif);
}

/* Content Area (Light) */
.app-content-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    background: #ffffff;
}

/* KPI Cards (Light) */
.app-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.app-kpi-card {
    background: #f8fafc;
    border: 1px solid #e8ecf2;
    border-radius: 16px;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.kpi-label {
    font-size: 0.78rem;
    color: #64748b;
    text-transform: uppercase;
    font-family: var(--font-nexa-bold, sans-serif);
    letter-spacing: 0.5px;
}

.kpi-value {
    font-family: var(--font-nexa-black, sans-serif);
    font-size: 1.65rem;
    color: #111116;
    font-weight: 800;
}

.kpi-sub {
    font-size: 0.78rem;
    color: #64748b;
    font-family: var(--font-graphik-light, sans-serif);
}

.font-green { color: #059669; }
.font-orange { color: var(--primary-color, #ee5a23); }

/* Split Panels (Light) */
.app-split-panels {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 18px;
    flex: 1;
}

.app-panel {
    background: #f8fafc;
    border: 1px solid #e8ecf2;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef1f6;
}

.panel-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-title-wrap h4 {
    color: #111116;
    font-family: var(--font-nexa-bold, sans-serif);
    font-size: 0.95rem;
    margin: 0;
}

.panel-status-pill {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-family: var(--font-nexa-bold, sans-serif);
}

.panel-status-pill.orange {
    background: rgba(238, 90, 35, 0.12);
    color: var(--primary-color, #ee5a23);
}

.panel-meta-tag {
    color: #64748b;
    font-size: 0.74rem;
    font-family: ui-monospace, monospace;
}

/* Mutations Table (Light) */
.live-mutations-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mutation-row {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: 50px 1fr 130px 110px;
    align-items: center;
    gap: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.bank-badge {
    padding: 3px 6px;
    border-radius: 6px;
    font-family: var(--font-nexa-black, sans-serif);
    font-size: 0.72rem;
    font-weight: 800;
    text-align: center;
}

.bank-ing { background: #fff5eb; color: #ea580c; border: 1px solid #fed7aa; }
.bank-rabo { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.bank-abn { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

.mut-details strong {
    display: block;
    color: #111116;
    font-size: 0.88rem;
    font-family: var(--font-nexa-bold, sans-serif);
}

.mut-details span {
    font-size: 0.76rem;
    color: #64748b;
    font-family: var(--font-graphik-light, sans-serif);
}

.mut-rgs-pill {
    font-size: 0.75rem;
    color: #64748b;
    font-family: ui-monospace, monospace;
}

.mut-match-status {
    color: #059669;
    font-size: 0.76rem;
    font-family: var(--font-nexa-bold, sans-serif);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Advisory Message Card (Light) */
.advisory-message-card {
    background: #fff8f5;
    border: 1.5px solid #fed7aa;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.adv-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.adv-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-color, #ee5a23);
}

.adv-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adv-meta strong {
    display: block;
    color: #111116;
    font-family: var(--font-nexa-bold, sans-serif);
    font-size: 0.88rem;
}

.adv-meta span {
    color: #64748b;
    font-size: 0.75rem;
}

.adv-body p {
    color: #334155;
    font-family: var(--font-graphik-light, sans-serif);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.adv-body strong {
    color: var(--primary-color, #ee5a23);
}

.adv-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #ffedd5;
}

.adv-tag {
    color: #059669;
    font-size: 0.76rem;
    font-family: var(--font-nexa-bold, sans-serif);
}

.adv-tag-sub {
    color: #64748b;
    font-size: 0.74rem;
}

/* ------------------------------------------------------------
   5. Interactive Floating Speech Balloons (Scroll Progress)
   ------------------------------------------------------------ */
.app-textballoon {
    position: absolute;
    z-index: 20;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 18px 22px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.92);
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.app-textballoon.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    pointer-events: auto;
}

.balloon-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color, #ee5a23);
    color: #ffffff;
    font-family: var(--font-nexa-black, sans-serif);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(238, 90, 35, 0.3);
}

.balloon-content h4 {
    font-family: var(--font-nexa-bold, sans-serif);
    font-size: 0.95rem;
    color: #111116;
    margin: 0 0 6px 0;
}

.balloon-content p {
    font-family: var(--font-graphik-light, -apple-system, sans-serif);
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

/* Balloon Position Coordinates */
.balloon-pos-1 {
    top: 36%;
    left: clamp(16px, 4vw, 50px);
}

.balloon-pos-2 {
    bottom: 12%;
    left: clamp(16px, 5vw, 70px);
}

.balloon-pos-3 {
    top: 18%;
    right: clamp(16px, 4vw, 50px);
}

.balloon-pos-4 {
    bottom: 14%;
    right: clamp(16px, 4vw, 50px);
}

/* Spotlight Highlight */
.is-spotlight {
    border-color: var(--primary-color, #ee5a23) !important;
    box-shadow: 0 0 25px rgba(238, 90, 35, 0.25) !important;
    transform: translateZ(0);
}

/* ------------------------------------------------------------
   6. Desktop vs Mobile Experience Switcher
   ------------------------------------------------------------ */
.desktop-only-experience {
    display: block;
}

.mobile-only-experience {
    display: none;
}

/* ------------------------------------------------------------
   7. Mobile Native Feature Experience (< 901px)
   ------------------------------------------------------------ */
.auto-mobile-experience {
    background: #ffffff;
    padding: 60px 0 80px 0;
}

.mobile-features-header {
    text-align: left;
    margin-bottom: 36px;
}

.mobile-feature-tag {
    display: inline-block;
    color: var(--primary-color, #ee5a23);
    font-family: var(--font-nexa-bold, sans-serif);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.mobile-features-header h2 {
    font-family: var(--font-nexa-black, sans-serif);
    font-size: clamp(2rem, 6.5vw, 2.8rem);
    color: #111116;
    line-height: 1.15;
    margin: 0 0 16px 0;
}

.mobile-features-header h2 span {
    color: var(--primary-color, #ee5a23);
}

.mobile-features-header p {
    font-family: var(--font-graphik-light, sans-serif);
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Mobile Live App Preview Card */
.mobile-app-card {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 36px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.m-card-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f7;
    margin-bottom: 16px;
}

.m-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-nexa-bold, sans-serif);
    font-size: 0.88rem;
    color: #111116;
}

.m-dot-live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: auto-pulse 1.8s infinite;
}

.m-user-chip {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    padding: 3px 10px;
    border-radius: 999px;
    font-family: var(--font-nexa-bold, sans-serif);
    font-size: 0.76rem;
    color: #334155;
}

.m-kpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.m-kpi-tile {
    background: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.m-kpi-full {
    grid-column: span 2;
}

.m-kpi-label {
    font-family: var(--font-nexa-bold, sans-serif);
    font-size: 0.72rem;
    color: #64748b;
    text-transform: uppercase;
}

.m-kpi-val {
    font-family: var(--font-nexa-black, sans-serif);
    font-size: 1.35rem;
    color: #111116;
    font-weight: 800;
}

.m-kpi-val.green { color: #059669; }
.m-kpi-val.orange { color: var(--primary-color, #ee5a23); }

.m-kpi-sub {
    font-family: var(--font-graphik-light, sans-serif);
    font-size: 0.74rem;
    color: #64748b;
}

.m-kpi-sub.green { color: #059669; font-weight: 600; }

/* 4 Pillar Cards Stack */
.mobile-pillar-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.mobile-pillar-card {
    background: #ffffff;
    border: 1.5px solid #e8ecf2;
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar-card-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 12px;
}

.pillar-num-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--primary-color, #ee5a23);
    color: #ffffff;
    font-family: var(--font-nexa-black, sans-serif);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-header-text {
    flex: 1;
}

.pillar-header-text h3 {
    font-family: var(--font-nexa-bold, sans-serif);
    font-size: 1.15rem;
    color: #111116;
    margin: 0 0 4px 0;
    line-height: 1.25;
}

.pillar-badge-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-family: var(--font-nexa-bold, sans-serif);
    font-size: 0.68rem;
    text-transform: uppercase;
}

.pillar-badge-pill.green { background: rgba(16, 185, 129, 0.12); color: #059669; }
.pillar-badge-pill.blue { background: rgba(37, 99, 235, 0.12); color: #2563eb; }
.pillar-badge-pill.purple { background: rgba(147, 51, 234, 0.12); color: #9333ea; }
.pillar-badge-pill.orange { background: rgba(238, 90, 35, 0.12); color: #c2410c; }

.mobile-pillar-card p {
    font-family: var(--font-graphik-light, sans-serif);
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.55;
    margin: 0 0 16px 0;
}

/* Mutation Preview Item */
.m-mutation-preview {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.m-bank-tag {
    font-family: var(--font-nexa-black, sans-serif);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 6px;
    border-radius: 6px;
    flex-shrink: 0;
}

.m-bank-tag.ing { background: #fff5eb; color: #ea580c; border: 1px solid #fed7aa; }
.m-bank-tag.rabo { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.m-bank-tag.abn { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }

.m-mut-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.m-mut-info strong {
    font-family: var(--font-nexa-bold, sans-serif);
    font-size: 0.84rem;
    color: #111116;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m-mut-info span {
    font-family: var(--font-graphik-light, sans-serif);
    font-size: 0.72rem;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m-check-tag {
    font-family: var(--font-nexa-bold, sans-serif);
    font-size: 0.72rem;
    color: #059669;
    flex-shrink: 0;
}

/* Advisor Quote */
.m-advisor-quote {
    background: #fff8f5;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.m-adv-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.m-adv-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--primary-color, #ee5a23);
    object-fit: cover;
}

.m-adv-header strong {
    display: block;
    font-family: var(--font-nexa-bold, sans-serif);
    font-size: 0.85rem;
    color: #111116;
}

.m-adv-header span {
    font-family: var(--font-graphik-light, sans-serif);
    font-size: 0.72rem;
    color: #64748b;
}

.m-adv-text {
    font-family: var(--font-graphik-light, sans-serif);
    font-size: 0.84rem !important;
    color: #334155 !important;
    line-height: 1.45 !important;
    margin: 0 !important;
}

.m-adv-text strong {
    color: var(--primary-color, #ee5a23);
}

.m-adv-badge {
    font-family: var(--font-nexa-bold, sans-serif);
    font-size: 0.72rem;
    color: #059669;
    align-self: flex-start;
}

.mobile-features-cta {
    text-align: center;
}

/* the site's one button style (tokens.css .bs-btn), centred by the text-align above */

/* ------------------------------------------------------------
   8. Responsive Breakpoints
   ------------------------------------------------------------ */
@media (max-width: 1200px) {

    .app-main-grid {
        grid-template-columns: 1fr;
    }

    .app-sidebar {
        display: none;
    }

    .app-split-panels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .desktop-only-experience {
        display: none !important;
    }

    .mobile-only-experience {
        display: block !important;
    }

    /* No MacBook stage on small screens: the header sits in the flow above the features. */
    .auto-page-header {
        position: static;
    }

    .app-kpi-row {
        grid-template-columns: 1fr;
    }

    .app-textballoon {
        position: static;
        margin: 10px auto;
        max-width: 90%;
    }
}

@media (max-width: 600px) {
    .auto-fluid-inner {
        padding: 0 20px;
    }

    .auto-btn-primary {
        width: 100%;
    }

}

/* ------------------------------------------------------------
   Real app screenshots in the MacBook overlay (2026-11-21): the window shows the actual BookSync web app,
   one screen per text balloon, crossfading as the visitor scrolls.
   ------------------------------------------------------------ */
.app-window-real {
    background: #faf8f5;
}

.app-real-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.app-real-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.app-real-slide.is-active {
    opacity: 1;
}

/* Real app screenshots in the small-screen feature stack (2026-11-21). */
.mobile-real-phone {
    margin: 0 auto 28px;
    max-width: 300px;
    text-align: center;
}

.mobile-real-phone img {
    width: 100%;
    height: auto;
    border-radius: 34px;
    border: 8px solid #111116;
    box-shadow: 0 24px 60px -18px rgba(17, 17, 22, 0.35);
    background: #faf9f7;
}

.mobile-real-phone figcaption {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #64748b;
}

.m-real-shot {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.mobile-pillar-card > h3 {
    font-family: var(--font-nexa-bold, sans-serif);
    font-size: 1.05rem;
    color: #111116;
    margin: 0 0 8px 0;
}
