/* ============================================
   CarbSystem — Sublime-Inspired Dark Theme
   Green Accent · No Blue · Editorial Layout
   ============================================ */

/* --- Tokens --- */
:root {
    --green: #39e47a;
    --green-dim: #2cb863;
    --green-glow: rgba(57, 228, 122, 0.25);
    --green-soft: rgba(57, 228, 122, 0.08);
    --green-border: rgba(57, 228, 122, 0.2);

    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #a78bfa;
    --success: #39e47a;

    --bg: #0a0a0a;
    --bg-card: #111111;
    --bg-elevated: #161616;
    --bg-surface: #1a1a1a;

    --text: #e6e7e8;
    --text-dim: #999999;
    --text-muted: #5a5a5a;
    --border: rgba(255, 255, 255, 0.06);
    --border-light: rgba(255, 255, 255, 0.1);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* --- Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--green);
    color: #000;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- Grid Overlay (Sublime-style) --- */
.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: calc(100% / 5) 100%;
    opacity: 0.35;
}

/* --- Edge Glow (Sublime-style) --- */
.edge-glow {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 1;
    pointer-events: none;
}

.edge-glow-left {
    left: 0;
    background: linear-gradient(90deg, rgba(57, 228, 122, 0.04), transparent);
}

.edge-glow-right {
    right: 0;
    background: linear-gradient(270deg, rgba(57, 228, 122, 0.04), transparent);
}

/* --- Layout --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

.container-wide {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

.section {
    padding: 140px 0;
    position: relative;
}

/* --- Accent --- */
.accent {
    color: var(--green);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    border-bottom-color: var(--border);
}

.nav-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text);
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item {
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dim);
    transition: color 0.3s;
}

.nav-item:hover {
    color: var(--text);
}

.nav-num {
    color: var(--green);
    font-size: 0.7rem;
    margin-right: 4px;
    font-weight: 700;
}

.nav-cta {
    padding: 10px 24px;
    border: 1px solid var(--green);
    color: var(--green);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s var(--ease);
}

.nav-cta:hover {
    background: var(--green);
    color: #000;
    box-shadow: 0 0 24px var(--green-glow);
}

.nav-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 6px;
}

.nav-burger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--text);
    transition: 0.3s;
}

.nav-burger.active span:first-child {
    transform: rotate(45deg) translate(3px, 5px);
}

.nav-burger.active span:last-child {
    transform: rotate(-45deg) translate(3px, -5px);
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 0 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text);
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .word {
    display: inline-block;
    transform: translateY(110%);
    animation: wordUp 0.9s var(--ease-out) forwards;
}

.hero-title .line:nth-child(1) .word {
    animation-delay: 0.1s;
}

.hero-title .line:nth-child(2) .word:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title .line:nth-child(2) .word:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-title .line:nth-child(3) .word {
    animation-delay: 0.35s;
}

.hero-title .line:nth-child(4) .word:nth-child(1) {
    animation-delay: 0.45s;
}

.hero-title .line:nth-child(4) .word:nth-child(2) {
    animation-delay: 0.55s;
}

.hero-title .line:nth-child(5) .word {
    animation-delay: 0.6s;
}

@keyframes wordUp {
    to {
        transform: translateY(0);
    }
}

/* Diamond shape */
.hero-diamond {
    flex-shrink: 0;
}

.diamond-shape {
    width: 320px;
    height: 320px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    transform: rotate(45deg);
    animation: diamondFade 1.2s var(--ease-out) 0.5s both;
}

@keyframes diamondFade {
    from {
        opacity: 0;
        transform: rotate(45deg) scale(0.8);
    }

    to {
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }
}

.diamond-cell {
    overflow: hidden;
    position: relative;
}

.diamond-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(57, 228, 122, 0.15), rgba(57, 228, 122, 0.02));
    animation: shimmer 4s ease-in-out infinite alternate;
}

.diamond-gradient.g2 {
    background: linear-gradient(225deg, rgba(57, 228, 122, 0.08), rgba(44, 184, 99, 0.2));
    animation-delay: 1s;
}

.diamond-gradient.g3 {
    background: linear-gradient(315deg, rgba(57, 228, 122, 0.12), rgba(57, 228, 122, 0.03));
    animation-delay: 2s;
}

.diamond-gradient.g4 {
    background: linear-gradient(45deg, rgba(44, 184, 99, 0.18), rgba(57, 228, 122, 0.05));
    animation-delay: 3s;
}

@keyframes shimmer {
    0% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, var(--green), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 1;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.4;
        transform: scaleY(0.6);
    }
}

