/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --color-bg: #0a0a0f;
    --color-bg-subtle: #0f0f18;
    --color-bg-card: #12121c;
    --color-bg-elevated: #1a1a28;
    --color-text: #e4e4ef;
    --color-text-secondary: #8888a0;
    --color-muted: #55556a;
    --color-accent: #635bff;
    --color-accent-hover: #7c75ff;
    --color-accent-light: rgba(99, 91, 255, 0.12);
    --color-green: #00ff88;
    --color-green-dim: rgba(0, 255, 136, 0.15);
    --color-border: #1e1e30;
    --color-border-bright: #2a2a40;
    --color-error: #ff4444;
    --color-success: #00ff88;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Consolas', monospace;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(99, 91, 255, 0.15);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: var(--color-accent); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--color-accent-hover); }
a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -50px;
    left: 16px;
    background: var(--color-accent);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 200;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.form-column { max-width: 680px; margin: 0 auto; padding: 0 32px; }
.req { color: var(--color-error); font-weight: 400; }

/* ===== NAV ===== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    padding: 14px 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.nav.nav-scrolled {
    background: rgba(10, 10, 15, 0.95);
    border-bottom-color: var(--color-border-bright);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.nav-logo {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-text);
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: transform 0.2s ease;
}
.nav-logo:hover { color: var(--color-text); transform: scale(1.02); }
.nav-logo-icon { font-size: 1.1rem; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color 0.2s ease;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s var(--ease-out-expo);
}
.nav-link:hover { color: var(--color-text); }
.nav-link:hover::after { width: 100%; }
.nav-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-accent);
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 2px 8px rgba(99, 91, 255, 0.2);
    animation: navCtaPulse 4s ease-in-out infinite;
}
@keyframes navCtaPulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(99, 91, 255, 0.2); }
    50% { box-shadow: 0 2px 16px rgba(99, 91, 255, 0.35); }
}
.nav-cta:hover {
    background: var(--color-accent-hover);
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 24px rgba(99, 91, 255, 0.4);
    animation: none;
}
.nav-cta:active { transform: translateY(0) scale(0.98); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.25s var(--ease-out-expo);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(99, 91, 255, 0.3);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    transform: translate(-50%, -50%);
    transition: width 0.6s var(--ease-out-expo), height 0.6s var(--ease-out-expo);
}
.btn-primary:hover::after {
    width: 300px; height: 300px;
}
.btn-primary:hover {
    background: var(--color-accent-hover);
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(99, 91, 255, 0.45), 0 0 60px rgba(99, 91, 255, 0.15);
}
.btn-primary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 1px 4px rgba(99, 91, 255, 0.2);
    transition-duration: 0.1s;
}
.btn-ghost {
    background: transparent;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border-bright);
    position: relative;
}
.btn-ghost::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(99, 91, 255, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.btn-ghost:hover::before { opacity: 1; }
.btn-ghost:hover {
    color: var(--color-text);
    border-color: var(--color-accent);
    background: rgba(99, 91, 255, 0.06);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(99, 91, 255, 0.1);
}
.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.3);
}
.btn-lg {
    font-size: 1.05rem;
    padding: 16px 36px;
}

/* ===== HERO ===== */
.hero {
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(99, 91, 255, 0.1) 0%, rgba(0, 255, 136, 0.02) 40%, transparent 70%);
    pointer-events: none;
    animation: glowBreathe 8s ease-in-out infinite, glowDrift 12s ease-in-out infinite;
    will-change: transform, opacity;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: var(--font-mono);
    color: var(--color-green);
    background: var(--color-green-dim);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.hero-badge:hover {
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
}
.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-green);
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(0, 255, 136, 0.4);
}
.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-text);
    margin-bottom: 1.25rem;
    letter-spacing: -0.035em;
}
.hero-verb-line {
    color: var(--color-text-secondary);
}
.hero-verb {
    color: var(--color-green);
    font-family: var(--font-mono);
    font-weight: 700;
    position: relative;
    display: inline-block;
    transition: opacity 0.3s ease, transform 0.3s var(--ease-out-back), filter 0.3s ease, text-shadow 0.3s ease;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3), 0 0 40px rgba(0, 255, 136, 0.1);
    animation: verbGlow 3s ease-in-out infinite;
}
@keyframes verbGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(0, 255, 136, 0.3), 0 0 40px rgba(0, 255, 136, 0.1); }
    50% { text-shadow: 0 0 30px rgba(0, 255, 136, 0.5), 0 0 60px rgba(0, 255, 136, 0.2); }
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 540px;
    margin: 0 0 2rem;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 0.5rem;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-stat strong {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: -0.03em;
    line-height: 1;
    font-family: var(--font-mono);
}
.hero-stat .stat-self {
    color: var(--color-green);
    font-size: 1.1rem;
}
.hero-stat span {
    font-size: 0.72rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
    margin-top: 3px;
}
.hero-stat-sep {
    width: 1px;
    height: 28px;
    background: var(--color-border-bright);
}

/* ===== HERO SPLIT + SYSTEM VIEW ===== */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: center;
}
.hero-copy { text-align: left; }
.hero-demo {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
}
.system-view {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border-bright);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    max-width: 560px;
    width: 100%;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
    animation: systemViewEntry 0.8s var(--ease-out-expo) 0.3s both;
}
.system-view:hover {
    box-shadow: var(--shadow-lg), 0 0 80px rgba(99, 91, 255, 0.2);
    border-color: rgba(99, 91, 255, 0.3);
}

