:root {
  --bg:      #0B0F1A;
  --bg-2:    #111827;
  --bg-3:    #1A2236;
  --bg-4:    #1F2D45;
  --border:  rgba(255,255,255,0.07);
  --border2: rgba(255,255,255,0.12);
  --blue:    #2563EB;
  --blue-2:  #3B82F6;
  --blue-3:  #60A5FA;
  --green:   #2DBD8E;
  --green-2: #3DCCA0;
  --amber:   #F59E0B;
  --red:     #EF4444;
  --purple:  #8B5CF6;
  --white:   #FFFFFF;
  --text-1:  rgba(255,255,255,0.92);
  --text-2:  rgba(255,255,255,0.55);
  --text-3:  rgba(255,255,255,0.28);
  --font-d:  'Sora', sans-serif;
  --font-b:  'DM Sans', sans-serif;
  --font-m:  'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text-1);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }

/* ══════════════════════════════════
   NAV
   ══════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 66px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%;
  background: rgba(11,15,26,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 24px rgba(0,0,0,0.3);
}

.wordmark {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--text-1);
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
  user-select: none;
}
.wordmark-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
}
.wordmark-main { display: flex; align-items: baseline; }
.wordmark-neura { font-weight: 300; color: var(--text-1); letter-spacing: -0.02em; }
.wordmark-grid { font-weight: 700; color: var(--white); letter-spacing: -0.04em; }
.wordmark-tech {
  font-family: var(--font-d);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-3);
  letter-spacing: -0.03em;
}

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-2); text-decoration: none;
  transition: color 0.2s; letter-spacing: -0.01em;
}
.nav-links a:hover { color: var(--text-1); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.btn-nav {
  font-family: var(--font-b);
  font-size: 0.825rem; font-weight: 600;
  padding: 9px 20px; border-radius: 6px;
  cursor: pointer; transition: all 0.2s;
  letter-spacing: -0.01em; border: none;
}
.btn-nav-ghost {
  background: transparent; color: var(--text-2);
  border: 1px solid var(--border2) !important;
}
.btn-nav-ghost:hover { color: var(--text-1); border-color: var(--text-1) !important; background: transparent; }
.btn-nav-solid { background: var(--blue); color: var(--white); }
.btn-nav-solid:hover { background: var(--blue-2); transform: translateY(-1px); }

/* ══════════════════════════════════
   HERO
   ══════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--bg);
  display: flex; align-items: center;
  padding: 120px 6% 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 50%, black 40%, transparent 100%);
}
.hero::after {
  content: '';
  position: absolute;
  top: -260px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 780px;
  background: radial-gradient(ellipse, rgba(26,86,219,0.2) 0%, rgba(26,86,219,0.06) 40%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px; margin: 0 auto;
  width: 100%; position: relative; z-index: 1;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 2.5rem; justify-content: center;
  opacity: 0; animation: reveal 0.6s ease 0.2s both;
}
.eyebrow-line { width: 32px; height: 1px; background: rgba(255,255,255,0.3); }
.eyebrow-text {
  font-family: var(--font-m);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.hero-headline {
  font-family: var(--font-d);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 600; color: var(--white);
  line-height: 1.0; letter-spacing: -0.04em;
  margin-bottom: 1.5rem; max-width: 900px;
  margin-left: auto; margin-right: auto;
  opacity: 0; animation: reveal 0.8s ease 0.35s both;
}
.hero-headline em { font-style: normal; font-weight: 200; color: rgba(96,165,250,0.65); }

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 400; color: rgba(255,255,255,0.45);
  line-height: 1.75; max-width: 560px;
  margin-bottom: 3rem; margin-left: auto; margin-right: auto;
  letter-spacing: -0.01em;
  opacity: 0; animation: reveal 0.8s ease 0.5s both;
}

.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center;
  opacity: 0; animation: reveal 0.8s ease 0.65s both;
}

.btn-hero-primary {
  background: var(--white); color: var(--bg);
  padding: 14px 28px; border-radius: 6px;
  font-family: var(--font-b); font-size: 0.875rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.2s;
  letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,255,255,0.15); }

.btn-hero-ghost {
  background: transparent; color: rgba(255,255,255,0.6);
  padding: 14px 28px; border-radius: 6px;
  font-family: var(--font-b); font-size: 0.875rem; font-weight: 500;
  cursor: pointer; border: 1px solid rgba(255,255,255,0.15); transition: all 0.2s;
  letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero-ghost:hover { border-color: rgba(255,255,255,0.35); color: rgba(255,255,255,0.9); }

.hero-stats {
  display: flex; gap: 3rem; justify-content: center;
  margin-top: 5rem; padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  opacity: 0; animation: reveal 0.8s ease 0.8s both;
}
.hero-stat-num {
  font-family: var(--font-d);
  font-size: 2rem; font-weight: 600;
  color: var(--white); line-height: 1;
  letter-spacing: -0.04em; margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.775rem; color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em; font-weight: 400;
}

/* ══════════════════════════════════
   SHARED SECTION STYLES
   ══════════════════════════════════ */
section { padding: 100px 6%; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 1.25rem; }
.eyebrow-tag {
  font-family: var(--font-m);
  font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--green);
  background: rgba(45,189,142,0.1);
  border: 1px solid rgba(45,189,142,0.22);
  padding: 3px 10px;
  border-radius: 100px;
}
.eyebrow-rule { width: 24px; height: 1px; background: rgba(45,189,142,0.25); }

