/* ═══════════════════════════════════════════════
   BATTERY HEALTH CHECK — Modern / Tech-forward (V4)
   Design Direction: Black + Green accent
   Fonts: Outfit (headings) + Sora (body)
   ═══════════════════════════════════════════════ */

:root {
    --green: #22c55e;
    --green-dark: #16a34a;
    --green-glow: rgba(34, 197, 94, 0.25);
    --green-bg: rgba(34, 197, 94, 0.08);
    --black: #0a0a0a;
    --off-black: #111111;
    --dark-gray: #1a1a1a;
    --mid-gray: #2a2a2a;
    --text-gray: #a0a0a0;
    --white: #ffffff;
    --red: #ef4444;
    --red-bg: rgba(239, 68, 68, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Sora', sans-serif;
    --max-w: 1200px;
    --section-pad: clamp(4rem, 8vw, 7rem);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .stat-number, .money-line {
    font-family: var(--font-heading);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ═══════════════════════════════════════════════
   NOISE OVERLAY
   ═══════════════════════════════════════════════ */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px;
}

/* ═══════════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════════ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

.section-label {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--green);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.25rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 640px;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.7rem 1.6rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-primary {
    background: var(--green);
    color: var(--black);
}
.btn-primary:hover {
    background: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 10px 40px var(--green-glow);
}
.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--mid-gray);
}
.btn-ghost:hover {
    border-color: var(--green);
    color: var(--green);
}
.btn-large {
    padding: 1.1rem 3rem;
    font-size: 1.1rem;
    font-weight: 900;
}

/* ═══════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
    transition: padding 0.4s;
}
.nav.scrolled {
    padding: 0.8rem 2rem;
    border-bottom-color: rgba(34, 197, 94, 0.2);
}
.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* --- Brand group: logo + divider + AVILOO --- */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}
.nav-logo .logo-text .primary {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #22c55e, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.nav-brand-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 16px;
    flex-shrink: 0;
}
.nav-aviloo {
    display: flex;
    align-items: center;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.nav-aviloo:hover { opacity: 1; }
.nav-aviloo img {
    height: 38px;
    width: auto;
    display: block;
}

/* --- Hamburger (hidden on desktop) --- */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Nav actions (right side) --- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.nav-cta {
    background: var(--green);
    color: var(--black);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.7rem 1.6rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all 0.2s;
}
.nav-cta:hover {
    background: var(--white);
    transform: translateY(-1px);
}
.nav-cta--ghost {
    background: transparent;
    color: var(--text-gray);
    border: 1px solid var(--mid-gray);
}
.nav-cta--ghost:hover {
    background: transparent;
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-1px);
}
.nav-cta--green {
    color: var(--green);
    border-color: var(--green);
}

/* --- Nav menu (links + CTA) --- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
}

/* --- Nav link / dropdown trigger --- */
.nav-link {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-gray);
    padding: 0.6rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
    white-space: nowrap;
}
.nav-link:hover { color: var(--white); }
.nav-link svg { opacity: 0.4; transition: transform 0.2s, opacity 0.2s; }

/* --- Dropdown menu --- */
.nav-dropdown {
    position: relative;
}

/* Invisible bridge that keeps hover alive between trigger and menu */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 16px;
    pointer-events: none;
}
.nav-dropdown:hover::after,
.nav-dropdown.is-open::after {
    pointer-events: auto;
}

.nav-dropdown-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: calc(100% + 8px);
    left: -1rem;
    background: rgba(14, 14, 14, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    min-width: 280px;
    padding: 0.5rem;
    z-index: 1001;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
    pointer-events: none;
}

/* Show on hover with a slight delay before hiding */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0s;
    pointer-events: auto;
}
.nav-dropdown:hover .nav-link svg,
.nav-dropdown.is-open .nav-link svg {
    transform: rotate(180deg);
    opacity: 0.7;
}

.nav-dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    transition: background 0.15s;
}
.nav-dropdown-item:hover {
    background: rgba(34,197,94,0.06);
}
.nav-dropdown-item:hover .nav-dropdown-title {
    color: var(--green);
}
.nav-dropdown-title {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--white);
    margin-bottom: 0.15rem;
    transition: color 0.15s;
}
.nav-dropdown-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--text-gray);
    opacity: 0.7;
}