/* Phone mockup (left side of system view) */
.phone-mockup { width: 100%; }
.phone-screen {
    background: #ECE5DD;
    height: 460px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.wa-header {
    background: #075E54;
    color: #fff;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.wa-back { font-size: 1.4rem; opacity: 0.8; font-weight: 300; line-height: 1; }
.wa-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
}
.wa-header-info { flex: 1; min-width: 0; }
.wa-name { font-size: 0.9rem; font-weight: 600; line-height: 1.2; }
.wa-status { font-size: 0.7rem; opacity: 0.75; line-height: 1.2; }
.wa-chat {
    flex: 1;
    padding: 10px 10px 6px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 4px;
    overflow: hidden;
    background: #ECE5DD url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d4cfc4' fill-opacity='0.15'%3E%3Cpath d='M30 5l5 10h10l-8 6 3 10-10-7-10 7 3-10-8-6h10z' /%3E%3C/g%3E%3C/svg%3E");
    transition: opacity 0.35s ease;
}
.wa-msg {
    max-width: 90%;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    line-height: 1.45;
    word-wrap: break-word;
    position: relative;
    color: #111;
}
.wa-msg-user {
    background: #DCF8C6;
    align-self: flex-end;
    border-top-right-radius: 0;
    animation: msgSlideLeft 0.3s var(--ease-out-expo);
}
.wa-msg-peter {
    background: #fff;
    align-self: flex-start;
    border-top-left-radius: 0;
    animation: msgSlideRight 0.35s var(--ease-out-expo);
}
.wa-msg-time { font-size: 0.58rem; color: #999; text-align: right; margin-top: 2px; }
.wa-msg-peter .wa-msg-sender { font-size: 0.62rem; font-weight: 600; color: #075E54; margin-bottom: 1px; }
.wa-typing {
    align-self: flex-start;
    background: #fff;
    border-radius: 8px;
    border-top-left-radius: 0;
    padding: 8px 14px;
    display: flex;
    gap: 4px;
    animation: msgSlideRight 0.25s var(--ease-out-expo);
}
.wa-typing-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #999;
    animation: typingBounce 1.2s ease-in-out infinite;
}
.wa-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.wa-typing-dot:nth-child(3) { animation-delay: 0.3s; }
.wa-result-terminal {
    margin-top: 4px;
    padding: 5px 7px;
    border-radius: 5px;
    background: #1a1a2e;
    color: #a8e6a3;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    line-height: 1.5;
}
.wa-result-metrics {
    margin-top: 4px;
    padding: 5px 7px;
    border-radius: 5px;
    background: #f0f4ff;
    border: 1px solid #dbe4ff;
    font-family: var(--font-body);
    font-size: 0.62rem;
    line-height: 1.5;
}
.wa-result-doc {
    margin-top: 4px;
    padding: 5px 7px;
    border-radius: 5px;
    background: #fff8f0;
    border: 1px solid #ffe4c4;
    font-family: var(--font-body);
    font-size: 0.62rem;
    line-height: 1.5;
}
.term-green { color: #6ee673; }
.term-blue { color: #7eb8ff; }
.term-dim { color: #666; }
.term-str { color: #a8e6a3; }
.metric-row { display: flex; justify-content: space-between; padding: 1px 0; }
.metric-label { color: #555; }
.metric-val { font-weight: 600; color: #222; }
.metric-up { color: #16a34a; }
.wa-input-bar {
    background: #f0f0f0;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.wa-input-field {
    flex: 1;
    background: #fff;
    border-radius: 18px;
    padding: 6px 12px;
    font-size: 0.72rem;
    min-height: 30px;
    display: flex;
    align-items: center;
    color: #222;
    overflow: hidden;
    white-space: nowrap;
}
.wa-input-cursor::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 14px;
    background: #222;
    margin-left: 1px;
    animation: blink 0.8s step-end infinite;
    vertical-align: text-bottom;
}
.wa-send-btn {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: #075E54;
    display: flex; align-items: center; justify-content: center;
    color: #fff; flex-shrink: 0;
    transition: transform 0.2s var(--ease-out-back), background 0.15s;
}
.wa-send-btn.active { background: #128C7E; transform: scale(1.15); }

/* System log (right side of system view) */
.system-log {
    background: #0d0d14;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--color-border);
    overflow: hidden;
    position: relative;
}
/* Subtle scanline effect on terminal */
.system-log::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    z-index: 1;
}
.syslog-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}
.syslog-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    transition: box-shadow 0.3s ease;
}
.syslog-dot-red { background: #ff5f57; }
.syslog-dot-yellow { background: #febc2e; }
.syslog-dot-green { background: #28c840; }
.system-view:hover .syslog-dot-red { box-shadow: 0 0 6px #ff5f57; }
.system-view:hover .syslog-dot-yellow { box-shadow: 0 0 6px #febc2e; }
.system-view:hover .syslog-dot-green { box-shadow: 0 0 6px #28c840; }
.syslog-title {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--color-muted);
    margin-left: 4px;
}
.syslog-body {
    flex: 1;
    padding: 8px 10px;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: opacity 0.35s ease;
}
.syslog-line {
    opacity: 0;
    animation: syslogFade 0.35s var(--ease-out-expo) forwards;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.syslog-line .sl-time { color: var(--color-muted); }
.syslog-line .sl-agent { color: var(--color-accent); }
.syslog-line .sl-ok { color: var(--color-green); text-shadow: 0 0 10px rgba(0, 255, 136, 0.4); animation: slOkGlow 1.5s ease-in-out; }
@keyframes slOkGlow {
    0% { text-shadow: 0 0 10px rgba(0, 255, 136, 0.4); }
    50% { text-shadow: 0 0 20px rgba(0, 255, 136, 0.8); }
    100% { text-shadow: 0 0 10px rgba(0, 255, 136, 0.4); }
}
.syslog-line .sl-tool { color: #f9a825; }
.syslog-line .sl-dim { color: #444; }

@keyframes syslogFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== HERO TICKER ===== */
.hero-ticker {
    overflow: hidden;
    margin-top: 3rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.ticker-track {
    display: flex;
    gap: 0;
    animation: tickerScroll 40s linear infinite;
    white-space: nowrap;
    width: max-content;
}
.ticker-track:hover {
    animation-play-state: paused;
}
.ticker-track span {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-muted);
    padding: 0 8px;
    font-family: var(--font-mono);
    transition: color 0.4s ease, text-shadow 0.4s ease, transform 0.4s ease;
    display: inline-block;
}
.ticker-track span:not(.ticker-dot):hover {
    color: var(--color-green);
    text-shadow: 0 0 12px rgba(0, 255, 136, 0.3);
    transform: translateY(-1px);
}
.ticker-dot {
    color: var(--color-border-bright) !important;
    font-weight: 400 !important;
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 0;
    position: relative;
}
.section-alt {
    background: var(--color-bg-subtle);
}
.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
    color: var(--color-text);
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    max-width: 540px;
    line-height: 1.7;
}
.section-header-center {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}
.section-header-center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ===== PARADIGM SHIFT ===== */
.paradigm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.paradigm-card {
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}
.paradigm-old {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
}
.paradigm-old:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.paradigm-new {
    background: linear-gradient(135deg, rgba(99, 91, 255, 0.1) 0%, rgba(0, 255, 136, 0.05) 100%);
    border: 1px solid rgba(99, 91, 255, 0.2);
    position: relative;
    overflow: hidden;
}
.paradigm-new::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent 70%, rgba(99, 91, 255, 0.06) 80%, transparent 90%);
    animation: paradigmShimmer 8s linear infinite;
    pointer-events: none;
}
@keyframes paradigmShimmer {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.paradigm-new:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 91, 255, 0.4);
    box-shadow: 0 12px 40px rgba(99, 91, 255, 0.15), 0 0 80px rgba(0, 255, 136, 0.06);
}
.paradigm-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}
.paradigm-old .paradigm-label { color: var(--color-muted); }
.paradigm-new .paradigm-label { color: var(--color-green); }
.paradigm-quote {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    font-style: italic;
}
.paradigm-new .paradigm-quote {
    color: var(--color-text);
    border-color: rgba(99, 91, 255, 0.15);
}
.paradigm-quote:last-of-type { border-bottom: none; }
.paradigm-bottom {
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
}
.paradigm-old .paradigm-bottom { color: var(--color-muted); }
.paradigm-new .paradigm-bottom { color: var(--color-green); }

/* Scenarios */
.scenarios { margin-top: 1rem; }
.scenarios-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    text-align: center;
}
.scenarios-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.scenario-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}
.scenario-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-green), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out-expo);
}
.scenario-card:hover::before { transform: scaleX(1); }
.scenario-card:hover {
    border-color: rgba(99, 91, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 60px rgba(99, 91, 255, 0.08);
    background: linear-gradient(180deg, rgba(99, 91, 255, 0.04) 0%, var(--color-bg-card) 100%);
}
.scenario-prompt {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
    font-weight: 500;
    transition: color 0.2s ease;
}
.scenario-card:hover .scenario-prompt {
    color: var(--color-accent-hover);
}
.scenario-result {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ===== ROLES GRID ===== */
#roles > .container { max-width: 1320px; }
.roles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
}
.role-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}
.role-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--card-accent, var(--color-accent));
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.role-card:hover {
    transform: translateY(-4px);
    border-color: var(--card-accent, var(--color-accent));
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25), 0 0 40px rgba(99, 91, 255, 0.06);
}
.role-card:hover::before { opacity: 1; }
.role-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 1rem;
}
.role-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--card-accent, var(--color-accent));
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.role-title {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--card-accent, var(--color-accent));
    margin-bottom: 0.15rem;
}
.role-subtitle {
    font-size: 0.78rem;
    color: var(--color-muted);
    margin-bottom: 1rem;
}
.role-actions {
    list-style: none;
    padding: 0;
    margin: 0;
}
.role-actions li {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--color-border);
    line-height: 1.5;
}
.role-actions li:last-child { border-bottom: none; }

