/* =========================================================
   Moon Inc. — design system
   ========================================================= */

:root {
  /* colors */
  --bg-deep: #05030f;
  --bg-navy: #0d0720;
  --bg-navy-2: #150c33;
  --surface: #1a1042;
  --surface-2: #24144f;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(168, 85, 247, 0.45);
  --text-primary: #f1edfb;
  --text-secondary: #b0a4cf;
  --text-muted: #6e6390;
  --accent-cyan: #c084fc;
  --accent-blue: #7c3aed;
  --accent-silver: #cfc6e8;
  --accent-gradient: linear-gradient(135deg, #c084fc 0%, #7c3aed 55%, #4338ca 100%);
  --success: #33e0a1;

  /* spacing (8px grid) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
   Reset
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-navy);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  color: #ffffff;
}

p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; display: block; }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

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

/* film grain atmosphere overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   Layout helpers
   ========================================================= */

.section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-10) 0;
  overflow: hidden;
}

/* sitewide starfield + nebula ambiance ("space" theme) */
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
  background-image:
    radial-gradient(1.5px 1.5px at 15% 25%, rgba(255, 255, 255, 0.9), transparent 60%),
    radial-gradient(1px 1px at 75% 15%, rgba(216, 205, 255, 0.8), transparent 60%),
    radial-gradient(2px 2px at 45% 65%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1px 1px at 90% 80%, rgba(216, 205, 255, 0.75), transparent 60%),
    radial-gradient(1.5px 1.5px at 30% 90%, rgba(255, 255, 255, 0.65), transparent 60%);
  background-size: 180px 180px, 220px 220px, 260px 260px, 140px 140px, 200px 200px;
  animation: starDrift 140s linear infinite;
}
.section::after {
  content: '';
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.18), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.15), transparent 45%);
  filter: blur(50px);
  animation: nebulaDrift 55s ease-in-out infinite alternate;
}
@keyframes starDrift {
  to { background-position: 180px 180px, -220px 220px, 260px -260px, -140px -140px, -200px 200px; }
}
@keyframes nebulaDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-3%, 3%) scale(1.08); }
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: var(--sp-2);
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  max-width: 720px;
  margin-bottom: var(--sp-2);
}

.section-lead {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: var(--sp-6);
}

.text-gradient {
  background: var(--accent-gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textShimmer 6s ease-in-out infinite alternate;
}
@keyframes textShimmer {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

/* scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0) scale(1); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--accent-gradient);
  color: #0b0518;
  box-shadow: 0 8px 30px -8px rgba(139, 92, 246, 0.55);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(139, 92, 246, 0.75); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--border-strong); background: rgba(139, 92, 246, 0.1); }
.btn-block { width: 100%; justify-content: center; }

/* =========================================================
   Nav
   ========================================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--sp-2) 0;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), padding 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13, 7, 32, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  padding: var(--sp-1) 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-right { display: flex; align-items: center; gap: var(--sp-4); }

.brand { display: inline-flex; align-items: center; gap: 10px; z-index: 101; }
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-gradient);
  color: #051018;
}
.brand-mark svg { width: 18px; height: 18px; stroke: none; fill: currentColor; }
.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.01em;
  color: #fff;
}
.brand-name em { font-style: normal; color: var(--accent-cyan); }

.nav-links { display: flex; align-items: center; gap: var(--sp-4); }
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent-gradient);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-cta {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: rgba(139, 92, 246, 0.15); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  z-index: 101;
}
.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: 999px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.lang-btn.active { background: var(--accent-gradient); color: #0b0518; }
.lang-btn:not(.active):hover { color: var(--text-primary); }

.hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  color: var(--text-primary);
  z-index: 101;
}
.hamburger svg { width: 20px; height: 20px; }

/* =========================================================
   Side orbit nav
   ========================================================= */

.orbit-nav {
  position: fixed;
  right: var(--sp-3);
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.orbit-nav::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, var(--border-strong), transparent);
  z-index: -1;
}
.orbit-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  position: relative;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.orbit-dot::after {
  content: attr(data-label);
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease);
  background: var(--surface);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.orbit-dot:hover::after { opacity: 1; }
.orbit-dot:hover { border-color: var(--border-strong); }
.orbit-dot.active { background: var(--accent-gradient); border-color: transparent; transform: scale(1.3); }

@media (max-width: 1024px) {
  .orbit-nav { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  background:
    radial-gradient(ellipse 80% 60% at 85% 15%, rgba(124, 58, 237, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(168, 85, 247, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-navy) 100%);
  overflow: hidden;
}

.net-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.shooting-star {
  position: absolute;
  top: 20%;
  left: -10%;
  width: 3px;
  height: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.8);
  z-index: 1;
  opacity: 0;
  transform: rotate(20deg);
}
.shooting-star::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  width: 130px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(196, 181, 253, 0.4), transparent);
  transform: translateY(-50%);
}
.star-a { animation: shoot 9s ease-in infinite; animation-delay: 2s; }
.star-b { top: 55%; animation: shoot 12s ease-in infinite; animation-delay: 6s; }
.star-c { top: 8%; left: 30%; animation: shoot 10s ease-in infinite; animation-delay: 4s; }
.star-d { top: 70%; left: -20%; animation: shoot 14s ease-in infinite; animation-delay: 9s; }
@keyframes shoot {
  0% { transform: rotate(20deg) translate(0, 0); opacity: 0; }
  4% { opacity: 1; }
  20% { transform: rotate(20deg) translate(60vw, 30vh); opacity: 0; }
  100% { transform: rotate(20deg) translate(60vw, 30vh); opacity: 0; }
}

