/* ==========================================================================
   NosXLAB — Frosty Winter Edition
   Lạnh giá, cực quang, đóng băng kính, hạt tuyết rơi
   ========================================================================== */

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

:root {
    /* ---- Frosty / Winter Space Variables ---- */
    --deep-space: #070d1e; /* Màu trời đêm đông cực tối */
    --surface-1: rgba(255, 255, 255, 0.05); /* Kính tuyết mờ nhạt */
    --surface-2: rgba(255, 255, 255, 0.035);
    --surface-3: rgba(255, 255, 255, 0.08);
    --accent: #93c5fd; /* Lam tuyết lấp lánh (light ice blue) */
    --accent-light: #bfdbfe; /* Lam tuyết cực sáng */
    --accent-glow: rgba(147, 197, 253, 0.35); /* Ánh lân quang của băng */
    --accent-soft: rgba(147, 197, 253, 0.1);
    --accent-border: rgba(147, 197, 253, 0.25);
    
    /* Cực quang & Sương giá (Winter Northern Light Gradient) */
    --accent-gradient: linear-gradient(135deg, #7dd3fc 0%, #a5f3fc 50%, #86efac 100%);
    --text-primary: #f8fafc; /* Trắng tuyết */
    --text-secondary: #cbd5e1; /* Xám băng */
    --text-muted: #64748b; /* Xám đông mờ */
    --border-subtle: rgba(255, 255, 255, 0.1); /* Viền đóng tuyết */
    --glass-highlight: rgba(255, 255, 255, 0.12);
    --green: #86efac; /* Sắc cực quang lục */
    --amber: #fed7aa; /* Ánh sáng nến đông */
    --rose: #fecdd3; /* Ánh tuyết chiều */
    
    --radius: 24px;
    --radius-sm: 16px;
    --radius-xs: 12px;
    --radius-pill: 100px;
    --blur: 24px;
    --dur: 300ms;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    background-color: var(--deep-space);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background 0.4s ease, color 0.4s ease;
    position: relative;
    /* Hiệu ứng cực quang phía bắc (Green-Blue Aurora) */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 10%, rgba(34, 197, 94, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 30% 80%, rgba(147, 197, 253, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 90% 90%, rgba(30, 64, 175, 0.15) 0%, transparent 45%);
}

/* Ánh sương mờ sấm chớp / Cực quang */
body::after,
body::before {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.65;
}

body::before {
    top: -15%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.22), transparent 70%);
}

body::after {
    bottom: -15%;
    right: -5%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15), transparent 70%);
}