/* ===== STEPS (How it works) ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.step-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-accent-light);
    color: var(--color-accent);
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}
.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}
.step-desc {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.65;
}

/* ===== CASE STUDY ===== */
.case-study-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}
.case-study-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-green));
}
.case-study-headline {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
}
.case-study-desc {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.case-study-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.case-study-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(99, 91, 255, 0.05);
    border: 1px solid rgba(99, 91, 255, 0.12);
    border-radius: var(--radius-md);
}
.case-study-stat-num {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-green);
    margin-bottom: 0.25rem;
}
.case-study-stat-label {
    font-size: 0.72rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.case-study-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}
.case-study-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 12px;
    background: var(--color-green-dim);
    color: var(--color-green);
    border: 1px solid rgba(0, 255, 136, 0.2);
}
.case-study-footer {
    font-size: 0.85rem;
    color: var(--color-muted);
    font-style: italic;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

/* ===== NO-TECH COMPARISON ===== */
.notech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.notech-card {
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}
.notech-card:hover {
    transform: translateY(-2px);
}
.notech-old {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
}
.notech-old:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }
.notech-new {
    background: linear-gradient(135deg, rgba(99, 91, 255, 0.1) 0%, rgba(0, 255, 136, 0.05) 100%);
    border: 1px solid rgba(99, 91, 255, 0.2);
}
.notech-new:hover {
    box-shadow: 0 12px 40px rgba(99, 91, 255, 0.12);
    border-color: rgba(99, 91, 255, 0.4);
}
.notech-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}
.notech-old .notech-label { color: var(--color-muted); }
.notech-new .notech-label { color: var(--color-green); }
.notech-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}
.notech-row:last-of-type { border-bottom: none; }
.notech-new .notech-row { border-color: rgba(99, 91, 255, 0.12); }
.notech-icon {
    flex-shrink: 0;
    font-weight: 700;
    width: 18px;
    text-align: center;
    margin-top: 1px;
}
.notech-old .notech-icon { color: var(--color-error); }
.notech-new .notech-icon { color: var(--color-green); }
.notech-bottom {
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
}
.notech-old .notech-bottom { color: var(--color-muted); }
.notech-new .notech-bottom { color: var(--color-green); }

/* ===== PRICING ===== */
.pricing-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-bright);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-green));
}
.pricing-card:hover {
    border-color: rgba(99, 91, 255, 0.3);
    box-shadow: 0 12px 40px rgba(99, 91, 255, 0.1);
}
.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}
.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.03em;
}
.pricing-period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-muted);
}
.pricing-name {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-accent);
    margin-top: 0.5rem;
    font-weight: 600;
}
.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}
.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}
.pricing-check {
    color: var(--color-green);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.pricing-note {
    font-size: 0.8rem;
    color: var(--color-muted);
    text-align: center;
    font-style: italic;
}
.pricing-cta {
    display: block;
    text-align: center;
}

/* ===== META SECTION (this site) ===== */
.section-meta {
    background: var(--color-bg-subtle);
    padding: 4rem 0;
}
.meta-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}
.meta-terminal {
    background: #0d0d14;
    border: 1px solid var(--color-border-bright);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 100%;
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.meta-terminal:hover {
    border-color: rgba(99, 91, 255, 0.3);
    box-shadow: 0 0 40px rgba(99, 91, 255, 0.08);
}
/* Scanline on meta terminal too */
.meta-terminal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    z-index: 1;
}
.meta-code {
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.8;
}
.meta-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--color-text-secondary);
    opacity: 0;
    animation: metaLineReveal 0.4s var(--ease-out-expo) forwards;
}
.meta-content.is-visible .meta-line:nth-child(1) { animation-delay: 0.1s; }
.meta-content.is-visible .meta-line:nth-child(2) { animation-delay: 0.2s; }
.meta-content.is-visible .meta-line:nth-child(3) { animation-delay: 0.3s; }
.meta-content.is-visible .meta-line:nth-child(4) { animation-delay: 0.4s; }
.meta-content.is-visible .meta-line:nth-child(5) { animation-delay: 0.5s; }
.meta-content.is-visible .meta-line:nth-child(6) { animation-delay: 0.6s; }
.meta-content.is-visible .meta-line:nth-child(7) { animation-delay: 0.7s; }
.meta-content.is-visible .meta-line:nth-child(8) { animation-delay: 0.8s; }
.meta-content.is-visible .meta-line:nth-child(9) { animation-delay: 0.9s; }
.meta-content.is-visible .meta-line:nth-child(10) { animation-delay: 1.0s; }
.meta-content.is-visible .meta-line:nth-child(11) { animation-delay: 1.1s; }
.meta-content.is-visible .meta-line:nth-child(12) { animation-delay: 1.2s; }
@keyframes metaLineReveal {
    from { opacity: 0; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}
.meta-line .term-green {
    text-shadow: 0 0 8px rgba(110, 230, 115, 0.3);
}
.meta-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
    letter-spacing: -0.02em;
}
.meta-text p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.meta-aside {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--color-text) !important;
    font-size: 1rem !important;
}

