/* ========== CSS VARIABLES ========== */
:root {
    --black: #0a0a0a;
    --charcoal: #1a1a1a;
    --dark-gray: #2a2a2a;
    --mid-gray: #555555;
    --soft-gray: #888888;
    --light-gray: #cccccc;
    --cream: #f9f8f6;
    --warm-white: #fefdfb;
    --white: #ffffff;
    --accent-red: #e53935;
    --accent-orange: #ff6b35;
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== SCROLL ELEMENTS ========== */
.scroll-element {
    will-change: transform, opacity;
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    background: transparent;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    background: rgba(249, 248, 246, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--mid-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--charcoal);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--charcoal);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    margin-left: 1rem;
}

.nav-links .nav-link-demo {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1001;
    width: 30px;
    height: 30px;
    position: relative;
}

.bar {
    width: 22px;
    height: 2px;
    background-color: var(--charcoal);
    position: absolute;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.bar:nth-child(1) {
    top: 8px;
}

.bar:nth-child(2) {
    top: 14px;
}

.bar:nth-child(3) {
    top: 20px;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--charcoal);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-ghost {
    background: transparent;
    color: var(--charcoal);
    padding: 0.85rem 0;
}

.btn-ghost svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-ghost:hover svg {
    transform: translateX(4px);
}

.btn-white {
    background: var(--white);
    color: var(--charcoal);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 4rem 4rem;
    position: relative;
    overflow: hidden;
    background: var(--cream);
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.02);
}

.bg-shape-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
}

.bg-shape-2 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: -100px;
}

.bg-shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 20%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero-content {
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--mid-gray);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

.loi-logo-small {
    height: 18px;
    width: auto;
}

.hero-title {
    font-size: clamp(2.75rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

.hero-title .accent {
    color: var(--soft-gray);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--charcoal), var(--mid-gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--mid-gray);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.demo-container {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 1.25rem;
    background: var(--cream);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.demo-dot:nth-child(1) { background: #ff5f57; }
.demo-dot:nth-child(2) { background: #febc2e; }
.demo-dot:nth-child(3) { background: #28c840; }

.demo-content {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video Controls Container */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demo-content:hover .video-controls,
.video-controls:focus-within,
.video-controls.visible {
    opacity: 1;
}

/* Play/Pause Button */
.play-pause-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.play-pause-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.play-pause-btn svg {
    width: 16px;
    height: 16px;
    color: var(--white);
}

.play-pause-btn .icon-play {
    display: none;
}

.play-pause-btn.paused .icon-pause {
    display: none;
}

.play-pause-btn.paused .icon-play {
    display: block;
}

/* Progress Bar */
.progress-container {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    transition: height 0.15s ease;
}

.progress-container:hover {
    height: 8px;
}

.progress-bar {
    height: 100%;
    background: var(--white);
    border-radius: 3px;
    width: 0%;
    pointer-events: none;
    transition: none;
}

.progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 14px;
    height: 14px;
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.15s ease;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.progress-container:hover .progress-handle,
.progress-container.dragging .progress-handle {
    transform: translate(-50%, -50%) scale(1);
}

/* Video Time Display */
.video-time {
    font-size: 12px;
    font-weight: 500;
    color: var(--white);
    min-width: 40px;
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    flex-shrink: 0;
}

/* Unmute Button - Now inside controls */
.unmute-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.unmute-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.unmute-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--white);
}

.unmute-btn .icon-unmuted {
    display: none;
}

.unmute-btn.unmuted .icon-muted {
    display: none;
}

.unmute-btn.unmuted .icon-unmuted {
    display: block;
}


/* ========== COMMENTED OUT: STATS SECTION STYLES ========== */
/* To restore: remove the comment markers wrapping the rules below */
/*
.stats-section {
    padding: 6rem 4rem;
    background: var(--white);
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: var(--cream);
    transform: translateY(-5px);
}

.stat-value {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--charcoal);
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--soft-gray);
    font-weight: 500;
}
*/
/* ========== END COMMENTED OUT: STATS SECTION STYLES ========== */

/* ========== REVENUE PROOF BAND ========== */
.proof-section {
    background: var(--cream);
    overflow: hidden;
}

.proof-top {
    text-align: center;
    max-width: 1000px;
    padding-top: 6rem;
    padding-bottom: 5rem;
}

.proof-kicker {
    margin-bottom: 1.75rem;
}

.proof-lead {
    font-size: clamp(1.2rem, 2.1vw, 1.6rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--mid-gray);
}

.proof-figure {
    font-size: clamp(3.25rem, 10vw, 7.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin: 0.4rem 0;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--mid-gray) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.proof-tail {
    font-size: clamp(1.2rem, 2.1vw, 1.6rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--charcoal);
}

.proof-ellipsis {
    color: var(--soft-gray);
}

.proof-em {
    position: relative;
    font-weight: 700;
    color: var(--charcoal);
    white-space: nowrap;
}

.proof-em::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.04em;
    height: 2px;
    background: var(--charcoal);
    opacity: 0.22;
}

.proof-builtfor {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.75rem;
    margin-top: 2.75rem;
}

.proof-builtfor-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--soft-gray);
}

.proof-audiences {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.6rem;
}

.proof-audience {
    position: relative;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--charcoal);
}

.proof-audience:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -0.85rem;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--light-gray);
    transform: translateY(-50%);
}