.hero-orbit {
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%);
  width: 560px;
  height: 560px;
  pointer-events: none;
}
@media (max-width: 1024px) { .hero-orbit { opacity: 0.35; right: -220px; } }
@media (max-width: 640px) { .hero-orbit { display: none; } }

.orbit-ring {
  position: absolute;
  border: 1px solid rgba(168, 85, 247, 0.22);
  border-radius: 50%;
  top: 50%; left: 50%;
}
.ring-1 { width: 260px; height: 260px; margin: -130px 0 0 -130px; animation: spin 40s linear infinite; }
.ring-2 { width: 380px; height: 380px; margin: -190px 0 0 -190px; border-color: rgba(124, 58, 237, 0.18); animation: spin 60s linear infinite reverse; }
.ring-3 { width: 540px; height: 540px; margin: -270px 0 0 -270px; border-color: rgba(207, 198, 232, 0.08); animation: spin 90s linear infinite; }

.orbit-body {
  position: absolute;
  top: 50%; left: 50%;
  width: 96px; height: 96px;
  margin: -48px 0 0 -48px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2a1a5e, #0d0720 70%);
  box-shadow: 0 0 60px rgba(168, 85, 247, 0.4), inset -14px -10px 30px rgba(0,0,0,0.5), inset 8px 6px 20px rgba(168, 85, 247, 0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-cyan);
  animation: floatOrbit 6s ease-in-out infinite;
}
.orbit-body svg { width: 40px; height: 40px; stroke: none; fill: currentColor; opacity: 0.9; }
@keyframes floatOrbit {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.orbit-sat {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 14px 3px rgba(192, 132, 252, 0.7);
  top: 50%; left: 50%;
}
.sat-1 { margin: -195px 0 0 -5px; transform-origin: 5px 195px; animation: spin 40s linear infinite; }
.sat-2 { margin: -270px 0 0 -5px; background: var(--accent-silver); box-shadow: 0 0 10px 2px rgba(207, 198, 232, 0.6); transform-origin: 5px 270px; animation: spin 90s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.hero-grid {
  position: relative;
  z-index: 3;
  padding-top: var(--sp-8);
}
.hero-copy { max-width: 680px; }
.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
}
.hero-lead {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: var(--sp-5);
}
.hero-actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-5); }
.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--text-muted);
  font-size: 13.5px;
}
.hero-trust svg { width: 16px; height: 16px; color: var(--accent-cyan); }