/* ===== ARCHITECTURE ===== */
.arch-diagram {
    max-width: 500px;
    margin: 0 auto 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.arch-layer {
    width: 100%;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}
.arch-layer:hover {
    transform: scale(1.02);
}
.arch-vm {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-bright);
    border-top: 3px solid var(--color-accent);
}
.arch-vm:hover {
    box-shadow: 0 0 30px rgba(99, 91, 255, 0.08);
}
.arch-bridge {
    background: linear-gradient(135deg, rgba(99, 91, 255, 0.15), rgba(0, 255, 136, 0.08));
    border: 1px solid rgba(99, 91, 255, 0.3);
    position: relative;
    overflow: hidden;
}
.arch-bridge::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(99, 91, 255, 0.08), transparent);
    animation: bridgeShimmer 4s ease-in-out infinite;
}
@keyframes bridgeShimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}
.arch-bridge:hover {
    box-shadow: 0 0 40px rgba(99, 91, 255, 0.12);
}
.arch-vault {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-bright);
    border-bottom: 3px solid var(--color-green);
}
.arch-vault:hover {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.06);
}
.arch-label {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}
.arch-desc {
    font-size: 0.78rem;
    color: var(--color-muted);
    margin-bottom: 0.75rem;
}
.arch-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.arch-item {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.arch-item:hover {
    transform: scale(1.05);
}
.arch-allow {
    background: var(--color-green-dim);
    color: var(--color-green);
    border: 1px solid rgba(0, 255, 136, 0.2);
}
.arch-allow:hover {
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.15);
}
.arch-deny {
    background: rgba(255, 68, 68, 0.1);
    color: #ff6666;
    border: 1px solid rgba(255, 68, 68, 0.2);
}
.arch-deny:hover {
    box-shadow: 0 0 12px rgba(255, 68, 68, 0.12);
}
.arch-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--color-muted);
}
.arch-arrow svg {
    width: 24px;
    height: 50px;
    animation: arrowPulse 2s ease-in-out infinite;
}
.arch-arrow-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--color-muted);
    margin-top: -4px;
}
.arch-apis {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 0.5rem;
}
.arch-apis span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--color-text-secondary);
    padding: 2px 8px;
    background: var(--color-bg-elevated);
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}
.arch-apis span:hover {
    color: var(--color-text);
    background: var(--color-bg-card);
}
.arch-guarantees {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}
.arch-guarantee {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.2s ease;
}
.arch-guarantee:hover {
    transform: translateX(4px);
}
.arch-g-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}
.arch-guarantee strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}
.arch-guarantee p {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ===== EVOLUTION TIMELINE ===== */
.timeline {
    position: relative;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    padding-left: 80px;
}
.timeline-line {
    position: absolute;
    left: 68px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-border-bright), var(--color-accent), var(--color-green));
}
.timeline-item {
    position: relative;
    padding: 0 0 1.5rem 2rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -17px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-bg-card);
    border: 2px solid var(--color-accent);
    z-index: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.timeline-item:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(99, 91, 255, 0.3);
}
.timeline-item-now::before {
    background: var(--color-green);
    border-color: var(--color-green);
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.4);
    animation: timelinePulse 2s ease-in-out infinite;
}
.timeline-date {
    position: absolute;
    left: -80px;
    top: 2px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--color-muted);
    font-weight: 500;
    width: 60px;
    text-align: right;
}
.timeline-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.2rem;
    transition: color 0.2s ease;
}
.timeline-item:hover .timeline-title {
    color: var(--color-green);
}
.timeline-desc {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Evolution counter */
.evolution-counter {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
}
.evo-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.evo-from {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--color-muted);
    font-weight: 600;
}
.evo-arrow {
    color: var(--color-green);
    font-size: 1rem;
    transition: transform 0.3s ease;
}
.evo-stat:hover .evo-arrow {
    transform: translateX(3px);
}
.evo-to {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--color-green);
    font-weight: 800;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
}
.evo-label {
    font-size: 0.72rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}
.evo-enterprise {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color 0.3s ease;
}
.evo-enterprise:hover {
    border-color: var(--color-border-bright);
}
.evo-enterprise p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ===== FORM SECTION ===== */
.form-intro {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}
.form-panel {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-bright);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}
.form-panel::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--radius-lg) + 1px);
    background: linear-gradient(135deg, rgba(99, 91, 255, 0.15), transparent 30%, transparent 70%, rgba(0, 255, 136, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.form-panel:hover::before { opacity: 1; }
.form-panel:hover {
    border-color: rgba(99, 91, 255, 0.25);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(99, 91, 255, 0.06);
}
.application-form { position: relative; }
.form-section { margin-bottom: 1.5rem; }
.form-section:last-child { margin-bottom: 0; }
.form-section + .form-section {
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}
.form-label-hero {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.35rem;
}
.form-label-hint {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}
.form-row { display: grid; gap: 1rem; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-group { margin-bottom: 0.75rem; }
.form-group:last-child { margin-bottom: 0; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 6px;
}
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border-bright);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text);
    background: var(--color-bg-elevated);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15), 0 0 30px rgba(99, 91, 255, 0.08), inset 0 0 20px rgba(99, 91, 255, 0.03);
    background: var(--color-bg-card);
}
.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-muted);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-checkbox {
    width: 18px; height: 18px;
    accent-color: var(--color-accent);
    cursor: pointer;
    flex-shrink: 0;
}
.form-checkbox:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Field errors */
.form-group.has-error .form-input,
.form-group.has-error .form-textarea {
    border-color: var(--color-error);
}
.form-group.has-error .form-input:focus,
.form-group.has-error .form-textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.15);
}
.field-error {
    color: var(--color-error);
    font-size: 0.8rem;
    margin-top: 4px;
}
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.alert-error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.2);
    color: var(--color-error);
}