a { text-decoration: none; color: inherit; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.mono { font-family: 'JetBrains Mono', monospace; }

/* Kính Frosted Glass đông đặc & tuyết mờ */
.glass-panel,
.mockup-window,
.feature-visual,
.dash-metric,
.dash-chart-area,
.funnel-stage,
.code-block,
.output-console,
.privacy-card,
.mockup-metric,
.mockup-chart,
.subscribe-input-group,
.stats-strip .stats-grid,
.mobile-taskbar {
    background: var(--surface-1);
    backdrop-filter: blur(var(--blur)) saturate(140%);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 1px 0 var(--glass-highlight) inset, 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* ===== HIỆU ỨNG TUYẾT RƠI (SNOWFALL ANIMATIONS) ===== */

.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1; /* Dưới các thành phần nội dung */
    user-select: none;
    overflow: hidden;
}

.snowflake {
    color: #fff;
    font-size: 1.2em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(255,255,255,0.7);
    position: absolute;
    top: -10%;
    animation-name: fall, fade;
    animation-iteration-count: infinite;
    animation-timing-function: linear, ease-in-out;
}

/* Từng hạt tuyết với tốc độ và kích thước khác nhau */
.snowflake:nth-of-type(1) { left: 10%; animation-duration: 12s, 12s; animation-delay: 0s, 0s; font-size: 1.5rem; opacity: 0.8;}
.snowflake:nth-of-type(2) { left: 20%; animation-duration: 15s, 15s; animation-delay: 1.5s, 0.5s; font-size: 1rem; opacity: 0.5;}
.snowflake:nth-of-type(3) { left: 30%; animation-duration: 11s, 11s; animation-delay: 3s, 1s; font-size: 0.8rem; opacity: 0.4;}
.snowflake:nth-of-type(4) { left: 45%; animation-duration: 18s, 18s; animation-delay: 0.5s, 1.5s; font-size: 1.8rem; opacity: 0.7;}
.snowflake:nth-of-type(5) { left: 55%; animation-duration: 13s, 13s; animation-delay: 4s, 2s; font-size: 1.2rem; opacity: 0.9;}
.snowflake:nth-of-type(6) { left: 68%; animation-duration: 14s, 14s; animation-delay: 2.5s, 1s; font-size: 0.9rem; opacity: 0.6;}
.snowflake:nth-of-type(7) { left: 75%; animation-duration: 16s, 16s; animation-delay: 5s, 2.5s; font-size: 1.1rem; opacity: 0.5;}
.snowflake:nth-of-type(8) { left: 88%; animation-duration: 12s, 12s; animation-delay: 1s, 3s; font-size: 1.4rem; opacity: 0.8;}
.snowflake:nth-of-type(9) { left: 95%; animation-duration: 19s, 19s; animation-delay: 3s, 0.5s; font-size: 0.8rem; opacity: 0.4;}
.snowflake:nth-of-type(10){ left: 5%;  animation-duration: 22s, 22s; animation-delay: 2s, 4s; font-size: 1.2rem; opacity: 0.6;}
.snowflake:nth-of-type(11){ left: 38%; animation-duration: 14s, 14s; animation-delay: 6s, 1s; font-size: 1.3rem; opacity: 0.7;}
.snowflake:nth-of-type(12){ left: 60%; animation-duration: 17s, 17s; animation-delay: 1.5s, 3s; font-size: 1.1rem; opacity: 0.5;}

@keyframes fall {
    0% { top: -10%; transform: rotate(0deg) translateX(0px); }
    100% { top: 110%; transform: rotate(360deg) translateX(50px); }
}

@keyframes fade {
    0%, 100% { opacity: 0; }
    10%, 90% { opacity: var(--snow-opacity, 0.7); }
}

/* ===== NAVBAR (WINTER) ===== */

.navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1200px;
    z-index: 1000;
    padding: 12px 8px;
    border-radius: var(--radius);
    background: rgba(13, 21, 41, 0.4); /* Thủy tinh băng mờ đậm màu hơn */
    backdrop-filter: blur(var(--blur)) saturate(150%);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(150%);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 1px 0 var(--glass-highlight) inset, 0 20px 45px rgba(0, 0, 0, 0.35);
    transition: all 0.4s ease;
}

.navbar.scrolled {
    top: 10px;
    background: rgba(13, 25, 48, 0.65);
    box-shadow: 0 1px 0 var(--glass-highlight) inset, 0 24px 55px rgba(0, 0, 0, 0.45);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
}

.nav-brand {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.04em;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-shadow: 0 0 15px rgba(125,211,252, 0.4);
}

.brand-icon {
    width: 30px;
    height: 30px;
    background: var(--accent-gradient);
    border-radius: var(--radius-xs);
    display: grid;
    place-items: center;
    font-size: 15px;
    font-weight: 800;
    color: #0c1c38;
    box-shadow: 0 0 20px var(--accent-glow);
}

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

.nav-links a {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s, text-shadow 0.3s;
    letter-spacing: -0.01em;
}

.nav-links a:hover { 
    color: var(--text-primary); 
    text-shadow: 0 0 8px rgba(255,255,255,0.3);
}

.nav-mobile-actions {
    display: none;
}

.nav-actions { display: flex; align-items: center; gap: 14px; }

/* ===== BUTTONS (❄) ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
}

/* Nút Primary (Icy Gradient) */
.btn-primary {
    background: var(--accent-gradient);
    color: #0a132c;
    box-shadow: 0 8px 24px var(--accent-glow),
                0 1px 0 rgba(255,255,255,0.5) inset;
    text-shadow: 0 0 1px rgba(255,255,255,0.25);
}

.btn-primary:hover {
    box-shadow: 0 10px 32px var(--accent-glow),
                0 1px 0 rgba(255,255,255,0.6) inset;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--surface-2);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(147, 197, 253, 0.15);
}

.btn-lg { padding: 14px 32px; font-size: 14.5px; }