/* --- Mobile nav --- */
@media (max-width: 900px) {
    .nav { padding: 0.8rem 1rem; }
    .nav .container { position: relative; }
    .nav-brand-divider { margin: 0 10px; height: 24px; }
    .nav-aviloo img { height: 28px; }
    .nav-hamburger { display: flex; }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(6, 6, 6, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 6rem 2rem 3rem;
        gap: 0;
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-menu.open { display: flex; }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }

    .nav-dropdown { width: 100%; }
    .nav-link {
        font-size: 1.1rem;
        padding: 0.75rem 0;
        width: 100%;
        justify-content: space-between;
        color: var(--white);
    }

    .nav-dropdown-menu {
        display: none;
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        padding: 0 0 0.5rem 1rem;
        min-width: 0;
        margin-top: 0;
    }
    .nav-dropdown.active .nav-dropdown-menu { display: block; }
    .nav-dropdown.active .nav-link svg { transform: rotate(180deg); }
    .nav-dropdown-item { padding: 0.6rem 0; }
    .nav-dropdown-item:hover { background: transparent; }

    .nav-menu > .nav-cta {
        margin-top: 2rem;
        width: 100%;
        text-align: center;
        padding: 1rem;
        font-size: 1rem;
    }
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
/* Depth Zoom wrapper */
.hero-zoom-wrap { position: relative; }
.hero-zoom-spacer { height: 60vh; }

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: sticky;
    top: 0;
    overflow: hidden;
}
.hero-inner {
    will-change: transform, opacity;
    transform-origin: center 40%;
}
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.7; transform: translateX(-50%) scale(1.1); }
}
.hero-eyebrow {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--green);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    animation: fade-up 0.8s ease both;
}
.hero-stat {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(6rem, 18vw, 14rem);
    line-height: 0.9;
    color: var(--green);
    position: relative;
    z-index: 1;
    animation: fade-up 0.8s ease 0.1s both;
    text-shadow: 0 0 80px var(--green-glow);
}
.hero-headline {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.3rem, 3vw, 2.2rem);
    line-height: 1.3;
    max-width: 700px;
    margin: 1.5rem auto 0;
    position: relative;
    z-index: 1;
    animation: fade-up 0.8s ease 0.2s both;
}
.hero-sub {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
    animation: fade-up 0.8s ease 0.3s both;
}
.hero-sub strong { color: var(--white); }
.hero-cta {
    display: inline-block;
    margin-top: 2.5rem;
    position: relative;
    z-index: 1;
    animation: fade-up 0.8s ease 0.4s both;
}
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--green), transparent);
    animation: scroll-hint 2s ease infinite;
}
@keyframes scroll-hint {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════
   SPLIT SECTION (Problem / Opportunity)
   ═══════════════════════════════════════════════ */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    position: relative;
    z-index: 2;
    background: var(--black);
}
.split-line {
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    height: 2px;
    width: 0%;
    background: var(--green);
    box-shadow: 0 0 20px var(--green-glow), 0 0 40px rgba(34, 197, 94, 0.1);
    z-index: 10;
    pointer-events: none;
    opacity: 0;
}
.split-panel {
    padding: clamp(3rem, 6vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.split-problem {
    background: var(--off-black);
    border-right: 1px solid var(--mid-gray);
    position: relative;
    overflow: hidden;
}
.split-problem::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.06) 0%, transparent 60%);
    pointer-events: none;
}
.split-opportunity {
    background: var(--off-black);
    position: relative;
    overflow: hidden;
}
.split-opportunity::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(225deg, rgba(34, 197, 94, 0.06) 0%, transparent 60%);
    pointer-events: none;
}
.split-label {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}
.split-problem .split-label { color: var(--red); }
.split-opportunity .split-label { color: var(--green); }
.split-stat-item {
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}
.split-stat-num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}
.split-problem .split-stat-num { color: var(--red); }
.split-opportunity .split-stat-num { color: var(--green); }
.split-stat-text {
    font-size: 1rem;
    color: var(--text-gray);
    margin-top: 0.4rem;
    line-height: 1.4;
    max-width: 360px;
}

/* ═══════════════════════════════════════════════
   BIG NUMBERS
   ═══════════════════════════════════════════════ */
.big-numbers {
    padding: 6rem 2rem;
    background: var(--dark-gray);
    position: relative;
    overflow: hidden;
}
.big-numbers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
}
.big-numbers-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.big-num-item {
    padding: 2rem 1rem;
    position: relative;
}
.big-num-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--mid-gray);
}
.big-num-item:last-child::after { display: none; }
.big-num-value {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    color: var(--green);
    line-height: 1;
    text-shadow: 0 0 40px var(--green-glow);
}
.big-num-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.big-num-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--green);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.3rem 0.8rem;
    margin-top: 0.6rem;
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════ */
.how-it-works {
    padding: 7rem 2rem;
    background: var(--black);
    text-align: center;
}
.how-it-works .section-sub {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 4rem;
}
.steps-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 3.5rem;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--green), var(--green));
    opacity: 0.3;
}
.step {
    padding: 0 1.5rem;
    position: relative;
}
.step-num {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: var(--dark-gray);
    border: 2px solid var(--green);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--green);
    position: relative;
    z-index: 1;
}
.step-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.step-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════
   THE SCIENCE (head-to-head)
   ═══════════════════════════════════════════════ */
.science {
    padding: var(--section-pad) 2rem;
    background: var(--off-black);
    position: relative;
    overflow: hidden;
}
.science::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
}

/* Head-to-head comparison */
.science-h2h {
    display: flex;
    align-items: stretch;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}
