/* ============ TECCO v2 — Design System ============ */
:root {
  --bg: #050608;
  --bg-1: #0a0c10;
  --bg-2: #10141a;
  --bg-3: #161b23;
  --line: #1f2630;
  --line-2: #2a3340;
  --text: #e8edf2;
  --text-2: #a8b2bf;
  --text-3: #6b7585;
  --text-4: #4a5160;

  --cyan: #5eead4;
  --cyan-2: #2dd4bf;
  --cyan-glow: rgba(94, 234, 212, 0.35);
  --green: #4ade80;
  --green-2: #22c55e;
  --violet: #a78bfa;
  --amber: #fbbf24;
  --rose: #fb7185;

  --accent: var(--cyan);
  --accent-2: var(--green);

  --font-sans: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --font-display: 'Geist', 'Inter', sans-serif;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;

  --shadow-glow: 0 0 0 1px rgba(94, 234, 212, 0.15), 0 0 40px -10px rgba(94, 234, 212, 0.25);
  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 40px -20px rgba(0,0,0,0.8);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; }

.bg-grid {
  position: fixed; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(94, 234, 212, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  z-index: 0;
}
.bg-noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

::selection { background: var(--accent); color: #050608; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-4); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
button, a { font-family: inherit; }
button { cursor: pointer; }

.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--accent); color: #050608;
  padding: 10px 16px; border-radius: 8px;
  font-weight: 600; z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%; max-width: 1280px;
  margin: 0 auto; padding: 0 24px;
  position: relative; z-index: 1;
}
@media (max-width: 640px) { .container { padding: 0 16px; } }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); display: inline-block; }

.section-title {
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.05; letter-spacing: -0.025em;
  font-weight: 700; margin: 16px 0 16px;
  text-wrap: balance;
}
.section-sub {
  color: var(--text-2);
  font-size: clamp(15px, 1.6vw, 18px);
  max-width: 680px; text-wrap: pretty;
}
.accent { color: var(--accent); }
.accent-green { color: var(--green); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--r-md);
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap; font-family: var(--font-sans); letter-spacing: -0.01em;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent); color: #050608;
  box-shadow: 0 0 0 1px rgba(94,234,212,0.25), 0 8px 32px -8px var(--cyan-glow);
}
.btn-primary:hover { background: var(--cyan-2); box-shadow: 0 0 0 1px rgba(94,234,212,0.4), 0 12px 48px -8px var(--cyan-glow); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--text-3); }
.btn-mono { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; position: relative; overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--line-2); }