.btn-primary .btn-arrow { transition: transform 0.3s; }
.btn-primary:hover .btn-arrow { transform: translateX(3px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO (❄) ===== */

.hero {
    position: relative;
    padding: 190px 24px 120px;
    overflow: hidden;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content { max-width: 560px; }

.hero-prompt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.hero-prompt .prompt-user { color: var(--accent-light); }
.hero-prompt .prompt-path { color: var(--accent); }

.cursor-blink {
    display: inline-block;
    width: 9px;
    height: 0.95em;
    background: var(--accent);
    margin-left: 4px;
    vertical-align: text-bottom;
    animation: cursorBlink 1s steps(1) infinite;
    border-radius: 2px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px 6px 8px;
    background: rgba(147, 197, 253, 0.08);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid rgba(147, 197, 253, 0.2);
    border-radius: var(--radius-pill);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 28px;
    font-family: 'JetBrains Mono', monospace;
    text-shadow: 0 0 5px rgba(147, 197, 253, 0.25);
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(134, 239, 172, 0.8);
    animation: dotPulse 2s ease-in-out infinite;
}

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

.hero h1 {
    font-size: clamp(40px, 5vw, 62px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 16.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 460px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 48px;
}

.trusted-row { display: flex; flex-direction: column; gap: 14px; }

.trusted-label {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.trusted-logos {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.trusted-logo {
    opacity: 0.55;
    transition: opacity 0.3s;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.trusted-logo:hover { opacity: 0.9; }

.trusted-logo .t-icon {
    font-size: 13px;
    opacity: 0.8;
    color: var(--accent-light);
}

/* Mockup đông băng */
.hero-mockup { position: relative; }

.mockup-window {
    border-radius: var(--radius);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-3deg) rotateX(1.5deg);
    transition: transform 0.5s ease;
    background: rgba(13, 24, 46, 0.4);
}

.mockup-window:hover {
    transform: perspective(1200px) rotateY(-1deg) rotateX(0.5deg);
}

.mockup-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-subtle);
}

.toolbar-filename {
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: -0.01em;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: var(--rose); opacity: 0.85; }
.mockup-dot:nth-child(2) { background: var(--amber); opacity: 0.85; }
.mockup-dot:nth-child(3) { background: var(--green); opacity: 0.85; }

.mockup-body { padding: 20px; }

.mockup-metric-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.mockup-metric {
    border-radius: var(--radius-sm);
    padding: 14px;
}

.mockup-metric .mm-label {
    font-size: 10px;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mockup-metric .mm-value {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
}

.mockup-metric .mm-change {
    font-size: 10px;
    font-weight: 600;
    color: var(--green);
    margin-top: 4px;
}

.mockup-chart {
    border-radius: var(--radius-sm);
    padding: 16px;
    height: 120px;
    position: relative;
    overflow: hidden;
}

.mockup-chart-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.chart-line {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    height: 60px;
}

.chart-line svg { width: 100%; height: 100%; }

/* ===== SECTIONS ===== */

.section { padding: 120px 0; position: relative; z-index: 2; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    font-family: 'JetBrains Mono', monospace;
}

.section-label::before {
    content: '❄';
    color: var(--accent);
}

.section-title {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 14px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-desc { margin: 0 auto; }

/* ===== FEATURE TABS ===== */

.features-section {
    border-top: 1px solid var(--border-subtle);
}

.feature-tabs {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 56px;
    background: rgba(13, 24, 46, 0.4);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    padding: 5px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.feature-tab {
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.feature-tab .tab-num {
    opacity: 0.6;
    margin-right: 5px;
}

.feature-tab.active .tab-num { opacity: 1; }

.feature-tab:hover {
    color: var(--text-secondary);
}

.feature-tab.active {
    background: var(--accent-gradient);
    color: #0c1a35;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.feature-panels { position: relative; }

.feature-panel {
    display: none;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
    animation: panelIn 0.45s ease forwards;
}

.feature-panel.active { display: grid; }

@keyframes panelIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-text { max-width: 440px; }

.feature-text .feat-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xs);
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    color: var(--accent);
    box-shadow: 0 0 10px rgba(147, 197, 253, 0.15);
}

.feature-text h3 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 14px;
    line-height: 1.15;
}

.feature-text p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 28px;
}

.feature-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-secondary);
}

.feature-bullets li svg { color: var(--accent); flex-shrink: 0; }

/* Visual Đông đá */
.feature-visual {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background: rgba(13, 24, 46, 0.35);
}

.fv-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--border-subtle);
}

.fv-dot { width: 8px; height: 8px; border-radius: 50%; }
.fv-dot:nth-child(1) { background: var(--rose); opacity: 0.75; }
.fv-dot:nth-child(2) { background: var(--amber); opacity: 0.75; }
.fv-dot:nth-child(3) { background: var(--green); opacity: 0.75; }

.fv-body { padding: 24px; }

/* Metrics */
.dash-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.dash-metric {
    border-radius: var(--radius-sm);
    padding: 14px;
}

.dash-metric .dm-label {
    font-size: 9.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    font-family: 'JetBrains Mono', monospace;
}

.dash-metric .dm-val {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 4px;
    color: #fff;
}

.dash-metric .dm-change {
    font-size: 10px;
    font-weight: 600;
}

.dm-change.up { color: var(--green); }
.dm-change.down { color: var(--rose); }

.dash-chart-area {
    border-radius: var(--radius-sm);
    padding: 16px;
    height: 140px;
    position: relative;
}

.dash-chart-area .dca-title {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 8px;
}

.dash-chart-area svg { width: 100%; height: 80px; }

/* Funnel */
.funnel-stages {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.funnel-stage {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-xs);
}

.funnel-bar-wrap { flex: 1; }

.funnel-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 5px;
}

