/* ==========================================================================
   Teknovox — shared stylesheet
   ========================================================================== */

:root {
  /* Colors */
  --bg: #080b13;
  --bg-alt: #0a0e18;
  --surface: #0f1524;
  --surface-2: #111a2c;
  --border: #1c2436;
  --border-soft: rgba(255, 255, 255, 0.08);
  --text: #f3f6fb;
  --text-dim: #9aa7bd;
  --text-dimmer: #6b7688;
  --blue: #2f8eff;
  --blue-bright: #4aa3ff;
  --blue-deep: #1558b0;
  --blue-glow: rgba(47, 142, 255, 0.14);
  --violet: #8b7cf6;
  --violet-glow: rgba(139, 124, 246, 0.14);
  --orange: #f5793a;
  --orange-glow: rgba(245, 121, 58, 0.14);
  --green: #34c785;
  --green-glow: rgba(52, 199, 133, 0.14);

  /* Type */
  --font-display: "Sora", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Layout */
  --max-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --header-h: 76px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
}

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

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

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 18px;
}

.eyebrow.pill {
  padding: 7px 16px;
  border: 1px solid rgba(47, 142, 255, 0.35);
  border-radius: 999px;
  background: var(--blue-glow);
}

.lede {
  color: var(--text-dim);
  font-size: 1.08rem;
  max-width: 640px;
}

.text-blue { color: var(--blue-bright); }

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-head h2 {
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-dim);
  font-size: 1.05rem;
}

.section-head.left {
  text-align: left;
  margin: 0 0 48px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--blue);
  color: #06111f;
}
.btn-primary:hover { background: var(--blue-bright); }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--blue); background: rgba(47,142,255,0.06); }

.btn-dark {
  background: #06111f;
  color: var(--text);
  border-color: var(--border);
}
.btn-dark:hover { border-color: var(--blue); }

.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(8, 11, 19, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--text);
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark svg,
.logo-mark img { width: 100%; height: 100%; display: block; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-desktop a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-dim);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-desktop a:hover { color: var(--text); }

.nav-desktop a.active {
  color: var(--blue-bright);
  border-bottom-color: var(--blue-bright);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

.nav-mobile {
  display: block;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-alt);
  z-index: 99;
  padding: 24px 32px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s ease;
}

.nav-mobile.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile a {
  display: block;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-soft);
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 0.32s ease, transform 0.32s ease, color 0.15s ease;
}

.nav-mobile.open a {
  opacity: 1;
  transform: translateX(0);
}

.nav-mobile a:nth-child(1) { transition-delay: 0.06s; }
.nav-mobile a:nth-child(2) { transition-delay: 0.1s; }
.nav-mobile a:nth-child(3) { transition-delay: 0.14s; }
.nav-mobile a:nth-child(4) { transition-delay: 0.18s; }
.nav-mobile a:nth-child(5) { transition-delay: 0.22s; }
.nav-mobile a:nth-child(6) { transition-delay: 0.26s; }
.nav-mobile a.btn { transition-delay: 0.3s; }

.nav-mobile a.active { color: var(--blue-bright); }

.nav-mobile .btn { margin-top: 24px; }

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

.hero {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle at center, rgba(47,142,255,0.16), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-grid.centered {
  grid-template-columns: 1fr;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-grid.centered .btn-row { justify-content: center; }
.hero-grid.centered .lede { margin-left: auto; margin-right: auto; }

.hero h1 { margin-bottom: 22px; }
.hero .lede { margin-bottom: 34px; }

.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.hero-ring::before,
.hero-ring::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px 2px var(--blue-glow);
}

.hero-ring::before { top: -5px; left: 50%; transform: translateX(-50%); }
.hero-ring::after { bottom: -5px; left: 50%; transform: translateX(-50%); }

.hero-dot-left, .hero-dot-right {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px 2px var(--blue-glow);
  top: 50%;
  transform: translateY(-50%);
}
.hero-dot-left { left: -5px; }
.hero-dot-right { right: -5px; }

.hero-core {
  width: 42%;
  aspect-ratio: 1/1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(47,142,255,0.12);
  animation: floatY 5s ease-in-out infinite;
}

.hero-core svg { width: 40%; height: 40%; color: var(--blue-bright); }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-blob {
  position: absolute;
  top: -140px;
  left: -160px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,79,255,0.55), transparent 70%);
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
}