@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes scan-line { 0% { transform: translateY(-100%); } 100% { transform: translateY(100vh); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shimmer-text { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes grid-drift { to { background-position: 80px 80px; } }
@keyframes marquee { to { transform: translateX(-50%); } }

.cursor::after {
  content: "▍"; display: inline-block; margin-left: 4px;
  color: var(--accent); animation: blink 1s step-end infinite;
}
.fade-up { opacity: 1; }

.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; }
.glitch::before { color: var(--cyan); transform: translate(-1px, 0); mix-blend-mode: screen; clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%); opacity: 0.6; }
.glitch::after { color: var(--rose); transform: translate(1px, 0); mix-blend-mode: screen; clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%); opacity: 0.5; }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(74, 222, 128, 0.08); color: var(--green);
  border: 1px solid rgba(74, 222, 128, 0.2);
}
.status-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============ BOOT ============ */
.boot {
  position: fixed; inset: 0; z-index: 9000;
  background: #030405;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; font-family: var(--font-mono);
}
.boot-scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0, transparent 3px, rgba(94, 234, 212, 0.025) 3px, rgba(94, 234, 212, 0.025) 4px);
  pointer-events: none;
}
.boot-scanlines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 220px;
  background: linear-gradient(180deg, transparent, rgba(94, 234, 212, 0.06), transparent);
  animation: scan-line 4s linear infinite;
}
.boot-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}
.boot-content { position: relative; width: 100%; max-width: 720px; padding: 40px; z-index: 1; }
.boot-logo { color: var(--green); margin-bottom: 16px; filter: drop-shadow(0 0 12px rgba(74, 222, 128, 0.5)); }
.boot-brand { font-size: 14px; letter-spacing: 0.4em; color: var(--text-3); margin-bottom: 32px; }
.boot-lines { display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.7; }
@media (min-width: 768px) { .boot-lines { font-size: 14px; } }
.boot-line { color: var(--text-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; animation: fade-up 0.3s ease both; }
.boot-prefix { color: var(--green); font-weight: 600; }
.boot-ok { margin-left: auto; color: var(--green); font-size: 11px; opacity: 0.8; }
.boot-cursor { display: inline-block; color: var(--green); animation: blink 0.9s step-end infinite; margin-left: 4px; }
.boot-skip {
  position: absolute; bottom: 32px; right: 32px;
  background: transparent; border: 1px solid var(--line-2);
  color: var(--text-3); font-family: var(--font-mono);
  font-size: 11px; padding: 8px 14px; border-radius: 6px;
  letter-spacing: 0.08em; transition: all 0.2s;
}
.boot-skip:hover { border-color: var(--green); color: var(--green); }
.boot-fade { position: absolute; inset: 0; background: var(--bg); opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }
.boot-fade.show { opacity: 1; }
@media (max-width: 640px) { .boot-content { padding: 24px; } .boot-skip { bottom: 16px; right: 16px; } }

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: rgba(5, 6, 8, 0.7);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, border-color 0.3s;
}
.nav.scrolled { background: rgba(5, 6, 8, 0.85); border-bottom-color: var(--line-2); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-brand { font-family: var(--font-mono); font-weight: 700; font-size: 18px; letter-spacing: 0.06em; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 4px; }
.nav-brand .b-cursor { color: var(--accent); animation: blink 1.2s step-end infinite; }
.nav-links { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 14px; padding: 8px 14px; border-radius: 6px; transition: all 0.15s; }
.nav-links a:hover { color: var(--text); background: var(--bg-2); }
.nav-links a.active { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 2px; font-family: var(--font-mono); font-size: 11px; }
.lang-toggle button { background: transparent; border: none; color: var(--text-3); padding: 5px 10px; border-radius: 6px; letter-spacing: 0.06em; }
.lang-toggle button.on { background: var(--bg-3); color: var(--text); }
.nav-burger { display: none; background: var(--bg-2); border: 1px solid var(--line); width: 40px; height: 40px; border-radius: 8px; align-items: center; justify-content: center; color: var(--text); }
@media (max-width: 880px) { .nav-links { display: none; } .nav-burger { display: inline-flex; } .lang-toggle { display: none; } }
.nav-mobile {
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: rgba(5,6,8,0.97); backdrop-filter: blur(20px);
  z-index: 99; padding: 32px 24px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-20px); opacity: 0; pointer-events: none;
  transition: all 0.25s ease;
}
.nav-mobile.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-mobile a { color: var(--text); text-decoration: none; font-size: 22px; font-weight: 500; padding: 14px 4px; border-bottom: 1px solid var(--line); }

/* ============ SECTIONS ============ */
section { padding: 120px 0; position: relative; }
@media (max-width: 768px) { section { padding: 80px 0; } }
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 56px; max-width: 800px; }
@media (max-width: 768px) { .section-head { margin-bottom: 36px; } }

