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

:root {
  --bg:     #FFFFFF;
  --bg-2:   #F6F6FC;
  --text:   #0C0C1A;
  --muted:  #6B6B8A;
  --dim:    #AAAABC;
  --c1: #5DE8E0;
  --c2: #D4607C;
  --c3: #7B3090;
  --grad: linear-gradient(135deg, var(--c1) 0%, var(--c2) 55%, var(--c3) 100%);
  --card-bg:     rgba(0,0,0,0.025);
  --card-border: rgba(0,0,0,0.08);
  --r: 16px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Utilities ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.text-center { text-align: center; }

.g-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid var(--card-border);
  border-radius: 100px;
}

.section { padding: 120px 0; }
.bg-2 { background: var(--bg-2); }

.sec-desc {
  max-width: 620px;
  margin: 0 auto 64px;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  background: var(--grad);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(212,96,124,0.25);
}
.btn-sm { padding: 10px 20px; font-size: 14px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 100px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--text); border-color: rgba(0,0,0,0.3); }

/* ── Navbar ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--card-border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: var(--text);
  font-size: 26px;
  font-weight: 700;
  margin-right: auto;
  flex-shrink: 0;
}
.logo-img    { width: 100px; height: 100px; display: block; margin-right: -16px; }
.logo-img-lg { width: 180px; height: 180px; display: block; margin: 0 auto 28px; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* ── Language Toggle ── */
.lang-switch {
  display: flex;
  gap: 2px;
  background: var(--bg-2);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  padding: 3px;
  flex-shrink: 0;
}
.lang-btn {
  padding: 5px 12px;
  border: none;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  transition: all 0.2s;
}
.lang-btn.active {
  background: var(--text);
  color: var(--bg);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  animation: drift 14s ease-in-out infinite;
}
.orb-1 { width: 600px; height: 600px; background: rgba(93,232,224,0.18); top: -140px; left: -180px; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: rgba(212,96,124,0.13); top: 60px; right: -120px; animation-delay: -5s; }
.orb-3 { width: 440px; height: 440px; background: rgba(123,48,144,0.10); bottom: -80px; left: 33%; animation-delay: -10s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(24px, -18px); }
  66%       { transform: translate(-18px, 22px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 0 80px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(93,232,224,0.10);
  border: 1px solid rgba(93,232,224,0.30);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c3);
  margin-bottom: 40px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c2);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -4px;
  margin-bottom: 28px;
  color: var(--text);
}

.hero-sub {
  max-width: 540px;
  margin: 0 auto 48px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--dim);
  font-size: 18px;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Mission ── */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.mission-left h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
}
.mission-right p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
}
.mission-right p:last-child { margin-bottom: 0; }

/* ── Problem ── */
.problem h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 64px;
}
.stat-card {
  padding: 40px 28px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--r);
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.stat-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.stat-num {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.stat-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── What We're Building ── */
.building .label { margin-bottom: 20px; }
.building h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.pillar {
  padding: 32px 28px;
  background: var(--bg-2);
  border: 1px solid var(--card-border);
  border-radius: var(--r);
  transition: box-shadow 0.2s, transform 0.2s;
}
.pillar:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.pillar-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
  display: block;
}
.pillar h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.pillar p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* Teaser card */
.teaser-card {
  position: relative;
  padding: 1.5px;
  border-radius: calc(var(--r) + 2px);
  background: var(--grad);
  max-width: 680px;
}
.teaser-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad);
  filter: blur(24px);
  opacity: 0.2;
  pointer-events: none;
}
.teaser-inner {
  background: var(--bg);
  border-radius: var(--r);
  padding: 40px;
  position: relative;
}
.teaser-prompt {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.prompt-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.prompt-text {
  font-size: 16px;
  color: var(--text);
  line-height: 1.65;
  font-style: italic;
  padding: 16px 20px;
  background: var(--bg-2);
  border: 1px solid var(--card-border);
  border-radius: 10px;
}
.teaser-arrow {
  text-align: center;
  font-size: 20px;
  color: var(--dim);
  margin-bottom: 24px;
}
.teaser-output {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.output-item {
  padding: 10px 18px;
  background: var(--bg-2);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.output-item:hover {
  border-color: var(--c2);
  box-shadow: 0 4px 16px rgba(212,96,124,0.12);
}

/* ── Notify ── */
.notify { text-align: center; }
.notify-card {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 64px 48px;
  background: var(--bg-2);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  overflow: hidden;
}
.notify-glow {
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,96,124,0.07) 0%, transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}
.notify-card h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
  position: relative;
}
.notify-card > p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 36px;
  line-height: 1.75;
  position: relative;
}
.notify-form {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto 14px;
  position: relative;
}
.notify-form input {
  flex: 1;
  padding: 13px 20px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 0;
}
.notify-form input::placeholder { color: var(--dim); }
.notify-form input:focus {
  border-color: var(--c2);
  box-shadow: 0 0 0 3px rgba(212,96,124,0.1);
}
.notify-note {
  font-size: 12px;
  color: var(--dim);
  position: relative;
  display: block;
}

/* ── Footer ── */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--card-border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-left { display: flex; flex-direction: column; gap: 8px; }
.footer-left p { font-size: 13px; color: var(--muted); }
.footer-right { text-align: right; }
.footer-right p { font-size: 13px; color: var(--dim); }
.footer-right a {
  display: block;
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  margin-top: 4px;
  transition: color 0.2s;
}
.footer-right a:hover { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 860px) {
  .mission-grid { grid-template-columns: 1fr; gap: 40px; }
  .stat-grid    { grid-template-columns: 1fr; }
  .pillars      { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section      { padding: 80px 0; }
  .nav-links    { display: none; }
  .hero h1      { letter-spacing: -2.5px; }
  .notify-form  { flex-direction: column; }
  .notify-card  { padding: 44px 24px; }
  .teaser-inner { padding: 28px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-right { text-align: center; }
}