.section-heading {
  font-family: var(--font-d);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600; letter-spacing: -0.04em;
  color: var(--text-1); line-height: 1.1;
  margin-bottom: 1rem;
}
.section-heading em { font-style: normal; font-weight: 300; color: rgba(45,189,142,0.75); }

.section-body {
  font-size: 1.05rem; color: var(--text-2);
  line-height: 1.75; max-width: 540px;
  font-weight: 400; letter-spacing: -0.01em;
}

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }

/* ══════════════════════════════════
   TICKER / MARQUEE
   ══════════════════════════════════ */
.ticker-wrap {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0; overflow: hidden;
}
.ticker-track {
  display: flex; gap: 0;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-item {
  display: flex; align-items: center; gap: 16px;
  padding: 0 32px; white-space: nowrap;
  font-family: var(--font-m);
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.ticker-sep { color: var(--border2); }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════
   THESIS / PHILOSOPHY
   ══════════════════════════════════ */
.thesis { background: var(--bg); }
.thesis-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center;
}
.thesis-chain { display: flex; flex-direction: column; gap: 0; margin-top: 3rem; }
.chain-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.chain-item:first-child { border-top: 1px solid var(--border); }
.chain-num {
  font-family: var(--font-m);
  font-size: 0.68rem; color: var(--text-3);
  letter-spacing: 0.1em; margin-top: 3px;
  flex-shrink: 0; width: 24px;
}
.chain-text {
  font-family: var(--font-d);
  font-size: 1.05rem; font-weight: 500;
  color: var(--text-1); letter-spacing: -0.02em; flex: 1;
}
.chain-sub {
  font-size: 0.825rem; color: var(--text-2);
  margin-top: 2px; font-weight: 400;
  font-family: var(--font-b);
}
.chain-arrow { font-size: 0.75rem; color: var(--border2); margin-top: 3px; flex-shrink: 0; }

.thesis-visual {
  position: relative; display: flex;
  align-items: center; justify-content: center;
  height: 420px;
}
.thesis-orb { position: absolute; border-radius: 50%; border: 1px solid var(--border); }
.orb-1 { width: 100px; height: 100px; background: var(--blue); display: flex; align-items: center; justify-content: center; }
.orb-1-label { font-family: var(--font-d); font-size: 0.7rem; font-weight: 600; color: var(--white); letter-spacing: 0.06em; text-transform: uppercase; }
.orb-2 { width: 200px; height: 200px; animation: orbit-rotate 12s linear infinite; }
.orb-3 { width: 300px; height: 300px; animation: orbit-rotate 20s linear infinite reverse; }
.orb-4 { width: 400px; height: 400px; animation: orbit-rotate 30s linear infinite; }

.orbit-dot {
  position: absolute; width: 8px; height: 8px;
  background: var(--blue-2); border-radius: 50%;
  top: -4px; left: 50%; transform: translateX(-50%);
}
.orbit-dot-label {
  position: absolute; top: -24px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-m); font-size: 0.58rem;
  color: var(--text-2); letter-spacing: 0.1em;
  text-transform: uppercase; white-space: nowrap;
}
@keyframes orbit-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ══════════════════════════════════
   SERVICES
   ══════════════════════════════════ */