/* ============ HERO ============ */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; position: relative; padding-top: 80px; overflow: hidden; }
.hero-bg-letters { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: clamp(280px, 50vw, 720px); font-weight: 800; color: rgba(255,255,255,0.012); letter-spacing: -0.05em; pointer-events: none; user-select: none; z-index: 0; line-height: 0.85; }
.hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(94, 234, 212, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(94, 234, 212, 0.06) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 0%, transparent 70%); z-index: 0; animation: grid-drift 30s linear infinite; }
.code-rain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 90%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 45%, #000 30%, transparent 90%); opacity: 0.85; }
.hero-glow { position: absolute; width: 800px; height: 800px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(94, 234, 212, 0.10), transparent 60%); pointer-events: none; z-index: 0; }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; width: 100%; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; background: rgba(94,234,212,0.06); border: 1px solid rgba(94,234,212,0.2); border-radius: 999px; font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.05em; }
.hero-badge .badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse-dot 2s ease-in-out infinite; }
.hero-title { font-family: var(--font-display); font-size: clamp(48px, 8.5vw, 120px); line-height: 0.95; letter-spacing: -0.035em; font-weight: 700; margin: 0; text-wrap: balance; max-width: 1100px; }
.hero-title .swap { display: inline-block; font-family: var(--font-mono); font-weight: 600; background: linear-gradient(90deg, var(--cyan), var(--green), var(--cyan)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer-text 6s linear infinite; }
.hero-title .swap-cursor::after { content: "_"; color: var(--accent); animation: blink 1s step-end infinite; -webkit-text-fill-color: var(--accent); margin-left: 2px; }
.hero-sub { font-size: clamp(16px, 1.7vw, 19px); color: var(--text-2); max-width: 620px; text-wrap: pretty; line-height: 1.55; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-meta { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; max-width: 920px; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.hero-meta-cell { border-top: 1px solid var(--line); padding-top: 12px; text-align: left; display: flex; flex-direction: column; gap: 4px; }
.hero-meta-cell .k { color: var(--text-4); letter-spacing: 0.08em; text-transform: uppercase; font-size: 10px;}
.hero-meta-cell .v { color: var(--text); font-size: 13px; }
.hero-meta-cell .v .green { color: var(--green); }
@media (max-width: 640px) { .hero-meta { grid-template-columns: repeat(2, 1fr); } }
.hero-scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; color: var(--text-4); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero-scroll-hint .line { width: 1px; height: 24px; background: linear-gradient(180deg, var(--text-4), transparent); animation: pulse-dot 2s ease-in-out infinite; }

/* ============ SERVICES ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }
.service-card { position: relative; padding: 28px; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color 0.25s, transform 0.25s; cursor: pointer; min-height: 220px; display: flex; flex-direction: column; }
.service-card:hover { border-color: var(--service-color, var(--accent)); transform: translateY(-2px); }
.service-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(94, 234, 212, 0.08), transparent 40%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--service-bg, rgba(94,234,212,0.1)); border: 1px solid var(--service-border, rgba(94,234,212,0.25)); color: var(--service-color, var(--accent)); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: transform 0.3s ease; }
.service-card:hover .service-icon { transform: rotate(-4deg) scale(1.05); }
.service-title { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 6px; }
.service-desc { color: var(--text-2); font-size: 14px; line-height: 1.55; margin: 0; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; font-family: var(--font-mono); font-size: 10px; color: var(--text-3); letter-spacing: 0.04em; }
.service-tags .tag { padding: 3px 8px; border: 1px solid var(--line-2); border-radius: 4px; }
.service-arrow { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--service-color, var(--accent)); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 16px; opacity: 0; transform: translateY(4px); transition: all 0.25s; }
.service-card:hover .service-arrow { opacity: 1; transform: translateY(0); }
.service-cta { background: linear-gradient(135deg, rgba(94,234,212,0.06), rgba(74,222,128,0.04)); border-color: rgba(94,234,212,0.2); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 28px; }
.service-cta h3 { font-size: 20px; font-weight: 600; margin: 0 0 8px; letter-spacing: -0.01em; }
.service-cta p { color: var(--text-2); font-size: 14px; margin: 0 0 20px; }

/* ============ PORTFOLIO ============ */
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 32px; }
.filter-btn { background: var(--bg-1); border: 1px solid var(--line); color: var(--text-2); padding: 8px 14px; border-radius: 8px; font-size: 13px; font-family: var(--font-mono); letter-spacing: 0.02em; transition: all 0.15s; }
.filter-btn:hover { color: var(--text); border-color: var(--line-2); }
.filter-btn.active { background: var(--accent); color: #050608; border-color: var(--accent); }
.filter-btn .count { margin-left: 6px; opacity: 0.6; font-size: 11px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 220px; gap: 16px; }
@media (max-width: 1100px) { .portfolio-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 700px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
.portfolio-item { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; position: relative; cursor: pointer; transition: all 0.3s; display: flex; flex-direction: column; }
.portfolio-item:hover { border-color: var(--line-2); transform: translateY(-3px); }
.portfolio-item.tall { grid-row: span 2; }
.portfolio-item.wide { grid-column: span 2; }
.portfolio-item.full { grid-column: span 3; grid-row: span 2; }
@media (max-width: 700px) { .portfolio-item.wide, .portfolio-item.full { grid-column: span 2; grid-row: auto; } .portfolio-item.tall { grid-row: auto; } }
.portfolio-thumb { flex: 1; position: relative; overflow: hidden; background: var(--bg-2); display: flex; align-items: center; justify-content: center; }
.portfolio-meta { padding: 14px 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; background: var(--bg-1); position: relative; z-index: 2; }
.portfolio-meta .cat { font-family: var(--font-mono); font-size: 10px; color: var(--text-3); letter-spacing: 0.1em; text-transform: uppercase; }
.portfolio-meta .name { font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -0.005em; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.portfolio-meta .name svg { flex-shrink: 0; color: var(--text-3); transition: all 0.2s; }
.portfolio-item:hover .portfolio-meta .name svg { color: var(--accent); transform: translate(2px, -2px); }
.thumb-mavela { background: linear-gradient(135deg, #0a1f1a, #0a0c10); }
.thumb-mavela::before { content: ""; position: absolute; inset: 16px; border-radius: 6px; background: linear-gradient(180deg, rgba(74,222,128,0.04), transparent), repeating-linear-gradient(0deg, rgba(74,222,128,0.05) 0 1px, transparent 1px 8px); border: 1px solid rgba(74,222,128,0.15); }
.thumb-bot { background: radial-gradient(circle at 30% 40%, rgba(74,222,128,0.15), #050608 60%); }
.thumb-katrina { background: linear-gradient(135deg, #1a1230, #0a0c10); }
.thumb-katrina::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 30%, rgba(167,139,250,0.25), transparent 60%); }
.thumb-dashboard { background: linear-gradient(180deg, #0a0c10, #050608); }
.thumb-crm { background: linear-gradient(135deg, #0a0c10, #1a0e2e); }
.thumb-content { position: relative; z-index: 1; padding: 24px; width: 100%; height: 100%; display: flex; flex-direction: column; }
.thumb-tag-row { display: flex; flex-wrap: wrap; gap: 4px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.02em; color: var(--text-3); }
.thumb-big { margin-top: auto; font-family: var(--font-display); font-size: clamp(40px, 6vw, 80px); font-weight: 700; line-height: 0.9; letter-spacing: -0.04em; }
.thumb-terminal { position: relative; z-index: 1; padding: 14px; height: 100%; width: 100%; font-family: var(--font-mono); font-size: 10px; color: var(--green); overflow: hidden; }
.thumb-terminal .row { white-space: nowrap; opacity: 0.85; }
.thumb-terminal .row.dim { opacity: 0.45; }
.thumb-chart { position: relative; z-index: 1; padding: 16px; width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 4px; }
.thumb-chart .bar { flex: 1; background: linear-gradient(180deg, var(--cyan), rgba(94,234,212,0.2)); border-radius: 2px 2px 0 0; min-height: 8%; }

/* ============ MODAL ============ */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal { width: 100%; max-width: 800px; max-height: 90vh; background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; transform: translateY(20px) scale(0.98); transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }
.modal-head { padding: 20px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.modal-close { width: 36px; height: 36px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text-2); display: flex; align-items: center; justify-content: center; }
.modal-close:hover { color: var(--text); border-color: var(--line-2); }
.modal-body { padding: 24px; overflow-y: auto; }

/* ============ QUOTER ============ */
.quoter { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
@media (max-width: 980px) { .quoter { grid-template-columns: 1fr; } }
.chat-panel { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; overflow: hidden; min-height: 600px; }
.chat-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat-avatar { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(94,234,212,0.2), rgba(74,222,128,0.2)); border: 1px solid rgba(94,234,212,0.3); display: flex; align-items: center; justify-content: center; color: var(--accent); font-family: var(--font-mono); font-weight: 700; }
.chat-id { display: flex; flex-direction: column; gap: 2px; }
.chat-id .name { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.chat-id .role { font-size: 11px; color: var(--text-3); font-family: var(--font-mono); letter-spacing: 0.04em; }
.chat-id .name .live { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 10px; color: var(--green); font-weight: 400; letter-spacing: 0.04em; }
.chat-id .name .live .d { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }
.chat-version { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--text-4); }
.chat-body { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; min-height: 320px; max-height: 480px; }
.chat-msg { display: flex; gap: 10px; max-width: 85%; animation: fade-up 0.3s ease both; }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.chat-bubble { padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); }
.chat-msg.user .chat-bubble { background: rgba(94,234,212,0.1); border-color: rgba(94,234,212,0.25); color: var(--text); }
.chat-msg.bot .av { width: 32px; height: 32px; border-radius: 8px; background: rgba(94,234,212,0.1); border: 1px solid rgba(94,234,212,0.25); color: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-mono); font-size: 14px; }
.chat-typing { display: inline-flex; gap: 4px; align-items: center; padding: 14px 16px; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: typing 1.2s infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
.chat-chips { padding: 14px 20px; border-top: 1px solid var(--line); background: var(--bg-1); display: flex; flex-wrap: wrap; gap: 8px; min-height: 70px; }
.chip { background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); padding: 8px 14px; border-radius: 10px; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; transition: all 0.15s; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.primary { background: var(--accent); color: #050608; border-color: var(--accent); }
.chip.primary:hover { background: var(--cyan-2); color: #050608; }
.chip-icon { font-family: var(--font-mono); font-size: 12px; opacity: 0.7; }
.chat-input-row { display: flex; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); }
.chat-input { flex: 1; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); padding: 10px 14px; border-radius: 10px; font-size: 14px; font-family: inherit; }
.chat-input:focus { outline: none; border-color: var(--accent); }
.term-panel { background: #0a0d12; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; font-family: var(--font-mono); min-height: 600px; }
.term-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #10141a; border-bottom: 1px solid var(--line); }
.term-dot { width: 12px; height: 12px; border-radius: 50%; }
.term-dot.r { background: #ff5f56; }
.term-dot.y { background: #ffbd2e; }
.term-dot.g { background: #27c93f; }
.term-title { margin-left: 12px; color: var(--text-3); font-size: 12px; }
.term-body { padding: 18px; font-size: 13px; color: var(--text-2); flex: 1; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.term-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.term-line .prompt { color: var(--green); }
.term-line .ok { color: var(--green); margin-left: auto; font-size: 11px; }
.term-line .warn { color: var(--amber); }
.term-row { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.term-row .label { color: var(--text-2); }
.term-row .label .dim { color: var(--text-3); font-size: 11px; }
.term-row .val { color: var(--text); font-weight: 500; }
.term-total { margin-top: auto; padding: 16px; background: rgba(74,222,128,0.05); border: 1px solid rgba(74,222,128,0.2); border-radius: 8px; display: flex; justify-content: space-between; align-items: baseline; }
.term-total .lbl { color: var(--text-2); font-size: 13px; letter-spacing: 0.04em; }
.term-total .amt { color: var(--green); font-size: 26px; font-weight: 700; text-shadow: 0 0 12px rgba(74,222,128,0.4); }
.term-total .cur { color: var(--text-3); font-size: 13px; margin-left: 6px; }
.term-foot { padding: 10px 18px; border-top: 1px solid var(--line); font-size: 11px; color: var(--text-4); display: flex; justify-content: space-between; }
.quoter-actions { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
@media (max-width: 700px) { .quoter-actions { grid-template-columns: 1fr; } }
.qa-action { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--text); text-decoration: none; font-size: 14px; transition: all 0.15s; }
.qa-action:hover { border-color: var(--accent); }
.qa-action .ic { color: var(--accent); }
.qa-action .lbl { font-weight: 500; }
.qa-action .sub { color: var(--text-3); font-size: 11px; font-family: var(--font-mono); }

/* ============ STACK ============ */
.stack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stack-group { background: var(--bg-1); padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: background 0.2s; }
.stack-group:hover { background: var(--bg-2); }
.stack-group-label { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); padding-bottom: 10px; border-bottom: 1px dashed var(--line-2); }
.stack-group-label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--cyan-glow); }
.stack-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.stack-chip { font-family: var(--font-mono); font-size: 12px; padding: 5px 10px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 6px; color: var(--text-2); transition: all 0.15s; cursor: default; }
.stack-chip:hover { border-color: var(--accent); color: var(--accent); background: rgba(94, 234, 212, 0.05); }

/* ============ STATS ============ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-1); }
@media (max-width: 800px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-cell { padding: 32px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-cell:nth-child(4n) { border-right: none; }
@media (max-width: 800px) { .stat-cell:nth-child(2n) { border-right: none; } .stat-cell:nth-child(odd) { border-right: 1px solid var(--line); } }
.stat-num { font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--text); display: flex; align-items: baseline; gap: 4px; }
.stat-num .unit { font-size: 0.5em; color: var(--accent); }
.stat-label { margin-top: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }

/* ============ PROCESS ============ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
@media (max-width: 980px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { padding: 32px 24px; border: 1px solid var(--line); border-radius: 0; background: var(--bg-1); position: relative; }
.process-step:not(:last-child) { border-right: none; }
.process-step:first-child { border-radius: var(--r-lg) 0 0 var(--r-lg); }
.process-step:last-child { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
@media (max-width: 980px) { .process-step { border-right: 1px solid var(--line); } .process-step:not(:nth-child(2n)) { border-right: none; } .process-step:first-child { border-radius: var(--r-lg) 0 0 0; } .process-step:nth-child(2) { border-radius: 0 var(--r-lg) 0 0; } .process-step:nth-child(3) { border-radius: 0 0 0 var(--r-lg); } .process-step:last-child { border-radius: 0 0 var(--r-lg) 0; } }
@media (max-width: 540px) { .process-step { border: 1px solid var(--line); border-radius: var(--r-md) !important; margin-bottom: 8px; } }
.process-step .num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 12px; }
.process-step h4 { font-size: 18px; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.01em; }
.process-step p { color: var(--text-2); font-size: 13px; margin: 0; }
.process-step .icon { margin-bottom: 14px; color: var(--text-3); }

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 8px; max-width: 880px; }
.faq-item { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color 0.2s; }
.faq-item.open { border-color: var(--line-2); }
.faq-q { width: 100%; padding: 18px 20px; background: transparent; border: none; color: var(--text); font-size: 16px; font-weight: 500; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q:hover { color: var(--accent); }
.faq-q .plus { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: currentColor; transition: transform 0.2s; }
.faq-q .plus::before { width: 14px; height: 1.5px; }
.faq-q .plus::after { width: 1.5px; height: 14px; }
.faq-item.open .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 20px 20px; color: var(--text-2); font-size: 14px; line-height: 1.6; }

/* ============ SECURITY ============ */
.sec-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
@media (max-width: 880px) { .sec-grid { grid-template-columns: 1fr; } }
.sec-features { display: flex; flex-direction: column; gap: 4px; }
.sec-feature { display: flex; gap: 14px; padding: 16px; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-md); align-items: flex-start; }
.sec-feature .ic { width: 36px; height: 36px; border-radius: 8px; background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.2); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sec-feature h4 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.sec-feature p { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.sec-visual { background: #0a0d12; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; font-family: var(--font-mono); font-size: 12px; color: var(--text-2); display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden; }
.sec-visual::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 4px, rgba(74,222,128,0.02) 4px 5px); pointer-events: none; }
.sec-visual .row { display: flex; justify-content: space-between; gap: 12px; position: relative; z-index: 1; }
.sec-visual .key { color: var(--text-3); }
.sec-visual .val { color: var(--green); }
.sec-visual .val.warn { color: var(--amber); }

/* ============ SECTORS ============ */
.sectors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 40px; }
.sector-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; position: relative; transition: all 0.25s; overflow: hidden; }
.sector-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.5; }
.sector-card:hover { border-color: var(--line-2); background: var(--bg-2); transform: translateY(-2px); }
.sector-head { display: flex; align-items: center; gap: 14px; }
.sector-tag { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; padding: 5px 10px; background: rgba(94, 234, 212, 0.08); border: 1px solid rgba(94, 234, 212, 0.25); border-radius: 6px; color: var(--accent); }
.sector-title { font-size: 22px; font-weight: 600; color: var(--text); margin: 0; }
.sector-desc { font-size: 14px; line-height: 1.6; color: var(--text-2); margin: 0; }
.sector-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sector-bullets li { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); }
.sector-bullets .check { color: var(--accent); font-weight: 600; }
.sector-stats { display: flex; gap: 28px; margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.sector-stat { display: flex; flex-direction: column; gap: 2px; }
.sector-stat .k { font-family: var(--font-mono); font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }
.sector-stat .v { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--text); }

/* ============ AI DASHBOARDS ============ */
.ai-dash-mock { margin-top: 40px; background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.ai-dash-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); background: var(--bg-2); flex-wrap: wrap; gap: 10px; }
.ai-dash-tabs { display: flex; gap: 4px; }
.ai-tab { font-family: var(--font-mono); font-size: 12px; padding: 6px 12px; border-radius: 6px; color: var(--text-3); cursor: default; }
.ai-tab.active { background: var(--bg-3); color: var(--accent); }
.ai-dash-meta { display: flex; align-items: center; gap: 8px; }
.ai-dash-meta .dot.live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse-dot 2s ease-in-out infinite; }
.ai-kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); }
.ai-kpi { background: var(--bg-1); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.ai-kpi-label { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }
.ai-kpi-val { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--text); letter-spacing: -0.02em; }
.ai-kpi.color-cyan .ai-kpi-val { color: var(--cyan); }
.ai-kpi.color-green .ai-kpi-val { color: var(--green); }
.ai-kpi.color-amber .ai-kpi-val { color: var(--amber); }
.ai-kpi-delta { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); margin-bottom: 4px; }
.ai-dash-bottom { border-top: 1px solid var(--line); padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; background: var(--bg); }
.ai-prompt { display: flex; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 13px; color: var(--text); }
.ai-prompt .prompt-mark { color: var(--accent); font-weight: 600; }
.ai-prompt .prompt-cursor { color: var(--accent); animation: blink 1s steps(1) infinite; }
.ai-answer { display: flex; gap: 12px; align-items: flex-start; background: rgba(94, 234, 212, 0.04); border: 1px solid rgba(94, 234, 212, 0.15); border-radius: 8px; padding: 14px 16px; }
.ai-answer .ai-tag { font-family: var(--font-mono); font-size: 10px; font-weight: 700; padding: 3px 7px; background: var(--accent); color: var(--bg); border-radius: 4px; letter-spacing: 0.05em; flex-shrink: 0; margin-top: 2px; }
.ai-answer p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--text-2); }
.ai-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); margin-top: 24px; overflow: hidden; }
.ai-feature { background: var(--bg-1); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.ai-feature-num { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; }
.ai-feature-t { font-size: 17px; font-weight: 600; color: var(--text); margin: 0; }
.ai-feature-d { font-size: 13px; line-height: 1.6; color: var(--text-2); margin: 0; }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(94,234,212,0.02)); padding: 80px 0 32px; margin-top: 40px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.foot-brand { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.foot-brand .b { font-family: var(--font-mono); font-size: 22px; font-weight: 700; letter-spacing: 0.06em; }
.foot-brand .b .c { color: var(--accent); }
.foot-brand p { margin: 0; color: var(--text-2); font-size: 13px; line-height: 1.6; }
.foot-status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(74,222,128,0.06); border: 1px solid rgba(74,222,128,0.2); border-radius: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--green); width: fit-content; }
.foot-status .d { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); animation: pulse-dot 2s infinite; }
.foot-col h5 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-4); margin: 0 0 16px; font-weight: 500; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { color: var(--text-2); text-decoration: none; font-size: 14px; transition: color 0.15s; display: inline-flex; align-items: center; gap: 6px; }
.foot-col a:hover { color: var(--accent); }
.foot-col a .ext { opacity: 0.5; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-family: var(--font-mono); font-size: 11px; color: var(--text-4); }
.foot-bottom .badges { display: flex; gap: 6px; flex-wrap: wrap; }
.foot-bottom .badge { padding: 4px 8px; border: 1px solid var(--line); border-radius: 4px; letter-spacing: 0.06em; }
.newsletter { display: flex; gap: 8px; margin-top: 12px; max-width: 320px; }
.newsletter input { flex: 1; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); padding: 10px 14px; border-radius: 8px; font-size: 13px; font-family: inherit; }
.newsletter input:focus { outline: none; border-color: var(--accent); }
.newsletter button { background: var(--accent); border: none; color: #050608; padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: 13px; }
.foot-bigword { font-family: var(--font-display); font-size: clamp(80px, 18vw, 240px); font-weight: 800; letter-spacing: -0.06em; line-height: 0.85; text-align: center; background: linear-gradient(180deg, var(--bg-3), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 60px 0 -10px; user-select: none; }

/* ============ TOAST ============ */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--bg-2); border: 1px solid var(--green); color: var(--text); padding: 14px 20px; border-radius: 12px; display: flex; align-items: center; gap: 12px; font-size: 14px; z-index: 500; box-shadow: 0 10px 40px -10px rgba(74,222,128,0.4); opacity: 0; transition: all 0.3s cubic-bezier(0.2,0.8,0.2,1); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast .ic { color: var(--green); }

/* ============ MOBILE NAV ============ */
.mobile-nav { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(10, 12, 16, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); z-index: 80; padding: 8px env(safe-area-inset-right) calc(8px + env(safe-area-inset-bottom)) env(safe-area-inset-left); }
.mobile-nav-inner { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; max-width: 600px; margin: 0 auto; }
.mobile-nav button { background: none; border: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 4px; color: var(--text-3); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; cursor: pointer; border-radius: 8px; transition: all 0.15s; min-height: 50px; }
.mobile-nav button.active { color: var(--accent); background: rgba(94, 234, 212, 0.06); }
.mobile-nav button:active { transform: scale(0.95); }
.mobile-nav .ic { width: 20px; height: 20px; display: block; }

@media (max-width: 768px) {
  .mobile-nav { display: block; }
  body { padding-bottom: 70px; }
  .nav-links { display: none; }
  .nav-actions .lang-toggle { display: none; }
  .sector-card { padding: 22px; }
  .ai-kpi { padding: 16px; }
  .ai-kpi-val { font-size: 24px; }
  .stack-group { padding: 18px; }
}
@media (max-width: 480px) {
  .mobile-nav button span.label { font-size: 9px; }
  .ai-dash-tabs { font-size: 11px; }
  .ai-tab { padding: 5px 8px; font-size: 11px; }
}