/* Submit */
.form-section-submit { text-align: center; }
.consent-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    cursor: pointer;
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
}
.btn-submit {
    font-size: 1.05rem;
    padding: 16px 48px;
    width: 100%;
    max-width: 360px;
    border-radius: 8px;
}
.btn-submit:hover {
    box-shadow: 0 8px 32px rgba(99, 91, 255, 0.35);
}
.btn-submit.is-loading {
    pointer-events: none;
    opacity: 0.6;
}
.form-note {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--color-muted);
}

/* ===== FOOTER ===== */
.footer {
    padding: 2.5rem 0 2rem;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}
.footer-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-muted);
}
.footer-links { margin-bottom: 0.5rem; }
.footer-links a { color: var(--color-muted); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--color-accent); }
.footer-privacy { margin-bottom: 0.5rem; max-width: 460px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.footer-badge { margin-top: 0.5rem; font-size: 0.78rem; }
.footer-tlp { color: var(--color-accent); }

/* ===== AMBIENT EFFECTS ===== */

/* Noise texture overlay for depth */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
    mix-blend-mode: overlay;
}

/* Cursor glow that follows mouse */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 91, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    will-change: transform;
    transition: opacity 0.3s ease;
    opacity: 0;
}
.cursor-glow.active { opacity: 1; }

/* Floating particles container */
.particles {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(99, 91, 255, 0.5);
    animation: particleFloat linear infinite;
    will-change: transform, opacity;
}
.particle:nth-child(odd) {
    background: rgba(0, 255, 136, 0.4);
}
.particle:nth-child(3n) {
    width: 4px;
    height: 4px;
    background: rgba(99, 91, 255, 0.35);
    animation-name: particleFloat2;
}
.particle:nth-child(5n) {
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    animation-name: particleFloat3;
}
@keyframes particleFloat {
    0% { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
    8% { opacity: 1; transform: translateY(92vh) translateX(8px) scale(1); }
    50% { transform: translateY(50vh) translateX(-15px) scale(1.1); opacity: 0.7; }
    85% { opacity: 0.4; }
    100% { transform: translateY(-10vh) translateX(10px) scale(0.6); opacity: 0; }
}
@keyframes particleFloat2 {
    0% { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
    10% { opacity: 0.8; transform: translateY(90vh) translateX(-12px) scale(1); }
    40% { transform: translateY(60vh) translateX(20px) scale(1.2); }
    70% { transform: translateY(30vh) translateX(-8px) scale(0.9); opacity: 0.5; }
    100% { transform: translateY(-10vh) translateX(15px) scale(0.4); opacity: 0; }
}
@keyframes particleFloat3 {
    0% { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
    12% { opacity: 0.6; transform: translateY(88vh) translateX(5px) scale(1); }
    60% { transform: translateY(40vh) translateX(-25px) scale(1.3); opacity: 0.5; }
    100% { transform: translateY(-10vh) translateX(-10px) scale(0.3); opacity: 0; }
}

/* Moving scanlines on terminals */
.system-log::before,
.meta-terminal::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    height: 200%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(99, 91, 255, 0.015) 3px,
        rgba(99, 91, 255, 0.015) 4px
    );
    pointer-events: none;
    z-index: 2;
    animation: scanlineMove 8s linear infinite;
}
@keyframes scanlineMove {
    from { transform: translateY(0); }
    to { transform: translateY(50%); }
}

/* Animated gradient border on system-view */
.system-view {
    position: relative;
}
.system-view::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--radius-lg) + 1px);
    background: conic-gradient(
        from var(--gradient-angle, 0deg),
        transparent 40%,
        rgba(99, 91, 255, 0.4) 50%,
        rgba(0, 255, 136, 0.3) 55%,
        transparent 65%
    );
    z-index: -1;
    animation: gradientRotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.system-view:hover::before {
    opacity: 1;
}
@keyframes gradientRotate {
    from { --gradient-angle: 0deg; }
    to { --gradient-angle: 360deg; }
}
@property --gradient-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* Section separator gradients */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 91, 255, 0.2), rgba(0, 255, 136, 0.15), transparent);
    opacity: 0.6;
}
.section:first-of-type::before { display: none; }
.hero::before { display: none; }