.services { background: var(--bg-2); }
.services-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 3.5rem;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); overflow: hidden;
}
.service-card {
  background: var(--bg-2); padding: 36px 32px;
  transition: background 0.2s; cursor: default;
}
.service-card:hover { background: var(--bg-3); }
.service-glyph {
  width: 40px; height: 40px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: filter 0.25s;
}
.service-glyph svg { width: 100%; height: 100%; }
.service-card:hover .service-glyph { filter: drop-shadow(0 0 8px rgba(45,189,142,0.55)); }
.service-name {
  font-family: var(--font-d);
  font-size: 1.05rem; font-weight: 600;
  color: var(--text-1); letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.service-desc { font-size: 0.875rem; color: var(--text-2); line-height: 1.65; font-weight: 400; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.service-tag {
  font-family: var(--font-m);
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 3px;
  background: var(--bg); color: var(--text-3);
  border: 1px solid var(--border);
}

/* ══════════════════════════════════
   PRODUCTS
   ══════════════════════════════════ */
.products { background: var(--bg); }
.products-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 3.5rem;
}
.product-card {
  background: var(--bg-2);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 40px; position: relative; overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.product-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.product-card.featured { background: linear-gradient(135deg, #162036 0%, var(--bg-3) 100%); border-color: rgba(45,189,142,0.4); }
.product-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--blue);
}
.product-card.featured::before { background: linear-gradient(90deg, var(--green), var(--blue-2)); opacity: 1; height: 3px; }

.product-status {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-m);
  font-size: 0.62rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 20px;
}
.product-card.featured .product-status { color: rgba(255,255,255,0.4); }
.product-status-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue-2); animation: blink 2s infinite;
}
.product-card.featured .product-status-dot { background: var(--green); animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }
.status-dev { color: var(--text-2); }

.product-name {
  font-family: var(--font-d);
  font-size: 2rem; font-weight: 700;
  letter-spacing: -0.04em; color: var(--text-1);
  margin-bottom: 4px;
}
.product-card.featured .product-name { color: var(--white); }
.product-descriptor {
  font-family: var(--font-m);
  font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3);
  margin-bottom: 16px;
}
.product-card.featured .product-descriptor { color: rgba(255,255,255,0.3); }
.product-desc {
  font-size: 0.9rem; color: var(--text-2);
  line-height: 1.7; margin-bottom: 28px; font-weight: 400;
}
.product-card.featured .product-desc { color: rgba(255,255,255,0.5); }
.product-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 28px; }
.product-tag {
  font-family: var(--font-m);
  font-size: 0.62rem; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 10px;
  border: 1px solid var(--border); color: var(--text-3);
  border-radius: 2px;
}
.product-card.featured .product-tag {
  border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.35);
}

.product-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-b); font-size: 0.85rem; font-weight: 600;
  padding: 11px 22px; border-radius: 6px;
  cursor: pointer; border: none; transition: all 0.2s;
  text-decoration: none;
}
.cta-dark { background: var(--blue); color: var(--white); }
.cta-dark:hover { background: var(--blue-2); transform: translateY(-1px); }
.cta-light { background: var(--white); color: var(--bg); }
.cta-light:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(255,255,255,0.15); }
.cta-outline { background: transparent; color: var(--text-2); border: 1px solid var(--border2) !important; }
.cta-outline:hover { color: var(--text-1); border-color: var(--text-1) !important; }

.datahub-card {
  grid-column: 1 / -1; background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.06); border-radius: 8px;
  padding: 40px; display: grid; grid-template-columns: 1fr auto;
  gap: 3rem; align-items: center; position: relative; overflow: hidden;
}
.datahub-card::before { display: none; }
.datahub-label {
  font-family: var(--font-m); font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(255,255,255,0.2);
  margin-bottom: 12px; display: block;
}
.datahub-title {
  font-family: var(--font-d); font-size: 1.5rem; font-weight: 600;
  color: rgba(255,255,255,0.8); letter-spacing: -0.03em; margin-bottom: 10px;
}
.datahub-desc {
  font-size: 0.875rem; color: rgba(255,255,255,0.35);
  line-height: 1.7; max-width: 580px; position: relative; z-index: 1;
}
.datahub-right { position: relative; z-index: 1; text-align: right; }
.datahub-tag {
  font-family: var(--font-m); font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 14px; border-radius: 2px; display: inline-block;
}