.scroll-cue {
  position: absolute;
  bottom: var(--sp-4);
  left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  z-index: 3;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: scrollcue 1.8s var(--ease) infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { opacity: 0; }
}
@media (max-width: 640px) { .scroll-cue { display: none; } }

/* =========================================================
   Cards grid (services + testimonials share base)
   ========================================================= */

.cards-grid {
  display: grid;
  gap: var(--sp-3);
}
.services-grid { grid-template-columns: repeat(3, 1fr); }
.testimonials-grid { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
}

.card {
  background: linear-gradient(160deg, var(--surface), var(--bg-navy-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 40px -20px rgba(147, 51, 234, 0.35);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-cyan);
  margin-bottom: var(--sp-3);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-secondary); font-size: 15px; }

.services { background: var(--bg-navy); }

/* =========================================================
   Tech section
   ========================================================= */

.tech {
  background:
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(168, 85, 247, 0.1), transparent 60%),
    var(--bg-navy-2);
}

.tech-categories {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.tech-group-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}
.tech-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-primary);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.chip svg { width: 19px; height: 19px; color: var(--accent-cyan); }
.chip:hover { transform: translateY(-3px); border-color: var(--border-strong); background: var(--surface-2); }

/* =========================================================
   Testimonials
   ========================================================= */

.testimonials { background: var(--bg-navy); }

.t-card {
  background: linear-gradient(160deg, var(--surface), var(--bg-navy-2));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.t-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.t-stars { display: flex; gap: 4px; color: var(--accent-cyan); margin-bottom: var(--sp-2); }
.t-stars svg { width: 15px; height: 15px; }
.t-quote { color: var(--text-secondary); font-size: 15px; margin-bottom: var(--sp-3); flex: 1; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #051018;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.t-author strong { display: block; font-size: 14.5px; font-weight: 600; }
.t-author span { font-size: 13px; color: var(--text-muted); }

/* =========================================================
   Contact
   ========================================================= */

.contact {
  background:
    radial-gradient(ellipse 70% 60% at 10% 20%, rgba(124, 58, 237, 0.16), transparent 60%),
    var(--bg-navy-2);
  padding-bottom: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: start;
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-8);
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
}

.contact-list { margin-top: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(168, 85, 247, 0.12);
  color: var(--accent-cyan);
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-size: 15px; margin-bottom: 2px; }
.contact-list span, .contact-list a { color: var(--text-secondary); font-size: 15px; }
.contact-list a:hover { color: var(--accent-cyan); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}
.form-row { margin-bottom: var(--sp-3); display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 13.5px; font-weight: 600; color: var(--text-secondary); }
.form-row input, .form-row textarea {
  background: var(--bg-navy);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  resize: vertical;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-muted); }
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.22);
}
.form-row.has-error input, .form-row.has-error textarea { border-color: #ff6b6b; }
.form-error { font-size: 12.5px; color: #ff8080; min-height: 15px; }
.form-note { font-size: 12.5px; color: var(--text-muted); margin-top: var(--sp-2); text-align: center; }

/* =========================================================
   Footer
   ========================================================= */

.footer {
  border-top: 1px solid var(--border);
  margin-top: var(--sp-8);
  padding: var(--sp-5) 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.footer-links { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.footer-links a { font-size: 13.5px; color: var(--text-muted); transition: color 0.2s var(--ease); }
.footer-links a:hover { color: var(--text-primary); }
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* =========================================================
   Mobile nav
   ========================================================= */

@media (max-width: 860px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 84vw);
    background: rgba(13, 7, 32, 0.98);
    backdrop-filter: blur(16px);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--sp-4);
    padding: var(--sp-6);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 99;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 18px; }
  .nav-links .nav-cta { width: 100%; text-align: center; }
}

/* =========================================================
   Responsive type / spacing
   ========================================================= */

@media (max-width: 640px) {
  .section { padding: var(--sp-8) 0; }
}