/* ===== ANIMATIONS ===== */
@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(0, 255, 136, 0.4); }
    50% { opacity: 0.4; box-shadow: 0 0 2px rgba(0, 255, 136, 0.2); }
}
@keyframes glowBreathe {
    0%, 100% { opacity: 0.7; background: radial-gradient(ellipse, rgba(99, 91, 255, 0.1) 0%, rgba(0, 255, 136, 0.02) 40%, transparent 70%); }
    33% { opacity: 0.9; background: radial-gradient(ellipse, rgba(0, 255, 136, 0.08) 0%, rgba(99, 91, 255, 0.03) 40%, transparent 70%); }
    66% { opacity: 1; background: radial-gradient(ellipse, rgba(99, 91, 255, 0.12) 0%, rgba(0, 255, 136, 0.04) 40%, transparent 70%); }
}
@keyframes glowDrift {
    0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
    25% { transform: translateX(-48%) translateY(-15px) scale(1.02); }
    50% { transform: translateX(-50%) translateY(-5px) scale(0.98); }
    75% { transform: translateX(-52%) translateY(8px) scale(1.01); }
}
@keyframes systemViewEntry {
    from { opacity: 0; transform: translateY(30px) scale(0.96); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes msgSlideLeft {
    from { opacity: 0; transform: translateX(30px) scale(0.92); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes msgSlideRight {
    from { opacity: 0; transform: translateX(-30px) scale(0.92); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-5px); opacity: 1; }
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes arrowPulse {
    0%, 100% { opacity: 0.4; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(3px); }
}
@keyframes timelinePulse {
    0%, 100% { box-shadow: 0 0 12px rgba(0, 255, 136, 0.4); transform: scale(1); }
    50% { box-shadow: 0 0 24px rgba(0, 255, 136, 0.7); transform: scale(1.2); }
}
@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SCROLL REVEAL ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo), filter 0.8s ease;
        filter: blur(2px);
        will-change: transform, opacity;
    }
    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
    /* Staggered children in grids */
    .reveal-stagger > * {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo), filter 0.6s ease;
        filter: blur(1px);
    }
    .reveal-stagger.is-visible > * {
        opacity: 1; transform: translateY(0); filter: blur(0);
    }
    .reveal-stagger.is-visible > *:nth-child(1)  { transition-delay: 0s; }
    .reveal-stagger.is-visible > *:nth-child(2)  { transition-delay: 0.1s; }
    .reveal-stagger.is-visible > *:nth-child(3)  { transition-delay: 0.15s; }
    .reveal-stagger.is-visible > *:nth-child(4)  { transition-delay: 0.2s; }
    .reveal-stagger.is-visible > *:nth-child(5)  { transition-delay: 0.25s; }
    .reveal-stagger.is-visible > *:nth-child(6)  { transition-delay: 0.3s; }
    .reveal-stagger.is-visible > *:nth-child(7)  { transition-delay: 0.35s; }
    .reveal-stagger.is-visible > *:nth-child(8)  { transition-delay: 0.4s; }
    .reveal-stagger.is-visible > *:nth-child(9)  { transition-delay: 0.45s; }
    .reveal-stagger.is-visible > *:nth-child(10) { transition-delay: 0.5s; }
    .reveal-stagger.is-visible > *:nth-child(11) { transition-delay: 0.55s; }
    .reveal-stagger.is-visible > *:nth-child(12) { transition-delay: 0.6s; }
    .reveal-stagger.is-visible > *:nth-child(13) { transition-delay: 0.65s; }
    .reveal-stagger.is-visible > *:nth-child(14) { transition-delay: 0.7s; }
    .reveal-stagger.is-visible > *:nth-child(n+15) { transition-delay: 0.75s; }

    .hero-badge, .hero-title, .hero-subtitle, .hero-actions, .hero-stats {
        animation: heroFadeUp 0.8s var(--ease-out-expo) both;
    }
    .hero-badge { animation-delay: 0.05s; }
    .hero-title { animation-delay: 0.15s; }
    .hero-subtitle { animation-delay: 0.25s; }
    .hero-actions { animation-delay: 0.35s; }
    .hero-stats { animation-delay: 0.45s; }
}

/* ===== WHATSAPP BUTTON ===== */
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    background: #20BD5A;
    color: #fff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:active {
    transform: translateY(0) scale(0.98);
}

/* ===== SOCIAL PROOF ===== */
.section-proof {
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.proof-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.proof-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}
.proof-number {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-green);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.proof-label {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
}
.proof-quote {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.proof-quote blockquote {
    font-size: 1.05rem;
    color: var(--color-text);
    font-style: italic;
    line-height: 1.7;
    margin: 0;
    padding: 0 1.5rem;
    position: relative;
}
.proof-quote blockquote::before {
    content: '\201C';
    position: absolute;
    left: 0;
    top: -0.2em;
    font-size: 2.5rem;
    color: var(--color-accent);
    font-style: normal;
    line-height: 1;
}
.proof-attribution {
    margin-top: 0.75rem;
    font-size: 0.82rem;
    color: var(--color-muted);
    font-style: normal;
}

/* ===== DEMO FORM ===== */
.demo-form .form-group {
    margin-bottom: 1rem;
}
.demo-form .form-textarea {
    min-height: 60px;
}

/* ===== STICKY CTA ===== */
.sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s var(--ease-out-expo);
}
.sticky-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.sticky-cta .btn {
    box-shadow: 0 8px 32px rgba(99, 91, 255, 0.4), 0 0 60px rgba(99, 91, 255, 0.15);
    padding: 12px 28px;
    font-size: 0.9rem;
}
.sticky-cta .btn:hover {
    box-shadow: 0 12px 40px rgba(99, 91, 255, 0.5), 0 0 80px rgba(99, 91, 255, 0.2);
}

/* ===== FINAL CTA SECTION ===== */
.section-final-cta {
    background: linear-gradient(180deg, var(--color-bg-subtle) 0%, var(--color-bg) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.section-final-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(99, 91, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-copy { text-align: center; }
    .hero-copy .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .system-view {
        max-width: 480px;
        grid-template-columns: 260px 1fr;
    }
    .meta-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .meta-terminal { order: 1; }
    .meta-text { order: 0; text-align: center; }
    .roles-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .hero { padding: 3rem 0 2rem; }
    .hero-title { font-size: 2rem; }
    .nav-links { gap: 1rem; }
    .nav-link { display: none; }
    .form-row-2 { grid-template-columns: 1fr; }
    .section { padding: 3.5rem 0; }
    .form-panel { padding: 1.5rem; }
    .paradigm-grid { grid-template-columns: 1fr; }
    .scenarios-grid { grid-template-columns: 1fr; }
    .roles-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding-bottom: 0.75rem;
        margin: 1rem -32px 0;
        padding-left: 32px;
        padding-right: 32px;
    }
    .roles-grid::-webkit-scrollbar { height: 4px; }
    .roles-grid::-webkit-scrollbar-track { background: transparent; }
    .roles-grid::-webkit-scrollbar-thumb { background: var(--color-border-bright); border-radius: 4px; }
    .role-card {
        flex: 0 0 260px;
        scroll-snap-align: start;
    }
    .steps-grid { grid-template-columns: 1fr; }
    .case-study-stats { grid-template-columns: repeat(2, 1fr); }
    .notech-grid { grid-template-columns: 1fr; }
    .arch-guarantees { grid-template-columns: 1fr; }
    .proof-grid { grid-template-columns: 1fr 1fr; }
    .sticky-cta { bottom: 16px; right: 16px; }
    .system-view {
        grid-template-columns: 1fr;
        max-width: 320px;
        height: 580px;
    }
    .system-log {
        border-left: none;
        border-top: 1px solid var(--color-border);
        height: 180px;
        min-height: 180px;
        max-height: 180px;
    }
    .syslog-body { max-height: 150px; overflow: hidden; }
    .phone-screen { height: 400px; }
    .evolution-counter {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .timeline { padding-left: 60px; }
    .timeline-line { left: 48px; }
    .timeline-date { left: -60px; width: 45px; font-size: 0.65rem; }
    .consent-label { font-size: 0.82rem; text-align: left; }
    .btn-submit { max-width: 100%; }
}

@media (max-width: 480px) {
    .roles-grid {
        margin: 1rem -16px 0;
        padding-left: 16px;
        padding-right: 16px;
    }
    .role-card { flex: 0 0 240px; }
    .case-study-stats { grid-template-columns: 1fr 1fr; }
    .container, .form-column { padding: 0 16px; }
    .hero { padding: 2rem 0 1.5rem; }
    .hero-title { font-size: 1.75rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn-lg { width: 100%; }
    .proof-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .proof-card { padding: 1rem 0.75rem; }
    .proof-number { font-size: 1.5rem; }
    .section-title { font-size: 1.5rem; }
    .section { padding: 2.5rem 0; }
    .form-panel { padding: 1.25rem; }
    .hero-badge { font-size: 0.68rem; }
    .nav-logo { font-size: 1rem; }
    .hero-stats { gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
    .hero-stat strong { font-size: 1.2rem; }
    .hero-ticker { margin-top: 2rem; }
    .system-view { max-width: 280px; height: 520px; }
    .phone-screen { height: 340px; }
    .system-log { height: 160px; min-height: 160px; max-height: 160px; }
    .syslog-body { max-height: 130px; }
    .wa-msg { font-size: 0.72rem; }
    .wa-input-field { font-size: 0.68rem; padding: 5px 10px; }
    .meta-code { font-size: 0.65rem; padding: 1rem; }
}

/* ===== DASHBOARD ===== */
.dash-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: border-color 0.2s ease;
}
.dash-card:hover { border-color: var(--color-border-bright); }

.dash-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    padding: 14px 32px;
}
.dash-nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dash-nav-logo {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-text);
    letter-spacing: -0.03em;
    text-decoration: none;
}
.dash-nav-logo:hover { color: var(--color-text); }
.dash-nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.dash-nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}
.dash-nav-link:hover { color: var(--color-text); }
.dash-nav-user {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.dash-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}
.dash-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
}
.dash-text { color: var(--color-text); }
.dash-text-secondary { color: var(--color-text-secondary); }
.dash-text-muted { color: var(--color-muted); }