.h2h-side {
    flex: 1;
    padding: 3rem 2.5rem;
    text-align: center;
}
.h2h-bad {
    background: rgba(239, 68, 68, 0.04);
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-right: none;
}
.h2h-good {
    background: rgba(34, 197, 94, 0.04);
    border: 1px solid rgba(34, 197, 94, 0.12);
    border-left: none;
}
.h2h-label {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}
.h2h-bad .h2h-label { color: var(--red); }
.h2h-good .h2h-label { color: var(--green); }
.h2h-stat {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.h2h-bad .h2h-stat {
    color: var(--red);
    text-shadow: 0 0 40px rgba(239, 68, 68, 0.3);
}
.h2h-good .h2h-stat {
    color: var(--green);
    text-shadow: 0 0 40px rgba(34, 197, 94, 0.3);
}
.h2h-caption {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.h2h-detail {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
}
.h2h-vs {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1rem;
    color: var(--text-gray);
    letter-spacing: 0.1em;
    background: var(--off-black);
    border: 1px solid var(--mid-gray);
    width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    align-self: center;
    z-index: 1;
}

/* Punchline */
.science-punchline {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.5;
}
.science-punchline strong {
    color: var(--red);
}

/* Badges */
.science-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.sci-badge {
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    padding: 0.6rem 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green);
}

/* Supporting copy */
.science-supporting {
    max-width: 700px;
    margin: 2.5rem auto 0;
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}
.science-supporting strong {
    color: var(--white);
    font-weight: 700;
}

/* Mobile: stack the h2h */
@media (max-width: 650px) {
    .science-h2h {
        flex-direction: column;
        align-items: stretch;
    }
    .h2h-bad { border-right: 1px solid rgba(239, 68, 68, 0.12); border-bottom: none; }
    .h2h-good { border-left: 1px solid rgba(34, 197, 94, 0.12); border-top: none; }
    .h2h-vs {
        width: 48px;
        height: 48px;
        margin: -24px auto;
        position: relative;
        z-index: 2;
    }
    .h2h-side { padding: 2.5rem 1.5rem; }
}

/* ═══════════════════════════════════════════════
   MONEY TALK (ROI calculator)
   ═══════════════════════════════════════════════ */
.money {
    padding: 7rem 2rem;
    background: var(--black);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.money-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.money-calculator {
    max-width: 700px;
    margin: 3rem auto 0;
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    padding: 3rem;
    position: relative;
    z-index: 1;
}
.money-line {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--mid-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.money-line:last-child { border-bottom: none; padding-bottom: 0; }
.money-line .label { color: var(--text-gray); text-align: left; }
.money-line .value { font-weight: 900; white-space: nowrap; margin-left: 2rem; }
.money-line.cost .value { color: var(--white); }
.money-line.revenue .value { color: var(--green); }
.money-line.roi {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--green);
    border-bottom: none;
}
.money-line.roi .value {
    color: var(--green);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    text-shadow: 0 0 30px var(--green-glow);
}
.money-note {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

/* ═══════════════════════════════════════════════
   COMPLIANCE
   ═══════════════════════════════════════════════ */
.compliance {
    padding: 7rem 2rem;
    background: var(--off-black);
    position: relative;
}
.compliance::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.compliance-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.compliance-headline {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 3rem;
}
.compliance-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}
.compliance-item {
    padding: 2rem;
    background: var(--dark-gray);
    border-left: 3px solid var(--red);
}
.compliance-item-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 0.6rem;
}
.compliance-item-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}
.compliance-kicker {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-gray);
    line-height: 1.5;
    max-width: 650px;
    margin: 0 auto;
    font-style: italic;
}
.compliance-kicker strong {
    color: var(--white);
    font-style: normal;
}

/* ═══════════════════════════════════════════════
   AVILOO ICON CARDS (Why AVILOO section)
   ═══════════════════════════════════════════════ */
.aviloo-icon {
    width: 160px;
    margin: 0 auto 1rem;
    filter: invert(1) hue-rotate(180deg) saturate(3) brightness(1.2);
    mix-blend-mode: screen;
}

/* ═══════════════════════════════════════════════
   SOCIAL PROOF
   ═══════════════════════════════════════════════ */
.proof {
    padding: 5rem 2rem;
    background: var(--black);
    text-align: center;
    border-top: 1px solid var(--mid-gray);
    border-bottom: 1px solid var(--mid-gray);
}
.proof-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}
.proof-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    opacity: 0.4;
}
.proof-logo-placeholder {
    width: 120px;
    height: 50px;
    background: var(--mid-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.7rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.aviloo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    padding: 0.8rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--white);
    letter-spacing: 0.05em;
}
.aviloo-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: dot-pulse 2s ease infinite;
}
@keyframes dot-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; box-shadow: 0 0 8px var(--green); }
}

/* ═══════════════════════════════════════════════
   CTA / FORM SECTION
   ═══════════════════════════════════════════════ */
.final-cta {
    padding: 7rem 2rem;
    background: var(--off-black);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.final-cta::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, var(--green-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.4;
}
.final-cta .section-title { margin-bottom: 3rem; }
.cta-form {
    max-width: 500px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    position: relative;
    z-index: 1;
}
.cta-form input,
.cta-form select {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}
.cta-form input::placeholder { color: var(--text-gray); }
.cta-form input:focus,
.cta-form select:focus { border-color: var(--green); }
.cta-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23a0a0a0'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
    color: var(--text-gray);
}
.cta-form select option {
    background: var(--dark-gray);
    color: var(--white);
}
.cta-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.cta-submit {
    width: 100%;
    padding: 1.1rem;
    background: var(--green);
    color: var(--black);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 0.5rem;
}
.cta-submit:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--green-glow);
}
.cta-note {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════
   MEGA FOOTER
   ═══════════════════════════════════════════════ */
.footer-mega {
    background: var(--black);
    position: relative;
    overflow: hidden;
}
.footer-mega::before {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.04) 0%, transparent 70%);
    pointer-events: none;
}
.footer-accent-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--green), #06b6d4, transparent);
    opacity: 0.6;
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
}