/* ══════════════════════════════════
   WHY NEURAGRID
   ══════════════════════════════════ */
.why { background: var(--bg-2); }
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); margin-top: 3.5rem;
}
.why-item { background: var(--bg-2); padding: 36px 28px; transition: background 0.2s; }
.why-item:hover { background: var(--bg-3); }
.why-num {
  font-family: var(--font-d); font-size: 2.5rem; font-weight: 700;
  color: rgba(45,189,142,0.3); letter-spacing: -0.05em;
  line-height: 1; margin-bottom: 16px;
}
.why-title {
  font-family: var(--font-d); font-size: 1rem; font-weight: 600;
  color: var(--text-1); letter-spacing: -0.02em; margin-bottom: 8px;
}
.why-desc { font-size: 0.85rem; color: var(--text-2); line-height: 1.65; font-weight: 400; }

/* ══════════════════════════════════
   JOIN US / DEVELOPERS
   ══════════════════════════════════ */
.join { background: var(--bg); }
.join-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
}
.join-roles {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  margin-top: 2rem;
}
.join-role {
  background: var(--bg-2); padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
  transition: background 0.15s; cursor: default;
}
.join-role:hover { background: var(--bg-3); }
.role-icon {
  width: 36px; height: 36px; border-radius: 4px;
  background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.role-title {
  font-family: var(--font-d); font-size: 0.9rem; font-weight: 600;
  color: var(--text-1); letter-spacing: -0.02em;
}
.role-desc { font-size: 0.8rem; color: var(--text-2); margin-top: 2px; }
.role-arrow { margin-left: auto; color: var(--border2); font-size: 0.9rem; }

.join-visual {
  background: var(--bg-2); border: 1px solid var(--border);
  border-top: 2px solid var(--green);
  padding: 32px; font-family: var(--font-m);
  font-size: 0.78rem; line-height: 1.9;
  color: rgba(255,255,255,0.3); position: relative; overflow: hidden;
}
.code-line-num { color: rgba(255,255,255,0.12); margin-right: 16px; user-select: none; }
.code-keyword { color: rgba(255,255,255,0.55); }
.code-string  { color: rgba(255,255,255,0.7); }
.code-comment { color: rgba(255,255,255,0.2); font-style: italic; }
.code-cursor {
  display: inline-block; width: 7px; height: 14px;
  background: rgba(255,255,255,0.6);
  animation: cursor-blink 1.1s step-end infinite;
  vertical-align: text-bottom; margin-left: 2px;
}
@keyframes cursor-blink { 0%,100%{opacity:1;} 50%{opacity:0;} }

/* ══════════════════════════════════
   PARTNERS
   ══════════════════════════════════ */
.partners { background: var(--bg-2); }
.partners-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); margin-top: 3rem;
}
.partner-cell {
  background: var(--bg-2); padding: 32px 28px;
  display: flex; flex-direction: column; transition: background 0.15s;
}
.partner-cell:hover { background: var(--bg-3); }
.partner-type {
  font-family: var(--font-m); font-size: 0.6rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 12px;
}
.partner-name {
  font-family: var(--font-d); font-size: 1.1rem; font-weight: 600;
  color: var(--text-1); letter-spacing: -0.025em; margin-bottom: 6px;
}
.partner-name a { color: inherit; text-decoration: none; transition: color 0.2s; }
.partner-name a:hover { color: var(--blue-3); }
.partner-desc { font-size: 0.825rem; color: var(--text-2); line-height: 1.6; flex: 1; }
.partner-badge {
  margin-top: 16px; display: inline-block;
  font-family: var(--font-m); font-size: 0.6rem; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 4px 10px;
  border: 1px solid var(--border); color: var(--text-3);
  border-radius: 2px; width: fit-content;
}
.compliance-note {
  grid-column: 1 / -1; background: var(--bg);
  padding: 20px 28px; display: flex; align-items: center; gap: 16px;
}
.compliance-text { font-size: 0.825rem; color: var(--text-2); line-height: 1.6; }
.compliance-text strong { color: var(--text-1); font-weight: 600; }

/* ══════════════════════════════════
   CONTACT
   ══════════════════════════════════ */
