/* ══════════════════════════════════════════════════════════════
   CashFlow — Marketing Pages Stylesheet
   ══════════════════════════════════════════════════════════════ */

/* ── CSS Variable Compatibility Aliases ──────────────────────
   Templates use short names; these map them to the design system.
   ─────────────────────────────────────────────────────────── */
:root {
    --white: #fff;
    --primary: var(--cf-primary);
    --primary-light: var(--cf-primary-light);
    --muted: var(--cf-muted);
    --dark: var(--cf-dark);
    --dark-soft: var(--cf-dark-soft);
    --border: var(--cf-border);
    --light-bg: var(--cf-bg);
    --success: var(--cf-success);
    --success-light: var(--cf-success-light);
    --warning: var(--cf-warning);
    --cf-card-bg: var(--cf-surface);
}

/* ── Navbar ─────────────────────────────────────────── */
.marketing-nav {
    background: var(--cf-surface);
    border-bottom: 1px solid var(--cf-border);
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: box-shadow 0.2s;
}
.marketing-nav.scrolled {
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.nav-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cf-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-brand:hover { color: var(--cf-primary-hover); }
.nav-brand i { font-size: 1.3rem; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a {
    color: var(--cf-dark-soft);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.925rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: var(--cf-primary); background: var(--cf-primary-light); }
.nav-links a.active { color: var(--cf-primary); background: var(--cf-primary-light); }
.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.btn-nav-login {
    color: var(--cf-dark-soft);
    font-weight: 500;
    font-size: 0.925rem;
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}
.btn-nav-login:hover { color: var(--cf-primary); background: var(--cf-primary-light); }
.btn-nav-signup {
    background: var(--cf-primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.925rem;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    border: none;
    transition: background 0.15s, transform 0.1s;
}
.btn-nav-signup:hover { background: var(--cf-primary-hover); color: #fff; transform: translateY(-1px); }

/* ── Buttons ────────────────────────────────────────── */
.btn-primary-lg {
    display: inline-block;
    background: var(--cf-primary);
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.85rem 2.25rem;
    border-radius: 10px;
    border: none;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.btn-primary-lg:hover { background: var(--cf-primary-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.3); }

.btn-outline-lg {
    display: inline-block;
    background: transparent;
    color: var(--cf-primary);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.85rem 2.25rem;
    border-radius: 10px;
    border: 2px solid var(--cf-primary);
    text-decoration: none;
    transition: background 0.15s, color 0.15s, transform 0.1s;
}
.btn-outline-lg:hover { background: var(--cf-primary); color: #fff; transform: translateY(-2px); }

/* ── Sections ───────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-light { background: var(--cf-bg); }
.section-dark { background: #1E293B; color: #fff; }
.section-primary { background: linear-gradient(135deg, var(--cf-primary) 0%, var(--cf-purple) 100%); color: #fff; }
.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--cf-muted);
    max-width: 640px;
    margin: 0 auto 3rem;
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }
.section-primary .section-subtitle { color: rgba(255,255,255,0.85); }

/* ── Feature Cards ──────────────────────────────────── */
.feature-card {
    background: var(--cf-surface);
    border: 1px solid var(--cf-border);
    border-radius: 14px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--cf-shadow-lg); }
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}
.feature-icon.blue { background: var(--cf-primary-light); color: var(--cf-primary); }
.feature-icon.green { background: var(--cf-success-light); color: var(--cf-success); }
.feature-icon.amber { background: var(--cf-warning-light); color: var(--cf-warning); }
.feature-icon.red { background: var(--cf-danger-light); color: var(--cf-danger); }
.feature-icon.purple { background: var(--cf-purple-light); color: var(--cf-purple); }
.feature-icon.teal { background: var(--cf-teal-light); color: var(--cf-teal); }
.feature-card h5 { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--cf-muted); font-size: 0.925rem; margin-bottom: 0; }

/* ── Pricing Cards ──────────────────────────────────── */
.pricing-card {
    background: var(--cf-surface);
    border: 2px solid var(--cf-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--cf-shadow-lg); }
.pricing-card.featured { border-color: var(--cf-primary); }
.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cf-primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.25rem 1.25rem;
    border-radius: 20px;
}
.pricing-card h3 { font-weight: 700; margin-bottom: 0.5rem; }
.pricing-amount { font-size: 3rem; font-weight: 800; line-height: 1.1; }
.pricing-amount span { font-size: 1rem; font-weight: 500; color: var(--cf-muted); }
.pricing-features { text-align: left; list-style: none; padding: 0; margin: 1.5rem 0; }
.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.925rem;
    color: var(--cf-dark-soft);
    border-bottom: 1px solid var(--cf-bg);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features i { color: var(--cf-success); margin-right: 0.5rem; width: 18px; text-align: center; }
.pricing-features .disabled { color: var(--cf-muted); }
.pricing-features .disabled i { color: var(--cf-border); }

/* ── Steps ──────────────────────────────────────────── */
.step-number {
    width: 56px;
    height: 56px;
    background: var(--cf-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
}

/* ── Stats Bar ──────────────────────────────────────── */
.stat-item h3 { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.25rem; }
.stat-item p { font-size: 0.925rem; opacity: 0.85; margin-bottom: 0; }

/* ── Feature Detail (features page) ─────────────────── */
.feature-detail {
    padding: 4rem 0;
    border-bottom: 1px solid var(--cf-border);
}
.feature-detail:last-child { border-bottom: none; }
.feature-detail h3 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.75rem; }
.feature-detail p.lead { color: var(--cf-muted); font-size: 1.05rem; margin-bottom: 1.5rem; }
.feature-detail .check-list { list-style: none; padding: 0; }
.feature-detail .check-list li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: var(--cf-dark-soft);
}
.feature-detail .check-list i { color: var(--cf-success); margin-right: 0.6rem; }
.feature-detail .icon-box {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--cf-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--cf-primary);
}