/* Footer grid — 4 columns */
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 0.9fr 1.2fr;
    gap: 2rem;
}

/* Brand column */
.footer-col-brand { padding-right: 1rem; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1.25rem;
}
.footer-logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1rem;
    line-height: 1.15;
    color: var(--white);
}
.footer-tagline {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.footer-aviloo-badge {
    display: inline-flex;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--mid-gray);
    background: rgba(255,255,255,0.02);
    transition: border-color 0.3s, background 0.3s;
}
.footer-aviloo-badge:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.04);
}
.footer-aviloo-badge a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    text-decoration: none;
}
.footer-aviloo-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-gray);
    font-weight: 600;
}

/* Column titles */
.footer-col-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}
.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--green);
}

/* Link lists */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a,
.footer-links span {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--green); }

/* Contact links with icons */
.footer-links-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}
.footer-links-contact svg {
    color: var(--green);
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.7;
}

/* Footer CTA button */
.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.6rem 1.4rem;
    background: var(--green);
    color: var(--black);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.footer-cta-btn:hover {
    background: #16a34a;
    transform: translateY(-1px);
}

/* Separator */
.footer-separator {
    height: 1px;
    background: var(--mid-gray);
    margin: 2.5rem 0;
    opacity: 0.5;
}

/* Stats ribbon */
.footer-stats {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.footer-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
}
.footer-stat-value {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--green);
    text-shadow: 0 0 20px var(--green-glow);
    line-height: 1;
}
.footer-stat-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-gray);
    font-weight: 600;
}

/* Legal bar */
.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.footer-legal-left {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.footer-legal-left span {
    font-size: 0.75rem;
    color: var(--text-gray);
    opacity: 0.7;
}
.footer-legal-entity {
    font-size: 0.7rem !important;
    opacity: 0.5 !important;
}
.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-legal-links a {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s, color 0.2s;
}
.footer-legal-links a:hover {
    opacity: 1;
    color: var(--green);
}

/* Disclaimer */
.footer-disclaimer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(42, 42, 42, 0.5);
    font-size: 0.65rem;
    color: var(--text-gray);
    opacity: 0.4;
    line-height: 1.6;
    max-width: 800px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Footer responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-col-brand { grid-column: 1 / -1; padding-right: 0; }
    .footer-stats { flex-wrap: wrap; }
    .footer-stat { min-width: 80px; }
}
@media (max-width: 600px) {
    .footer-inner { padding: 3rem 1.5rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    .footer-legal { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .footer-legal-links { gap: 1rem; }
}
/* Trust cards — Tested. Assured. Certified. */
.trust-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px solid var(--mid-gray);
    background: rgba(255,255,255,0.02);
    transition: border-color 0.3s, transform 0.3s;
}
.trust-card:hover {
    border-color: var(--green);
    transform: translateY(-4px);
}
.trust-card-icon {
    margin-bottom: 1.25rem;
}
.trust-card-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}
.trust-card-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}
.certified-banner {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}
.certified-banner-inner {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem 2.5rem;
    border: 1px solid rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.04);
}
.certified-banner-inner:hover {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.06);
}
.certified-banner-divider {
    width: 1px;
    height: 2.5rem;
    background: rgba(255,255,255,0.15);
}
@media (max-width: 768px) {
    .trust-card { padding: 1.5rem 1rem; }
    .certified-banner-inner { flex-direction: column; gap: 0.75rem; padding: 1.5rem; }
    .certified-banner-divider { width: 3rem; height: 1px; }
}

.footer-aviloo-badge {
    margin: 1.5rem auto;
    padding: 1.25rem 2rem;
    border: 1px solid var(--mid-gray);
    display: inline-flex;
    background: rgba(255,255,255,0.02);
}
.footer-aviloo-badge:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.04);
}

/* ═══════════════════════════════════════════════
   PAGE BODY (inner pages)
   ═══════════════════════════════════════════════ */
.page-body {
    color: var(--text-gray);
    line-height: 1.8;
    max-width: 800px;
}
.page-body h2, .page-body h3 {
    color: var(--white);
    margin: 2rem 0 1rem;
}
.page-body p { margin-bottom: 1rem; }
.page-body a { color: var(--green); }
.page-body a:hover { text-decoration: underline; }
.page-body a.btn,
.comparison-body a.btn { color: var(--black); }
.page-body a.btn:hover,
.comparison-body a.btn:hover { text-decoration: none; }
.page-body ul, .page-body ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}
.page-body li { margin-bottom: 0.5rem; }
.page-body strong { color: var(--white); }

/* Blog card (reused on blog listing) */
.blog-card {
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    padding: 2rem;
    text-decoration: none;
    display: block;
    transition: border-color 0.2s, transform 0.2s;
}
.blog-card:hover {
    border-color: var(--green);
    transform: translateY(-2px);
}
.blog-card .card-date {
    font-size: 0.75rem;
    color: var(--green);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}