.hero-top-arc {
  position: absolute;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgba(47,142,255,0.18), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Stat strip
   ========================================================================== */

.stat-strip {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 44px 0;
}

.stat-strip .stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--blue-bright);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
  margin-top: 6px;
  text-transform: uppercase;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: 100px 0;
}

.section-tight { padding: 70px 0; }

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

/* ==========================================================================
   Cards & grids
   ========================================================================== */

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: rgba(47,142,255,0.35);
  transform: translateY(-3px);
}

.card-compact { padding: 26px; }

.icon-box {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--blue-glow);
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.icon-box.circle { border-radius: 50%; }
.icon-box.violet { background: var(--violet-glow); color: var(--violet); }
.icon-box.orange { background: var(--orange-glow); color: var(--orange); }
.icon-box.green { background: var(--green-glow); color: var(--green); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  border: 1px solid;
}

.badge-blue { color: var(--blue-bright); background: var(--blue-glow); border-color: rgba(47,142,255,0.3); }
.badge-violet { color: var(--violet); background: var(--violet-glow); border-color: rgba(139,124,246,0.3); }
.badge-orange { color: var(--orange); background: var(--orange-glow); border-color: rgba(245,121,58,0.3); }
.badge-green { color: var(--green); background: var(--green-glow); border-color: rgba(52,199,133,0.3); }

.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 0.96rem; }

.check-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-dim);
}

.check-list i {
  color: var(--blue-bright);
  margin-top: 3px;
  font-size: 0.85rem;
}

/* Stat card (small, bordered) */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  text-align: center;
}

.stat-card .stat-num { font-size: 1.7rem; }
.stat-card .stat-label-sm {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 6px;
}
.stat-card .stat-src {
  font-size: 0.72rem;
  color: var(--text-dimmer);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Spec item row */
.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.spec-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-bright);
  margin-top: 7px;
  flex-shrink: 0;
}

.spec-item .spec-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.spec-item .spec-value {
  font-weight: 600;
  font-size: 0.98rem;
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  text-align: center;
  padding: 90px 0;
}

.cta-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--blue-glow);
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 26px;
}

.cta-band h2 { margin-bottom: 14px; }
.cta-band p {
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 34px;
}

.cta-band .btn-row { justify-content: center; }

.cta-band-solid {
  background: linear-gradient(135deg, var(--blue), #1c6fe0);
  color: #061020;
  padding: 80px 0;
}

.cta-band-solid h2, .cta-band-solid .stat-num { color: #061020; }
.cta-band-solid p { color: rgba(6,16,32,0.72); }

.cta-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.cta-split .btn-outline {
  border-color: rgba(6,16,32,0.3);
  color: #061020;
}
.cta-split .btn-outline:hover { background: rgba(6,16,32,0.08); }

.cta-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cta-mini-stats .box {
  background: rgba(6,16,32,0.12);
  border: 1px solid rgba(6,16,32,0.18);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}

.cta-mini-stats .box .num { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: #061020; }
.cta-mini-stats .box .lbl { font-size: 0.8rem; color: rgba(6,16,32,0.7); margin-top: 4px; }

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

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: var(--text-dim); font-size: 0.92rem; max-width: 300px; }

.social-row { display: flex; gap: 10px; margin-top: 20px; }

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-bright);
  font-size: 0.85rem;
  transition: border-color 0.15s ease;
}
.social-icon:hover { border-color: var(--blue); }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col span {
  color: var(--text-dim);
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--text); }

.footer-col li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-col li i { color: var(--blue-bright); margin-top: 3px; font-size: 0.85rem; }

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-dimmer);
}

/* ==========================================================================
   Page-specific: About
   ========================================================================== */

.story-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: start;
}

.story-grid p {
  color: var(--text-dim);
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,142,255,0.16), transparent 70%);
}

.quote-card blockquote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 18px 0 10px;
  position: relative;
}

.quote-card cite {
  display: block;
  font-style: normal;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 26px;
}

.quote-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative;
}

.quote-meta .item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.quote-meta .item strong {
  display: block;
  color: var(--blue-bright);
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.quote-meta .item span { font-size: 0.78rem; color: var(--text-dim); }

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mv-card .mv-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-bright);
  margin-bottom: 14px;
}

.team-card {
  text-align: left;
}

.team-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue-glow);
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.team-card .role {
  color: var(--blue-bright);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}

/* ==========================================================================
   Page-specific: EV Charging — how it works
   ========================================================================== */

.steps-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}

.steps-row::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.step {
  position: relative;
  text-align: center;
  z-index: 1;
}

