/* ===== assets/css/style.css ===== */

:root {
  --bg: #080B14;
  --bg-card: #0F1420;
  --bg-card-2: #131A29;
  --bg-light: #FFFFFF;
  --accent: #00E5FF;
  --accent-dim: rgba(0, 229, 255, 0.12);
  --accent-2: #8B5CF6;
  --text: #E8EAED;
  --text-muted: #9AA5B4;
  --text-dim: #6B7689;
  --border: rgba(255, 255, 255, 0.08);
  --border-lit: rgba(0, 229, 255, 0.3);
  --gradient: linear-gradient(135deg, #00E5FF, #8B5CF6);
  --shadow-glow: 0 0 24px rgba(0, 229, 255, 0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1200px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }

p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5.5rem); }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; position: relative; }
.section--alt { background: #fff; color: #0B0E16; }
.section--alt .text-muted { color: #4B5563; }
.section--alt h4 { color: #4B5563; }

.eyebrow {
  display: inline-block;
  font-family: "Fira Code", monospace;
  font-size: .82rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 4px 10px;
  border: 1px solid var(--border-lit);
  border-radius: 999px;
  background: var(--accent-dim);
  margin-bottom: 18px;
}
.section--alt .eyebrow {
  color: #0EA5BF;
  background: rgba(14, 165, 191, 0.08);
  border-color: rgba(14, 165, 191, 0.3);
}

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

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip-link:focus {
  left: 16px; top: 16px; z-index: 200;
  background: var(--accent); color: #000; padding: 8px 12px; border-radius: 4px;
}

/* ============== NAV ============== */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(8, 11, 20, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.nav.is-scrolled {
  background: rgba(8, 11, 20, 0.92);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex; align-items: center; gap: 24px;
  height: 100%;
}
.brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
  display: flex; align-items: baseline; gap: 4px;
}
.brand:hover { color: var(--text); }
.brand-mark { white-space: nowrap; }
.brand-sup {
  font-size: .58em;
  color: var(--accent);
  font-weight: 500;
  margin-left: 2px;
}
.nav-links {
  display: flex; gap: 28px;
  margin-left: 32px;
}
.nav-link {
  font-size: .92rem;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-link:hover { color: var(--accent); }
.nav-link.is-active { color: var(--text); }
.nav-link.is-active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}
.nav-right {
  margin-left: auto;
  display: flex; align-items: center; gap: 14px;
}
.lang-switch {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
}
.lang-btn {
  display: inline-block;
  font-family: "Fira Code", monospace;
  font-size: .72rem;
  padding: 5px 9px;
  color: var(--text-muted);
  border-radius: 6px;
  letter-spacing: .04em;
  transition: all .15s ease;
}
.lang-btn:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.lang-btn.is-active {
  background: var(--accent-dim);
  color: var(--accent);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: .95rem;
  padding: 11px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-grad {
  background: var(--gradient);
  color: #08111B;
  font-weight: 700;
  box-shadow: 0 8px 24px -10px rgba(0, 229, 255, 0.5);
}
.btn-grad:hover { color: #08111B; box-shadow: 0 12px 30px -8px rgba(139, 92, 246, 0.55); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { color: var(--accent); border-color: var(--border-lit); }
.btn-grad-border {
  background: var(--bg);
  color: var(--text);
  position: relative;
  border: 1px solid transparent;
  background-image:
    linear-gradient(var(--bg), var(--bg)),
    var(--gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
.btn-grad-border:hover { color: var(--accent); }

.nav-cta { padding: 9px 18px; font-size: .9rem; }

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(8, 11, 20, 0.98);
  backdrop-filter: blur(18px);
  z-index: 90;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }
.nav-overlay-links {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  padding-top: var(--nav-h);
}
.nav-overlay-link {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--text);
}
.nav-overlay-link.is-active { color: var(--accent); }
.nav-overlay-cta { margin-top: 14px; }
.nav-overlay-langs {
  margin-top: 28px;
  display: flex; gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 500px at 70% 10%, rgba(139, 92, 246, 0.16), transparent 70%),
    radial-gradient(ellipse 700px 400px at 20% 80%, rgba(0, 229, 255, 0.12), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, #000 30%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero h1 { max-width: 1000px; margin-bottom: .35em; }
.hero h1 span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub {
  max-width: 640px;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Terminal */
.terminal {
  margin-top: 56px;
  width: 100%;
  max-width: 760px;
  background: rgba(15, 20, 32, 0.92);
  border: 1px solid var(--border-lit);
  border-radius: var(--radius);
  box-shadow:
    0 30px 80px -30px rgba(0, 229, 255, 0.25),
    0 0 0 1px rgba(255,255,255,0.02);
  overflow: hidden;
  text-align: left;
  backdrop-filter: blur(8px);
}
.terminal-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  display: inline-block;
}
.terminal-dots span:nth-child(1) { background: #FF5F56; }
.terminal-dots span:nth-child(2) { background: #FFBD2E; }
.terminal-dots span:nth-child(3) { background: #27C93F; }
.terminal-title {
  font-family: "Fira Code", monospace;
  font-size: .82rem;
  color: var(--text-dim);
  margin: 0 auto;
  padding-right: 60px;
}
.terminal-body {
  font-family: "Fira Code", monospace;
  font-size: .92rem;
  line-height: 1.7;
  padding: 22px 22px 26px;
  min-height: 200px;
  color: #D6DEE8;
}
.terminal-line { display: block; min-height: 1.7em; }
.term-prompt { color: var(--accent); }
.term-cmd    { color: #fff; }
.term-out    { color: #9DE5C7; }
.term-cursor {
  display: inline-block;
  width: 9px; height: 1.05em;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ============== SECTIONS ============== */
.section-head { text-align: center; margin: 0 auto 56px; max-width: 720px; }
.section-head p { font-size: 1.08rem; color: var(--text-muted); }
.section--alt .section-head p { color: #4B5563; }

/* Highlight 3-col */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover {
  border-color: var(--border-lit);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px -25px rgba(0, 229, 255, 0.35);
}
.card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid var(--border-lit);
  display: flex; align-items: center; justify-content: center;
  font-family: "Fira Code", monospace;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--text-muted); margin: 0; font-size: .98rem; }

.section--alt .card {
  background: #fff;
  border: 1px solid #E5E7EB;
}
.section--alt .card:hover {
  border-color: #0EA5BF;
  box-shadow: 0 20px 50px -25px rgba(14, 165, 191, 0.25);
}
.section--alt .card-icon {
  background: rgba(14, 165, 191, 0.08);
  border-color: rgba(14, 165, 191, 0.3);
  color: #0EA5BF;
}
.section--alt .card p { color: #4B5563; }

/* Tech badges */
.tech-cloud {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  max-width: 800px; margin: 0 auto;
}
.tech-badge {
  font-family: "Fira Code", monospace;
  font-size: .85rem;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-lit);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex; align-items: center; gap: 6px;
  animation: bob 4s ease-in-out infinite alternate;
  transition: box-shadow .25s ease, transform .15s ease;
  cursor: default;
}
.tech-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.tech-badge:hover {
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.5);
  transform: translateY(-3px) !important;
}
.tech-badge:nth-child(2n)  { animation-delay: -0.4s; animation-duration: 4.6s; }
.tech-badge:nth-child(3n)  { animation-delay: -0.9s; animation-duration: 5.2s; }
.tech-badge:nth-child(4n)  { animation-delay: -1.4s; animation-duration: 3.8s; }
.tech-badge:nth-child(5n)  { animation-delay: -1.9s; animation-duration: 4.2s; }
.tech-badge:nth-child(7n)  { animation-delay: -2.5s; animation-duration: 5s; }
@keyframes bob {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  text-align: center;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
}
.stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-lbl { color: var(--text-muted); font-size: .95rem; }

/* CTA banner */
.cta-band {
  background:
    radial-gradient(circle at 30% 50%, rgba(0,229,255,0.18), transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(139,92,246,0.18), transparent 60%),
    var(--bg-card);
  border: 1px solid var(--border-lit);
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
}
.cta-band h2 { margin-bottom: .25em; }
.cta-band p { color: var(--text-muted); margin-bottom: 24px; }

/* ============== SERVICES ============== */
.svc-toggle {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto 56px;
}
.svc-toggle-wrap { text-align: center; }
.svc-toggle-btn {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: .95rem;
  padding: 9px 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .2s ease;
}
.svc-toggle-btn.is-active {
  background: var(--gradient);
  color: #0B0E16;
  font-weight: 700;
}

.pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.pkg-set { display: none; }
.pkg-set.is-visible { display: grid; }

.pkg {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .25s ease, border-color .25s ease;
}
.pkg::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 1px;
  background: var(--gradient);
  border-radius: var(--radius) var(--radius) 0 0;
}
.pkg:hover { transform: translateY(-4px); border-color: var(--border-lit); }
.pkg.is-popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 30px 60px -30px rgba(0, 229, 255, 0.4);
}
.pkg-popular-tag {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  font-family: "Fira Code", monospace;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  background: var(--gradient);
  color: #0B0E16;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
}
.pkg h3 { margin-bottom: 14px; }
.pkg-price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.pkg-price-sub {
  font-family: "Fira Code", monospace;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: block;
}
.pkg-features {
  list-style: none; padding: 0; margin: 0 0 28px;
  flex-grow: 1;
}
.pkg-features li {
  position: relative;
  padding: 8px 0 8px 26px;
  font-size: .95rem;
  color: var(--text);
  border-bottom: 1px dashed var(--border);
}
.pkg-features li:last-child { border-bottom: 0; }
.pkg-features li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 700;
}
.pkg .btn { width: 100%; }

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.process-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  counter-increment: step;
}
.process-step::before {
  content: "0" counter(step);
  font-family: "Fira Code", monospace;
  font-size: .82rem;
  color: var(--accent);
  letter-spacing: .12em;
  display: block;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { color: var(--text-muted); margin: 0; font-size: .92rem; }

.section--alt .process-step {
  background: #fff;
  border: 1px solid #E5E7EB;
}
.section--alt .process-step::before { color: #0EA5BF; }
.section--alt .process-step p { color: #4B5563; }

/* ============== TECH PAGE ============== */
.tech-grid-section {
  display: grid;
  gap: 48px;
}
.tech-section { }
.tech-section h3 {
  font-family: "Fira Code", monospace;
  font-size: .82rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.tech-section h3::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.code-window {
  max-width: 880px;
  margin: 0 auto;
  background: rgba(15, 20, 32, 0.9);
  border: 1px solid var(--border-lit);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0, 229, 255, 0.25);
  backdrop-filter: blur(10px);
}
.code-window .terminal-bar { background: rgba(0,0,0,0.25); }
.code-body {
  font-family: "Fira Code", monospace;
  font-size: .9rem;
  line-height: 1.85;
  padding: 24px 28px;
  white-space: pre;
  overflow-x: auto;
  color: #D6DEE8;
  counter-reset: ln;
}
.code-line {
  display: block;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .4s ease, transform .4s ease;
  counter-increment: ln;
}
.code-line::before {
  content: counter(ln);
  display: inline-block;
  width: 28px;
  color: var(--text-dim);
  text-align: right;
  margin-right: 16px;
  user-select: none;
}
.code-line.is-on { opacity: 1; transform: none; }
.kw  { color: #00E5FF; }
.str { color: #9DE5C7; }
.fn  { color: #C4A6FF; }
.cmt { color: var(--text-dim); font-style: italic; }
.num { color: #FFB86C; }

/* ============== ABOUT ============== */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.story-grid h2 { margin-bottom: 0; }
.story-text p { font-size: 1.05rem; }

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.expertise {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.expertise h3 { margin-bottom: 12px; }
.expertise p { color: var(--text-muted); font-size: .98rem; }
.expertise-skills {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 18px;
}
.skill-tag {
  font-family: "Fira Code", monospace;
  font-size: .72rem;
  padding: 4px 10px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 999px;
  border: 1px solid var(--border-lit);
}

.where-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 56px;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.where-meta { display: grid; gap: 14px; }
.where-meta-row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-family: "Fira Code", monospace;
  font-size: .9rem;
}
.where-meta-row:last-child { border-bottom: 0; }
.where-meta-row span:first-child { color: var(--text-muted); }
.where-meta-row span:last-child { color: var(--text); }

/* ============== CONTACT ============== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: "Fira Code", monospace;
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: .04em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .15s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-msg {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: .95rem;
}
.form-msg.is-ok {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #6EE7B7;
}
.form-msg.is-err {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #FCA5A5;
}

.contact-info {
  display: grid; gap: 22px;
}
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.info-card h4 { color: var(--accent); margin-bottom: 8px; font-size: .82rem; }
.info-card p, .info-card a { font-size: .95rem; margin: 0; color: var(--text); }

/* ============== LEGAL ============== */
.legal {
  max-width: 820px;
  margin: 0 auto;
}
.legal h2 { margin-top: 1.6em; font-size: 1.4rem; }
.legal h2:first-of-type { margin-top: 1em; }
.legal p { color: var(--text-muted); }
.legal-meta {
  font-family: "Fira Code", monospace;
  font-size: .85rem;
  color: var(--text-dim);
  margin-bottom: 36px;
}

/* ============== FOOTER ============== */
.footer {
  background: #04060B;
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-col h4 {
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--accent);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: .92rem;
  padding: 4px 0;
}
.footer-col a:hover { color: var(--text); }
.footer-brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
  display: inline-block;
}
.footer-tag { color: var(--text-muted); font-size: .92rem; max-width: 320px; margin-bottom: 14px; }
.footer-meta {
  font-family: "Fira Code", monospace;
  font-size: .78rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.footer-bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: "Fira Code", monospace;
  font-size: .78rem;
  color: var(--text-dim);
}

/* ============== COOKIE BANNER ============== */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 200;
  background: rgba(15, 20, 32, 0.97);
  border: 1px solid var(--border-lit);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  backdrop-filter: blur(14px);
}
.cookie-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px 8px;
  flex-wrap: wrap;
}
.cookie-banner p { margin: 0; font-size: .92rem; color: var(--text-muted); flex: 1 1 280px; }
.cookie-actions { display: flex; align-items: center; gap: 14px; }
.cookie-link { color: var(--accent); font-size: .9rem; }

/* ============== RESPONSIVE ============== */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .lang-switch { display: none; }

  .section { padding: 72px 0; }

  .story-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .where-grid { grid-template-columns: 1fr; padding: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.7rem; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 36px); }
  .terminal-body { font-size: .82rem; padding: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .pkg { padding: 28px 22px; }
  .cta-band { padding: 36px 22px; }
}