.blog-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.blog-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Contact form (standalone page) */
.contact-form {
    max-width: 600px;
    display: grid;
    gap: 1rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-gray); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--green); }
.contact-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 0.4rem;
    letter-spacing: 0.03em;
}
.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23a0a0a0'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
    color: var(--text-gray);
}
.contact-form select option {
    background: var(--dark-gray);
    color: var(--white);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group { margin-bottom: 0; }

/* ═══════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; }
    .split-problem { border-right: none; border-bottom: 1px solid var(--mid-gray); }
    .big-numbers-grid { grid-template-columns: repeat(2, 1fr); }
    .big-num-item:nth-child(2)::after { display: none; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .steps-grid::before { display: none; }
    .science-badges { justify-content: center; }
    .compliance-items { grid-template-columns: 1fr; }
    .money-line { flex-direction: column; text-align: center; gap: 0.3rem; }
    .money-line .value { margin-left: 0; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .hero { padding: 7rem 1.5rem 4rem; }
    .split-panel { padding: 2.5rem 1.5rem; }
    .big-numbers-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .big-num-item { padding: 1.5rem 0.5rem; }
    .big-num-item::after { display: none; }
    .steps-grid { grid-template-columns: 1fr; }
    .money-calculator { padding: 2rem 1.5rem; }
    .cta-form-row { grid-template-columns: 1fr; }
    .proof-logos { gap: 1.5rem; }
}

/* ═══════════════════════════════════════════════
   VIDEO SECTION (contained card)
   ═══════════════════════════════════════════════ */
.video-section {
    padding: 6rem 2rem;
    background: var(--black);
}
.video-card {
    max-width: 900px;
    margin: 2rem auto 0;
    border: 1px solid var(--mid-gray);
    overflow: hidden;
    position: relative;
}
.video-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--green);
    z-index: 3;
}
.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255,255,255,0.8);
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: border-color 0.3s, background 0.3s, transform 0.3s;
}
.video-play-btn svg { margin-left: 4px; }
.video-play-btn:hover {
    border-color: var(--green);
    background: rgba(34, 197, 94, 0.15);
    transform: translate(-50%, -50%) scale(1.08);
}
.video-meta {
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--dark-gray);
    border-top: 1px solid var(--mid-gray);
}
.video-meta-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
}
.video-meta-duration {
    font-size: 0.75rem;
    color: var(--text-gray);
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════
   VIDEO MODAL
   ═══════════════════════════════════════════════ */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.video-modal.open {
    opacity: 1;
    pointer-events: all;
}
.video-modal-inner {
    width: 90vw;
    max-width: 1000px;
    position: relative;
}
.video-modal video {
    width: 100%;
    display: block;
    background: #000;
}
.video-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    border: 1px solid var(--mid-gray);
    background: var(--black);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
}
.video-modal-close:hover { border-color: var(--green); }

/* ═══════════════════════════════════════════════
   STEP IMAGES (How It Works)
   ═══════════════════════════════════════════════ */
.step-img {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid var(--mid-gray);
    margin-bottom: 1.5rem;
    position: relative;
}
.step-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0) 40%, rgba(10,10,10,0.6) 100%);
    pointer-events: none;
}
.step-img::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--green);
    z-index: 2;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.step:hover .step-img::before { transform: scaleX(1); }
.step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.step:hover .step-img img { transform: scale(1.05); }

/* ═══════════════════════════════════════════════
   CERTIFICATE GALLERY (horizontal scroll)
   ═══════════════════════════════════════════════ */
.cert-gallery {
    margin: 3rem -2rem 3rem;
    overflow: hidden;
}
.cert-gallery-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 2rem 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.cert-gallery-track::-webkit-scrollbar { display: none; }
.cert-gallery-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    border: 1px solid var(--mid-gray);
    overflow: hidden;
    transition: border-color 0.3s;
}
.cert-gallery-card:hover { border-color: rgba(34, 197, 94, 0.4); }
.cert-gallery-card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}
.cert-gallery-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0) 50%, rgba(10,10,10,0.5) 100%);
    pointer-events: none;
}
.cert-gallery-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.cert-gallery-card:hover .cert-gallery-card-img img { transform: scale(1.04); }
.cert-gallery-card-body {
    padding: 1.25rem;
    background: var(--dark-gray);
}
.cert-gallery-card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}
.cert-gallery-card-text {
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════
   FINAL CTA BACKGROUND IMAGE
   ═══════════════════════════════════════════════ */
.final-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.final-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.15) saturate(0.5);
}
.final-cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17,17,17,0.85) 0%, rgba(17,17,17,0.6) 50%, rgba(17,17,17,0.9) 100%);
}

/* Page hero image (inner pages) */
.page-hero-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    margin-top: 60px;
}
.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}
.page-hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.8) 100%);
}
.page-hero-image + section {
    padding-top: var(--section-pad) !important;
    margin-top: -80px;
    position: relative;
    z-index: 1;
}

/* Why AVILOO — icon cards */
.why-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mid-gray);
    background: var(--dark-gray);
}

@media (max-width: 768px) {
    .cert-gallery-card { flex: 0 0 260px; }
}

/* ═══════════════════════════════════════════════
   LOGO CAROUSEL
   ═══════════════════════════════════════════════ */