.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--blue);
  color: var(--blue-bright);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.step h4 { font-size: 1rem; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: var(--text-dim); }

/* ==========================================================================
   Page-specific: Partners tiers
   ========================================================================== */

.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.tier-card.popular {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 20px 50px -20px rgba(47,142,255,0.35);
}

.tier-popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #06111f;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}

.tier-for {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.tier-card .btn { margin-top: 24px; }

/* ==========================================================================
   Page-specific: Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin-bottom: 16px;
}

.contact-info-item .icon-box { margin-bottom: 0; flex-shrink: 0; }
.contact-info-item .label { font-size: 0.78rem; color: var(--text-dim); }
.contact-info-item .value { font-weight: 600; }

.invest-box {
  background: var(--blue-glow);
  border: 1px solid rgba(47,142,255,0.3);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-top: 8px;
}

.invest-box h4 { color: var(--blue-bright); font-size: 0.98rem; margin-bottom: 8px; }
.invest-box p { color: var(--text-dim); font-size: 0.9rem; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-form h3 { margin-bottom: 24px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group label .req { color: var(--orange); }

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.15s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dimmer); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  outline: none;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.pill-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-option {
  padding: 11px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.15s ease;
}

.pill-option.active {
  background: var(--blue);
  color: #06111f;
  border-color: var(--blue);
  font-weight: 600;
}

.pill-option:hover:not(.active) { border-color: var(--blue); color: var(--text); }

.form-status {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--blue-bright);
  display: none;
}
.form-status.show { display: block; }
.form-status.error { color: var(--orange); }

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   Home page: services showcase — 4 equal cards
   ========================================================================== */

.card-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.card-feature-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,142,255,0.35), transparent 70%);
  z-index: 0;
}

/* Excludes .card-feature-glow so this doesn't clobber its position:absolute —
   equal-specificity rules resolve by source order, and this one needs to
   lift the real content above the glow without dragging the glow itself
   back into normal document flow. */
.card-feature > *:not(.card-feature-glow) {
  position: relative;
  z-index: 1;
}

.card-feature a {
  color: var(--blue-bright);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 14px;
  display: inline-block;
}

/* Keeps all 4 tiles a uniform size regardless of which row they land in —
   without this, each grid row auto-sizes independently to its own tallest
   card, so the row containing the featured card (with its extra badge and
   link) ends up taller than the row below it. */
.services-tiles > .card {
  min-height: 320px;
}

/* Home: collaboration split */
.collab-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.collab-list { display: flex; flex-direction: column; gap: 14px; }

.collab-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.collab-item .num {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--blue-glow);
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.collab-item h4 { font-size: 0.98rem; margin-bottom: 3px; }
.collab-item p { font-size: 0.85rem; color: var(--text-dim); }

.collab-item i.chev { margin-left: auto; color: var(--text-dimmer); }

/* Home: three reasons */
.reason-card { border-top: 3px solid var(--blue); border-radius: 0 0 var(--radius-md) var(--radius-md); }
.reason-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dimmer);
  margin-bottom: 8px;
}

/* ==========================================================================
   Utility
   ========================================================================== */

.mt-lg { margin-top: 60px; }
.center { text-align: center; }
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Page transition (fade + slide between pages)
   ========================================================================== */

/* Only engage the transition when JS has confirmed it can run the reveal
   (see the inline script in <head>) — keeps the site fully visible for
   no-JS visitors and crawlers. */
html.js body > header,
html.js body > main,
html.js body > footer {
  opacity: 0;
  transform: translateY(14px);
}

/* Specificity note: these "visible" rules deliberately repeat the
   "html.js body" prefix so they outweigh the hidden rule above — without
   it, the hidden rule's extra ancestor selectors would win and the page
   would stay invisible even after .page-loaded is added. */
html.js body.page-loaded > header,
html.js body.page-loaded > main,
html.js body.page-loaded > footer {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

html.js body.page-loaded > main { transition-delay: 0.05s; }
html.js body.page-loaded > footer { transition-delay: 0.1s; }

html.js body.page-exit > header,
html.js body.page-exit > main,
html.js body.page-exit > footer {
  opacity: 0 !important;
  transform: translateY(-16px) !important;
  transition: opacity 0.22s ease, transform 0.22s ease !important;
}

/* ==========================================================================
   Scroll progress bar
   ========================================================================== */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright));
  z-index: 300;
  transition: width 0.12s ease-out;
  pointer-events: none;
}

/* ==========================================================================
   Back to top button
   ========================================================================== */

