/* styles.css */

body {
    margin: 0;
    background: #050814;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #F5F7FA;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll from glow effects */
}

/* Add global box-sizing reset to fix width calculations */
*, *::before, *::after {
    box-sizing: border-box;
}

/* ---------------------------------------------------
   HEADER (site-header)
--------------------------------------------------- */

.site-header {
    padding: 16px 28px;
    background: linear-gradient(180deg, rgba(6,10,22,0.95), rgba(6,10,22,0.88));
    border-bottom: 1px solid #151827;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(6px);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}

.brand-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    gap: 26px;
    align-items: center;
}

/* Nav link styling for consistent look and active state */
.nav-link {
    color: #E5E7EB;
    font-size: 13px;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
    transition: color 0.15s ease, background 0.15s ease, transform 0.12s ease;
    display: inline-block;
}

/* Replace :focus with :focus-visible so mouse clicks don't leave the link in the focused color. This keeps keyboard accessibility intact. */
.nav-link:hover,
.nav-link:focus-visible {
    color: #38BDF8;
    background: rgba(56,189,248,0.03);
    transform: translateY(-1px);
}

.nav-link:focus-visible {
    outline: 2px solid rgba(56,189,248,0.22);
    outline-offset: 2px;
}

.nav-link.active {
    color: #F59E0B; /* gold accent */
    font-weight: 700;
    background: linear-gradient(90deg, rgba(245,158,11,0.06), rgba(245,158,11,0.02));
    box-shadow: 0 6px 18px rgba(245,158,11,0.04);
}

/* ---------------------------------------------------
   HERO SECTION + ASSISTANT BUBBLE
--------------------------------------------------- */