/* ── Feature Animated Graphics ─────────────────────── */
.feature-graphic {
    width: 100%;
    aspect-ratio: 4/3;
    background: var(--cf-bg);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Balance recalculation — spinning gears with balance bar */
.graphic-engine { gap: 1.5rem; }
.graphic-engine .gear {
    font-size: 3.5rem;
    color: var(--cf-primary);
    animation: spin 8s linear infinite;
}
.graphic-engine .gear:nth-child(2) {
    font-size: 2.5rem;
    color: #60A5FA;
    animation-direction: reverse;
    animation-duration: 6s;
}
.graphic-engine .balance-bar {
    position: absolute;
    bottom: 20%;
    left: 15%;
    right: 15%;
    height: 6px;
    background: #E2E8F0;
    border-radius: 3px;
}
.graphic-engine .balance-fill {
    height: 100%;
    background: var(--cf-primary);
    border-radius: 3px;
    animation: balanceFill 3s ease-in-out infinite alternate;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes balanceFill { from { width: 35%; } to { width: 85%; } }

/* Accounts — stacked cards */
.graphic-accounts { flex-direction: column; gap: 0.75rem; }
.graphic-accounts .acct-card {
    width: 65%;
    height: 3rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: #fff;
    animation: slideInCards 0.6s ease-out both;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.graphic-accounts .acct-card:nth-child(1) { background: #3B82F6; animation-delay: 0.1s; }
.graphic-accounts .acct-card:nth-child(2) { background: #22C55E; animation-delay: 0.25s; width: 58%; }
.graphic-accounts .acct-card:nth-child(3) { background: #F59E0B; animation-delay: 0.4s; width: 50%; }
.graphic-accounts .acct-card:nth-child(4) { background: #EF4444; animation-delay: 0.55s; width: 45%; }
@keyframes slideInCards { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }

/* Transactions — flowing arrows */
.graphic-transactions { flex-direction: column; gap: 0.5rem; }
.graphic-transactions .flow-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: flowPulse 2s ease-in-out infinite;
}
.graphic-transactions .flow-row:nth-child(2) { animation-delay: 0.5s; }
.graphic-transactions .flow-row:nth-child(3) { animation-delay: 1s; }
.graphic-transactions .flow-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}
.graphic-transactions .flow-line {
    height: 3px;
    border-radius: 2px;
    flex: 1;
}
.graphic-transactions .flow-arrow {
    font-size: 1.2rem;
    flex-shrink: 0;
}
.graphic-transactions .income .flow-dot { background: #22C55E; }
.graphic-transactions .income .flow-line { background: linear-gradient(90deg, #22C55E, #86EFAC); }
.graphic-transactions .income .flow-arrow { color: #22C55E; }
.graphic-transactions .expense .flow-dot { background: #EF4444; }
.graphic-transactions .expense .flow-line { background: linear-gradient(90deg, #EF4444, #FCA5A5); }
.graphic-transactions .expense .flow-arrow { color: #EF4444; }
.graphic-transactions .transfer .flow-dot { background: #3B82F6; }
.graphic-transactions .transfer .flow-line { background: linear-gradient(90deg, #3B82F6, #93C5FD); }
.graphic-transactions .transfer .flow-arrow { color: #3B82F6; }
@keyframes flowPulse { 0%, 100% { opacity: 0.6; transform: translateX(0); } 50% { opacity: 1; transform: translateX(8px); } }

/* Recurring — rotating loop with calendar ticks */
.graphic-recurring { flex-direction: column; }
.graphic-recurring .loop-ring {
    width: 120px;
    height: 120px;
    border: 4px solid #E2E8F0;
    border-top: 4px solid #7C3AED;
    border-radius: 50%;
    animation: spin 3s linear infinite;
    position: relative;
}
.graphic-recurring .loop-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #7C3AED;
    animation: spin 3s linear infinite reverse;
}
.graphic-recurring .tick-marks {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
}
.graphic-recurring .tick {
    width: 8px;
    height: 24px;
    background: #7C3AED;
    border-radius: 4px;
    animation: tickBounce 2s ease-in-out infinite;
}
.graphic-recurring .tick:nth-child(2) { animation-delay: 0.3s; height: 32px; }
.graphic-recurring .tick:nth-child(3) { animation-delay: 0.6s; height: 18px; }
.graphic-recurring .tick:nth-child(4) { animation-delay: 0.9s; height: 28px; }
.graphic-recurring .tick:nth-child(5) { animation-delay: 1.2s; height: 20px; }
.graphic-recurring .tick:nth-child(6) { animation-delay: 1.5s; height: 34px; }
.graphic-recurring .tick:nth-child(7) { animation-delay: 1.8s; height: 22px; }
@keyframes tickBounce { 0%, 100% { opacity: 0.4; transform: scaleY(0.7); } 50% { opacity: 1; transform: scaleY(1); } }

/* Multi-Currency — orbiting currency symbols */
.graphic-currency { position: relative; }
.graphic-currency .center-globe {
    font-size: 3.5rem;
    color: #0D9488;
}
.graphic-currency .orbit-symbol {
    position: absolute;
    font-weight: 800;
    font-size: 1.3rem;
    color: #0D9488;
    animation: orbit 6s linear infinite;
}
.graphic-currency .orbit-symbol:nth-child(2) { animation-delay: -1s; }
.graphic-currency .orbit-symbol:nth-child(3) { animation-delay: -2s; }
.graphic-currency .orbit-symbol:nth-child(4) { animation-delay: -3s; }
.graphic-currency .orbit-symbol:nth-child(5) { animation-delay: -4s; }
.graphic-currency .orbit-symbol:nth-child(6) { animation-delay: -5s; }
@keyframes orbit {
    0% { transform: rotate(0deg) translateX(80px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(80px) rotate(-360deg); }
}

/* Analytics — animated bar chart */
.graphic-analytics { align-items: flex-end; gap: 0.6rem; padding: 0 2rem 2rem; }
.graphic-analytics .bar {
    width: 2rem;
    border-radius: 6px 6px 0 0;
    animation: barGrow 1.5s ease-out both;
}
.graphic-analytics .bar:nth-child(1) { background: #3B82F6; height: 40%; animation-delay: 0.1s; }
.graphic-analytics .bar:nth-child(2) { background: #22C55E; height: 65%; animation-delay: 0.2s; }
.graphic-analytics .bar:nth-child(3) { background: #F59E0B; height: 45%; animation-delay: 0.3s; }
.graphic-analytics .bar:nth-child(4) { background: #EF4444; height: 80%; animation-delay: 0.4s; }
.graphic-analytics .bar:nth-child(5) { background: #7C3AED; height: 55%; animation-delay: 0.5s; }
.graphic-analytics .bar:nth-child(6) { background: #0D9488; height: 70%; animation-delay: 0.6s; }
@keyframes barGrow { from { height: 0; opacity: 0; } }

/* Forecasting — animated line chart */
.graphic-forecast { padding: 2rem; }
.graphic-forecast svg { width: 100%; height: 100%; }
.graphic-forecast .forecast-line {
    fill: none;
    stroke: var(--cf-primary);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawLine 2.5s ease-out forwards;
}
.graphic-forecast .forecast-area {
    fill: url(#forecastGrad);
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}
.graphic-forecast .forecast-dot {
    fill: var(--cf-primary);
    opacity: 0;
    animation: popIn 0.3s ease-out forwards;
}
.graphic-forecast .forecast-dot:nth-child(3) { animation-delay: 0.5s; }
.graphic-forecast .forecast-dot:nth-child(4) { animation-delay: 1s; }
.graphic-forecast .forecast-dot:nth-child(5) { animation-delay: 1.5s; }
.graphic-forecast .forecast-dot:nth-child(6) { animation-delay: 2s; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 0.15; } }
@keyframes popIn { to { opacity: 1; transform: scale(1); } }

/* Simulator — dice with probability curves */
.graphic-simulator { flex-direction: column; gap: 1rem; }
.graphic-simulator .dice-row {
    display: flex;
    gap: 1rem;
}
.graphic-simulator .die {
    width: 56px;
    height: 56px;
    background: #7C3AED;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    animation: diceRoll 3s ease-in-out infinite;
}
.graphic-simulator .die:nth-child(2) { animation-delay: 0.5s; background: #9333EA; }
.graphic-simulator .die:nth-child(3) { animation-delay: 1s; background: #A855F7; }
.graphic-simulator .prob-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 60px;
}
.graphic-simulator .prob-bar {
    width: 8px;
    background: #7C3AED;
    border-radius: 2px;
    animation: probGrow 2s ease-out infinite alternate;
}
.graphic-simulator .prob-bar:nth-child(1) { height: 15%; animation-delay: 0s; }
.graphic-simulator .prob-bar:nth-child(2) { height: 25%; animation-delay: 0.1s; }
.graphic-simulator .prob-bar:nth-child(3) { height: 40%; animation-delay: 0.2s; }
.graphic-simulator .prob-bar:nth-child(4) { height: 60%; animation-delay: 0.3s; }
.graphic-simulator .prob-bar:nth-child(5) { height: 85%; animation-delay: 0.4s; }
.graphic-simulator .prob-bar:nth-child(6) { height: 100%; animation-delay: 0.5s; }
.graphic-simulator .prob-bar:nth-child(7) { height: 85%; animation-delay: 0.6s; }
.graphic-simulator .prob-bar:nth-child(8) { height: 60%; animation-delay: 0.7s; }
.graphic-simulator .prob-bar:nth-child(9) { height: 40%; animation-delay: 0.8s; }
.graphic-simulator .prob-bar:nth-child(10) { height: 25%; animation-delay: 0.9s; }
.graphic-simulator .prob-bar:nth-child(11) { height: 15%; animation-delay: 1s; }
@keyframes diceRoll { 0%, 100% { transform: rotate(0deg) scale(1); } 25% { transform: rotate(15deg) scale(1.05); } 75% { transform: rotate(-10deg) scale(0.95); } }
@keyframes probGrow { from { transform: scaleY(0.5); opacity: 0.5; } to { transform: scaleY(1); opacity: 1; } }

/* Goals — animated target with filling ring */
.graphic-goals { flex-direction: column; }
.graphic-goals .target-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 6px solid #E2E8F0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.graphic-goals .target-ring svg {
    position: absolute;
    top: -6px;
    left: -6px;
    width: calc(100% + 12px);
    height: calc(100% + 12px);
}
.graphic-goals .progress-arc {
    fill: none;
    stroke: #EF4444;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 339;
    stroke-dashoffset: 339;
    animation: arcFill 2s ease-out forwards;
    transform: rotate(-90deg);
    transform-origin: center;
}
.graphic-goals .target-icon { font-size: 2.5rem; color: #EF4444; }
.graphic-goals .milestone-chips {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
}
.graphic-goals .chip {
    width: 36px;
    height: 8px;
    border-radius: 4px;
    animation: chipFill 0.4s ease-out both;
}
.graphic-goals .chip:nth-child(1) { background: #22C55E; animation-delay: 0.5s; }
.graphic-goals .chip:nth-child(2) { background: #22C55E; animation-delay: 0.8s; }
.graphic-goals .chip:nth-child(3) { background: #22C55E; animation-delay: 1.1s; }
.graphic-goals .chip:nth-child(4) { background: #E2E8F0; animation-delay: 1.4s; }
.graphic-goals .chip:nth-child(5) { background: #E2E8F0; animation-delay: 1.7s; }
@keyframes arcFill { to { stroke-dashoffset: 102; } }
@keyframes chipFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Security — pulsing shield with checkmark */
.graphic-security { flex-direction: column; }
.graphic-security .shield {
    font-size: 5rem;
    color: #1E293B;
    position: relative;
    animation: shieldPulse 3s ease-in-out infinite;
}
.graphic-security .shield-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #22C55E;
    animation: checkPop 0.5s ease-out 0.5s both;
}
.graphic-security .lock-dots {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}
.graphic-security .lock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22C55E;
    animation: lockBlink 2s ease-in-out infinite;
}
.graphic-security .lock-dot:nth-child(2) { animation-delay: 0.3s; }
.graphic-security .lock-dot:nth-child(3) { animation-delay: 0.6s; }
.graphic-security .lock-dot:nth-child(4) { animation-delay: 0.9s; }
.graphic-security .lock-dot:nth-child(5) { animation-delay: 1.2s; }
@keyframes shieldPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes checkPop { from { opacity: 0; transform: translate(-50%, -50%) scale(0); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes lockBlink { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* Reduce animation for prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .graphic-engine .gear,
    .graphic-engine .balance-fill,
    .graphic-recurring .loop-ring,
    .graphic-recurring .tick,
    .graphic-currency .orbit-symbol,
    .graphic-simulator .die,
    .graphic-simulator .prob-bar,
    .graphic-security .shield,
    .graphic-security .lock-dot,
    .graphic-transactions .flow-row,
    .graphic-forecast .forecast-line,
    .graphic-forecast .forecast-area,
    .graphic-forecast .forecast-dot,
    .graphic-goals .progress-arc,
    .graphic-goals .chip,
    .graphic-accounts .acct-card,
    .graphic-analytics .bar {
        animation: none !important;
    }
    .graphic-engine .balance-fill { width: 65%; }
    .graphic-forecast .forecast-line { stroke-dashoffset: 0; }
    .graphic-forecast .forecast-area { opacity: 0.15; }
    .graphic-forecast .forecast-dot { opacity: 1; }
    .graphic-goals .progress-arc { stroke-dashoffset: 102; }
    .graphic-goals .chip { transform: scaleX(1); }
    .graphic-accounts .acct-card { opacity: 1; transform: none; }
    .graphic-analytics .bar { opacity: 1; }
    .graphic-security .shield-check { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* ── FAQ ────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--cf-border); padding: 1.25rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h5 { font-weight: 600; font-size: 1.05rem; margin-bottom: 0.5rem; }
.faq-item p { color: var(--cf-muted); margin-bottom: 0; }

/* ── Footer ─────────────────────────────────────────── */
.marketing-footer {
    background: #1E293B;
    color: rgba(255,255,255,0.75);
    padding: 4rem 0 2rem;
}
.footer-brand { color: #fff; font-weight: 700; font-size: 1.3rem; margin-bottom: 0.65rem; }
.footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.6; }
.footer-heading { color: #fff; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.55rem; color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.875rem; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }
.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.footer-social:hover { background: rgba(255,255,255,0.15); color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 3rem;
    padding-top: 1.5rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

/* ── About Tech Grid ────────────────────────────────── */
.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cf-surface);
    border: 1px solid var(--cf-border);
    border-radius: 10px;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    font-size: 0.925rem;
    color: var(--cf-dark-soft);
}
.tech-badge i { font-size: 1.1rem; }

/* body top padding for fixed nav */
body.marketing-body { padding-top: 68px; }

/* ── Mobile Nav Toggle ─────────────────────────────── */
.nav-toggle {
    background: transparent;
    border: 1px solid var(--cf-border);
    border-radius: 8px;
    padding: 0.4rem 0.65rem;
    color: var(--cf-dark-soft);
    font-size: 1.15rem;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}
.nav-toggle:hover { color: var(--cf-primary); background: var(--cf-primary-light); }

/* ── Mobile Nav Offcanvas ──────────────────────────── */
.mobile-nav-links { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-links a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--cf-dark-soft);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.15s, background 0.15s;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active { color: var(--cf-primary); background: var(--cf-primary-light); }
.mobile-nav-cta { display: flex; flex-direction: column; gap: 0.5rem; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 991px) {
    .section-title { font-size: 1.75rem; }
    .pricing-amount { font-size: 2.25rem; }
}
@media (max-width: 767px) {
    .section { padding: 3rem 0; }
    .section-title { font-size: 1.5rem; }
    .stat-item h3 { font-size: 1.75rem; }
    .hero-buttons { flex-direction: column; gap: 0.75rem; }
    .hero-buttons a { width: 100%; text-align: center; }
}

/* ════════════════════════════════════════════════════════
   MARKETING CAMPAIGN — Launch Enhancements
   ════════════════════════════════════════════════════════ */

/* ── Section Eyebrow Label ───────────────────────────── */
.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--cf-primary);
    margin-bottom: 0.6rem;
    display: block;
}

/* ── Hero Launch Pill ────────────────────────────────── */
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.95);
    font-size: 0.825rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(8px);
    letter-spacing: 0.02em;
}
.hero-pill i { color: #FCD34D; font-size: 0.8rem; }
.hero-pill .pill-dot {
    width: 6px; height: 6px;
    background: #4ADE80;
    border-radius: 50%;
    animation: pillPulse 1.8s ease-in-out infinite;
}
@keyframes pillPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }

/* ── Hero Alternate Outline Button ──────────────────── */
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.35);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
    backdrop-filter: blur(4px);
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.65);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Hero CTA Primary (white on gradient bg) ─────────── */
.btn-hero-cta {
    background: #fff !important;
    color: var(--cf-primary) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.btn-hero-cta:hover {
    background: #F0F9FF !important;
    color: var(--cf-primary-hover) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/* ── Hero Trust Signals ──────────────────────────────── */
.hero-trust {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}
.hero-trust-lg { justify-content: flex-start; }
.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}
.hero-trust-item i { color: #4ADE80; font-size: 0.9rem; }

/* ── Dashboard Preview Mockup ────────────────────────── */
.dashboard-preview {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
    transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.dashboard-preview:hover {
    transform: perspective(1200px) rotateY(-2deg) rotateX(0deg);
    box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.07);
}
.preview-topbar {
    background: rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.preview-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.preview-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    padding: 0.85rem 0.85rem 0;
}
.preview-stat {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 0.65rem 0.5rem;
    text-align: center;
}
.preview-stat .val { font-weight: 700; font-size: 0.95rem; color: #fff; }
.preview-stat .lbl { font-size: 0.65rem; color: rgba(255,255,255,0.5); margin-top: 0.15rem; }
.preview-chart-area { padding: 0.85rem 0.85rem 0; }
.preview-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 2px;
}
.preview-bar {
    flex: 1;
    border-radius: 3px 3px 0 0;
    animation: barGrow 1.2s ease-out both;
}
.preview-txn-list { padding: 0.65rem 0.85rem 0.85rem; }
.preview-txn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.75);
}
.preview-txn:last-child { border-bottom: none; }

/* ── Testimonials ────────────────────────────────────── */
.testimonial-card {
    background: var(--cf-surface);
    border: 1px solid var(--cf-border);
    border-radius: 16px;
    padding: 2rem 2rem 1.75rem;
    height: 100%;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--cf-shadow-lg); }
.testimonial-card::before {
    content: '\201C';
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--cf-primary-light);
    position: absolute;
    top: 0.5rem;
    left: 1.5rem;
    line-height: 1;
    font-family: Georgia, serif;
}
.testimonial-text {
    font-size: 0.95rem;
    color: var(--cf-dark-soft);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}
.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--cf-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--cf-primary);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--cf-dark); }
.testimonial-role { font-size: 0.8rem; color: var(--cf-muted); }
.testimonial-stars { color: #F59E0B; font-size: 0.8rem; letter-spacing: 0.05em; margin-bottom: 0.75rem; }

/* ── Feature Quick Nav ───────────────────────────────── */
.feature-nav {
    background: var(--cf-surface);
    border-bottom: 1px solid var(--cf-border);
    padding: 0.6rem 0;
    position: sticky;
    top: 68px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.feature-nav-links {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 0.5rem;
}
.feature-nav-links::-webkit-scrollbar { display: none; }
.feature-nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--cf-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
}
.feature-nav-links a:hover { color: var(--cf-primary); background: var(--cf-primary-light); }

/* ── Billing Period Toggle ───────────────────────────── */
.billing-toggle-wrap { display: flex; justify-content: center; align-items: center; gap: 1.5rem; margin-bottom: 2.5rem; }
.billing-toggle {
    display: inline-flex;
    background: var(--cf-bg);
    border: 1px solid var(--cf-border);
    border-radius: 50px;
    padding: 4px;
}
.billing-toggle button {
    background: none;
    border: none;
    padding: 0.45rem 1.25rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--cf-muted);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.billing-toggle button.active {
    background: var(--cf-surface);
    color: var(--cf-dark);
    box-shadow: 0 1px 5px rgba(0,0,0,0.12);
}
.annual-save-badge {
    display: inline-block;
    background: var(--cf-success-light);
    color: #047857;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.1rem 0.45rem;
    border-radius: 20px;
    vertical-align: middle;
}

/* ── Gradient Text ───────────────────────────────────── */
.gradient-text-hero {
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Improved Stat Item (Marketing Stats Bar) ────────── */
.stat-item-launch h3 {
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: 0.15rem;
    letter-spacing: -0.02em;
}
.stat-item-launch p { font-size: 0.875rem; opacity: 0.8; margin-bottom: 0; }

/* ── Trust Bar ───────────────────────────────────────── */
.trust-bar {
    background: var(--cf-surface);
    border-top: 1px solid var(--cf-border);
    border-bottom: 1px solid var(--cf-border);
    padding: 1rem 0;
}
.trust-bar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cf-dark-soft);
}
.trust-bar-item i { color: var(--cf-primary); font-size: 1rem; }

/* ── "How It Works" Connector Line ──────────────────── */
.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.step-connector-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--cf-border), var(--cf-primary-light), var(--cf-border));
    border-radius: 1px;
}

/* ── Responsive (campaign additions) ────────────────── */
@media (max-width: 991px) {
    .hero-trust { justify-content: center; }
    .dashboard-preview { transform: none; margin-top: 2rem; }
    .dashboard-preview:hover { transform: none; }
    .feature-nav { top: 68px; }
}
@media (max-width: 767px) {
    .hero-pill { font-size: 0.78rem; }
    .hero-trust { gap: 1rem; }
    .hero-trust-item { font-size: 0.8rem; }
    .billing-toggle-wrap { flex-direction: column; gap: 0.75rem; }
    .stat-item-launch h3 { font-size: 2rem; }
}

/* prefers-reduced-motion for campaign additions */
@media (prefers-reduced-motion: reduce) {
    .hero-pill .pill-dot { animation: none; }
    .dashboard-preview { transform: none !important; }
    .preview-bar { animation: none !important; height: 60%; opacity: 1; }
    .testimonial-card:hover { transform: none; }
}

/* ════════════════════════════════════════════════════════
   FEATURES PAGE — Enhanced Sections
   ════════════════════════════════════════════════════════ */

/* ── Hero Stats Row ──────────────────────────────────────── */
.features-hero-stats {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 0.65rem 0;
    backdrop-filter: blur(8px);
    flex-wrap: wrap;
    justify-content: center;
}
.fhs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1.5rem;
}
.fhs-num { font-size: 1.5rem; font-weight: 900; color: #fff; line-height: 1.1; }
.fhs-lbl { font-size: 0.72rem; color: rgba(255,255,255,0.68); white-space: nowrap; margin-top: 0.1rem; }
.fhs-div { width: 1px; height: 2.5rem; background: rgba(255,255,255,0.2); flex-shrink: 0; }

/* ── Why Different Cards ─────────────────────────────────── */
.why-card {
    background: var(--cf-surface);
    border: 1px solid var(--cf-border);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--cf-shadow-lg); }
.why-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 1.25rem;
}
.why-icon.blue  { background: var(--cf-primary-light); color: var(--cf-primary); }
.why-icon.purple { background: var(--cf-purple-light); color: var(--cf-purple); }
.why-icon.teal  { background: var(--cf-teal-light); color: var(--cf-teal); }
.why-card h5 { font-weight: 700; margin-bottom: 0.6rem; font-size: 1.05rem; }
.why-card p  { color: var(--cf-muted); font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* ── Feature Impact Callout ──────────────────────────────── */
.feature-impact {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--cf-primary-light);
    border-left: 3px solid var(--cf-primary);
    border-radius: 0 10px 10px 0;
    padding: 0.85rem 1rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--cf-dark-soft);
    line-height: 1.55;
}
.feature-impact-icon { font-size: 1.1rem; color: var(--cf-primary); flex-shrink: 0; margin-top: 0.1rem; }
.feature-impact strong { color: var(--cf-dark); display: block; margin-bottom: 0.2rem; }

/* ── Badge size tweak ────────────────────────────────────── */
.feat-badge { font-size: 0.8rem !important; padding: 0.4rem 0.9rem !important; }

/* ── Mid-page Stats Bar ──────────────────────────────────── */
.features-stats-bar { background: #1E293B; color: #fff; padding: 3rem 0; }
.fsbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.fsbar-item { text-align: center; padding: 0.5rem 2.5rem; }
.fsbar-num { font-size: 2.25rem; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 0.2rem; }
.fsbar-lbl { font-size: 0.78rem; color: rgba(255,255,255,0.5); }
.fsbar-div { width: 1px; height: 3rem; background: rgba(255,255,255,0.1); flex-shrink: 0; }

/* ── Shared v2 graphic card shell ────────────────────────── */
.graphic-accts-v2,
.graphic-txns-v2,
.graphic-recur-v2,
.graphic-curr-v2 {
    background: var(--cf-surface);
    border: 1px solid var(--cf-border);
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
}

/* ── Shared graphic topbar ───────────────────────────────── */
.gv2-topbar {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--cf-border);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--cf-dark-soft);
    background: var(--cf-bg);
    display: flex;
    align-items: center;
}

/* ── Shared row layout ───────────────────────────────────── */
.gv2-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.25rem;
    border-bottom: 1px solid var(--cf-border);
    animation: slideInCards 0.5s ease-out both;
}
.gv2-row-pending { opacity: 0.6; }
.gv2-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; flex-shrink: 0;
}
.gv2-info { flex: 1; min-width: 0; }
.gv2-name { font-size: 0.875rem; font-weight: 600; color: var(--cf-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gv2-sub  { font-size: 0.72rem; color: var(--cf-muted); }
.gv2-bal  { font-size: 0.875rem; font-weight: 700; white-space: nowrap; }
.gv2-pos  { color: #16A34A; }
.gv2-neg  { color: #DC2626; }
.gv2-muted { color: var(--cf-muted); }

/* ── Net worth / total footer rows ──────────────────────── */
.gv2-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    background: var(--cf-bg);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cf-dark-soft);
}
.gv2-total-val { font-size: 1rem; font-weight: 800; color: var(--cf-primary); }

/* ── Pending tag ─────────────────────────────────────────── */
.gv2-pending-tag {
    font-size: 0.65rem; font-weight: 600;
    background: #F5F3FF; color: #7C3AED;
    padding: 0.1rem 0.4rem; border-radius: 4px;
    margin-left: 0.35rem; vertical-align: middle;
}

/* ── Transaction search bar ──────────────────────────────── */
.gv2-search {
    padding: 0.7rem 1.25rem;
    font-size: 0.8rem;
    color: var(--cf-muted);
    background: var(--cf-bg);
    border-radius: 0 0 16px 16px;
}

/* ── Recurring: due column + badges ─────────────────────── */
.gv2-due { font-size: 0.75rem; color: var(--cf-muted); white-space: nowrap; margin-right: 0.25rem; }
.gv2-footer-badges {
    display: flex;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    background: var(--cf-bg);
}
.gv2-badge {
    font-size: 0.75rem; font-weight: 500;
    background: var(--cf-primary-light); color: var(--cf-primary);
    border-radius: 20px; padding: 0.25rem 0.7rem;
}

/* ── Currency: flag circle + rate + base tag ─────────────── */
.gv2-curr-flag {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; font-weight: 800; flex-shrink: 0;
}
.gv2-rate { font-size: 0.72rem; color: var(--cf-muted); margin-left: 0.25rem; }
.gv2-base-tag {
    font-size: 0.65rem; font-weight: 600;
    background: #F0FDF4; color: #16A34A;
    padding: 0.1rem 0.4rem; border-radius: 4px;
    margin-left: 0.35rem; vertical-align: middle;
}

/* ── Analytics v2 ────────────────────────────────────────── */
.graphic-analytics-v2 {
    background: var(--cf-surface);
    border: 1px solid var(--cf-border);
    border-radius: 16px;
    padding: 1.25rem;
    width: 100%;
}
.ganv2-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}
.ganv2-title { font-size: 0.82rem; font-weight: 600; color: var(--cf-dark-soft); }
.ganv2-legend { font-size: 0.75rem; color: var(--cf-muted); display: flex; align-items: center; gap: 0.35rem; }
.ganv2-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ganv2-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 80px;
    border-bottom: 1px solid var(--cf-border);
    padding-bottom: 0.4rem;
    margin-bottom: 0.85rem;
    gap: 0.3rem;
}
.ganv2-group { display: flex; flex-direction: column; align-items: center; flex: 1; height: 100%; justify-content: flex-end; }
.ganv2-pair { display: flex; gap: 2px; align-items: flex-end; height: calc(100% - 18px); }
.ganv2-bar {
    width: 10px;
    border-radius: 3px 3px 0 0;
    animation: barGrow 1.2s ease-out both;
}
.ganv2-bar.inc { background: #3B82F6; }
.ganv2-bar.exp { background: #EF4444; }
.ganv2-group:nth-child(1) .ganv2-bar { animation-delay: 0.1s; }
.ganv2-group:nth-child(2) .ganv2-bar { animation-delay: 0.2s; }
.ganv2-group:nth-child(3) .ganv2-bar { animation-delay: 0.3s; }
.ganv2-group:nth-child(4) .ganv2-bar { animation-delay: 0.4s; }
.ganv2-group:nth-child(5) .ganv2-bar { animation-delay: 0.5s; }
.ganv2-group:nth-child(6) .ganv2-bar { animation-delay: 0.6s; }
.ganv2-lbl { font-size: 0.68rem; color: var(--cf-muted); margin-top: 0.3rem; }
.ganv2-cats { display: flex; flex-direction: column; gap: 0.45rem; }
.ganv2-cat { display: flex; align-items: center; gap: 0.5rem; font-size: 0.76rem; }
.ganv2-cname { width: 68px; color: var(--cf-dark-soft); flex-shrink: 0; }
.ganv2-cbar { flex: 1; height: 5px; background: var(--cf-bg); border-radius: 3px; overflow: hidden; }
.ganv2-cfill { height: 100%; border-radius: 3px; animation: barGrow 1.2s ease-out both; }
.ganv2-cpct { width: 30px; text-align: right; color: var(--cf-muted); flex-shrink: 0; }

/* ── Forecast v2 ─────────────────────────────────────────── */
.graphic-forecast-v2 {
    background: var(--cf-surface);
    border: 1px solid var(--cf-border);
    border-radius: 16px;
    padding: 1.25rem 1.25rem 0.85rem;
    width: 100%;
}
.gfv2-header { font-size: 0.82rem; font-weight: 600; color: var(--cf-dark-soft); margin-bottom: 0.5rem; }
.gfv2-line {
    fill: none; stroke: #3B82F6; stroke-width: 2.5; stroke-linecap: round;
    stroke-dasharray: 600; stroke-dashoffset: 600;
    animation: drawLine 2.5s ease-out forwards;
}
.gfv2-area { fill: url(#fgv2); opacity: 0; animation: fadeIn 1s ease-out 1.5s forwards; }
.gfv2-dot { opacity: 0; animation: popIn 0.3s ease-out forwards; }
.gfv2-compare {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 0.75rem 0 0;
    border-top: 1px solid var(--cf-border);
    margin-top: 0.25rem;
}
.gfv2-citem { text-align: center; }
.gfv2-clabel { font-size: 0.72rem; color: var(--cf-muted); display: block; margin-bottom: 0.15rem; }
.gfv2-cval { font-size: 0.875rem; font-weight: 700; }

/* ── Simulation fan chart v2 ─────────────────────────────── */
.graphic-sim-v2 {
    background: var(--cf-surface);
    border: 1px solid var(--cf-border);
    border-radius: 16px;
    padding: 1.25rem 1.25rem 0.85rem;
    width: 100%;
}
.gsv2-header { font-size: 0.82rem; font-weight: 600; color: var(--cf-dark-soft); margin-bottom: 0.5rem; }
.gsv2-band { fill: url(#bndGrad); }
.gsv2-inner { fill: #7C3AED; fill-opacity: 0.07; }
.gsv2-median {
    fill: none; stroke: #7C3AED; stroke-width: 2.5; stroke-linecap: round;
    stroke-dasharray: 600; stroke-dashoffset: 600;
    animation: drawLine 2.5s ease-out forwards;
}
.gsv2-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 0.75rem 0 0;
    border-top: 1px solid var(--cf-border);
    margin-top: 0.25rem;
}
.gsv2-stat { text-align: center; }
.gsv2-val { font-size: 0.9rem; font-weight: 800; color: #7C3AED; }
.gsv2-lbl { font-size: 0.7rem; color: var(--cf-muted); }

/* ── Goals v2 ────────────────────────────────────────────── */
.graphic-goals-v2 {
    background: var(--cf-surface);
    border: 1px solid var(--cf-border);
    border-radius: 16px;
    padding: 1.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}
.ggv2-ring-wrap { display: flex; justify-content: center; }
.ggv2-ring {
    width: 120px; height: 120px;
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.ggv2-arc { animation: arcFill 2s ease-out forwards; }
.ggv2-inner { position: relative; z-index: 1; text-align: center; }
.ggv2-pct { font-size: 1.7rem; font-weight: 900; color: var(--cf-dark); line-height: 1; }
.ggv2-lbl { font-size: 0.62rem; color: var(--cf-muted); margin-top: 0.2rem; }
.ggv2-list { width: 100%; display: flex; flex-direction: column; gap: 0.45rem; }
.ggv2-item { display: flex; align-items: center; gap: 0.5rem; }
.ggv2-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ggv2-name { font-size: 0.8rem; color: var(--cf-dark-soft); flex: 1; }
.ggv2-bar { flex: 2; height: 5px; background: var(--cf-bg); border-radius: 3px; overflow: hidden; }
.ggv2-fill { height: 100%; border-radius: 3px; animation: barGrow 1.2s ease-out both; }
.ggv2-num { font-size: 0.75rem; font-weight: 600; color: var(--cf-muted); width: 32px; text-align: right; }

/* ── Engine v2 ───────────────────────────────────────────── */
.graphic-engine-v2 {
    background: var(--cf-surface);
    border: 1px solid var(--cf-border);
    border-radius: 16px;
    padding: 1.25rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.gev2-label {
    font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--cf-muted); margin-bottom: 0.45rem;
}
.gev2-card {
    display: flex; align-items: center; gap: 0.75rem;
    background: var(--cf-bg); border: 1px solid var(--cf-border);
    border-radius: 10px; padding: 0.7rem 1rem;
    animation: slideInCards 0.5s ease-out both;
}
.gev2-icon {
    width: 34px; height: 34px;
    background: #FFF7ED; color: #F59E0B;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; flex-shrink: 0;
}
.gev2-detail { flex: 1; }
.gev2-name { font-size: 0.85rem; font-weight: 600; color: var(--cf-dark); }
.gev2-sub  { font-size: 0.72rem; color: var(--cf-muted); }
.gev2-amt  { font-size: 0.9rem; font-weight: 700; white-space: nowrap; }
.gev2-arrow { text-align: center; color: var(--cf-muted); font-size: 1rem; animation: arrowPulse 1.5s ease-in-out infinite; }
@keyframes arrowPulse { 0%, 100% { opacity: 0.35; } 50% { opacity: 1; } }
.gev2-result {
    background: var(--cf-bg); border: 1px solid var(--cf-border);
    border-radius: 10px; padding: 0.85rem 1rem;
}
.gev2-result-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.3rem 0; font-size: 0.85rem; color: var(--cf-dark-soft);
}
.gev2-new-row { border-top: 1px solid var(--cf-border); margin-top: 0.25rem; padding-top: 0.35rem; }
.gev2-old { color: var(--cf-muted); text-decoration: line-through; font-size: 0.8rem; }
.gev2-new { font-size: 1.1rem; font-weight: 800; color: var(--cf-primary); }
.gev2-chip {
    display: inline-flex; align-items: center;
    background: #F0FDF4; color: #16A34A;
    font-size: 0.75rem; font-weight: 600;
    padding: 0.25rem 0.65rem; border-radius: 20px;
    margin-top: 0.5rem;
}

/* ── Security v2 ─────────────────────────────────────────── */
.graphic-sec-v2 {
    background: var(--cf-surface);
    border: 1px solid var(--cf-border);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    width: 100%;
    display: flex; flex-direction: column;
    align-items: center; gap: 1.25rem;
}
.gsec2-shield { position: relative; font-size: 5.5rem; color: #1E293B; animation: shieldPulse 3s ease-in-out infinite; display: flex; align-items: center; justify-content: center; }
.gsec2-shield-icon { }
.gsec2-check { position: absolute; font-size: 2rem; color: #22C55E; animation: checkPop 0.5s ease-out 0.5s both; }
.gsec2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; width: 100%; }
.gsec2-feat { font-size: 0.82rem; color: var(--cf-dark-soft); display: flex; align-items: center; gap: 0.4rem; }
.gsec2-feat i { color: #22C55E; font-size: 0.85rem; }

/* ── Responsive additions ────────────────────────────────── */
@media (max-width: 767px) {
    .fhs-div { display: none; }
    .fhs-item { padding: 0.35rem 1rem; }
    .fhs-num { font-size: 1.2rem; }
    .fsbar-item { padding: 0.6rem 1.25rem; }
    .fsbar-num { font-size: 1.75rem; }
    .fsbar-div { display: none; }
}

/* ── Reduced motion overrides ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .gv2-row, .gev2-card { animation: none !important; opacity: 1; transform: none; }
    .ganv2-bar, .ganv2-cfill, .ggv2-fill { animation: none !important; opacity: 1; }
    .ggv2-arc { animation: none !important; stroke-dashoffset: 91; }
    .gfv2-line { animation: none !important; stroke-dashoffset: 0; }
    .gfv2-area { animation: none !important; opacity: 1; }
    .gfv2-dot  { animation: none !important; opacity: 1; }
    .gsv2-median { animation: none !important; stroke-dashoffset: 0; }
    .gev2-arrow { animation: none !important; opacity: 0.6; }
    .gsec2-shield { animation: none !important; }
    .gsec2-check { animation: none !important; opacity: 1; transform: none; }
    .why-card:hover { transform: none; }
}
