/* ─────────────────────────────────────────────
   TETON SOFTWARE — style.css
   Premium dark theme with glassmorphism
   ───────────────────────────────────────────── */

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors */
  --bg-void:        #050810;
  --bg-deep:        #080d1a;
  --bg-mid:         #0d1528;
  --bg-card:        rgba(13, 21, 40, 0.7);
  --bg-glass:       rgba(255,255,255,0.04);
  --border-glass:   rgba(255,255,255,0.08);

  --sky:       #38bdf8;
  --sky-dim:   rgba(56, 189, 248, 0.15);
  --indigo:    #818cf8;
  --indigo-dim:rgba(129, 140, 248, 0.15);
  --emerald:   #34d399;
  --rose:      #f472b6;
  --amber:     #facc15;

  --text-hi:   #f1f5f9;
  --text-md:   #94a3b8;
  --text-lo:   #475569;

  /* Typography */
  --font-body: 'Inter', system-ui, sans-serif;
  --font-head: 'Space Grotesk', 'Inter', system-ui, sans-serif;

  /* Spacing */
  --nav-h: 76px;
  --section-pad: clamp(80px, 10vw, 140px);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  background: var(--bg-void);
  color: var(--text-hi);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── CURSOR GLOW ── */
.cursor-glow {
  position: fixed;
  top: -300px;
  left: -300px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s;
  transform: translate(-50%, -50%);
}

/* ── UTILITY ── */
.container {
  width: min(1200px, 94%);
  margin-inline: auto;
}

.glass {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ─────────────────────────────────
   NAVIGATION
───────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 8, 16, 0.85);
  border-bottom-color: var(--border-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.nav-inner {
  width: min(1200px, 94%);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { display: flex; align-items: center; }
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-hi);
  letter-spacing: -0.01em;
}
.logo-accent {
  background: linear-gradient(90deg, var(--sky), var(--indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-link {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-md);
  padding: 6px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text-hi); background: var(--bg-glass); }

.nav-cta {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--sky);
  padding: 8px 20px;
  border: 1px solid rgba(56,189,248,0.35);
  border-radius: 10px;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.nav-cta:hover {
  background: var(--sky);
  color: var(--bg-void);
  border-color: var(--sky);
  box-shadow: 0 0 24px rgba(56,189,248,0.35);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-hi);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────
   ANIMATIONS (base)
───────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-18px) rotate(1deg); }
  66%       { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52,211,153,0.5); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 6px rgba(52,211,153,0); }
}
@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position: 200% center; }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.08); }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.75s var(--ease) forwards;
  animation-delay: var(--delay, 0s);
}
.animate-float { animation: float 8s ease-in-out infinite; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────
   HERO
───────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(700px, 94%);
  margin-left: max(3%, calc(50% - 600px));
  padding-block: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--emerald);
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.25);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  animation: badgePulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-hi);
  margin-bottom: 24px;
}

.hero-gradient-text {
  background: linear-gradient(120deg, var(--sky) 0%, var(--indigo) 50%, var(--rose) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-md);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--sky), var(--indigo));
  color: var(--bg-void);
  font-weight: 700;
  font-size: 0.925rem;
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--indigo), var(--sky));
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 32px rgba(56,189,248,0.4); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-hi);
  font-weight: 600;
  font-size: 0.925rem;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.2);
  background: var(--bg-glass);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-number {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-hi);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-suffix { font-size: 1.3rem; font-weight: 700; color: var(--sky); display: inline; }
.stat-label { font-size: 0.78rem; color: var(--text-md); margin-top: 4px; }
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-glass);
}

/* Hero image */
.hero-image-wrap {
  position: absolute;
  right: max(2%, calc(50% - 640px));
  top: 50%;
  transform: translateY(-50%);
  width: clamp(380px, 45%, 600px);
  z-index: 1;
  pointer-events: none;
}
.hero-mountain {
  width: 100%;
  display: block;
  filter: drop-shadow(0 0 60px rgba(56,189,248,0.25));
}
.hero-glow-ring {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.1) 0%, transparent 70%);
  animation: glow-pulse 4s ease-in-out infinite;
}

/* Hero scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--sky));
  animation: float 2s ease-in-out infinite;
}
.hero-scroll-hint span {
  font-size: 0.7rem;
  color: var(--text-lo);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─────────────────────────────────
   TRUSTED / LOGO TICKER
───────────────────────────────── */
.trusted {
  padding: 48px 0;
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  overflow: hidden;
  background: linear-gradient(to right, var(--bg-deep), var(--bg-mid), var(--bg-deep));
}
.trusted-label {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-lo);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}