.hero-section {
    /* make logo sit above the heading instead of beside it */
    min-height: 36vh; /* compact hero so intro cards start closer */
    padding: 20px 0 18px; /* center content more vertically */
    text-align: center;
    background: radial-gradient(circle at top, #0A0F1E 0%, #050814 80%);
    margin-bottom: 80px;
    display: flex;
    flex-direction: column; /* stack logo above content */
    align-items: center;
    justify-content: center;
}

/* ensure the hero badge sits above the content and is centered */
.hero-logo-badge {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    margin: 0 auto 16px;
    display: block;
    perspective: 1000px; /* Adds 3D depth for the flip */
    animation: floatCoin 6s ease-in-out infinite;
}

@keyframes floatCoin {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes coinFlip {
    0%, 80% { transform: rotateX(0); }
    100% { transform: rotateX(360deg); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 6px 18px rgba(245, 158, 11, 0.15); border-color: rgba(255,255,255,0.04); }
    50% { box-shadow: 0 15px 35px rgba(245, 158, 11, 0.35); border-color: rgba(245, 158, 11, 0.3); }
}

.logo-badge-img {
    width: 128px;
    height: 128px;
    object-fit: contain;
    /* Combine the flip animation */
    animation: coinFlip 6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    transform-style: preserve-3d;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-badge-img:hover {
    animation-play-state: paused;
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.6));
}

.hero-content h1 {
    font-size: clamp(28px, 4vw, 44px);
    margin: 0 0 10px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.hero-tagline {
    font-size: 16px;
    margin: 6px 0;
    color: #FACC15;
    font-weight: 500;
}

.hero-subtext {
    margin-top: 6px;
    font-size: 15px;
    color: #CBD5E1;
}

/* center and narrow the hero copy for better readability */
.hero-content {
    margin: 4px auto 0;
    padding: 0 12px;
    z-index: 2;
}

/* hero CTAs */
.hero-ctas { margin-top: 18px; display:flex; gap:12px; justify-content:center; }
.hero-cta { display:inline-block; padding:10px 18px; border-radius:12px; text-decoration:none; color:#061029; font-weight:700; background: linear-gradient(135deg,#F59E0B,#FBBF24); box-shadow:0 10px 30px rgba(246,187,66,0.18); border:0; cursor:pointer; }
.hero-cta.ghost { background:transparent; color:#F5F7FA; border:1px solid rgba(255,255,255,0.06); box-shadow:none; }

/* Assistant bubble */
.assistant-bubble {
    position: absolute;
    right: 12%;
    bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg,#0D111C,#0B0F1B);
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid #1E2638;
}

.assistant-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1F2937;
    object-fit: contain;
}

.assistant-text {
    font-size: 13px;
    font-weight: 500;
    color: #F5F7FA;
}

/* Reveal animation baseline */
.reveal { opacity: 0; transform: translateY(12px) scale(0.995); transition: opacity 420ms cubic-bezier(.08,.9,.33,1), transform 420ms cubic-bezier(.08,.9,.33,1); }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

/* ---------------------------------------------------
   INTRO SECTION
--------------------------------------------------- */

.intro-section {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
    text-align: center;
    color: #CBD5E1;
}

.intro-section .intro-text {
    margin: 6px 0 8px;
    font-size: 15px;
    line-height: 1.6;
    color: #9AA6B6;
}

.intro-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 12px;
}

.intro-card {
    background: linear-gradient(180deg, rgba(13,17,28,0.95) 0%, rgba(11,14,22,0.9) 100%);
    border-radius: 12px;
    padding: 18px;
    text-align: left;
    color: #D9E2EA;
    box-shadow: 0 12px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.03);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 160px;
}

.intro-card:hover, .intro-card:focus {
    transform: translateY(-10px);
    box-shadow: 0 28px 60px rgba(0,0,0,0.6);
    outline: none;
}

.intro-card:active { transform: translateY(-6px); }

.card-top { display:flex; gap:12px; align-items:flex-start; margin-bottom:6px; }

.intro-card .card-icon { width:16px; height:16px; border-radius:50%; background: linear-gradient(135deg,#F59E0B,#FBBF24); box-shadow:0 6px 14px rgba(0,0,0,0.35); flex:0 0 16px; margin-top:6px; border:1px solid rgba(255,255,255,0.03); }

.card-title h3 { margin:0 0 4px; font-size:16px; color:#F5F7FA; font-weight:700; }

.card-desc { margin:8px 0 10px; font-size:13px; color:#9AA6B6; line-height:1.45; }

.card-features { margin:0 0 12px 0; padding:0; list-style:none; display:flex; gap:12px; flex-wrap:wrap; }
.card-features li { font-size:12px; color:#A7B3C4; background: rgba(255,255,255,0.02); padding:6px 8px; border-radius:8px; }

.card-link { display:none !important; }

/* Calculator */
.calculator-section-heading { text-align:center; color:#F5F7FA; font-size:22px; margin: 0 auto 18px; max-width:1600px; padding:0 20px; font-weight:800; }

.calculator-area { display:flex; flex-direction:column; align-items:center; }

.calculator-card { background: linear-gradient(180deg,#121622 0%, #0E121E 55%, #0B0F1B 100%); padding:28px 36px; border-radius:14px; box-shadow:0 20px 50px rgba(0,0,0,0.6); margin-bottom:80px; width:100%; max-width:1600px; }

.calculator-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: start;
}

/* header height variable for anchor offsets */
:root { --header-height: 64px; }

/* ensure heading anchor leaves space below sticky header when scrolled to */
#calculator-heading {
    scroll-margin-top: calc(var(--header-height) + 12px);
}

/* anchor offset for sticky header on section headings */
#calculator-heading, #education-heading, #charts-heading, #intro-heading {
    scroll-margin-top: calc(var(--header-height) + 12px);
}

/* ---------------------------------------------------
   EXISTING STYLES BELOW (unchanged except layout)
--------------------------------------------------- */

.container {
    max-width: 1600px;
    margin: 12px auto 48px; /* reduced top margin */
    padding: 0 32px;
}

.calculator-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }

.calculator-card h2 { margin:0; font-size:20px; font-weight:600; }

.input-grid { display:grid; grid-template-columns: 1fr 1fr; column-gap:32px; row-gap:24px; align-items:end; }

.input-field { display:flex; flex-direction:column; padding:6px 0; }

.input-field label { margin-bottom:8px; color:#9CA3AF; font-size:11px; letter-spacing:0.04em; text-transform:uppercase; }

.input-field input { width:100%; height:40px; padding:8px 14px; border-radius:8px; border:1px solid #202634; background:#0F172A; color:#F5F7FA; font-size:13px; outline:none; transition:border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }

.input-field input::placeholder { color:#4B5563; }

.input-field input:focus { border-color: #38BDF8; box-shadow:0 0 0 1px rgba(56,189,248,0.12); background:#0D1726; }

/* Input wrappers for prefixes/suffixes */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-wrapper.currency input {
    padding-left: 32px;
}

.input-wrapper.percent input {
    padding-right: 32px;
}

.prefix, .suffix {
    position: absolute;
    color: #9CA3AF;
    font-size: 13px;
    font-weight: 600;
    pointer-events: none;
    user-select: none;
}

.prefix {
    left: 12px;
}

.suffix {
    right: 12px;
}

.input-actions { display:flex; grid-column: 2; justify-self:end; align-self:center; padding:8px 0; margin-top: 12px; }

.auto-update-text { font-size: 12px; color: #F59E0B; font-style: italic; font-weight: 500; opacity: 0.9; }

.chart-row { margin-bottom:28px; }
.chart-grid-row { display:grid; grid-template-columns: 1fr 1fr; gap:24px; margin-bottom:28px; }
.chart-row.two-cols { display:grid; grid-template-columns: 2fr 1fr; gap:24px; }
.chart-card { background:#0D111C; padding:22px 22px 18px; border-radius:14px; box-shadow:0 14px 38px rgba(0,0,0,0.6); position:relative; overflow:hidden; }

.chart-row.two-cols .chart-card { width:100%; }
.chart-row.two-cols .chart-card:nth-child(2) { justify-self:start; }

/* ensure the card background covers the full grid block and grid lines extend to card edges */
.chart-row.two-cols .chart-card { overflow:visible; }
.chart-row.two-cols .chart-card::before { inset: -6px; }

@media (min-width:1000px) { .chart-row.two-cols .chart-card::before { background-image: radial-gradient(circle at 10% 10%, rgba(255,255,255,0.02), rgba(255,255,255,0) 22%), repeating-linear-gradient(rgba(255,255,255,0.03) 0 1px, transparent 1px 64px), repeating-linear-gradient(90deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 64px); } }
@media (max-width:900px) { .chart-row.two-cols .chart-card::before { background-image: radial-gradient(circle at 10% 10%, rgba(255,255,255,0.008), rgba(255,255,255,0) 18%), repeating-linear-gradient(rgba(255,255,255,0.012) 0 1px, transparent 1px 48px), repeating-linear-gradient(90deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 48px); } }

.chart-card h3 { margin:0 0 14px; font-size:16px; font-weight:500; }
.chart-card.full-width { width:100%; }
canvas { width:100% !important; height:340px !important; }
.chart-card canvas { height:420px !important; }
.chart-grid-row .chart-card canvas { height:340px !important; }
.chart-card .chartjs-render-monitor { display:block; }
.chart-card h3 + canvas { margin-top:6px; }
.chart-card .chart-legend { display:flex; justify-content:center; gap:12px; margin-top:8px; }

/* FOOTER - enhanced visual treatment */
.site-footer {
    background: #03050C;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 40px 0 24px;
    margin-top: 60px;
    font-size: 13px;
    color: #9AA6B6;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 28px;
    height: 28px;
    opacity: 0.9;
}

.footer-brand-name {
    font-size: 16px;
    font-weight: 700;
    color: #F5F7FA;
    letter-spacing: 0.02em;
}

.footer-desc {
    margin: 0;
    line-height: 1.5;
    color: #6B7280;
    font-size: 13px;
}

.footer-heading {
    margin: 0 0 12px 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #F5F7FA;
    font-weight: 700;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-col a {
    color: #9AA6B6;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 13px;
}

.footer-links-col a:hover {
    color: #38BDF8;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 32px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #4B5563;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-brand {
        margin: 0 auto;
        align-items: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ---------------------------------------------------
   RESPONSIVE
--------------------------------------------------- */

@media (max-width:1100px) {
    .intro-section { margin:0 auto 80px; }
    .intro-cards { grid-template-columns: repeat(2, 1fr); }
    .calculator-card, .calculator-section-heading { max-width:100%; padding:0 14px; }
}

@media (min-width:1401px) { .intro-section { max-width:1300px; } }

@media (max-width:900px) {
    .input-grid { grid-template-columns: repeat(2, 1fr); }
    .input-actions { grid-column: 1 / -1; justify-self:end; margin-top:4px; }
    .chart-row.two-cols, .chart-grid-row { grid-template-columns: 1fr; }
    .assistant-bubble { right:20px; transform:none; }
}

@media (max-width:500px) {
    .input-grid { grid-template-columns: 1fr; }
    .assistant-bubble { bottom:-20px; left:50%; transform:translateX(-50%); }
    .intro-cards { grid-template-columns: 1fr; gap:10px; }
}



/* small utility */
.hidden { display:none !important; }

/* smooth scroll for anchor nav */
html { scroll-behavior: smooth; }

/* FAQ styles */
.faq-section { margin: 0 auto 80px; max-width: 1400px; padding: 0 32px; }
.faq-section h2 { font-size: 20px; margin-bottom: 18px; color: #F5F7FA; }
.faq-item { background: linear-gradient(180deg, rgba(13,17,28,0.95), rgba(11,14,22,0.9)); border: 1px solid rgba(255,255,255,0.03); border-radius: 12px; margin-bottom: 14px; overflow: hidden; box-shadow: 0 12px 28px rgba(0,0,0,0.48); }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; cursor: pointer; background: transparent; border: none; width: 100%; text-align: left; color: #E6EEF6; font-weight: 700; font-size: 15px; }
.faq-question:focus { outline: 2px solid rgba(56,189,248,0.12); outline-offset: 2px; }
.faq-question .chev { transition: transform 220ms cubic-bezier(.08,.9,.33,1); color: #F59E0B; font-weight: 900; }
.faq-question[aria-expanded="true"] .chev { transform: rotate(90deg); }
.faq-answer { padding: 0 20px 18px 20px; color: #9AA6B6; font-size: 15px; line-height: 1.7; max-height: 0; overflow: hidden; transition: max-height 320ms cubic-bezier(.08,.9,.33,1), padding 220ms ease; }
.faq-answer.open { padding: 12px 20px 18px 20px; }

@media (max-width: 900px) {
    .faq-question { padding: 12px 14px; font-size: 13px; }
    .faq-answer { font-size: 13px; }
    .faq-section { padding: 0 16px; }
}

/* ensure focus-visible semantics (consistency with site nav) */
.faq-question:focus-visible { outline: 2px solid rgba(56,189,248,0.22); outline-offset: 2px; }

/* Education section styles */
.education-section { margin: 0 auto 80px; max-width: 1400px; padding: 0 32px; }
.education-card { background: linear-gradient(180deg,#0E1420 0%, #0B0F1B 100%); padding: 28px 32px; border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,0.56); border: 1px solid rgba(255,255,255,0.03); }
.education-card h2 { margin: 0 0 12px; font-size: 20px; color: #F5F7FA; font-weight: 700; }
.education-content { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; color: #9AA6B6; line-height: 1.7; align-items: start; }
.education-content p { margin: 0 0 12px 0; font-size: 15px; }

@media (max-width: 1200px) {
    .education-section { max-width: 1100px; }
}

@media (max-width: 900px) {
    .education-content { grid-template-columns: 1fr; }
    .education-card { padding: 18px; }
    .education-card h2 { font-size: 16px; }
}

/* small visual accent matching intro cards */
.education-card::before { content: ''; display:block; height:6px; width:80px; border-radius:6px; background: linear-gradient(90deg,#F59E0B,#FBBF24); margin-bottom:12px; box-shadow:0 6px 16px rgba(245,158,11,0.06); }
/* Charts section header */
.charts-section { margin: 0 auto 80px; max-width: 100%; padding: 0; }
.charts-section .section-header { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.charts-section .section-header-row { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.charts-section h2 { margin:0; font-size:20px; color:#F5F7FA; font-weight:800; }
.charts-section .section-sub { margin:0; color:#9AA6B6; font-size:13px; }
.charts-section .section-divider { height:1px; background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0)); margin-top:8px; border-radius:2px; }

@media (max-width:900px) {
    .charts-section { padding: 0; }
    .charts-section h2 { font-size:18px; }
}

/* Fade in/out on scroll */
.fade-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out;
    will-change: opacity;
}
.fade-scroll.in-view {
    opacity: 1;
}
.fade-scroll.out-view {
    opacity: 0;
}

/* make donut canvas square so Chart.js renders a perfect circle
   specific override for the donut chart to avoid global canvas height/width forcing an ellipse */
canvas#donutChart, canvas#donutChart2, canvas#barChart {
    width: 100% !important;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    height: auto !important;
    display: block;
    margin: 0 auto;       /* center horizontally */
}

@media (min-width: 1000px) {
    /* limit donut to a sensible max so it remains visually half the line chart when layout is wide */
    .chart-row.two-cols canvas#donutChart, .chart-row.two-cols canvas#donutChart2, .chart-row.two-cols canvas#barChart { max-width: 460px; }
}

@media (max-width: 900px) {
    .chart-row.two-cols canvas#donutChart, .chart-row.two-cols canvas#donutChart2, .chart-row.two-cols canvas#barChart { max-width: 320px; }
}

/* ensure full-width chart cards keep their background grid and layout consistent */
.chart-card.full-width { width:100%; }

/* Update donut sizing: make it half the width of the line chart card, centered, and always a perfect circle */
.donut-inner { display:flex; justify-content:center; align-items:center; padding:18px 0; }
.donut-inner canvas#donutChart, .donut-inner canvas#donutChart2, .donut-inner canvas#barChart {
    width: 50%;           /* half the card width */
    max-width: 520px;     /* allow larger but capped */
    aspect-ratio: 1 / 1;  /* enforce perfect circle */
    height: auto !important;
    display: block;
    margin: 0 auto;       /* center horizontally */
}

@media (max-width: 1200px) {
    .donut-inner canvas#donutChart, .donut-inner canvas#donutChart2, .donut-inner canvas#barChart { width: 48%; max-width: 420px; }
}
@media (max-width: 900px) {
    .donut-inner canvas#donutChart, .donut-inner canvas#donutChart2, .donut-inner canvas#barChart { width: 60%; max-width: 360px; }
}
@media (max-width: 520px) {
    .donut-inner canvas#donutChart, .donut-inner canvas#donutChart2, .donut-inner canvas#barChart { width: 92%; max-width: none; }
}

/* Donut row: two donuts side-by-side */
.donut-row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    justify-content: center;
}
.donut-card {
    background: transparent;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0; /* share available space equally */
    max-width: none; /* allow flex to control width */
    box-sizing: border-box;
}
.donut-card .donut-title, .donut-card h4.donut-title {
    margin: 0 0 8px 0;
    color: #F5F7FA;
    font-size: 14px;
    text-align: center;
}
.donut-card canvas {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1;
    height: auto !important;
    display: block;
    margin: 0 auto;
}

@media (max-width:900px) {
    .donut-row { flex-direction: column; }
    .donut-card { width: 100%; }
}

/* Ensure chart-card padding doesn't cause visual imbalance by centering content */
.chart-card.full-width {
    display: block;
}
.chart-card.full-width .donut-row {
    width: 100%;
}

/* reduce default canvas global forcing for donut cards specifically */
.chart-card .donut-card canvas { height: auto !important; }

/* ---------------------------------------------------
   RESULTS SUMMARY
--------------------------------------------------- */

.results-summary-container {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 16px;
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.results-heading {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #F5F7FA;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 8px;
}

.savings-banner {
    background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(245,158,11,0.05));
    border: 1px solid rgba(245,158,11,0.3);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.savings-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.savings-label {
    font-size: 10px;
    color: #FCD34D;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.savings-value {
    font-size: 18px;
    font-weight: 800;
    color: #F59E0B;
    text-shadow: 0 2px 10px rgba(245,158,11,0.2);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    flex: 1;
}

.comparison-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.col-title {
    margin: 0 0 4px 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9AA6B6;
    font-weight: 700;
    text-align: center;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.comparison-col.accelerated .col-title {
    color: #38BDF8;
    border-bottom-color: rgba(56,189,248,0.2);
}

.metric-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 6px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: background 0.2s ease;
}

.comparison-col.accelerated .metric-item {
    background: rgba(56,189,248,0.03);
    border-color: rgba(56,189,248,0.08);
}

.metric-label {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6B7280;
    font-weight: 600;
}

.comparison-col.accelerated .metric-label {
    color: #7DD3FC;
    opacity: 0.8;
}

.metric-value {
    font-size: 13px;
    font-weight: 700;
    color: #E5E7EB;
}

.metric-value.highlight {
    color: #38BDF8;
}

@media (max-width: 1100px) {
    .calculator-layout {
        grid-template-columns: 1fr;
    }
    .comparison-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    .savings-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* Consistent spacing for mobile */
@media (max-width: 900px) {
    .hero-section,
    .intro-section,
    .calculator-card,
    .charts-section,
    .education-section,
    .faq-section {
        margin-bottom: 48px !important;
    }
}