.hero-scroll span {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* --- Intro Text Section --- */
.section-intro {
    padding: 120px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.intro-text {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-dim);
    max-width: 900px;
}

.intro-text .accent {
    color: var(--green);
    font-weight: 500;
}

/* --- Section Labels --- */
.section-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.label-num {
    color: var(--green);
    margin-right: 8px;
}

/* --- Mega Titles --- */
.mega-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 48px;
    max-width: 850px;
}

/* --- Section Description --- */
.section-desc {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 640px;
    line-height: 1.7;
    margin-bottom: 56px;
}

/* --- Stats Row --- */
.stat-row {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 64px;
    padding: 48px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-val {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
    max-width: 200px;
}

.stat-divider {
    width: 1px;
    height: 56px;
    background: var(--border-light);
}

/* --- Quote --- */
.quote-strip {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.quote-line {
    width: 3px;
    min-height: 80px;
    background: var(--green);
    border-radius: 2px;
    flex-shrink: 0;
}

.quote-strip blockquote {
    font-size: 1.15rem;
    color: var(--text-dim);
    line-height: 1.8;
    font-style: italic;
}

.quote-strip em {
    color: var(--green);
}

/* --- Factory Simulation --- */
.sim-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    margin: 64px 0;
    overflow: hidden;
    position: relative;
    padding: 24px 0;
}

.sim-divider {
    text-align: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 16px 0;
    position: relative;
    z-index: 2;
}

.sim-lane {
    padding: 32px 40px;
    position: relative;
}

.sim-classic {
    border-bottom: 1px solid var(--border);
}

.sim-lane-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 64px;
    color: var(--text-dim);
}

.sim-lane-title.accent {
    color: var(--green);
}

.sim-track {
    position: relative;
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 40px 40px;
}

.sim-track.track-success {
    background: var(--green-border);
}

/* Stations */
.sim-station {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transform: translateY(-40px);
}

/* Base icon placeholder */
.st-icon-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    background: transparent;
}

.st-icon-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

.st-icon-img.wide-img {
    width: 100px;
    height: 64px;
}

.st-icon-img.bag-img {
    width: 50px;
    height: 50px;
}

.st-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
}

.track-success .st-icon {
    border-color: var(--green-border);
    background: var(--green-soft);
}

.st-name {
    font-size: 0.8rem;
    color: var(--text-dim);
    white-space: nowrap;
    text-align: center;
    margin-top: 0;
    position: absolute;
    top: 100%;
}

/* Danger Zone (Classic Furnace) */
.st-danger-zone {
    position: relative;
}

.st-danger-zone img {
    filter: drop-shadow(0 0 15px rgba(239, 68, 68, 0.4));
}

.smoke-particles {
    position: absolute;
    top: -40px;
    left: 45%;
    transform: translateX(-50%);
    width: 40px;
    height: 60px;
    pointer-events: none;
    z-index: 3;
}

.smoke-particles span {
    position: absolute;
    bottom: 0;
    width: 15px;
    height: 15px;
    background: rgba(80, 80, 80, 0.8);
    border-radius: 50%;
    filter: blur(5px);
    animation: emitSmoke 2s infinite ease-out;
    opacity: 0;
}

.smoke-particles span:nth-child(1) { left: 0px; animation-delay: 0s; }
.smoke-particles span:nth-child(2) { left: 12px; animation-delay: 0.4s; }
.smoke-particles span:nth-child(3) { left: 25px; animation-delay: 0.8s; }
.smoke-particles span:nth-child(4) { left: 8px; animation-delay: 1.2s; }
.smoke-particles span:nth-child(5) { left: 20px; animation-delay: 1.6s; }

@keyframes emitSmoke {
    0% { transform: translateY(0) scale(1); opacity: 0.9; }
    100% { transform: translateY(-60px) scale(4); opacity: 0; }
}

/* Safe Zone (Clean Reactor) */
.st-safe-zone img {
    filter: drop-shadow(0 0 20px rgba(57, 228, 122, 0.4));
}

/* Animated Product Base */
.sim-product {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%); 
    width: 32px;
    height: 32px;
    border-radius: 4px;
    z-index: 4;
}