.dash-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}
.dash-badge-green {
    background: var(--color-green-dim);
    color: var(--color-green);
    border: 1px solid rgba(0, 255, 136, 0.2);
}
.dash-badge-accent {
    background: var(--color-accent-light);
    color: var(--color-accent);
    border: 1px solid rgba(99, 91, 255, 0.2);
}
.dash-badge-yellow {
    background: rgba(255, 200, 0, 0.12);
    color: #ffc800;
    border: 1px solid rgba(255, 200, 0, 0.2);
}
.dash-badge-red {
    background: rgba(255, 68, 68, 0.12);
    color: var(--color-error);
    border: 1px solid rgba(255, 68, 68, 0.2);
}
.dash-badge-purple {
    background: rgba(168, 85, 247, 0.12);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.2);
}
.dash-badge-dim {
    background: var(--color-bg-elevated);
    color: var(--color-muted);
    border: 1px solid var(--color-border);
}

.dash-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.dash-table {
    width: 100%;
    border-collapse: collapse;
}
.dash-table thead { background: var(--color-bg-elevated); }
.dash-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-muted);
}
.dash-table td {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}
.dash-table tbody tr {
    border-bottom: 1px solid var(--color-border);
    transition: background 0.15s ease;
}
.dash-table tbody tr:hover { background: var(--color-bg-elevated); }
.dash-table .td-mono { font-family: var(--font-mono); }
.dash-table .td-primary { color: var(--color-text); font-weight: 500; }
.dash-table .td-accent { color: var(--color-accent); }
.dash-table .td-green { color: var(--color-green); }
.dash-table .td-red { color: var(--color-error); }

.dash-btn {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
}
.dash-btn-primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(99, 91, 255, 0.3);
}
.dash-btn-primary:hover {
    background: var(--color-accent-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(99, 91, 255, 0.4);
}
.dash-btn-secondary {
    background: var(--color-bg-elevated);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border-bright);
}
.dash-btn-secondary:hover {
    color: var(--color-text);
    border-color: var(--color-muted);
}
.dash-btn-danger {
    background: rgba(255, 68, 68, 0.15);
    color: var(--color-error);
    border: 1px solid rgba(255, 68, 68, 0.3);
}
.dash-btn-danger:hover {
    background: rgba(255, 68, 68, 0.25);
}
.dash-btn-block { display: block; width: 100%; }

.dash-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border-bright);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-text);
    background: var(--color-bg-elevated);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dash-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}
.dash-input::placeholder { color: var(--color-muted); }
.dash-input-mono { font-family: var(--font-mono); }

.dash-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-border-bright);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--color-text);
    background: var(--color-bg-elevated);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%2388889f'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}
.dash-select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}

.dash-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 6px;
}
.dash-hint {
    font-size: 0.75rem;
    color: var(--color-muted);
    margin-top: 4px;
}

.dash-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 1.5rem 0;
}

.dash-alert {
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}
.dash-alert-error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.2);
    color: #ff8888;
}
.dash-alert-warning {
    background: rgba(255, 200, 0, 0.08);
    border: 1px solid rgba(255, 200, 0, 0.2);
    color: #ffc800;
}
.dash-alert-info {
    background: rgba(99, 91, 255, 0.08);
    border: 1px solid rgba(99, 91, 255, 0.2);
    color: #9d97ff;
}
.dash-alert-success {
    background: var(--color-green-dim);
    border: 1px solid rgba(0, 255, 136, 0.2);
    color: var(--color-green);
}

/* Progress stepper */
.dash-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    margin-bottom: 2rem;
}
.dash-step {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-muted);
}
.dash-step-done { color: var(--color-green); }
.dash-step-active { color: var(--color-accent); font-weight: 600; }
.dash-step-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}
.dash-step-done .dash-step-dot {
    background: var(--color-green);
    color: var(--color-bg);
}
.dash-step-active .dash-step-dot {
    background: var(--color-accent);
    color: #fff;
}
.dash-step .dash-step-dot {
    background: var(--color-bg-elevated);
    color: var(--color-muted);
    border: 1px solid var(--color-border);
}
.dash-step-line {
    width: 2rem;
    height: 1px;
    background: var(--color-border-bright);
}

/* Checkbox dark theme */
.dash-checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--color-accent);
    cursor: pointer;
}

/* Skill card */
.dash-skill-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.dash-skill-card:hover {
    border-color: var(--color-border-bright);
    background: var(--color-bg-elevated);
}