.logo-ticker { overflow: hidden; }
.logo-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.logo-item {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-lo);
  padding: 0 40px;
  white-space: nowrap;
  border-right: 1px solid var(--border-glass);
  transition: color 0.25s;
  cursor: default;
}
.logo-item:hover { color: var(--text-md); }

/* ─────────────────────────────────
   SECTION HEADERS (shared)
───────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 80px;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sky);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  padding: 5px 14px;
  background: var(--sky-dim);
  border-radius: 20px;
  border: 1px solid rgba(56,189,248,0.2);
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-hi);
  margin-bottom: 16px;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--sky), var(--indigo));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-md);
  line-height: 1.7;
}

/* ─────────────────────────────────
   SERVICES
───────────────────────────────── */
.services {
  padding: var(--section-pad) 0;
  background: var(--bg-deep);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 32px;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
  overflow: hidden;
  outline: none;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--sky-dim), var(--indigo-dim));
  opacity: 0;
  transition: opacity 0.35s;
  border-radius: inherit;
}
.service-card:hover, .service-card:focus {
  border-color: rgba(56,189,248,0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(56,189,248,0.15);
}
.service-card:hover::before, .service-card:focus::before { opacity: 1; }

.service-card--featured {
  border-color: rgba(56,189,248,0.25);
  background: linear-gradient(135deg, rgba(56,189,248,0.07), rgba(129,140,248,0.07));
}
.service-card--featured .service-name { color: var(--sky); }

.service-card-featured-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bg-void);
  background: linear-gradient(90deg, var(--sky), var(--indigo));
  padding: 4px 10px;
  border-radius: 20px;
}

.service-icon-wrap {
  margin-bottom: 20px;
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--sky);
  position: relative;
  z-index: 1;
  transition: background 0.3s, box-shadow 0.3s;
}
.service-card:hover .service-icon, .service-card:focus .service-icon {
  background: var(--sky-dim);
  box-shadow: 0 0 20px rgba(56,189,248,0.25);
}

.service-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 10px;
  position: relative; z-index: 1;
}
.service-desc {
  font-size: 0.9rem;
  color: var(--text-md);
  line-height: 1.65;
  margin-bottom: 20px;
  position: relative; z-index: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.service-tags li {
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--text-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  padding: 3px 10px;
  border-radius: 6px;
  transition: color 0.2s, border-color 0.2s;
}
.service-card:hover .service-tags li {
  color: var(--sky);
  border-color: rgba(56,189,248,0.2);
}

.service-arrow {
  position: absolute;
  bottom: 28px;
  right: 28px;
  color: var(--text-lo);
  transition: color 0.3s, transform 0.3s var(--ease-spring);
  z-index: 1;
}
.service-card:hover .service-arrow, .service-card:focus .service-arrow {
  color: var(--sky);
  transform: translate(4px, -4px);
}

/* ─────────────────────────────────
   PROCESS
───────────────────────────────── */
.process {
  padding: var(--section-pad) 0;
  background: var(--bg-void);
  position: relative;
}
.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(129,140,248,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.process-steps {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--sky) 20%, var(--indigo) 80%, transparent);
}

.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 28px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-glass);
}
.process-step:last-child { border-bottom: none; }

.step-number {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sky);
  background: var(--sky-dim);
  border: 1px solid rgba(56,189,248,0.25);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background 0.3s, box-shadow 0.3s;
}
.process-step.visible .step-number {
  box-shadow: 0 0 20px rgba(56,189,248,0.3);
}

.step-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 0.95rem;
  color: var(--text-md);
  line-height: 1.7;
}

/* ─────────────────────────────────
   ABOUT
───────────────────────────────── */
.about {
  padding: var(--section-pad) 0;
  background: var(--bg-deep);
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* About visual side */
.about-visual {
  position: relative;
  min-height: 480px;
}
.about-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.about-orb--1 {
  width: 300px;
  height: 300px;
  background: rgba(56,189,248,0.12);
  top: -40px; left: -60px;
  animation: glow-pulse 6s ease-in-out infinite;
}
.about-orb--2 {
  width: 200px;
  height: 200px;
  background: rgba(129,140,248,0.1);
  bottom: 0; right: -40px;
  animation: glow-pulse 8s ease-in-out infinite reverse;
}

.about-code-block {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.code-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(255,255,255,0.02);
}
.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.code-dot.red    { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green  { background: #28c840; }
.code-filename {
  margin-left: 8px;
  font-size: 0.78rem;
  color: var(--text-md);
  font-family: 'Courier New', monospace;
}

.code-content {
  padding: 20px;
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  overflow-x: auto;
}
.code-content .kw  { color: var(--sky); }
.code-content .str { color: var(--emerald); }
.code-content .fn  { color: var(--indigo); }
.code-content .cmt { color: var(--text-lo); font-style: italic; }

.about-pill {
  position: absolute;
  left: -20px;
  bottom: 36%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-hi);
  white-space: nowrap;
  z-index: 2;
  transition: transform 0.3s var(--ease);
}
.about-pill:hover { transform: scale(1.04); }

/* About content side */
.about-content .section-tag { margin-bottom: 16px; }
.about-body {
  font-size: 1rem;
  color: var(--text-md);
  line-height: 1.75;
  margin: 20px 0 40px;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pillar-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
}
.pillar h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 6px;
}
.pillar p { font-size: 0.9rem; color: var(--text-md); line-height: 1.6; }

/* ─────────────────────────────────
   TESTIMONIALS
───────────────────────────────── */
.testimonials {
  padding: var(--section-pad) 0;
  background: var(--bg-void);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.testimonial:hover {
  transform: translateY(-4px);
  border-color: rgba(56,189,248,0.2);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

.testimonial-stars { color: var(--amber); font-size: 1rem; letter-spacing: 2px; }
.testimonial-quote {
  font-size: 0.98rem;
  color: var(--text-md);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-glass);
  padding-top: 20px;
}
.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-hi);
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-lo);
}