.prod-inner {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

/* Classic Run */
.product-classic {
    animation: runClassic 8s infinite ease-in-out;
}

.product-classic .prod-inner {
    animation: mutateClassic 8s infinite ease-in-out;
}

/* New Run */
.product-new {
    animation: runNew 8s infinite ease-in-out;
}

.product-new .prod-inner {
    animation: mutateNew 8s infinite ease-in-out;
}

/* --- Keyframes for Movement --- */
/*
   Stations are approx at 0%, 33.3%, 66.6%, 100% of the track.
   We pause at the processor (33.3%).
*/
@keyframes runClassic {
    0% { left: 0%; opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    5% { left: 0%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
    15% { left: 33.3%; } /* Arrive at Furnace */
    35% { left: 33.3%; } /* Wait at Furnace */
    50% { left: 66.6%; } /* Move to storage */
    65% { left: 66.6%; } /* Wait at storage */
    80% { left: 100%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
    90% { left: 100%; opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    100% { left: 100%; opacity: 0; }
}

@keyframes mutateClassic {
    0%, 15% { background-image: url('raw_material_1773499635924.png'); filter: brightness(1); border-radius: 4px; border:none; box-shadow:none; background-color:transparent; } 
    35%, 50% { background-image: none; background-color: #883333; border-radius: 50%; box-shadow: 0 0 15px red; filter: brightness(1.5); border:1px solid #ff4444; } 
    65%, 100% { background-image: url('cement_bag_1773499667805.png'); background-color:transparent; border:none; border-radius: 0; box-shadow: none; filter: brightness(0.8); }
}

@keyframes runNew {
    0% { left: 0%; opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    5% { left: 0%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
    15% { left: 33.3%; } 
    35% { left: 33.3%; } 
    50% { left: 66.6%; } 
    65% { left: 66.6%; } 
    80% { left: 100%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
    90% { left: 100%; opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    100% { left: 100%; opacity: 0; }
}

@keyframes mutateNew {
    0%, 15% { background-image: url('raw_material_1773499635924.png'); filter: brightness(1); border-radius: 4px; border:none; box-shadow:none; background-color:transparent; } 
    35%, 50% { background-image: none; background-color: var(--green); border-radius: 50%; box-shadow: 0 0 20px var(--green); filter: brightness(1.2); border:1px solid #fff; } 
    65%, 100% { background-image: url('cement_bag_1773499667805.png'); background-color:transparent; border:none; border-radius: 0; box-shadow: none; filter: brightness(1.1); } 
}

/* --- Feature Grid --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 64px;
}

.feature-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease);
    position: relative;
    transform: translateY(0);
}

.feature-card:hover {
    border-color: var(--green-border);
    box-shadow: 0 15px 40px rgba(57, 228, 122, 0.08);
    transform: translateY(-8px);
}

.fc-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-muted);
    opacity: 0.15;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 24px;
}

.fc-metric {
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.fc-metric span {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.fc-metric small {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* --- Process Section --- */
.process-hero {
    padding: 120px 0 80px;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 32px;
    padding-right: 32px;
    position: relative;
    z-index: 2;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 64px;
}

.process-step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.process-step:first-child {
    border-top: 1px solid var(--border);
}

.ps-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    flex-shrink: 0;
}

.ps-content h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.ps-content p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
    max-width: 600px;
}

/* --- Impact Section --- */
.impact-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 64px 0;
}

.impact-card {
    padding: 48px 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-align: center;
}

.impact-big {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
}

.impact-unit {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
}

.impact-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-top: 8px;
}

.impact-bar {
    height: 4px;
    background: var(--border);
    margin-top: 24px;
    overflow: hidden;
}

.impact-bar-fill {
    height: 100%;
    width: 0;
    background: var(--green);
    transition: width 2s var(--ease);
}

.impact-bar-fill.animated {
    width: var(--w);
}

/* --- Horizontal Bar Chart --- */
.chart-block {
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    margin-top: 64px;
}

.chart-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 36px;
}

.h-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.h-bar-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.h-bar-label {
    width: 200px;
    text-align: right;
    font-size: 0.88rem;
    color: var(--text-dim);
    flex-shrink: 0;
}

.h-bar-track {
    flex: 1;
    height: 36px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.h-bar-fill {
    height: 100%;
    width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    transition: width 1.8s var(--ease);
}

.h-bar-fill.animated {
    width: var(--w);
}

.h-bar-fill span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.h-bar-fill.danger {
    background: var(--danger);
}

.h-bar-fill.warning {
    background: var(--warning);
}

.h-bar-fill.info {
    background: var(--info);
}

.h-bar-fill.success {
    background: var(--green);
}

/* --- Vertical Chart --- */
.v-chart {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    height: 280px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
    margin-top: 24px;
}

.v-bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
    position: relative;
}

.v-bar {
    width: 100%;
    max-width: 56px;
    height: 0;
    overflow: hidden;
    transition: height 1.5s var(--ease);
}

.v-bar.animated {
    height: var(--h);
}

.v-bar-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--green), var(--green-dim));
}

.v-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 12px;
}

.v-val {
    position: absolute;
    top: -8px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--green);
    opacity: 0;
    transition: opacity 0.5s;
}

.v-bar.animated~.v-val {
    opacity: 1;
}

/* --- Core Areas --- */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
}

.area-item {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: border-color 0.4s;
}