.logo-carousel {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.logo-carousel-track {
    display: flex;
    gap: 3rem;
    align-items: center;
    width: max-content;
    animation: carousel-scroll 40s linear infinite;
}
.logo-carousel-track img {
    height: 35px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%) brightness(2);
    transition: opacity 0.3s;
    flex-shrink: 0;
}
.logo-carousel-track img:hover { opacity: 0.8; }
@keyframes carousel-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════
   FAQ PAGE
   ═══════════════════════════════════════════════ */
.faq-section {
    padding: calc(var(--section-pad) + 4rem) 2rem var(--section-pad);
}
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}
.faq-sidebar {
    position: sticky;
    top: 6rem;
}
.faq-item {
    border-bottom: 1px solid var(--mid-gray);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-align: left;
    padding: 1.25rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--green); }
.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--green);
    flex-shrink: 0;
    transition: transform 0.3s;
}
.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: 1.25rem;
}
.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
}
.faq-answer p strong { color: var(--white); }
@media (max-width: 900px) {
    .faq-grid { grid-template-columns: 1fr; gap: 2rem; }
    .faq-sidebar { position: static; }
}

/* ═══════════════════════════════════════════════
   CALCULATOR PAGE
   ═══════════════════════════════════════════════ */
.calc-hero {
    padding: 8rem 2rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.calc-bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.calc-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.4;
}
.calc-main {
    padding: 0 2rem 6rem;
    position: relative;
    z-index: 1;
}
.calc-wrapper {
    max-width: 700px;
    margin: 0 auto;
}
.calc-step {
    animation: fade-up 0.5s ease both;
}
.calc-card {
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    padding: 2.5rem;
}
.calc-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--green);
}
.calc-card-header h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--white);
}
.calc-step-num {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: var(--black);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.calc-inputs {
    display: grid;
    gap: 1.5rem;
}
.calc-field label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.calc-field input {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--black);
    border: 1px solid var(--mid-gray);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.2s;
}
.calc-field input::placeholder { color: var(--text-gray); }
.calc-field input:focus { border-color: var(--green); }
.field-required {
    color: var(--green);
    font-weight: 700;
    margin-left: 0.15em;
}
.field-optional {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-gray);
    opacity: 0.6;
    margin-left: 0.4em;
    text-transform: lowercase;
    letter-spacing: 0.03em;
}
.calc-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 0.4rem;
}
.calc-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.calc-btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}
.calc-note {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-align: center;
}
.calc-error {
    color: var(--red);
    font-size: 0.85rem;
    text-align: center;
}

/* Results hero */
.calc-results-hero {
    text-align: center;
    padding: 3rem 0;
}
.calc-big-results {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}
.calc-result-card {
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    padding: 2rem 1.5rem;
    text-align: center;
}
.calc-result-card.accent {
    border-color: var(--green);
    position: relative;
    overflow: hidden;
}
.calc-result-card.accent::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--green-bg);
    pointer-events: none;
}
.calc-result-value {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: var(--green);
    line-height: 1;
    text-shadow: 0 0 30px var(--green-glow);
    position: relative;
}
.calc-result-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.8rem;
    font-weight: 600;
    position: relative;
}

/* Breakdown */
.calc-breakdown {
    display: grid;
    gap: 0;
}
.calc-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(42, 42, 42, 0.8);
    gap: 2rem;
}
.calc-line:last-child { border-bottom: none; }
.calc-line-label {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.4;
}
.calc-line-label .calc-hint { margin-top: 0.25rem; }
.calc-line-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--white);
    white-space: nowrap;
    text-align: right;
}
.calc-line-value.green { color: var(--green); }
.calc-line-value.red { color: var(--red); }
.calc-line.highlight {
    background: var(--black);
    margin: 0 -2.5rem;
    padding: 1rem 2.5rem;
    border-bottom: none;
}
.calc-line.green-line { border-top: 2px solid var(--green); }
.calc-line.roi-line {
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--green);
    border-bottom: none;
}
.calc-line.roi-line .calc-line-value {
    font-size: 1.8rem;
    text-shadow: 0 0 30px var(--green-glow);
}
.calc-note-box {
    background: var(--red-bg);
    border-left: 3px solid var(--red);
    padding: 1.2rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-top: 1rem;
}
.calc-note-box strong { color: var(--white); }

/* CTA */
.calc-cta-section {
    text-align: center;
    padding: 4rem 0;
    position: relative;
}
.calc-cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.3;
}