/* ─────────────────────────────────
   TECH STACK
───────────────────────────────── */
.techstack {
  padding: var(--section-pad) 0;
  background: var(--bg-deep);
}

.tech-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.tech-badge {
  font-family: var(--font-head);
  font-size: calc(0.85rem * var(--size, 1));
  font-weight: 600;
  color: var(--text-md);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: calc(8px * var(--size, 1)) calc(18px * var(--size, 1));
  cursor: default;
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.tech-badge:hover {
  color: var(--sky);
  border-color: rgba(56,189,248,0.4);
  background: var(--sky-dim);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(56,189,248,0.2);
}

/* ─────────────────────────────────
   CONTACT
───────────────────────────────── */
.contact {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.contact-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(56,189,248,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(129,140,248,0.06) 0%, transparent 50%),
    var(--bg-void);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 16px 0 20px;
}
.contact-body {
  font-size: 1rem;
  color: var(--text-md);
  line-height: 1.7;
}

/* Form */
.contact-form {
  border-radius: 24px;
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-md);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-hi);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 16px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-group option { background: var(--bg-deep); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(56,189,248,0.5);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.1);
  background: rgba(56,189,248,0.04);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-lo); }

.form-submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  font-size: 1rem;
  padding: 16px;
}

.form-success {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--emerald);
  text-align: center;
  min-height: 24px;
  font-weight: 500;
}

/* ─────────────────────────────────
   FOOTER
───────────────────────────────── */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-glass);
}

.footer-inner {
  padding: 80px 0 48px;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 80px;
  align-items: start;
}

.footer-tagline {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--text-lo);
  font-style: italic;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-glass);
  color: var(--text-lo);
  text-decoration: none;
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s;
}
.social-link:hover {
  color: var(--sky);
  border-color: rgba(56,189,248,0.3);
  background: var(--sky-dim);
  transform: translateY(-3px);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-hi);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.footer-col a, .footer-col span {
  font-size: 0.875rem;
  color: var(--text-lo);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--sky); }

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom span { font-size: 0.8rem; color: var(--text-lo); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-lo);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--text-md); }

/* ─────────────────────────────────
   RESPONSIVE
───────────────────────────────── */
@media (max-width: 1024px) {
  .hero-image-wrap { width: clamp(280px, 38%, 480px); }
  .about-grid      { grid-template-columns: 1fr; gap: 60px; }
  .about-visual    { order: 2; min-height: 340px; }
  .contact-inner   { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner    { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(5,8,16,0.97);
    padding: 40px 24px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 800;
    align-items: flex-start;
    gap: 8px;
  }
  .nav-links.open .nav-link,
  .nav-links.open .nav-cta {
    font-size: 1.2rem;
    width: 100%;
    padding: 14px 20px;
  }

  .hero-content { margin-left: 3%; padding-bottom: 160px; }
  .hero-image-wrap {
    position: relative;
    right: auto; top: auto;
    transform: none;
    width: 90%;
    margin: -80px auto 0;
    opacity: 0.5;
  }
  .hero { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 20px; }

  .services-grid         { grid-template-columns: 1fr; }
  .testimonials-grid     { grid-template-columns: 1fr; }
  .form-row              { grid-template-columns: 1fr; }
  .footer-nav            { grid-template-columns: 1fr 1fr; gap: 24px; }
  .process-line          { display: none; }
  .process-step          { grid-template-columns: 1fr; gap: 12px; }

  .about-orb { display: none; }
  .about-pill { position: static; margin-top: 12px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .footer-nav { grid-template-columns: 1fr; }
}