/* Spinner */
@keyframes dashSpin { to { transform: rotate(360deg); } }
.dash-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--color-border-bright);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: dashSpin 0.8s linear infinite;
    margin: 0 auto;
}
.dash-spinner-lg {
    width: 40px;
    height: 40px;
    border-width: 4px;
}

/* Icon circle */
.dash-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-accent-light);
}

/* Google button (auth) */
.dash-google-btn {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border-bright);
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.dash-google-btn:hover {
    border-color: var(--color-muted);
    background: var(--color-bg-card);
    color: var(--color-text);
}

/* Auth divider */
.dash-or-divider {
    position: relative;
    margin: 1.5rem 0;
    text-align: center;
}
.dash-or-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-border);
}
.dash-or-divider span {
    position: relative;
    padding: 0 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-muted);
    background: var(--color-bg-card);
}

/* QR container */
.dash-qr-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16rem;
    height: 16rem;
    margin: 2rem auto;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--color-border-bright);
}
.dash-qr-box img { border-radius: var(--radius-sm); width: 14rem; height: 14rem; }

/* WhatsApp mockup in done page */
.dash-wa-bubble {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    border-top-left-radius: 0;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

/* ===== THANKS PAGES (dark theme compat) ===== */
.hero-thanks { min-height: 70vh; display: flex; align-items: center; }
.hero-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.btn-secondary {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: 8px;
    border: 1px solid var(--color-border-bright);
    color: var(--color-text-secondary);
    background: var(--color-bg-elevated);
    transition: all 0.25s var(--ease-out-expo);
}
.btn-secondary:hover {
    color: var(--color-text);
    border-color: var(--color-muted);
    transform: translateY(-1px);
}

/* ===== FAQ DETAILS ===== */
.faq-detail {
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
}
.faq-detail summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-detail summary::-webkit-details-marker { display: none; }
.faq-detail summary::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--color-muted);
    transition: transform 0.2s ease;
}
.faq-detail[open] summary::after {
    transform: rotate(45deg);
}
.faq-detail p {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ---- Monitoring dashboard ---- */
.dash-gauge { position: relative; display: flex; flex-direction: column; align-items: center; }
.dash-gauge svg { transform: rotate(-90deg); }
.dash-gauge-track { fill: none; stroke: var(--color-border); stroke-width: 6; }
.dash-gauge-fill { fill: none; stroke-width: 6; stroke-linecap: round; transition: stroke-dashoffset 0.6s ease; }
.dash-gauge-label {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.1rem; font-weight: 700; color: var(--color-text);
}
.dash-gauge-caption { margin-top: 0.5rem; font-size: 0.75rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.dash-vm-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--color-muted);
    transition: border-color 0.2s ease;
}
.dash-vm-card--healthy { border-left-color: var(--color-green); }
.dash-vm-card--degraded { border-left-color: #ffc800; }
.dash-vm-card--down { border-left-color: var(--color-error); }

.dash-svc-row {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.75rem; color: var(--color-text-secondary);
}
.dash-svc-row .dash-status-dot { flex-shrink: 0; }

.dash-metric-bar {
    height: 6px; border-radius: 3px;
    background: var(--color-bg-elevated);
    overflow: hidden;
}
.dash-metric-bar-fill {
    height: 100%; border-radius: 3px;
    transition: width 0.4s ease;
}

.dash-ts-chart {
    display: flex; align-items: flex-end; gap: 2px; height: 6rem;
}
.dash-ts-bar {
    flex: 1; border-radius: 2px 2px 0 0;
    background: var(--color-accent);
    opacity: 0.7;
    transition: height 0.3s ease, opacity 0.2s;
    min-height: 2px;
}
.dash-ts-bar:hover { opacity: 1; }

/* ===== UNIFIED ADMIN DASHBOARD ===== */
.adm { display: flex; min-height: 100vh; }

/* Sidebar */
.adm-side {
    width: 200px;
    min-width: 200px;
    background: var(--color-bg-card);
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.adm-side-hdr {
    padding: 1.1rem 1rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}
.adm-side-logo {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.adm-side-logo:hover { color: var(--color-text); }
.adm-side-tag {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    background: var(--color-accent-light);
    padding: 2px 6px;
    border-radius: 4px;
}
.adm-side-nav {
    flex: 1;
    padding: 0.6rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.adm-side-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.7rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    text-decoration: none;
    border: none;
    background: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
    text-align: left;
    width: 100%;
}
.adm-side-btn:hover { background: var(--color-bg-elevated); color: var(--color-text); }
.adm-side-btn.active { background: var(--color-accent-light); color: var(--color-accent); font-weight: 600; }
.adm-side-sep { height: 1px; background: var(--color-border); margin: 0.4rem 0.7rem; }
.adm-side-count {
    font-size: 0.6rem;
    background: var(--color-accent-light);
    color: var(--color-accent);
    padding: 1px 5px;
    border-radius: 8px;
    margin-left: auto;
}
.adm-side-foot {
    padding: 0.6rem 0.8rem;
    border-top: 1px solid var(--color-border);
}

/* Main area */
.adm-main {
    flex: 1;
    min-width: 0;
    padding: 1.5rem 2rem 3rem;
    overflow-x: auto;
}

/* Tabs */
.adm-tab { display: none; }
.adm-tab.active { display: block; }

/* Page headers */
.adm-hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.adm-hdr h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.02em;
}
.adm-h2 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
}

/* Sections */
.adm-section { margin-top: 1.5rem; }

/* KPI row */
.adm-kpi-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.75rem;
}
.adm-kpi {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
    text-align: center;
    transition: border-color 0.2s;
}
.adm-kpi:hover { border-color: var(--color-border-bright); }
.adm-kpi-val {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
}
.adm-kpi-lbl {
    display: block;
    font-size: 0.65rem;
    color: var(--color-muted);
    margin-top: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Infra bar */
.adm-infra-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.6rem 1rem;
    margin-top: 0.75rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}
.adm-infra-dot { display: flex; align-items: center; gap: 6px; }

/* Funnel */
.adm-funnel {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}
.adm-funnel-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    min-width: 100px;
}
.adm-funnel-num {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
}
.adm-funnel-lbl {
    font-size: 0.6rem;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.1rem;
}
.adm-funnel-arrow {
    font-size: 1.2rem;
    color: var(--color-muted);
}

/* Alert resolve button */
.adm-resolve-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-bg-elevated);
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}
.adm-resolve-btn:hover {
    background: var(--color-green-dim);
    color: var(--color-green);
    border-color: rgba(0, 255, 136, 0.3);
}