.funnel-bar-label span:first-child { color: var(--text-secondary); }
.funnel-bar-label span:last-child { font-family: 'JetBrains Mono', monospace; color: var(--text-muted); font-size: 10.5px; }

.funnel-track {
    height: 7px;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    overflow: hidden;
}

.funnel-fill {
    height: 100%;
    border-radius: 6px;
    background: var(--accent-gradient);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.funnel-fill.green { background: linear-gradient(90deg, #86efac, #a5f3fc); }
.funnel-fill.amber { background: linear-gradient(90deg, #fed7aa, #fecdd3); }

.funnel-drop {
    font-size: 10px;
    font-weight: 600;
    color: var(--rose);
    font-family: 'JetBrains Mono', monospace;
    width: 44px;
    text-align: right;
    flex-shrink: 0;
}

/* Code */
.code-block {
    border-radius: var(--radius-sm);
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    line-height: 1.8;
    color: var(--text-secondary);
    overflow-x: auto;
}

.code-block .c-key { color: var(--accent-light); }
.code-block .c-str { color: var(--green); }
.code-block .c-fn { color: var(--amber); }
.code-block .c-comment { color: var(--text-muted); }
.code-block .c-num { color: var(--rose); }

.code-output {
    margin-top: 12px;
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    background: rgba(13, 24, 46, 0.4);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border-subtle);
}

.code-output .co-label {
    font-size: 9.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 8px;
}

.code-output .co-result {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--green);
    font-family: 'JetBrains Mono', monospace;
}

.co-result .pulse-ring {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(134,239,172,0.6);
}

/* Console */
.output-console {
    margin-top: 12px;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    line-height: 1.9;
    min-height: 20px;
    color: var(--text-secondary);
}

.output-console:empty::before {
    content: 'Nhấn "Chạy thử" để xem kết quả...';
    color: var(--text-muted);
    font-style: italic;
}

.output-console .oc-line { display: block; }
.output-console .oc-ok { color: var(--green); }
.output-console .oc-warn { color: var(--amber); }
.output-console .oc-cursor {
    display: inline-block;
    width: 6px;
    height: 12px;
    background: var(--accent);
    margin-left: 2px;
    vertical-align: middle;
    animation: cursorBlink 0.9s steps(1) infinite;
}

@keyframes cursorBlink { 50% { opacity: 0; } }

.btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
}

/* Privacy */
.privacy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.privacy-card {
    border-radius: var(--radius-sm);
    padding: 18px;
}

.privacy-card .pc-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(134,239,172,0.2), rgba(147,197,253,0.15));
    border: 1px solid var(--border-subtle);
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    color: var(--green);
}