.contact { background: var(--bg); }
.contact-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}
.contact-info { padding-top: 8px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail-label {
  font-family: var(--font-m); font-size: 0.62rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3);
  min-width: 80px; margin-top: 2px;
}
.contact-detail-val { font-size: 0.9rem; color: var(--text-1); font-weight: 500; }
.contact-detail-val a { color: var(--text-1); text-decoration: none; transition: color 0.2s; }
.contact-detail-val a:hover { color: var(--text-2); }

.contact-form { background: var(--bg-2); border: 1px solid var(--border); padding: 36px; border-radius: 8px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.form-label {
  font-family: var(--font-m); font-size: 0.62rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3);
}
.form-input {
  background: var(--bg); border: 1px solid var(--border);
  padding: 11px 14px; font-family: var(--font-b);
  font-size: 0.875rem; color: var(--text-1); outline: none;
  transition: border-color 0.2s; border-radius: 6px;
}
.form-input:focus { border-color: var(--blue); background: var(--bg-3); }
.form-input::placeholder { color: var(--text-3); }
select.form-input option { background: var(--bg-2); }
textarea.form-input { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-submit {
  width: 100%; background: var(--blue); color: var(--white);
  padding: 13px; border: none; border-radius: 6px;
  font-family: var(--font-b); font-size: 0.875rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; margin-top: 4px;
  letter-spacing: -0.01em;
}
.form-submit:hover { background: var(--blue-2); }

/* ══════════════════════════════════
   FOOTER
   ══════════════════════════════════ */
footer { background: var(--bg); padding: 64px 6% 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 2rem;
}
.footer-logo { margin-bottom: 14px; }
.footer-tagline { font-size: 0.825rem; color: rgba(255,255,255,0.3); line-height: 1.7; max-width: 260px; }
.footer-col-label {
  font-family: var(--font-m); font-size: 0.6rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 14px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.75); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 0.775rem; color: rgba(255,255,255,0.2); font-family: var(--font-m); letter-spacing: 0.04em; }
.footer-rc { font-family: var(--font-m); font-size: 0.68rem; color: rgba(255,255,255,0.15); letter-spacing: 0.08em; }
.footer-social-links { display: flex; gap: 12px; margin-top: 16px; }
.footer-social {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; color: rgba(255,255,255,0.28);
  text-decoration: none; transition: color 0.2s;
  font-family: var(--font-b);
}
.footer-social:hover { color: var(--green); }

/* ══════════════════════════════════
   TOAST
   ══════════════════════════════════ */
.toast {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  background: var(--bg-3); color: var(--text-1);
  border: 1px solid var(--border2);
  padding: 14px 20px; border-radius: 4px;
  font-size: 0.85rem; font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transform: translateY(60px); opacity: 0;
  transition: all 0.3s; pointer-events: none;
  font-family: var(--font-b); letter-spacing: -0.01em;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ══════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════ */
@keyframes reveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════ */
@media (max-width: 960px) {
  .thesis-layout,
  .join-inner,
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid  { grid-template-columns: 1fr 1fr; }
  .products-grid  { grid-template-columns: 1fr; }
  .why-grid       { grid-template-columns: 1fr 1fr; }
  .partners-grid  { grid-template-columns: 1fr 1fr; }
  .footer-top     { grid-template-columns: 1fr 1fr; }
  .datahub-card   { grid-template-columns: 1fr; }
  .hero-stats     { gap: 2rem; }
  .thesis-visual  { display: none; }
  .nav-links      { display: none; }
  .services-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
}
@media (max-width: 600px) {
  .services-grid  { grid-template-columns: 1fr; }
  .why-grid       { grid-template-columns: 1fr; }
  .partners-grid  { grid-template-columns: 1fr; }
  .footer-top     { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .hero-stats     { flex-direction: column; gap: 1.5rem; }
  .compliance-note { flex-direction: column; }
}

/* ══════════════════════════════════
   MOBILE HAMBURGER MENU
══════════════════════════════════ */
.hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 4px; z-index: 200;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-1); margin: 5px 0;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none; position: fixed;
  top: 66px; left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 99;
  flex-direction: column; padding: 2rem 6%;
  opacity: 0; transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
}
.mobile-nav.open { display: flex; opacity: 1; transform: translateY(0); }
.mobile-nav a {
  font-size: 1.1rem; font-weight: 500;
  color: var(--text-2); text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--text-1); }
.mobile-nav .mobile-cta {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 1.5rem;
}

@media (max-width: 960px) {
  .hamburger { display: block; }
  .nav-cta { display: none; }
}