/* Scorecard */
.calc-scorecard {
    margin-top: 2rem;
}
.sc-question {
    margin-bottom: 1.5rem;
}
.sc-q-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 0.8rem;
}
.sc-options {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.sc-opt {
    padding: 0.6rem 1.2rem;
    background: var(--black);
    border: 1px solid var(--mid-gray);
    color: var(--text-gray);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.sc-opt:hover {
    border-color: var(--green);
    color: var(--green);
}
.sc-opt.selected {
    background: var(--green);
    color: var(--black);
    border-color: var(--green);
}
.sc-score-display {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
}
.sc-score-ring {
    width: 120px;
    height: 120px;
    position: relative;
    flex-shrink: 0;
}
.sc-score-ring svg { width: 100%; height: 100%; }
.sc-score-number {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2rem;
    color: var(--white);
}
.sc-persona {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.sc-persona-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}
.sc-action-box {
    background: var(--green-bg);
    border-left: 3px solid var(--green);
    padding: 1.2rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-top: 1.5rem;
}
.sc-action-box strong { color: var(--white); }

/* Pillar cards */
.calc-pillar {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    margin-bottom: 1rem;
    transition: border-color 0.3s;
}
.calc-pillar:hover { border-color: rgba(255,255,255,0.15); }
.calc-pillar-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    flex-shrink: 0;
}
.calc-pillar-content { flex: 1; }
.calc-pillar-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.calc-pillar-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.calc-pillar-desc strong { color: var(--white); }
.calc-pillar-stat {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.calc-pillar-num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 1;
}
.calc-pillar-num.green { color: var(--green); }
.calc-pillar-context {
    font-size: 0.85rem;
    color: var(--text-gray);
}
.calc-pillar-detail {
    font-size: 0.8rem;
    color: var(--text-gray);
    opacity: 0.7;
}

/* Total card */
.calc-total-card {
    margin-top: 2rem;
    background: var(--off-black);
    border: 2px solid var(--green);
    padding: 2rem;
}
.calc-total-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    text-align: center;
}
.calc-total-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-gray);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.calc-total-value {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--white);
    line-height: 1;
}
.calc-total-value.green {
    color: var(--green);
    text-shadow: 0 0 30px var(--green-glow);
}
.calc-total-sub {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 0.4rem;
}
.calc-total-item.accent {
    position: relative;
}
.calc-total-item.accent::before {
    content: '';
    position: absolute;
    inset: -2rem -1rem;
    background: var(--green-bg);
    pointer-events: none;
}

/* Calculator responsive */
@media (max-width: 900px) {
    .calc-big-results { grid-template-columns: 1fr; }
    .calc-field-row { grid-template-columns: 1fr; }
    .calc-total-row { grid-template-columns: 1fr; gap: 1.5rem; }
    .sc-score-display { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
    .calc-card { padding: 1.5rem; }
    .calc-line.highlight { margin: 0 -1.5rem; padding: 1rem 1.5rem; }
    .calc-pillar { flex-direction: column; gap: 1rem; padding: 1.5rem; }
    .calc-pillar-stat { flex-direction: column; gap: 0.25rem; }
    .sc-options { flex-direction: column; }
}

/* ═══════════════════════════════════════════════
   SCORECARD PAGE (standalone)
   ═══════════════════════════════════════════════ */
.sc-hero {
    padding: 8rem 2rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.sc-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.4;
}
.sc-main {
    padding: 0 2rem 6rem;
}
.sc-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

/* Progress bar */
.sc-progress {
    height: 3px;
    background: var(--mid-gray);
    margin-bottom: 0.5rem;
}
.sc-progress-bar {
    height: 100%;
    background: var(--green);
    width: 0;
    transition: width 0.4s ease;
}
.sc-progress-text {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-align: right;
    margin-bottom: 2rem;
    font-weight: 600;
}

/* Question cards */
.sc-q-card {
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    padding: 1.75rem 2rem;
    margin-bottom: 1rem;
    position: relative;
    transition: border-color 0.3s, opacity 0.3s;
}
.sc-q-card.answered {
    border-color: rgba(34, 197, 94, 0.3);
    opacity: 0.7;
}
.sc-q-card.answered:hover {
    opacity: 1;
}
.sc-q-num {
    position: absolute;
    top: 1.75rem;
    right: 2rem;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--mid-gray);
    line-height: 1;
    opacity: 0.4;
}
.sc-q-card .sc-q-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 1rem;
    padding-right: 2.5rem;
}
.sc-q-card .sc-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.sc-q-card .sc-opt {
    padding: 0.55rem 1.1rem;
    background: var(--black);
    border: 1px solid var(--mid-gray);
    color: var(--text-gray);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.sc-q-card .sc-opt:hover {
    border-color: var(--green);
    color: var(--green);
}
.sc-q-card .sc-opt.selected {
    background: var(--green);
    color: var(--black);
    border-color: var(--green);
}

/* Results header */
.sc-results-header {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 2rem 0 3rem;
}
.sc-score-ring-large {
    width: 160px;
    height: 160px;
    position: relative;
    flex-shrink: 0;
}
.sc-score-ring-large svg { width: 100%; height: 100%; }
.sc-score-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.sc-score-big {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--white);
    line-height: 1;
}
.sc-score-of {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 600;
}
.sc-persona-block { flex: 1; }
.sc-persona-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--green);
    color: var(--green);
    margin-bottom: 0.75rem;
}
.sc-persona-name {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}
.sc-persona-summary {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Breakdown bars */
.sc-breakdown {
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    padding: 2rem;
    margin-bottom: 2rem;
}
.sc-breakdown-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--green);
}
.sc-breakdown-row {
    display: grid;
    gap: 1.25rem;
}
.sc-breakdown-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem 1rem;
    align-items: center;
}
.sc-breakdown-bar-bg {
    height: 6px;
    background: var(--mid-gray);
    grid-column: 1 / -1;
    order: -1;
}
.sc-breakdown-bar {
    height: 100%;
    width: 0;
    background: var(--green);
    transition: width 1s ease;
}
.sc-breakdown-label {
    font-size: 0.85rem;
    color: var(--text-gray);
}
.sc-breakdown-score {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--white);
    text-align: right;
}