.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #06111f;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 10px 26px -6px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(18px) scale(0.85);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.15s ease;
  z-index: 90;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover { background: var(--blue-bright); transform: translateY(-2px) scale(1.04); }
.back-to-top:active { transform: translateY(0) scale(0.94); }

/* ==========================================================================
   Button ripple + press feedback
   ========================================================================== */

.btn {
  position: relative;
  overflow: hidden;
}

.btn:active { transform: translateY(0) scale(0.97); }

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  animation: rippleAnim 0.65s ease-out;
}

.btn-primary .btn-ripple,
.btn-dark .btn-ripple {
  background: rgba(255, 255, 255, 0.35);
}

@keyframes rippleAnim {
  to { transform: scale(2.4); opacity: 0; }
}

/* ==========================================================================
   Sliding nav indicator (desktop)
   ========================================================================== */

.nav-desktop { position: relative; }

.nav-indicator {
  position: absolute;
  bottom: -7px;
  height: 2px;
  background: var(--blue-bright);
  border-radius: 2px;
  opacity: 0;
  transition: left 0.3s cubic-bezier(0.65, 0, 0.35, 1), width 0.3s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.2s ease;
}

/* ==========================================================================
   Header scroll state
   ========================================================================== */

.site-header {
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

/* Deliberately NOT changing height here. Shrinking a position:sticky header's
   actual box height causes the content below it to reflow (jump up to fill
   the gap) every time the class toggles — and since the toggle threshold is
   crossed continuously while dragging the scrollbar thumb (unlike discrete
   wheel/keyboard scroll steps), that reflow was firing dozens of times a
   second and reading as the whole page "wobbling". Only transform-based or
   non-layout properties (shadow, logo scale) belong in a scroll-linked
   class like this. */
.site-header.scrolled .logo-mark {
  transform: scale(0.92);
}

.logo-mark { transition: transform 0.25s ease; }

/* ==========================================================================
   Card / interactive-element micro-interactions
   ========================================================================== */

.card {
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 22px 48px -22px rgba(47, 142, 255, 0.4), 0 0 0 1px rgba(47, 142, 255, 0.1);
}

.icon-box {
  transition: transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease;
}

.card:hover .icon-box,
.stat-card:hover .icon-box,
.tier-card:hover .icon-box {
  transform: rotate(-8deg) scale(1.1);
}

.stat-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 142, 255, 0.35);
  box-shadow: 0 18px 38px -20px rgba(47, 142, 255, 0.35);
}

.social-icon { transition: border-color 0.2s ease, transform 0.2s ease, color 0.2s ease; }
.social-icon:hover { transform: translateY(-3px); }

.collab-item { transition: transform 0.25s ease, border-color 0.25s ease; }
.collab-item:hover {
  transform: translateX(4px);
  border-color: rgba(47, 142, 255, 0.3);
}
.collab-item:hover .chev { color: var(--blue-bright); transform: translateX(3px); }
.collab-item .chev { transition: transform 0.25s ease, color 0.25s ease; }

.contact-info-item { transition: transform 0.25s ease, border-color 0.25s ease; }
.contact-info-item:hover {
  transform: translateX(4px);
  border-color: rgba(47, 142, 255, 0.3);
}

.step-num { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.step:hover .step-num {
  transform: scale(1.12);
  box-shadow: 0 0 0 6px var(--blue-glow);
}

.team-avatar { transition: transform 0.3s ease; }
.team-card:hover .team-avatar { transform: scale(1.08) rotate(-4deg); }

.form-group input,
.form-group textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px var(--blue-glow);
}

.pill-option { transition: all 0.2s ease, transform 0.15s ease; }
.pill-option:active { transform: scale(0.96); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 340px; margin-top: 20px; }
  .story-grid { grid-template-columns: 1fr; }
  .collab-split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .cta-split { grid-template-columns: 1fr; text-align: center; }
  .cta-split .btn-row { justify-content: center; }
  .cta-mini-stats { max-width: 460px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary.desktop-only { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .steps-row { grid-template-columns: repeat(1, 1fr); gap: 34px; }
  .steps-row::before { display: none; }
  .mv-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .cta-band, .cta-band-solid { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .quote-meta { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; justify-content: center; }
  h1 { font-size: 2.2rem; }
  .stat-strip .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .back-to-top { bottom: 18px; right: 18px; width: 42px; height: 42px; font-size: 0.95rem; }
  .services-tiles > .card { min-height: 0; }
}