.privacy-card h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
    color: #fff;
}

.privacy-card p {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ===== STATS (❄) ===== */

.stats-strip {
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

.stats-strip .stats-grid {
    display: flex;
    justify-content: space-between;
    border-radius: var(--radius);
    padding: 40px 48px;
    background: rgba(13, 24, 46, 0.4);
}

.stat-item { text-align: left; flex: 1; }

.stat-item + .stat-item {
    border-left: 1px solid var(--border-subtle);
    padding-left: 40px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 6px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(147, 197, 253, 0.15);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== SUBSCRIBE (❄) ===== */

.subscribe-section {
    padding: 80px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.subscribe-inner {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin: 0 auto;
    padding: 48px 40px;
    border-radius: var(--radius);
    background: rgba(13, 24, 46, 0.45);
    backdrop-filter: blur(var(--blur)) saturate(150%);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(150%);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 1px 0 var(--glass-highlight) inset, 0 20px 50px rgba(0, 0, 0, 0.45);
}

.subscribe-inner .section-title {
    font-size: clamp(24px, 3.5vw, 36px);
    margin-bottom: 12px;
}

.subscribe-inner .section-desc {
    max-width: 380px;
    margin: 0 auto 32px;
    font-size: 15px;
}

.subscribe-input-group {
    display: flex;
    gap: 0;
    border-radius: var(--radius);
    padding: 5px;
    transition: border-color 0.3s, box-shadow 0.3s;
    background: rgba(255, 255, 255, 0.03);
}

.subscribe-input-group:focus-within {
    border-color: var(--accent-border);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.subscribe-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 18px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-primary);
    outline: none;
    min-width: 0;
}

.subscribe-input-group input::placeholder {
    color: var(--text-muted);
}

.subscribe-input-group .btn {
    border-radius: var(--radius-sm);
    padding: 12px 28px;
}

.subscribe-meta {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.subscribe-meta span {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.subscribe-meta svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* ===== FOOTER ===== */

.footer {
    border-top: 1px solid var(--border-subtle);
    padding: 0;
    position: relative;
    z-index: 2;
}

.footer-shell {
    text-align: center;
    font-size: 11.5px;
    color: var(--text-muted);
    padding: 16px 0 0;
}

.footer-shell .cursor-blink { background: var(--green); }

/* Row 1: Links */
.footer-row-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 28px 0;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-subtle);
}

.footer-row-links a {
    font-size: 13px;
    color: var(--text-secondary);
    transition: color 0.3s;
    letter-spacing: -0.01em;
}

.footer-row-links a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 5px #fff;
}

.footer-link-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--border-subtle);
    flex-shrink: 0;
}

/* Row 2 */
.footer-row-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0 28px;
}

.footer-copy {
    font-size: 12.5px;
    color: var(--text-muted);
}

.footer-copy a {
    color: var(--accent);
    transition: color 0.3s;
}

.footer-copy a:hover {
    color: var(--accent-light);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-legal a {
    font-size: 12.5px;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--text-primary);
}

.footer-right .separator {
    width: 1px;
    height: 16px;
    background: var(--border-subtle);
}

.footer-socials {
    display: flex;
    gap: 4px;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-xs);
    color: var(--text-secondary);
    transition: all 0.3s;
}

.btn:active {
    transform: translateY(1px) scale(0.98);
}

.footer-socials a:hover {
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    transform: translateY(-2px);
}

.footer-socials a:active {
    transform: scale(0.92);
}

/* ===== SCROLL ANIMATIONS ===== */