/* Charcoal foot — bridges the cream band into the dark problem section below */
.proof-foot {
    position: relative;
    background: var(--charcoal);
    padding: 3.5rem 0;
    text-align: center;
}

.proof-foot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 2.25rem;
    background: linear-gradient(var(--cream), rgba(255, 255, 255, 0.14));
    transform: translateX(-50%);
}

.proof-foot-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--soft-gray);
    margin-bottom: 2rem;
}

.proof-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 0;
}

.proof-logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2.25rem;
}

.proof-logo:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 1px;
    height: 1.1rem;
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-50%);
}

.proof-logo img {
    display: block;
    width: auto;
    height: 30px;
    max-width: 170px;
    object-fit: contain;
    /* Normalize every partner mark to a single uniform white */
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.proof-logo:hover img {
    opacity: 1;
}

/* Per-logo optical balancing (marks differ in weight, height & aspect) */
.proof-logo--collegepro img { height: 30px; }
.proof-logo--tbdc img { height: 26px; }
.proof-logo--vantec img { height: 39px; }
.proof-logo--loi img { height: 29px; }

/* ========== PROBLEM SECTION ========== */
.problem-section {
    padding: 8rem 4rem;
    background: var(--charcoal);
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--soft-gray);
    margin-bottom: 1.5rem;
}

