/* ============================================================
   M2 Mechanics — Main Stylesheet
   m2mechanics.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Variables ───────────────────────────────────────────── */
:root {
  --bg-0:        #030306;
  --bg-1:        #07070F;
  --bg-2:        #0C0C18;
  --bg-3:        #131325;

  --violet:      #7B6FF5;
  --violet-mid:  rgba(123, 111, 245, 0.25);
  --violet-dim:  rgba(123, 111, 245, 0.08);
  --violet-glow: rgba(123, 111, 245, 0.35);
  --cyan:        #00E5FF;
  --cyan-dim:    rgba(0, 229, 255, 0.12);

  --text-0:  #FFFFFF;
  --text-1:  #DDDDF5;
  --text-2:  #8A8AAC;
  --text-3:  #46466A;

  --border:        rgba(123, 111, 245, 0.10);
  --border-hover:  rgba(123, 111, 245, 0.32);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-card: 0 2px 24px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
  --shadow-glow: 0 0 60px rgba(123,111,245,0.18);

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --nav-h:      72px;
  --max-w:      1160px;
  --pad-x:      clamp(20px, 5vw, 60px);
  --section-y:  clamp(80px, 10vw, 140px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* ── Grid texture ────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(123,111,245,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,111,245,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

/* ── Utility ─────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
}
.grad-text {
  background: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  background: var(--violet);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 1;
}
.btn-primary:hover {
  background: #9180FF;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--violet-glow);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-hover);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-ghost:hover {
  border-color: var(--violet);
  color: var(--violet);
  transform: translateY(-2px);
}

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(3, 3, 6, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  height: 100%;
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo-m2 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-0);
  letter-spacing: -0.03em;
}
.nav-logo-sub {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-0);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--violet);
  transition: width 0.25s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-cta {
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  background: var(--violet-mid);
  border: 1px solid var(--border-hover);
  color: var(--text-0) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  transition: background 0.2s, box-shadow 0.2s !important;
}
.nav-cta:hover {
  background: var(--violet) !important;
  box-shadow: 0 4px 20px var(--violet-glow);
}
.nav-cta::after { display: none !important; }

/* Mobile nav */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 101;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: rgba(3,3,6,0.97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  z-index: 99;
}
.nav-mobile a {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 600;
  color: var(--text-1);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--violet); }
.nav-mobile.open { display: flex; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}
.hero-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 60%, rgba(123,111,245,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  padding-block: 100px 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border-hover);
  background: var(--violet-dim);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 32px;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-0);
  max-width: 820px;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 44px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll span {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--violet), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ── Section header ──────────────────────────────────────── */
.section-header {
  margin-bottom: 64px;
}
.section-header .label { margin-bottom: 12px; display: block; }
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-0);
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.7;
}

/* ── Section: Intro strip ────────────────────────────────── */
.section-intro {
  padding-block: var(--section-y);
  position: relative;
  z-index: 1;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-text .label { display: block; margin-bottom: 16px; }
.intro-text h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-0);
  line-height: 1.15;
  margin-bottom: 20px;
}
.intro-text p {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stat-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.stat-card:hover { border-color: var(--border-hover); }
.stat-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--violet);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}