.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-mockup { max-width: 500px; margin: 0 auto; }
    .mockup-window, .mockup-window:hover { transform: none; }

    .feature-panel, .feature-panel.active {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-text { max-width: none; }

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

@media (max-width: 768px) {
    .navbar { top: 10px; width: calc(100% - 20px); border-radius: var(--radius-sm); }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100dvh;
        background: rgba(13, 20, 39, 0.85); /* Thủy tinh băng tối sắc cho menu mobile */
        backdrop-filter: blur(28px) saturate(140%);
        -webkit-backdrop-filter: blur(28px) saturate(140%);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 28px 80px;
        gap: 0;
        border-left: 1px solid var(--border-subtle);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-links.open { right: 0; }
    .nav-links li { width: 100%; }

    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--border-subtle);
    }

    .nav-toggle { display: flex; }
    .nav-actions { display: none; }

    .nav-mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding-top: 24px;
        margin-top: 8px;
    }

    .nav-mobile-actions .btn {
        width: 100%;
        text-align: center;
        border-radius: var(--radius-pill);
        color: #0c1a35;
    }

    .nav-mobile-actions a {
        border-bottom: none !important;
        padding: 10px 22px !important;
        font-size: 14px !important;
    }
    .hero { padding: 140px 24px 80px; }

    .hero-cta { flex-direction: column; align-items: stretch; }

    .feature-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        width: 100%;
        border-radius: var(--radius-sm);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .feature-tabs::-webkit-scrollbar { display: none; }

    .feature-tab { padding: 10px 18px; font-size: 12.5px; }

    .dash-metrics { grid-template-columns: 1fr; }
    .privacy-grid { grid-template-columns: 1fr; }

    .stats-strip .stats-grid { flex-wrap: wrap; gap: 32px; padding: 32px 24px; }
    .stat-item { flex: 1 1 40%; min-width: 140px; }
    .stat-item + .stat-item { border-left: none; padding-left: 0; }
    .stat-number { font-size: 36px; }

    .subscribe-inner { padding: 32px 22px; }
    .subscribe-input-group { flex-direction: column; border-radius: var(--radius-sm); }
    .subscribe-input-group .btn { width: 100%; border-radius: var(--radius-sm); }
    .subscribe-meta { flex-direction: column; gap: 8px; }

    .footer-row-links { gap: 20px; }

    .section { padding: 80px 0; }
}

@media (max-width: 480px) {
    .trusted-logos { gap: 18px; }
    .mockup-metric-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .fade-up { opacity: 1; transform: none; transition: none; }
    .badge-dot { animation: none; }
    .mockup-window { transform: none; }
    .snowflake { animation: none; display: none; }
    @keyframes panelIn { from { opacity: 1; transform: none; } }
}

/* ===== THEME TOGGLE (WINTER) ===== */

.theme-toggle {
    cursor: pointer;
    padding: 4px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50px;
    border: 1px solid var(--border-subtle);
    width: 52px;
    height: 28px;
    position: relative;
    flex-shrink: 0;
}

.toggle-track {
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
    align-items: center;
    height: 100%;
    font-size: 11px;
}

.toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: var(--accent-gradient);
    border-radius: 50%;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

body.light .toggle-thumb { transform: translateX(24px); }
body.light .theme-toggle { background: rgba(147, 197, 253, 0.12); border-color: rgba(147, 197, 253, 0.3); }

/* ===== MOBILE TASKBAR (❄) ===== */

.mobile-taskbar {
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 460px;
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 10px 14px;
    border-radius: var(--radius);
    z-index: 998;
    background: rgba(13, 20, 39, 0.7);
}

.task-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    transition: 0.25s ease;
}

.task-item small { font-size: 10px; }
.task-item.active, .task-item:hover { color: var(--accent); transform: translateY(-2px); }

@media (max-width: 768px) {
    .mobile-taskbar { display: flex; }
    body { padding-bottom: 96px; }
}

/* ===== LIGHT MODE: "Cold Cloud Glass" ===== */

