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

html { scroll-behavior: smooth; font-size: 16px; }

:root {
  /* Background layers */
  --bg:          #07090F;
  --bg-card:     #0E1520;

  /* Borders */
  --border:       rgba(255, 255, 255, 0.07);
  --border-hover: rgba(96, 165, 250, 0.3);

  /* Blue palette */
  --blue:        #3B82F6;
  --blue-light:  #60A5FA;
  --blue-dim:    rgba(59, 130, 246, 0.11);

  /* Text */
  --text:        #F1F5F9;
  --text-muted:  #94A3B8;
  --text-faint:  #475569;

  /* Typography */
  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', 'Inter', sans-serif;

  /* Nav */
  --nav-h: 4rem;
}

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

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(7, 9, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo-mark {
  color: var(--blue);
  font-size: 1.05rem;
  line-height: 1;
}

.logo-wordmark {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text);
}

/* Nav links (center) */
.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Language switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}

.lang-dot { color: var(--text-faint); font-size: 0.75rem; }

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  transition: color 0.2s;
}

.lang-btn:hover        { color: var(--text); }
.lang-btn.active       { color: var(--blue-light); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 5rem) 2rem 7rem;
  overflow: hidden;
}

/* Radial glow behind the headline */
.hero-glow {
  position: absolute;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 640px;
  background: radial-gradient(ellipse at center,
    rgba(59, 130, 246, 0.15) 0%,
    rgba(59, 130, 246, 0.05) 40%,
    transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1.75rem;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.accent { color: var(--blue-light); }

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 460px;
  margin: 0 auto;
}

/* Scroll line */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.2; }
  50%       { opacity: 1; }
}

/* ── Section Base ───────────────────────────────────────────── */
.section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Label pill */
.section-tag {
  margin-bottom: 3rem;
}

.section-tag span {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 0.3125rem 0.875rem;
  background: var(--blue-dim);
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 100px;
}

/* ── About Section ──────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 5rem;
  align-items: start;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 2.8vw, 2.375rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.body-lg {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.82;
  margin-bottom: 2.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.25s, transform 0.25s;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 0.875rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Disclaimer Section ─────────────────────────────────────── */
.disclaimer-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 3.5rem;
}

.disclaimer-box h2 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.disclaimer-box p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2.5rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.75rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-nav {
  display: flex;
  gap: 1.75rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom { text-align: center; }

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-faint);
  line-height: 1.6;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 5rem 0; }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .section-heading { position: static; }

  .card-grid { grid-template-columns: 1fr; }

  .disclaimer-box {
    padding: 2rem 1.75rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .hero-glow { width: 600px; height: 400px; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 1.25rem; }
  .container { padding: 0 1.25rem; }
  .hero { padding-bottom: 5rem; }
  .disclaimer-box { padding: 1.5rem; }
}