/* ── Section: Product card ───────────────────────────────── */
.section-product {
  padding-block: var(--section-y);
  background: var(--bg-1);
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.product-card {
  border-radius: var(--radius-xl);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.product-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}
.product-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--violet-mid) 0%, transparent 70%);
  pointer-events: none;
}
.product-info .label { display: block; margin-bottom: 16px; }
.product-info h2 {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-0);
  line-height: 1.05;
  margin-bottom: 20px;
}
.product-info .version-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,229,255,0.2);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.product-info p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 32px;
}
.product-info .btn-primary { margin-right: 12px; }
.product-specs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  border: 1px solid var(--border);
  gap: 12px;
}
.spec-key {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.spec-val {
  font-family: 'Space Mono', 'Courier New', monospace;
  font-size: 13px;
  color: var(--cyan);
  font-weight: 500;
}

/* ── Section: Pillars ────────────────────────────────────── */
.section-pillars {
  padding-block: var(--section-y);
  position: relative;
  z-index: 1;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar-card {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.pillar-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px var(--border-hover);
}
.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--violet-dim);
  border: 1px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 22px;
}
.pillar-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-0);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.pillar-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ── Section: CTA band ───────────────────────────────────── */
.section-cta {
  padding-block: var(--section-y);
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--bg-1);
  text-align: center;
}
.cta-inner {
  max-width: 640px;
  margin-inline: auto;
}
.cta-inner .label { margin-bottom: 16px; display: block; }
.cta-inner h2 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-0);
  margin-bottom: 16px;
  line-height: 1.1;
}
.cta-inner p {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  padding-block: 56px 32px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo-m2 { font-size: 22px; margin-bottom: 4px; display: block; }
.footer-brand .nav-logo-sub { display: block; margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s;
}
.footer-col li a:hover { color: var(--text-0); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-3);
}
.footer-bottom span {
  font-size: 13px;
  color: var(--text-3);
}

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--border);
}
.page-hero .label { display: block; margin-bottom: 16px; }
.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-0);
  line-height: 1.05;
  margin-bottom: 20px;
  max-width: 760px;
}
.page-hero p {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.7;
}

/* ── ResonanceAI page ────────────────────────────────────── */
.section-features {
  padding-block: var(--section-y);
  position: relative;
  z-index: 1;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.feature-card:hover { border-color: var(--border-hover); }
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-0);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}
.feature-card .feature-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--violet-dim);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  color: var(--violet);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-spec-table {
  padding-block: var(--section-y);
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.spec-table thead th {
  padding: 16px 24px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}
.spec-table tbody td {
  padding: 16px 24px;
  font-size: 14px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table tbody tr:hover td { background: var(--bg-3); }
.spec-table td:first-child {
  font-weight: 500;
  color: var(--text-1);
}
.spec-table td.mono {
  font-family: 'Courier New', monospace;
  color: var(--cyan);
  font-size: 13px;
}
.spec-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.spec-badge.green {
  background: rgba(0,255,128,0.08);
  border: 1px solid rgba(0,255,128,0.2);
  color: #00FF80;
}
.spec-badge.violet {
  background: var(--violet-dim);
  border: 1px solid var(--border-hover);
  color: var(--violet);
}

/* ── About page ──────────────────────────────────────────── */
.section-team {
  padding-block: var(--section-y);
  position: relative;
  z-index: 1;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.team-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.team-card:hover { border-color: var(--border-hover); }
.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}
.team-card h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-0);
  margin-bottom: 4px;
}
.team-card .team-role {
  font-size: 13px;
  color: var(--violet);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.team-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
}

.section-mission {
  padding-block: var(--section-y);
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
  text-align: center;
}
.mission-quote {
  max-width: 800px;
  margin-inline: auto;
}
.mission-quote blockquote {
  font-family: var(--font-head);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 600;
  color: var(--text-0);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 24px;
}
.mission-quote cite {
  font-size: 14px;
  color: var(--text-3);
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Contact page ────────────────────────────────────────── */
.section-contact {
  padding-block: var(--section-y);
  position: relative;
  z-index: 1;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-info-header h2 {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-0);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.contact-info-header p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-detail .detail-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.contact-detail .detail-value {
  font-size: 15px;
  color: var(--text-1);
  font-weight: 500;
}
.contact-detail .detail-value a {
  color: var(--violet);
  transition: color 0.2s;
}
.contact-detail .detail-value a:hover { color: var(--cyan); }
.contact-divider {
  height: 1px;
  background: var(--border);
}

.contact-form-wrap {
  padding: 48px;
  border-radius: var(--radius-xl);
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.contact-form-wrap h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-0);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(123,111,245,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-3);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-submit {
  width: 100%;
  padding: 15px;
  margin-top: 8px;
  border-radius: var(--radius-md);
  background: var(--violet);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.form-submit:hover {
  background: #9180FF;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--violet-glow);
}
.form-note {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 12px;
  line-height: 1.6;
  text-align: center;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .intro-grid,
  .product-card,
  .team-grid,
  .contact-layout { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .product-card::before { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px; }
  .intro-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 38px; }
  .hero-scroll { display: none; }
  .intro-stats { grid-template-columns: 1fr; }
}