body.light {
    --deep-space: #e0f2fe; /* Màu xanh tuyết ban ngày nhạt */
    --surface-1: rgba(255, 255, 255, 0.5);
    --surface-2: rgba(255, 255, 255, 0.4);
    --surface-3: rgba(255, 255, 255, 0.7);
    --accent: #2563eb;
    --accent-light: #0284c7;
    --accent-glow: rgba(37, 99, 235, 0.18);
    --accent-soft: rgba(37, 99, 235, 0.08);
    --accent-border: rgba(37, 99, 235, 0.25);
    --accent-gradient: linear-gradient(135deg, #0284c7 0%, #38bdf8 50%, #10b981 100%);
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #475569;
    --border-subtle: rgba(37, 99, 235, 0.15);
    --glass-highlight: rgba(255, 255, 255, 0.85);
    --green: #059669;
    --amber: #d97706;
    --rose: #e11d48;
}

body.light .snowflake {
    color: #475569; /* Hạt tuyết sẫm màu hơn khi ở light mode */
    --snow-opacity: 0.15;
}

body.light .brand-icon,
body.light .btn-primary,
body.light .feature-tab.active,
body.light .toggle-thumb {
    color: #fff;
}

/* ==========================================================================
   SUBPAGE & COMMON COMPONENT STYLES (Synchronized UI)
   ========================================================================== */

/* Subpage Hero */
.subpage-hero {
    padding: 130px 0 50px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.subpage-hero .hero-badge {
    margin-bottom: 18px;
}

.subpage-hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.subpage-hero .subpage-desc {
    max-width: 680px;
    margin: 0 auto;
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Contact Page Components */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 32px;
    align-items: start;
    margin: 40px auto 90px;
}

.contact-info-panel,
.contact-form-panel {
    background: var(--surface-1);
    backdrop-filter: blur(var(--blur)) saturate(140%);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: 0 1px 0 var(--glass-highlight) inset, 0 20px 50px rgba(0, 0, 0, 0.35);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 28px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-info-text a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background: var(--surface-2);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xs);
    padding: 13px 18px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-primary);
    outline: none;
    transition: all var(--dur) ease;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: var(--surface-3);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Ecosystem / Service Cards */
.eco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin: 40px auto 100px;
}

.eco-card {
    background: var(--surface-1);
    backdrop-filter: blur(var(--blur)) saturate(140%);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    transition: transform var(--dur) ease, border-color var(--dur) ease, box-shadow var(--dur) ease;
}

.eco-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle at top right, var(--accent-glow), transparent 70%);
    opacity: 0.6;
    pointer-events: none;
    transition: opacity var(--dur) ease;
}

.eco-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 16px 40px var(--accent-glow);
}

.eco-card:hover::before {
    opacity: 1;
}

.eco-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.eco-icon {
    font-size: 38px;
    line-height: 1;
}

.eco-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: rgba(134, 239, 172, 0.12);
    color: var(--green);
    border: 1px solid rgba(134, 239, 172, 0.25);
}

.eco-status.blue {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: var(--accent-border);
}

.eco-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.eco-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.eco-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    transition: gap var(--dur) ease;
}

.eco-card:hover .eco-action {
    gap: 10px;
}

/* Legal & Policy Articles */
.legal-container {
    max-width: 900px;
    margin: 40px auto 100px;
}

.legal-card {
    background: var(--surface-1);
    backdrop-filter: blur(var(--blur)) saturate(140%);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: 0 1px 0 var(--glass-highlight) inset, 0 20px 50px rgba(0, 0, 0, 0.35);
}

.legal-section {
    margin-bottom: 36px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-section p,
.legal-section li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-section ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal-section li {
    margin-bottom: 6px;
}

/* About Us Timeline & Values */
.about-roadmap {
    margin: 40px auto 70px;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px;
    padding: 30px 10px 10px;
}

.timeline-col {
    text-align: center;
    position: relative;
}

.timeline-year {
    font-size: 22px;
    font-weight: 800;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 6px;
}

.timeline-title {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.timeline-dot-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
}

.timeline-col.current .timeline-dot {
    background: var(--green);
    box-shadow: 0 0 16px var(--green);
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0 80px;
}

.value-card {
    background: var(--surface-1);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 30px;
    transition: transform var(--dur) ease;
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.value-card .value-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 404 Error Center Screen */
.error-hero {
    min-height: calc(100vh - 280px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.error-card {
    max-width: 540px;
    width: 100%;
    text-align: center;
    padding: 50px 36px;
    background: var(--surface-1);
    backdrop-filter: blur(var(--blur)) saturate(140%);
    -webkit-backdrop-filter: blur(var(--blur)) saturate(140%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    box-shadow: 0 1px 0 var(--glass-highlight) inset, 0 20px 50px rgba(0, 0, 0, 0.4);
}

.error-code {
    font-size: clamp(70px, 15vw, 110px);
    font-weight: 900;
    line-height: 1;
    font-family: 'JetBrains Mono', monospace;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.error-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.error-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.error-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-info-panel,
    .contact-form-panel {
        padding: 30px 22px;
    }
    .legal-card {
        padding: 30px 20px;
    }
}
