:root {
    --bg-color: #fcf8f5; 
    --surface-color: #ffffff;
    --text-primary: #1a1511;
    --text-secondary: #5e5955;
    --primary-color: #ea6d13;
    --secondary-color: #ff9040;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(234, 109, 19, 0.2);
    --shadow-soft: 0 20px 50px rgba(234, 109, 19, 0.08);
    --surface-border: rgba(0, 0, 0, 0.05);
    --font-body: 'Outfit', sans-serif;
}

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

html, body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

#particles-js {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

.orb-1 {
    top: 10%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(234, 109, 19, 0.07) 0%, rgba(255,255,255,0) 60%);
    animation: float 15s ease-in-out infinite;
}

.orb-2 {
    bottom: -10%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 144, 64, 0.05) 0%, rgba(255,255,255,0) 60%);
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -50px) scale(1.05); }
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Top Header - Updated to match scope-of-work-landing */
.site-header {
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .site-header {
        padding: 16px 5%;
        min-height: 70px;
    }
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.brand-logo {
    width: auto;
    height: 40px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .brand-logo {
        height: 32px;
    }
}

button {
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    font-weight: 600;
    border: none;
    outline: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 32px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 15px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.button-primary {
    color: #fff;
    background: linear-gradient(135deg, #ea6d13 0%, #ff8c42 100%);
    box-shadow: 0 4px 16px rgba(234, 109, 19, 0.25);
}

.button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(234, 109, 19, 0.35);
}

@media (max-width: 768px) {
    .button {
        min-height: 45px;
        padding: 0 24px;
        font-size: 13px;
    }
}

/* CTA Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 60px;
    padding: 0 48px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 18px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #ea6d13 0%, #ff8c42 100%);
    box-shadow: 0 8px 24px rgba(234, 109, 19, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(234, 109, 19, 0.4);
}

.btn-primary.large {
    min-height: 64px;
    padding: 0 56px;
    font-size: 19px;
}

@media (max-width: 768px) {
    .btn-primary {
        min-height: 56px;
        padding: 0 40px;
        font-size: 16px;
        width: 100%;
        max-width: 400px;
    }
    
    .btn-primary.large {
        min-height: 60px;
        padding: 0 48px;
        font-size: 17px;
    }
}



.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* Hero Section */
.hero-split {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 40px 40px;
    position: relative;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: var(--shadow-soft);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: quickPulse 1.5s infinite;
}

.pulse-dot.red { background: #ef4444; animation: redPulse 1.5s infinite; }

@keyframes quickPulse {
    0% { box-shadow: 0 0 0 0 rgba(234, 109, 19, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(234, 109, 19, 0); }
    100% { box-shadow: 0 0 0 0 rgba(234, 109, 19, 0); }
}

@keyframes redPulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.feature-ticks { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; width: 100%; }

.tick-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid var(--surface-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s, border-color 0.3s;
}

.tick-item:hover { transform: translateX(10px); border-color: rgba(234, 109, 19, 0.3); }

.tick-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(234, 109, 19, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tick-icon svg { width: 18px; height: 18px; }

.typewriter-text { font-size: 1.1rem; font-weight: 500; color: var(--text-primary); }

.cta-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 10px;
    padding-right: 14px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-width: 480px;
}

.email-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 20px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    background: transparent;
    color: var(--text-primary);
}

.email-input::placeholder { color: #999; }

.hero-visual { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }

/* Hero Interactive Animation UI v2.0 */
.ai-scanner-window {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--surface-border);
    box-shadow: 0 30px 70px rgba(0,0,0,0.1), 0 6px 20px rgba(234,109,19,0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-height: 420px;
    margin: 0 auto;
}
.window-header {
    background: #111;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 14px 20px;
    display: flex; gap: 8px; align-items: center;
    z-index: 20;
}
.window-header .dot { width: 12px; height: 12px; border-radius: 50%; }
.window-header .dot.red { background: #ff5f56; }
.window-header .dot.yellow { background: #ffbd2e; }
.window-header .dot.green { background: #27c93f; }
.window-title { font-size: 0.72rem; color: rgba(255,255,255,0.5); font-weight: 700; letter-spacing: 2px; flex: 1; text-align: center; text-transform: uppercase; font-family: 'Outfit', sans-serif; }

.workspace-area {
    display: flex;
    flex: 1;
    background: #f8fafc;
}
.doc-panel {
    flex: 1.3;
    border-right: 1px solid var(--surface-border);
    position: relative;
    background: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.panel-label {
    font-size: 0.68rem; font-weight: 800; color: #94a3b8; letter-spacing: 2px; margin-bottom: 14px; text-transform: uppercase;
}

.bp-content {
    flex: 1;
    position: relative;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 15px 15px;
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    overflow: hidden;
}

.blueprint-svg {
    width: 100%; height: 100%;
}

.ai-scan-bar {
    position: absolute; top: 0; left: 0; right: 0; height: 150px;
    background: linear-gradient(to bottom, transparent, rgba(234, 109, 19, 0.1) 95%, var(--primary-color) 100%);
    animation: scannerSweep 10s linear infinite;
    pointer-events: none;
    z-index: 10;
}
@keyframes scannerSweep {
    0% { transform: translateY(-150px); opacity: 0; }
    5% { opacity: 1; }
    50% { transform: translateY(300px); opacity: 1; }
    55%, 100% { transform: translateY(300px); opacity: 0; }
}

.insights-panel {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #fdfdfd;
}

.insight-card {
    background: white;
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    opacity: 0;
    transform: translateX(20px);
}

.insight-card .card-icon {
    width: 38px; height: 38px; border-radius: 10px; background: rgba(234, 109, 19, 0.1); 
    display: flex; align-items: center; justify-content: center; color: var(--primary-color);
    flex-shrink: 0;
}
.insight-card.warn .card-icon {
    background: rgba(239, 68, 68, 0.1); color: #ef4444;
}

.card-info { display: flex; flex-direction: column; gap: 3px;}
.card-info strong { font-size: 0.9rem; color: var(--text-primary); font-weight: 700; }
.card-info span { font-size: 0.72rem; color: var(--text-secondary); white-space: nowrap; }

/* SEQUENTIAL BUILD-UP ANIMATION — Scan runs alongside 1→ 2→ 3→ ALL VANISH → repeat */
/* Total cycle: 10s */
.insight-card { animation-fill-mode: both; }

.insight-card.card-1 {
    animation: buildCard1 10s infinite;
}
@keyframes buildCard1 {
    0%, 8% { opacity: 0; transform: translateX(18px); }
    10%, 85% { opacity: 1; transform: translateX(0); }
    88%, 100% { opacity: 0; transform: translateX(-8px); }
}

.insight-card.card-2 {
    animation: buildCard2 10s infinite;
}
@keyframes buildCard2 {
    0%, 23% { opacity: 0; transform: translateX(18px); }
    25%, 85% { opacity: 1; transform: translateX(0); }
    88%, 100% { opacity: 0; transform: translateX(-8px); }
}

.insight-card.card-3 {
    animation: buildCard3 10s infinite;
}
@keyframes buildCard3 {
    0%, 38% { opacity: 0; transform: translateX(18px); }
    40%, 85% { opacity: 1; transform: translateX(0); }
    88%, 100% { opacity: 0; transform: translateX(-8px); }
}

/* REALITY SECTION */
.reality-section {
    padding: 60px 20px;
    background: linear-gradient(to bottom, var(--bg-color), #ffffff);
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.25;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.text-muted { color: var(--text-secondary); font-weight: 500; }

.integrated-process {
    position: relative;
    max-width: 900px;
    margin: 0 auto 40px;
    padding-top: 40px;
}

.process-track-line {
    position: absolute;
    top: 100px;
    left: 15%;
    right: 15%;
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    z-index: 1;
}

.process-track-fill {
    position: absolute;
    top: 0; left: 0; height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #ef4444);
    width: 100%;
    transform-origin: left;
    animation: trackFill 6s infinite ease-in-out;
    box-shadow: 0 0 15px rgba(234, 109, 19, 0.5);
    border-radius: 2px;
}

@keyframes trackFill {
    0% { transform: scaleX(0); opacity: 1; }
    90% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(1); opacity: 0; }
}

.process-cards {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.p-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
}

.p-visual {
    width: 120px;
    height: 120px;
    background: rgba(10, 10, 10, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.p-text h3 {
    color: white; font-family: 'Outfit', sans-serif; font-size: 1.3rem; margin-bottom: 8px;
}
.p-text p {
    color: var(--text-secondary); font-size: 0.9rem; line-height: 1.4; margin: 0;
}

/* Sequencing 6s loop */

/* Step 1 */
.step-1 .p-visual { animation: activateStep1 6s infinite; }
.step-1 .sheet { position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 4px; animation: sequencedStack 6s infinite; }
.step-1 .stack-animation { position: relative; width: 60px; height: 60px; }
.step-1 .sheet-1 { z-index: 3; animation-delay: 0s; }
.step-1 .sheet-2 { z-index: 2; transform: translateY(-10px) scale(0.9); background: rgba(255,255,255,0.08); animation-delay: 0.1s;}
.step-1 .sheet-3 { z-index: 1; transform: translateY(-20px) scale(0.8); background: rgba(255,255,255,0.05); animation-delay: 0.2s;}

@keyframes activateStep1 {
    0%, 33% { border-color: rgba(234, 109, 19, 0.8); box-shadow: 0 0 30px rgba(234, 109, 19, 0.3); transform: scale(1.05); }
    34%, 100% { border-color: rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.5); transform: scale(1); }
}
@keyframes sequencedStack {
    0%, 15% { transform: translateY(-30px); opacity: 0; }
    20%, 33% { transform: translateY(0); opacity: 1; border-color: var(--primary-color);}
    34%, 100% { transform: translateY(0); opacity: 0.3; } 
}

/* Step 2 */
.step-2 .p-visual { animation: activateStep2 6s infinite; }
.step-2 .scan-animation { position: relative; width: 80px; height: 60px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.step-2 .s-line { height: 4px; background: rgba(255,255,255,0.2); border-radius: 2px; width: 100%; margin-bottom: 6px; }
.step-2 .s-line.short { width: 60%; }
.step-2 .magnifier { position: absolute; top: -5px; left: -10px; width: 24px; height: 24px; border: 2px solid var(--primary-color); border-radius: 50%; background: rgba(234, 109, 19, 0.1); box-shadow: 0 0 10px rgba(234, 109, 19, 0.5); animation: sequencedScan 6s infinite linear; opacity: 0; }
.step-2 .magnifier::after { content: ''; position: absolute; bottom: -6px; right: -6px; width: 8px; height: 2px; background: var(--primary-color); transform: rotate(45deg); }

@keyframes activateStep2 {
    0%, 32% { border-color: rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.5); transform: scale(1); }
    33%, 66% { border-color: rgba(234, 109, 19, 0.8); box-shadow: 0 0 30px rgba(234, 109, 19, 0.3); transform: scale(1.05); }
    67%, 100% { border-color: rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.5); transform: scale(1); }
}
@keyframes sequencedScan {
    0%, 32% { opacity: 0; transform: translateX(0); }
    33% { opacity: 1; transform: translateX(0) translateY(0); border-color: var(--primary-color);}
    45% { opacity: 1; transform: translateX(50px) translateY(0); }
    55% { opacity: 1; transform: translateX(50px) translateY(30px); }
    66% { opacity: 1; transform: translateX(0) translateY(30px); border-color: #ef4444; background: rgba(239, 68, 68, 0.2); }
    67%, 100% { opacity: 0; transform: translateX(0); }
}

/* Step 3 */
.step-3 .p-visual { animation: activateStep3 6s infinite; }
.step-3 .correlate-animation { position: relative; width: 100px; height: 60px; display: flex; justify-content: space-between; align-items: center; }
.step-3 .c-node { background: rgba(255,255,255,0.1); padding: 4px 8px; border-radius: 4px; font-size: 0.6rem; color: #cbd5e1; border: 1px solid rgba(255,255,255,0.2); z-index: 2; font-family: 'Outfit', sans-serif;}
.step-3 .missing-link { position: absolute; top: 50%; left: 30%; right: 30%; height: 2px; background: repeating-linear-gradient(90deg, #ef4444 0, #ef4444 4px, transparent 4px, transparent 8px); animation: sequencedError 6s infinite; opacity: 0; z-index: 1;}

@keyframes activateStep3 {
    0%, 65% { border-color: rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.5); transform: scale(1); }
    66%, 95% { border-color: #ef4444; box-shadow: 0 0 30px rgba(239, 68, 68, 0.3); transform: scale(1.05); }
    96%, 100% { border-color: rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.5); transform: scale(1); }
}
@keyframes sequencedError {
    0%, 65% { opacity: 0.1; box-shadow: none; }
    66%, 80% { opacity: 1; box-shadow: 0 0 10px #ef4444; }
    81%, 95% { opacity: 0; }
    96%, 100% { opacity: 0.1; }
}

.reality-summary { max-width: 800px; text-align: center; }

.summary-text { font-size: 1.5rem; color: var(--text-secondary); margin-bottom: 32px; line-height: 1.6; }

.scattered-text {
    color: #ef4444;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding: 0 5px;
}

.scattered-text::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; width: 100%; height: 3px;
    background: #ef4444;
    border-radius: 2px;
    transform: rotate(-2deg);
}

.alert-box {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: #fff5f5;
    border: 1px solid #fecaca;
    padding: 12px 32px;
    border-radius: 16px;
    color: #991b1b;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.1);
}

.alert-icon { color: #ef4444; }
.alert-icon svg { width: 32px; height: 32px; }
.alert-box p { font-size: 1.3rem; text-align: left; margin: 0; line-height: 1.4; }

/* WHY IT BREAKS SECTION v2.0 */
.breaks-section {
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

/* PIPELINE DESIGN (FRESH APPROACH) */
.pipeline-container {
    padding: 80px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    max-width: 1200px;
    margin: 40px auto 0;
}

.v2-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.v2-header h3 {
    font-size: 1.4rem;
    color: #1e293b;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.v2-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.v2-list li {
    font-size: 1rem;
    color: #475569;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.v2-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    flex-shrink: 0;
}

/* PIPELINE DESIGN (FRESH APPROACH) */
.pipeline-container {
    padding: 60px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

/* DRAFTING BOARD (HORIZONTAL BLUEPRINT FLOW) */
.blueprint-horizontal-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 0;
    position: relative;
    gap: 40px;
}

.dimension-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #cbd5e1;
    z-index: 0;
}

.dimension-line::before, .dimension-line::after {
    content: '';
    position: absolute;
    top: -10px;
    width: 1px;
    height: 20px;
    background: #cbd5e1;
}
.dimension-line::after { right: 0; }

.blueprint-phase {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 30px;
    border-radius: 12px;
    z-index: 10;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.blueprint-phase:hover {
    transform: translateY(-5px);
    border-color: #ea6d13;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.phase-visual {
    height: 140px;
    width: 100%;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    border: 1px solid #f1f5f9;
}

.phase-info h3 {
    font-size: 1.25rem;
    color: #1e293b;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: center;
}

.phase-info p {
    font-size: 0.9rem;
    color: #64748b;
    text-align: center;
    line-height: 1.5;
}

/* 1. Sheet Stack Visual */
.bp-stack { position: relative; width: 60px; height: 80px; }
.bp-sheet {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: white; border: 1.5px solid #cbd5e1; border-radius: 2px;
}
.bp-sheet:nth-child(2) { transform: translate(-5px, -5px); opacity: 0.6; }
.bp-sheet:nth-child(3) { transform: translate(-10px, -10px); opacity: 0.3; }
.bp-alert {
    position: absolute; bottom: -10px; right: -25px;
    background: #ea6d13; color: white; padding: 2px 8px;
    border-radius: 4px; font-size: 0.7rem; font-weight: 800;
    animation: bounceAlert 2s infinite;
}

/* 2. Trade Clash Visual */
.trade-clash { position: relative; width: 120px; height: 120px; }
.t-line {
    position: absolute; padding: 4px 8px; font-size: 0.6rem; font-weight: 800; border-radius: 4px; border-width: 2px; border-style: solid;
}
.duct { top: 45%; left: 0; width: 100%; border-color: #3b82f6; color: #3b82f6; background: rgba(59, 130, 246, 0.05); }
.beam { top: 10%; left: 45%; height: 80%; width: 20px; border-color: #94a3b8; color: #94a3b8; background: rgba(148, 163, 184, 0.05); display: flex; align-items: center; justify-content: center; transform: rotate(0); }
.t-clash {
    position: absolute; top: 40%; left: 40%; width: 30px; height: 30px;
    background: #ea6d13; border: 3px solid white; border-radius: 50%;
    color: white; font-weight: 900; display: flex; align-items: center; justify-content: center;
    animation: clashPulse 1s infinite alternate;
}

/* 3. Site Impact Visual */
.site-impact { position: relative; width: 120px; height: 100px; }
.building-frame {
    width: 60px; height: 60px; border-left: 3px solid #e2e8f0; border-bottom: 3px solid #e2e8f0;
    position: relative;
}
.redline-marker {
    position: absolute; top: 10px; left: 10px; width: 30px; height: 30px;
    border: 2px solid #ef4444; border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    animation: blinkRed 1s infinite;
}
.dollar-leak {
    position: absolute; bottom: 0; right: 0; font-size: 1.5rem; font-weight: 800; color: #ea6d13;
    animation: leakDown 2s infinite;
}

@keyframes leakDown { 0% { opacity: 0; transform: translateY(-20px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(20px); } }
@keyframes blinkRed { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.3; transform: scale(1.2); } }

/* AEC STORYBOARD (HORIZONTAL NARRATIVE) */
.aec-storyboard {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 0;
    gap: 30px;
    width: 100%;
}

.aec-frame {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.frame-illustration {
    height: 180px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
}

.blueprint-grid { background: #eff6ff; background-image: radial-gradient(#3b82f644 1px, transparent 1px); background-size: 20px 20px; }
.grid-slate { background: #f8fafc; background-image: linear-gradient(#e2e8f0 1px, transparent 1px), linear-gradient(90deg, #e2e8f0 1px, transparent 1px); background-size: 20px 20px; }
.site-orange { background: #fff7ed; }

.frame-text h3 {
    font-size: 1.4rem;
    color: #1e293b;
    font-weight: 800;
    margin-bottom: 12px;
}

.frame-text p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
}

/* 1. Blueprint Stack Visual */
.blueprint-stack-visual { position: relative; width: 60px; height: 80px; }
.bp-layer {
    position: absolute; width: 100%; height: 100%;
    background: #ffffff; border: 1.5px solid #3b82f6; border-radius: 4px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-family: 'Outfit', sans-serif; font-size: 0.6rem; font-weight: 800; color: #3b82f6;
}
.bp-1 { z-index: 10; transform: translate(0, 0); box-shadow: 4px 4px 0 rgba(59,130,246,0.1); }
.bp-2 { z-index: 5; transform: translate(-8px, -8px); opacity: 0.6; }
.bp-3 { z-index: 1; transform: translate(-16px, -16px); opacity: 0.3; }

/* 2. Clash Visual AEC */
.clash-visual-aec { position: relative; width: 140px; height: 140px; }
.clash-duct {
    position: absolute; top: 45%; left: 0; width: 100%; height: 14px;
    background: #3b82f6; border-radius: 4px; border: 2px solid white;
    color: white; font-size: 0.5rem; font-weight: 900; display: flex; align-items: center; justify-content: center;
}
.clash-beam {
    position: absolute; top: 0; left: 45%; width: 18px; height: 100%;
    background: #94a3b8; border-radius: 4px; border: 2px solid white;
    color: white; font-size: 0.5rem; font-weight: 900; display: flex; align-items: center; justify-content: center; writing-mode: vertical-lr; text-orientation: sideways;
}
.clash-impact-point {
    position: absolute; top: 38%; left: 40%; width: 32px; height: 32px;
    background: var(--primary-color); border: 4px solid white; border-radius: 50%;
    animation: impactPulse 1s infinite alternate;
}
@keyframes impactPulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.3); opacity: 1; } }

/* 3. Field fail visual */
.field-fail-visual { position: relative; width: 120px; height: 100px; display: flex; justify-content: center; align-items: center; }
.building-outline {
    width: 100px; height: 60px; border-bottom: 3px solid #e2e8f0; border-left: 3px solid #e2e8f0;
}
.warning-marker-pulse {
    position: absolute; background: var(--primary-color); color: white;
    padding: 2px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 900;
    animation: markerJump 1s infinite;
}
@keyframes markerJump { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px) scale(1.1); } }

.aec-link {
    display: flex; align-items: center; height: 180px; width: 60px;
}
.aec-link svg { width: 100%; }

@media (max-width: 1024px) {
    .aec-storyboard { flex-direction: column; align-items: center; }
    .aec-link { transform: rotate(90deg); height: 60px; width: 180px; }
}

.pipeline-grid {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#e2e8f0 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    opacity: 0.5; z-index: 0;
}

.pipeline-node {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

.node-icon-box {
    width: 140px; height: 140px;
    background: #ffffff;
    border: 2px solid #ea6d13;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(234, 109, 19, 0.1);
    margin-bottom: 25px;
    position: relative;
    transition: all 0.3s ease;
}

.pipeline-node:hover .node-icon-box {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(234, 109, 19, 0.2);
}

.node-content h3 {
    font-size: 1.4rem;
    color: #1e293b;
    font-weight: 800;
    margin-bottom: 10px;
}

.node-content p {
    font-size: 0.95rem;
    color: #64748b;
    max-width: 200px; line-height: 1.5;
}

/* Connectors */
.pipeline-path {
    flex: 0.5;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.path-line {
    width: 100%; height: 2px;
    background: #e2e8f0;
}

.path-pulse {
    position: absolute; width: 8px; height: 8px;
    background: #ea6d13; border-radius: 50%;
    filter: drop-shadow(0 0 5px #ea6d13);
    animation: pipelinePulse 2s infinite linear;
}

@keyframes pipelinePulse {
    0% { left: 0%; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* Step 1: Doc Mountain */
.doc-mountain { position: relative; width: 50px; height: 60px; }
.m-sheet {
    position: absolute; width: 40px; height: 50px;
    background: white; border: 1.5px solid #94a3b8; border-radius: 4px;
}
.m1 { top: 0; left: 0; transform: rotate(-10deg); z-index: 10; border-color: #ea6d13; }
.m2 { top: 5px; left: 10px; transform: rotate(5deg); z-index: 5; }
.m3 { top: 10px; left: -5px; transform: rotate(-5deg); z-index: 1; }

/* Step 2: Manual Scan */
.manual-scan-visual { position: relative; width: 60px; height: 60px; }
.scan-beam {
    width: 100%; height: 3px; background: #ea6d13;
    position: absolute; top: 0; left: 0;
    box-shadow: 0 0 10px #ea6d13;
    animation: scanMove 2s infinite ease-in-out;
}
.scan-eye {
    width: 40px; height: 25px; border: 2px solid #1e293b;
    border-radius: 50%; position: absolute; bottom: 10px; left: 10px;
}
@keyframes scanMove { 0%, 100% { top: 10%; } 50% { top: 90%; } }

/* Step 3: Dense Doc */
.dense-doc-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.d-circle {
    width: 60px; height: 60px; border: 2px dashed #ea6d13; border-radius: 50%;
    animation: rotateDoc 10s infinite linear;
}
.d-warning {
    position: absolute; font-size: 2.5rem; font-weight: 900; color: #ea6d13;
    animation: pulseWarning 1.5s infinite;
}
@keyframes rotateDoc { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes pulseWarning { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }

@media (max-width: 1024px) {
    .blueprint-horizontal-flow { flex-direction: column; align-items: center; padding-top: 40px; }
    .dimension-line { display: none; }
    .blueprint-phase { width: 100%; max-width: 400px; }
}
.v2-arrow svg { width: 40px; height: 40px; animation: arrowMove 2s infinite; }
@keyframes arrowMove { 0%, 100% { transform: translateX(0); opacity: 0.4; } 50% { transform: translateX(10px); opacity: 1; } }

@media (max-width: 1024px) {
    .interactive-domino-flow { flex-direction: column; align-items: center; }
    .v2-arrow { transform: rotate(90deg); margin: 20px 0; }
}

/* SKILL SECTION */
.skill-section {
    padding: 60px 20px;
    position: relative;
    border-top: 1px solid var(--surface-border);
}

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

.skill-section .section-title {
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 60px;
    line-height: 1.6;
}

.section-subtitle strong {
    color: var(--primary-color);
    font-weight: 700;
}

.ai-chat-mockup {
    max-width: 850px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.1);
    overflow: hidden;
}

.chat-header {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dot-group {
    display: flex;
    gap: 8px;
    width: 60px;
}

.mac-dot { width: 12px; height: 12px; border-radius: 50%; }
.mac-dot.red { background: #ff5f56; }
.mac-dot.yellow { background: #ffbd2e; }
.mac-dot.green { background: #27c93f; }

.chat-title {
    flex: 1;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #a0a0a0;
    letter-spacing: 1px;
    padding-right: 60px;
}

.chat-body {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chat-bubble {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 30px;
    border-radius: 16px;
    border-left: 2px solid var(--primary-color);
    font-size: 1.15rem;
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
    cursor: default;
}

.chat-bubble:hover {
    transform: translateX(10px);
    border-left: 2px solid var(--secondary-color);
}

.ai-sparkle {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.chat-footer {
    padding: 24px 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    gap: 16px;
}

.fake-input {
    flex: 1;
    border: 1px solid rgba(255,255,255,0.1);
    color: #666;
    padding: 16px 24px;
    border-radius: 50px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.typing-cursor {
    position: relative;
}

.typing-cursor::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 1.2em;
    background: var(--primary-color);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.send-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(234, 109, 19, 0.4);
    cursor: pointer;
    transition: transform 0.2s;
}

.send-btn:hover {
    transform: scale(1.05);
}
.send-btn svg { width: 22px; height: 22px; transform: translateX(2px) translateY(1px); }

/* HAPPENS SECTION */
.happens-section {
    padding: 60px 20px;
    position: relative;
    border-top: 1px solid var(--surface-border);
}

.happens-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
    align-items: center;
}

.happens-grid .section-title {
    text-align: left;
    margin-bottom: 40px;
    font-size: clamp(2.3rem, 3.5vw, 3rem);
}

.system-reads-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--surface-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s;
}

.check-list li:hover {
    transform: translateX(10px);
}

.check-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.check-circle svg { width: 14px; height: 14px; stroke-width: 3px; }

.happens-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 500;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
    text-align: left;
}

.trace-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    border: 1px solid var(--glass-border);
}

.trace-header {
    background: linear-gradient(90deg, #ea6d13, #ff9040);
    padding: 24px;
    color: white;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}
.trace-header svg { width: 28px; height: 28px; }

.trace-body {
    padding: 40px 32px;
}

.trace-row {
    font-size: 1.2rem;
    font-weight: 500;
    padding: 12px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.trace-row.highlight {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.3rem;
}

.trace-row span.cross::before { content: '×'; color: #ef4444; font-weight: bold; margin-right: 12px; font-size: 1.8rem; vertical-align: sub; }
.trace-row span.check::before { content: '✓'; color: var(--primary-color); font-weight: bold; margin-right: 12px; font-size: 1.5rem; vertical-align: middle; }

.node-flow {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px;
    border-radius: 12px;
    border: 1px dashed #d1d5db;
}

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

.small-node {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.node-arrow {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.big-node {
    color: var(--primary-color);
    padding: 24px 20px;
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    border: 1px solid rgba(234, 109, 19, 0.3);
    text-align: center;
    flex: 1.5;
}

/* OUTPUT SECTION */
.output-section {
    padding: 60px 20px 80px;
    position: relative;
    border-top: 1px solid var(--surface-border);
}

.output-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
    margin-bottom: 50px;
}

.output-card {
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.output-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease-out;
    transform-origin: left;
}

.output-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(234, 109, 19, 0.08);
}

.output-card:hover::before {
    transform: scaleX(1);
}

.output-card .card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 16px;
    background: rgba(234, 109, 19, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.output-card .card-icon svg {
    width: 32px;
    height: 32px;
}

.output-card h3 {
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.output-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.output-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(234, 109, 19, 0.04);
    border: 1px solid rgba(234, 109, 19, 0.15);
    padding: 24px 40px;
    border-radius: 100px;
}

.footer-icon {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-icon svg { width: 28px; height: 28px; }

.footer-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.footer-text strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* WORKFLOW SHIFT SECTION - HIGH MOTION v2.0 */
.workflow-section {
    padding: 60px 20px;
    position: relative;
    border-top: 1px solid var(--surface-border);
    overflow: hidden;
}

.comparison-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 50px;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    perspective: 2000px;
}

.comp-card {
    padding: 60px 45px;
    border-radius: 32px;
    border: 1px solid var(--surface-border);
    flex: 1;
    position: relative;
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    background: #fff;
}

.comp-card.before-card {
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    transform-origin: right center;
    filter: grayscale(0.5);
    opacity: 0.8;
}

.comp-card.before-card:hover {
    transform: perspective(1000px) rotateY(8deg) translateX(-10px);
    filter: grayscale(0.2);
    opacity: 1;
    z-index: 3;
}

.comp-card.after-card {
    box-shadow: 0 40px 100px rgba(234, 109, 19, 0.12);
    border: 2px solid var(--primary-color);
    z-index: 2;
    transform: scale(1.08);
    border-radius: 32px;
    animation: floatActive 4s ease-in-out infinite;
    background: linear-gradient(180deg, #fff 0%, #fffbf2 100%);
}

.comp-card.after-card:hover {
    transform: scale(1.1) perspective(1000px) rotateY(-8deg) translateY(-10px);
    box-shadow: 0 50px 120px rgba(234, 109, 19, 0.2);
}

@keyframes floatActive {
    0%, 100% { transform: scale(1.08) translateY(0); }
    50% { transform: scale(1.08) translateY(-15px); }
}

.comp-header {
    font-size: 0.75rem;
    font-family: 'Outfit', sans-serif;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 800;
}

.comp-header.primary {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(234, 109, 19, 0.2);
}

.comp-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
    width: 30%;
    transition: all 0.3s ease;
}

.flow-step span {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
}

.step-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.after-card .step-icon {
    border: 1px solid rgba(234, 109, 19, 0.1);
    background: #fff;
}

.step-icon svg { width: 32px; height: 32px; transition: transform 0.3s ease; }

.after-card .flow-step:hover .step-icon {
    transform: scale(1.2) rotate(5deg);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 15px 35px rgba(234, 109, 19, 0.3);
}

.step-icon.dull { background: #f8fafc; color: #94a3b8; }
.step-icon.error { background: #fff1f2; color: #fb7185; }
.step-icon.vibrant { background: rgba(234, 109, 19, 0.05); color: var(--primary-color); }
.step-icon.vibrant.check { background: var(--primary-color); color: white; box-shadow: 0 10px 25px rgba(234, 109, 19, 0.2); }

.flow-arrow {
    font-size: 1.8rem;
    color: var(--text-secondary);
    opacity: 0.2;
    margin-bottom: 45px; 
}

.flow-arrow.accent {
    color: var(--primary-color);
    opacity: 1;
    animation: flowPulse 2s infinite;
}

@keyframes flowPulse {
    0% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 8px rgba(234, 109, 19, 0.5)); }
    100% { transform: scale(1); opacity: 0.4; }
}

.vs-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: #fff;
    border: 2px solid var(--surface-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 0.9rem;
    color: #cbd5e1;
    z-index: 10;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    animation: vsRotate 8s linear infinite;
}

@keyframes vsRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); border-color: #e2e8f0; }
    50% { transform: translate(-50%, -50%) rotate(180deg); border-color: var(--primary-color); color: var(--primary-color); }
    100% { transform: translate(-50%, -50%) rotate(360deg); border-color: #e2e8f0; }
}

/* WHY IT MATTERS SECTION */
.matters-section {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.matters-card {
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 60px;
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1000px;
    margin: 40px auto 0;
    box-shadow: 0 20px 50px rgba(234, 109, 19, 0.05);
}

.matters-left {
    flex: 1;
    text-align: left;
}

.matters-title {
    font-size: clamp(2.5rem, 4vw, 3.2rem);
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: left;
}

.matters-desc {
    font-size: 1.3rem;
    color: var(--text-secondary);
    line-height: 1.5;
    text-align: left;
}

.matters-desc strong {
    color: var(--primary-color);
}

.matters-divider {
    width: 2px;
    height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(234, 109, 19, 0.2), transparent);
}

.matters-right {
    flex: 1.2;
    text-align: left;
}

.matters-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    text-align: left;
}

.value-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
}

.value-list li span {
    flex: 1;
    text-align: left;
}

.value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 10px rgba(234, 109, 19, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.value-icon svg { width: 24px; height: 24px; }

/* HERO SECTION */
.hero-section {
    position: relative;
    padding-bottom: 80px;
}

/* CTA SECTION */
.cta-section {
    position: relative;
    color: white;
    padding: 60px 20px 0;
    overflow: hidden;
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto 50px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Subtle background glow for dark section */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(234, 109, 19, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.cta-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
}

.cta-subtitle {
    font-size: 1.5rem;
    color: #a0a0a0;
    margin-bottom: 50px;
    line-height: 1.5;
}

.cta-subtitle strong {
    color: #ffffff;
    font-weight: 600;
}

.cta-bottom-input {
    display: flex;
    justify-content: center;
}

.cta-input-group.dark-mode {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.cta-input-group.dark-mode .email-input {
    color: white;
}
.cta-input-group.dark-mode .email-input::placeholder {
    color: #666;
}
/* Footer - Redesigned */
.site-footer {
    background: #ffffff;
    padding: 16px 5%;
    text-align: center;
    border-top: none;
    margin-top: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.4;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
}

.footer-link {
    color: #ea6d13;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #ff8c42;
    text-decoration: none;
}

.footer-text strong {
    color: inherit;
    font-weight: 600;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 12px 5%;
    }
    
    .footer-text {
        font-size: 12px;
        line-height: 1.5;
    }
}


/* THEME DARK & GRID BACKGROUNDS */
.grid-bg-light {
    background-color: #FAFAFA !important;
    background-size: 30px 30px !important;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px) !important;
}

.grid-bg-dark {
    background-color: #050505 !important;
    background-size: 30px 30px !important;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px) !important;
}

.flat-bg-light { background-color: #FAFAFA !important; background-image: none !important; }
.flat-bg-dark { background-color: #050505 !important; background-image: none !important; }

.theme-dark {
    background-color: #050505 !important;
}

.theme-dark h2, .theme-dark h3 {
    color: #ffffff !important;
}
.theme-dark p, .theme-dark span:not(.gradient-text):not(.check):not(.cross), .theme-dark .happens-subtitle {
    color: #a0a0a0 !important;
}
.theme-dark .flow-node { background: #111111 !important; border-color: rgba(255,255,255,0.1) !important; }
.theme-dark .alert-box { background: rgba(239,68,68,0.1) !important; border-color: rgba(239,68,68,0.3) !important; }
.theme-dark .alert-box p { color: #fca5a5 !important; }

.theme-dark .domino-item, .theme-dark .output-card, .theme-dark .trace-card, .theme-dark .comp-card { 
    background: #111111 !important; 
    border-color: rgba(255,255,255,0.1) !important; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.5) !important;
}
.theme-dark .domino-item h3, .theme-dark .output-card h3 { color: #ffffff !important; }
.theme-dark .domino-connector { color: rgba(255,255,255,0.2) !important; }

.theme-dark .trace-header { background: #1a1a1a !important; }
.theme-dark .trace-body { background: #0a0a0a !important; }
.theme-dark .node-flow { background: #1a1a1a !important; border-color: rgba(255,255,255,0.1) !important; }
.theme-dark .small-node { background: #222 !important; border-color: #333 !important; color: #ccc !important; }
.theme-dark .trace-row.highlight { color: #fff !important; }

.theme-dark .output-footer { background: #111 !important; border-color: rgba(234, 109, 19, 0.3) !important; }
.theme-dark .footer-text strong { color: #fff !important; }

.theme-dark .matters-card { background: linear-gradient(135deg, #111, rgba(234, 109, 19, 0.1)) !important; border-color: rgba(255,255,255,0.1) !important; }
.theme-dark .value-list li { color: #fff !important; }
.theme-dark .value-icon { background: #1a1a1a !important; }

.theme-dark .comp-card.before-card { background: #0a0a0a !important; }
.theme-dark .vs-badge { background: #111 !important; color: #fff !important; border-color: rgba(255,255,255,0.1) !important;}


/* AMBIENT GLOWS */
.grid-bg-light::before { content: ''; position: absolute; top: -10%; left: -10%; width: 800px; height: 800px; background: radial-gradient(circle, rgba(234, 109, 19, 0.05) 0%, transparent 65%); pointer-events: none; z-index: 0; }
.grid-bg-light::after { content: ''; position: absolute; bottom: -20%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(234, 109, 19, 0.08) 0%, transparent 70%); pointer-events: none; z-index: 0; }

.theme-dark::before { content: ''; position: absolute; top: 10%; left: -20%; width: 1000px; height: 1000px; background: radial-gradient(circle, rgba(234, 109, 19, 0.08) 0%, transparent 60%); pointer-events: none; z-index: 0; }
.theme-dark::after { content: ''; position: absolute; bottom: 10%; right: -20%; width: 1000px; height: 1000px; background: radial-gradient(circle, rgba(234, 109, 19, 0.08) 0%, transparent 60%); pointer-events: none; z-index: 0; }

.glow-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 1000px; height: 1000px; background: radial-gradient(circle, rgba(234, 109, 19, 0.15) 0%, transparent 60%); pointer-events: none; z-index: 0; }

/* Responsive */
@media (max-width: 1024px) {
    .hero-split { grid-template-columns: 1fr; padding-top: 130px; text-align: center; gap: 40px; }
    .hero-content { margin: 0 auto; align-items: center; }
    .hero-subtitle { margin: 0 auto 40px; }
    .feature-ticks { margin: 0 auto 40px; align-items: center; }
    .tick-item { width: 100%; max-width: 480px; justify-content: flex-start; }
    .cta-input-group { margin: 0 auto; }
    .desktop-nav { display: none; }
    
    .process-cards { flex-direction: column; gap: 60px; align-items: center; padding-left: 0; }
    .process-track-line { top: 60px; bottom: 60px; left: 50%; width: 2px; height: auto; transform: translateX(-50%); z-index: 0; }
    .process-track-fill { width: 100%; height: 100%; transform-origin: top; animation: trackFillVertical 6s infinite ease-in-out; }
    .p-card { flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 20px !important; z-index: 2; position: relative; }
    .p-visual { margin-bottom: 24px !important; transform: scale(0.9); filter: drop-shadow(0 0 20px rgba(0,0,0,0.8)); background: #0a0a0a !important; }
    .p-text { display: flex; flex-direction: column; gap: 8px; text-align: center !important; background: #0a0a0a; padding: 5px 10px; border-radius: 8px; }
    @keyframes trackFillVertical { 0% { transform: scaleY(0); opacity: 1; } 90% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
    .alert-box { flex-direction: row; text-align: left; padding: 12px 20px; gap: 12px; }
    .alert-box p { text-align: left; font-size: 0.95rem !important; }
    .alert-icon svg { width: 20px; height: 20px; }
    .reality-summary { margin-top: 60px !important; }

    .domino-grid { flex-direction: column; gap: 20px; }
    .domino-connector { transform: rotate(90deg); padding: 10px 0; }

    .chat-body { padding: 30px 20px; }
    .chat-bubble { font-size: 1rem; padding: 20px; flex-direction: column; align-items: flex-start; text-align: left; }
    .chat-footer { padding: 20px; }

    .happens-grid { grid-template-columns: 1fr; gap: 40px; }
    .happens-left { text-align: center; }
    .happens-grid .section-title { text-align: center; margin-bottom: 24px; }
    .happens-subtitle { border-left: none; border-top: 3px solid var(--primary-color); padding: 20px 0 0; text-align: center; }
    .node-flow { flex-direction: column; gap: 20px; }
    .node-arrow { transform: rotate(90deg); margin: 10px 0; }

    .output-section { padding: 60px 16px !important; }
    .output-grid-wrapper { overflow: hidden; width: 100%; position: relative; margin: 0 auto; }
    .output-grid { 
        display: flex !important; 
        grid-template-columns: none !important;
        overflow-x: auto !important;
        gap: 16px !important;
        padding: 5px 10px 30px !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        margin: 0 !important;
    }
    .output-grid::-webkit-scrollbar { display: none; }
    .output-card { 
        flex: 0 0 280px !important; 
        scroll-snap-align: center !important;
        min-height: 220px !important;
        margin-bottom: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 25px 20px !important;
    }
    .output-card h3 { font-size: 1.1rem !important; margin-bottom: 10px !important; }
    .output-card p { font-size: 0.85rem !important; line-height: 1.3 !important; }
    .output-footer { flex-direction: column; text-align: center; border-radius: 20px; padding: 24px; }
    .footer-text { font-size: 1.1rem; }

    .comparison-grid { flex-direction: column; gap: 40px; }
    .comp-card { max-width: 100%; width: 100%; }
    .comp-card.before-card { border-right: 1px solid var(--surface-border); border-radius: 24px; border-top-right-radius: 24px; border-bottom-right-radius: 24px; }
    .comp-card.after-card { transform: scale(1); margin: 0; }
    .comp-flow { flex-direction: column; gap: 20px; }
    .flow-step { width: 100%; }
    .flow-arrow { transform: rotate(90deg); margin-bottom: 0; margin-top: 10px;}
    .vs-badge { display: none; }

    .matters-card { flex-direction: column; padding: 40px 30px; gap: 40px; text-align: left; align-items: flex-start; }
    .matters-divider { width: 100%; height: 2px; }
    .value-list li { text-align: left; align-items: flex-start; }
    .matters-subtitle { text-align: left; width: 100%; }

    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1; visibility: visible;
}

.modal-content {
    background: #ffffff;
    border-radius: 32px;
    padding: 60px 50px 50px;
    width: 90%;
    max-width: 650px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 24px; right: 24px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: #475569;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #1e293b;
    transform: scale(1.05);
}

.modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a1e2b;
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.modal-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.modal-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.modal-form-grid .btn-primary {
    grid-column: span 2;
}
.modal-input {
    width: 100%;
    padding: 14px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    outline: none;
    color: #334155;
}
.modal-input:focus {
    border-color: #ea6d13;
    background: white;
    box-shadow: 0 0 0 4px rgba(234, 109, 19, 0.1);
}
.modal-footer-text {
    font-size: 0.95rem;
    color: #94a3b8;
    font-weight: 600;
}
.phone-group {
    display: flex;
    gap: 8px;
    width: 100%;
}
.country-select {
    width: 85px;
    padding: 0 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    color: #334155;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.country-select:focus {
    border-color: #ea6d13;
    background: white;
}
@media (max-width: 600px) {
    .modal-form-grid { grid-template-columns: 1fr; gap: 12px; }
    .modal-form-grid .btn-primary { grid-column: span 1; }
    .modal-content { padding: 50px 24px 30px; border-radius: 20px; width: 92%; }
    .modal-title { font-size: 1.55rem; padding-right: 30px; }
    .modal-subtitle { font-size: 0.95rem; margin-bottom: 25px; line-height: 1.5; }
    .modal-close { top: 15px; right: 15px; width: 32px; height: 32px; }
    .modal-input { padding: 12px 16px; border-radius: 10px; }
    .country-select { border-radius: 10px; width: 75px; font-size: 0.85rem; }
}