.problem-title {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.problem-title .big-stat {
    display: block;
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

.problem-text {
    font-size: 1.1rem;
    color: var(--light-gray);
    line-height: 1.8;
}

.problem-visual {
    position: relative;
    height: 400px;
}

.floating-card {
    position: absolute;
    background: var(--dark-gray);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.25rem;
}

.floating-card::before {
    content: '';
    display: block;
    width: 60%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.floating-card::after {
    content: '';
    display: block;
    width: 80%;
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
}

.floating-card.card-1 { width: 140px; height: 180px; top: 0; left: 10%; }
.floating-card.card-2 { width: 120px; height: 160px; top: 15%; right: 5%; }
.floating-card.card-3 { width: 130px; height: 170px; top: 45%; left: 25%; }
.floating-card.card-4 { width: 110px; height: 150px; bottom: 10%; right: 20%; }
.floating-card.card-5 { width: 100px; height: 140px; bottom: 5%; left: 5%; }

.video-container {
    position: absolute;
    top: 50%;
    left: 38%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 300px;
    background: var(--dark-gray);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== RISK SECTION ========== */
.risk-section {
    padding: 6rem 4rem;
    background: var(--cream);
    overflow: hidden;
}

.risk-title {
    text-align: center;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    margin-bottom: 4rem;
    max-width: none;
    white-space: nowrap;
}

.risk-title .accent {
    color: var(--accent-red);
}

.risk-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.risk-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.risk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.risk-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.risk-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.risk-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

.risk-card p {
    font-size: 0.9rem;
    color: var(--mid-gray);
    line-height: 1.5;
}

/* ========== FEATURES SECTION ========== */
.features-section {
    padding: 8rem 4rem;
    background: var(--warm-white);
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.features-visual {
    position: relative;
}

.features-video-container {
    background: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.features-video-container video {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.features-content {
    padding-left: 2rem;
}

.features-title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

.features-list {
    list-style: none;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--charcoal);
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--charcoal);
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--mid-gray);
    line-height: 1.6;
}

/* ========== PROCESS SECTION ========== */
.process-section {
    padding: 8rem 4rem;
    background: var(--cream);
    overflow: hidden;
}

.process-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem;
}

.process-title {
    font-size: clamp(2.25rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.process-subtitle {
    font-size: 1.1rem;
    color: var(--mid-gray);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.step-visual {
    width: 200px;
    height: 140px;
    background: var(--cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    overflow: hidden;
}

.step-visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-number {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--soft-gray);
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.step-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

.step-description {
    font-size: 0.95rem;
    color: var(--mid-gray);
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto;
}

/* ========== TRADITIONAL SECTION ========== */
.traditional-section {
    padding: 8rem 4rem;
    background: var(--white);
    overflow: hidden;
}

.traditional-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.traditional-title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.traditional-subtitle {
    font-size: 1.05rem;
    color: var(--mid-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.traditional-features-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.traditional-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.traditional-feature-card {
    display: flex;
    gap: 1.5rem;
    background: var(--cream);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.traditional-feature-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.feature-video-thumb {
    width: 160px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--white);
}

.feature-video-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.feature-card-content p {
    font-size: 0.9rem;
    color: var(--mid-gray);
    line-height: 1.6;
}

/* ========== CALCULATOR SECTION ========== */
.calculator-section {
    padding: 8rem 4rem;
    background: var(--cream);
    overflow: hidden;
}

.calculator-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.calculator-title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--charcoal);
}

.calculator-container {
    max-width: 1000px;
    margin: 0 auto;
}

.calculator-widget {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.05);
}

.calc-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.input-group input {
    padding: 1rem 1.25rem;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--cream);
}

.input-group input:focus {
    outline: none;
    border-color: var(--charcoal);
    background: var(--white);
}

.calc-results-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.calc-result {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: var(--cream);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.calc-result:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.calc-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.calc-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.calc-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--mid-gray);
}

.calc-content h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mid-gray);
    margin: 0;
    line-height: 1.3;
}

.calc-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.calc-value.conservative {
    color: var(--accent-orange);
}

.calc-value.research {
    color: var(--accent-red);
}

.calc-formula {
    font-size: 0.75rem;
    color: var(--soft-gray);
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 8rem 4rem;
    background: var(--charcoal);
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.cta-bg-text {
    position: absolute;
    font-size: 25vw;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.02);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    white-space: nowrap;
}

.cta-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.demo-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.demo-benefits {
    list-style: none;
}

.demo-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--light-gray);
    font-size: 1rem;
}

.demo-benefits svg {
    width: 18px;
    height: 18px;
    stroke: #22c55e;
    flex-shrink: 0;
}

.cta-form {
    background: var(--dark-gray);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-form-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.demo-form-container input,
.demo-form-container select,
.demo-form-container textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    transition: all 0.3s ease;
}

.demo-form-container input::placeholder,
.demo-form-container textarea::placeholder {
    color: var(--soft-gray);
}

.demo-form-notes {
    resize: vertical;
    min-height: 3.25rem;
    line-height: 1.5;
}

.demo-form-container select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}

.demo-form-container select option {
    background: var(--dark-gray);
    color: var(--white);
}