.area-item:hover {
    border-color: var(--green-border);
}

.area-head {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 10px;
}

.area-num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
}

.area-item h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
}

.area-item p {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 20px;
}

.area-progress {
    height: 3px;
    background: var(--border);
    overflow: hidden;
}

.area-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--green), var(--green-dim));
    transition: width 1.8s var(--ease);
}

.area-bar.animated {
    width: var(--w);
}

/* --- Investor Cards --- */
.investor-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 16px;
}

.inv-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: border-color 0.4s;
}

.inv-card:hover {
    border-color: var(--green-border);
}

.inv-val {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    display: block;
    margin-bottom: 8px;
}

.inv-card h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.inv-card p {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* --- Values --- */
.values-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
}

.val-item {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.val-line {
    width: 32px;
    height: 3px;
    background: var(--green);
    margin-bottom: 20px;
}

.val-item h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.val-item p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* --- Timeline --- */
.timeline {
    position: relative;
    margin-top: 80px;
    padding-left: 48px;
}

.tl-track {
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.tl-progress {
    position: absolute;
    left: 16px;
    top: 0;
    width: 2px;
    height: 0;
    background: var(--green);
    transition: height 2.5s var(--ease);
}

.tl-item {
    position: relative;
    margin-bottom: 48px;
}

.tl-item:last-child {
    margin-bottom: 0;
}

.tl-dot {
    position: absolute;
    left: -40px;
    top: 20px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tl-item[data-status="done"] .tl-dot {
    background: var(--green);
    border-color: var(--green);
}

.tl-item[data-status="active"] .tl-dot {
    border-color: var(--green);
}

.tl-pulse {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.4;
    }
}

.tl-card {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: border-color 0.4s;
}

.tl-card:hover {
    border-color: var(--green-border);
}

.tl-date {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 8px;
    display: inline-block;
}

.tl-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.tl-card p {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 16px;
    line-height: 1.6;
}

.tl-card ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tl-card li {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* --- Contact --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border-color 0.3s;
    outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--green);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-muted);
}

.form-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a5a5a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.form-field select option {
    background: var(--bg);
    color: var(--text);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border: 1px solid var(--green);
    background: transparent;
    color: var(--green);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.btn-submit:hover {
    background: var(--green);
    color: #000;
    box-shadow: 0 0 32px var(--green-glow);
}

.contact-aside {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ca-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    border: 1px solid var(--border);
    border-bottom: none;
}

.ca-item:last-of-type {
    border-bottom: 1px solid var(--border);
}

.ca-icon {
    font-size: 1.4rem;
}

.ca-item h4 {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.ca-item a,
.ca-item p {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.ca-item a:hover {
    color: var(--green);
}

.ca-social {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.soc-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    color: var(--text-dim);
    transition: all 0.3s;
}

.soc-link:hover {
    border-color: var(--green);
    color: var(--green);
}

.soc-link svg {
    width: 18px;
    height: 18px;
}

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
    position: relative;
    z-index: 2;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 0.88rem;
    margin-top: 16px;
    max-width: 320px;
    line-height: 1.6;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 0.85rem;
    color: var(--text-dim);
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--green);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Toast --- */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--green);
    color: #000;
    padding: 16px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s var(--ease);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* --- Scroll Reveal --- */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-up:nth-child(2) {
    transition-delay: 0.08s;
}

.reveal-up:nth-child(3) {
    transition-delay: 0.16s;
}

.reveal-up:nth-child(4) {
    transition-delay: 0.24s;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .impact-row {
        grid-template-columns: 1fr;
    }

    .investor-cards {
        grid-template-columns: 1fr;
    }

    .values-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .areas-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .diamond-shape {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 100px 0;
    }

    .nav-menu {
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease);
    }

    .nav-menu.open {
        transform: translateX(0);
    }

    .nav-item {
        font-size: 1.2rem;
    }

    .nav-burger {
        display: flex;
        z-index: 101;
    }

    .nav-cta {
        display: none;
    }

    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 120px;
    }

    .hero-diamond {
        display: none;
    }

    .hero {
        align-items: center;
    }

    .comparison-strip {
        flex-direction: column;
    }

    .comp-old {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .comp-vs {
        padding: 16px;
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .stat-row {
        flex-direction: column;
        gap: 32px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .form-split {
        grid-template-columns: 1fr;
    }

    .values-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .timeline {
        padding-left: 40px;
    }

    .h-bar-label {
        width: 120px;
        font-size: 0.78rem;
    }

    .grid-overlay {
        background-size: calc(100% / 3) 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .mega-title {
        font-size: 1.8rem;
    }

    .impact-big {
        font-size: 3.5rem;
    }

    .v-chart {
        height: 200px;
    }
}