/* Action plan */
.sc-action-plan {
    margin-bottom: 2rem;
}
.sc-action-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}
.sc-action-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: var(--dark-gray);
    border: 1px solid var(--mid-gray);
    margin-bottom: 0.5rem;
    transition: border-color 0.2s;
}
.sc-action-item:hover {
    border-color: rgba(255,255,255,0.1);
}
.sc-action-num {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: var(--black);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.sc-action-item strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}
.sc-action-item p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin: 0;
}

/* Results CTA */
.sc-results-cta {
    text-align: center;
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--mid-gray);
    margin-top: 1rem;
}
.sc-results-cta h3 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Scorecard responsive */
@media (max-width: 600px) {
    .sc-results-header { flex-direction: column; text-align: center; gap: 1.5rem; }
    .sc-score-ring-large { width: 130px; height: 130px; }
    .sc-q-card { padding: 1.25rem 1.5rem; }
    .sc-q-num { top: 1.25rem; right: 1.5rem; }
    .sc-q-card .sc-options { flex-direction: column; }
    .sc-action-item { flex-direction: column; gap: 0.75rem; padding: 1rem 1.25rem; }
    .sc-breakdown { padding: 1.5rem; }
}

/* ═══════════════════════════════════════════════
   COMPARISON PAGES
   ═══════════════════════════════════════════════ */
.cmp-hero {
    padding: var(--section-pad) 0;
    padding-top: calc(var(--section-pad) + 5rem);
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(34, 197, 94, 0.06) 0%, transparent 70%),
        linear-gradient(180deg, rgba(34, 197, 94, 0.03) 0%, transparent 60%);
    border-bottom: 1px solid var(--mid-gray);
}
.cmp-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin-top: 1rem;
    line-height: 1.7;
}
.cmp-body-section {
    padding: 0 0 var(--section-pad) 0;
}

/* ── Comparison body — wider than generic page-body ── */
.comparison-body {
    max-width: 960px;
}
.comparison-body h2 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--white);
    margin: 3.5rem 0 1.25rem;
    padding-top: 2rem;
    border-top: 1px solid var(--mid-gray);
}
.comparison-body h2:first-child {
    border-top: none;
    padding-top: 2.5rem;
    margin-top: 0;
}
.comparison-body h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--white);
    margin: 2rem 0 0.75rem;
}
.comparison-body hr {
    border: none;
    height: 1px;
    background: var(--mid-gray);
    margin: 2.5rem 0;
}

/* ── Tables (comparison + page-body) ── */
.page-body table,
.comparison-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    font-size: 0.9rem;
    line-height: 1.5;
}
.page-body thead,
.comparison-body thead {
    position: sticky;
    top: 0;
}
.page-body th,
.comparison-body th {
    background: var(--dark-gray);
    color: var(--green);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.9rem 1rem;
    text-align: left;
    border-bottom: 2px solid var(--green);
    white-space: nowrap;
}
.page-body th:first-child,
.comparison-body th:first-child {
    color: var(--text-gray);
}
.page-body td,
.comparison-body td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--mid-gray);
    color: var(--text-gray);
    vertical-align: top;
}
.page-body tr:last-child td,
.comparison-body tr:last-child td {
    border-bottom: none;
}
.page-body td:first-child,
.comparison-body td:first-child {
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}
.page-body tr:hover td,
.comparison-body tr:hover td {
    background: rgba(34, 197, 94, 0.03);
}
.page-body td strong,
.comparison-body td strong {
    color: var(--white);
    font-weight: 600;
}

/* Highlight AVILOO column (2nd column in vs tables, varies in full table) */
.comparison-body td:nth-child(2) {
    color: var(--white);
}

/* ── Responsive table wrapper (JS-injected) ── */
.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0 2rem;
    border: 1px solid var(--mid-gray);
}
.table-wrap table {
    margin: 0;
}

/* ── Comparison links list (index page) ── */
.comparison-body ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}
.comparison-body ul li {
    margin-bottom: 0;
}
.comparison-body ul li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.25rem;
    border: 1px solid var(--mid-gray);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
    margin-bottom: -1px;
}
.comparison-body ul li a:hover {
    border-color: var(--green);
    background: rgba(34, 197, 94, 0.04);
    transform: translateX(4px);
    text-decoration: none;
}
.comparison-body ul li a::before {
    content: '→';
    color: var(--green);
    font-weight: 700;
    flex-shrink: 0;
}
.comparison-body ul li strong {
    color: var(--white);
}

/* ── CTA button in body ── */
.comparison-body .btn-primary {
    display: inline-block;
    margin-top: 1rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .page-body th,
    .comparison-body th {
        font-size: 0.75rem;
        padding: 0.7rem 0.75rem;
    }
    .page-body td,
    .comparison-body td {
        font-size: 0.82rem;
        padding: 0.65rem 0.75rem;
    }
    .comparison-body h2 {
        font-size: 1.3rem;
    }
    .cmp-subtitle {
        font-size: 1rem;
    }
}
@media (max-width: 480px) {
    .comparison-body ul li a {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }
}