.demo-form-container input:focus,
.demo-form-container select:focus,
.demo-form-container textarea:focus {
    outline: none;
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-demo {
    width: 100%;
    margin-top: 0.5rem;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-links-row {
    display: flex;
    gap: 4rem;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo-img {
    height: 40px;
    margin-bottom: 1.25rem;
}

.footer-brand p {
    color: var(--soft-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--soft-gray);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--mid-gray);
    font-size: 0.9rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        top: 14px;
        transform: rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        top: 14px;
        transform: rotate(-45deg);
    }
    
    .nav-links .nav-link-demo {
        display: block;
        margin-top: 0.5rem;
    }
    
    .nav-links .nav-link-demo a {
        display: block;
        text-align: center;
        color: var(--white) !important;
    }
    
    .nav-links .nav-link-demo a:hover {
        color: var(--white) !important;
    }
    
    .nav-links .nav-link-demo a::after {
        display: none;
    }
    
    .hero {
        padding: 6rem 2rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Video stays below content on mobile */
    .hero-visual {
        order: 1;
    }
    
    .hero-content {
        order: 0;
    }
    
    /* -- COMMENTED OUT: Stats Section Responsive (tablet) -- */
    /* To restore: remove the comment markers wrapping the rules below */
    /*
    .stats-section {
        padding: 4rem 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    */
    /* -- END COMMENTED OUT: Stats Section Responsive (tablet) -- */
    
    .proof-top {
        padding-top: 5rem;
        padding-bottom: 4rem;
    }

    .proof-foot {
        padding: 3rem 0;
    }

    .problem-section {
        padding: 5rem 2rem;
    }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .problem-visual {
        height: 300px;
    }
    
    .risk-section {
        padding: 5rem 2rem;
    }
    
    .risk-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-section {
        padding: 5rem 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Video stays below content on mobile */
    .features-visual {
        order: 1;
    }
    
    .features-content {
        order: 0;
        padding-left: 0;
    }
    
    .process-section {
        padding: 5rem 2rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .traditional-section {
        padding: 5rem 2rem;
    }
    
    .traditional-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .calculator-section {
        padding: 5rem 2rem;
    }
    
    .calc-input-row {
        grid-template-columns: 1fr;
    }
    
    .calc-results-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-section {
        padding: 5rem 2rem;
    }
    
    .cta-header {
        margin-bottom: 3rem;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .risk-title {
        white-space: normal;
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }
    
    .footer {
        padding: 3rem 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        max-width: none;
    }
    
    /* Quick Links and Resources stay side by side */
    .footer-links-row {
        justify-content: center;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(249, 248, 246, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        display: flex;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-cta .btn {
        text-align: center;
    }

    .proof-figure {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .proof-builtfor {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2.25rem;
    }

    .proof-audiences {
        flex-direction: column;
        gap: 0.65rem;
    }

    .proof-audience:not(:first-child)::before {
        display: none;
    }

    .proof-logos {
        flex-direction: column;
        gap: 1.35rem;
    }

    .proof-logo {
        padding: 0;
    }

    .proof-logo:not(:last-child)::after {
        display: none;
    }

    /* -- COMMENTED OUT: Stats Section Responsive (mobile) -- */
    /* To restore: remove the comment markers wrapping the rules below */
    /*
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 2.25rem;
    }
    */
    /* -- END COMMENTED OUT: Stats Section Responsive (mobile) -- */
    
    .risk-grid {
        grid-template-columns: 1fr;
    }
    
    .calc-results-row {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .traditional-feature-card {
        flex-direction: column;
    }
    
    .feature-video-thumb {
        width: 100%;
        height: 160px;
    }
    
    /* Footer: Quick Links and Resources side by side */
    .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-brand {
        width: 100%;
        max-width: 400px;
    }
    
    .footer-links-row {
        display: flex;
        justify-content: center;
        gap: 4rem;
    }
    
    .footer-links-row .footer-section {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 1.5rem 3rem;
    }

    .proof-top {
        padding-top: 4rem;
        padding-bottom: 3.5rem;
    }

    .proof-figure {
        font-size: clamp(2.5rem, 14vw, 4rem);
    }

    .proof-lead,
    .proof-tail {
        font-size: 1.1rem;
    }

    .proof-audience {
        font-size: 0.98rem;
    }

    .proof-logo span {
        font-size: 0.85rem;
        letter-spacing: 0.06em;
        white-space: normal;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .loi-logo-small {
        height: 14px;
    }
    
    .demo-container {
        border-radius: 12px;
    }
    
    .demo-header {
        padding: 0.75rem 1rem;
    }
    
    .demo-dot {
        width: 10px;
        height: 10px;
    }
    
    .problem-visual {
        display: none;
    }
    
    .step-visual {
        width: 100%;
        height: 120px;
    }
    
    .calculator-widget {
        padding: 1.5rem;
    }
    
    .cta-form {
        padding: 1.5rem;
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cream);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--charcoal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--charcoal), var(--mid-gray));
    z-index: 10001;
    transition: width 0.1s ease;
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--charcoal);
    color: var(--white);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    z-index: 10000;
    transform: translateX(calc(100% + 20px));
    transition: transform 0.3s ease;
    max-width: 380px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.notification.show {
    transform: translateX(0);
}

.notification-message {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    padding-top: 2px;
}

.notification-success {
    background: #22c55e;
}

.notification-error {
    background: var(--accent-red);
}

.notification-close {
    background: transparent;
    border: none;
    color: var(--white);
    width: 20px;
    height: 20px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    opacity: 1;
}

.notification-close svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
}
