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

:root {
  --bg:        #08080f;
  --bg-card:   #0f0f1a;
  --bg-card2:  #13131f;
  --border:    rgba(255,255,255,0.07);
  --border-hi: rgba(255,255,255,0.13);

  --teal:      #2dd4bf;
  --teal-dim:  rgba(45,212,191,0.12);
  --violet:    #a78bfa;
  --violet-dim:rgba(167,139,250,0.12);
  --rose:      #fb7185;
  --amber:     #fbbf24;

  --text:      #f1f5f9;
  --text-muted:#94a3b8;
  --text-dim:  #64748b;

  --grad: linear-gradient(135deg, var(--teal), var(--violet));
  --grad-text: linear-gradient(90deg, var(--teal), var(--violet));

  --radius:    12px;
  --radius-lg: 20px;

  --font: 'Inter', system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font);
}

html { scroll-behavior: smooth; }

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

/* ── Typography ───────────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.2rem; }

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

p { color: var(--text-muted); }

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

/* ── Layout ───────────────────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-sub { font-size: 1.1rem; max-width: 560px; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ── Nav ──────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px;
  display: flex; align-items: center;
  background: rgba(8,8,15,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; gap: 0; width: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  margin-right: auto;
}
.nav-logo svg { width: 34px; height: 34px; }
.nav-logo span { background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none; margin-right: 32px;
}
.nav-links a {
  font-size: 0.9rem; color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--teal); }
.nav-cta {
  display: inline-flex; align-items: center; gap-8px;
  padding: 8px 20px; border-radius: 8px;
  background: var(--grad);
  font-size: 0.875rem; font-weight: 600; color: #000;
  transition: opacity 0.2s, transform 0.15s;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }
.hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--text); }
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  padding: 20px 24px; flex-direction: column; gap: 20px; z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1rem; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid var(--border); }
.mobile-menu .nav-cta { color: #000; border-bottom: none; justify-content: center; }

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.2s;
}
.btn-primary {
  background: var(--grad); color: #000;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(45,212,191,0.25); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-hi);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn-lg { padding: 15px 36px; font-size: 1rem; border-radius: 12px; }

/* ── Cards ────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--border-hi); transform: translateY(-3px); }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 1.3rem;
}
.card-icon.teal { background: var(--teal-dim); }
.card-icon.violet { background: var(--violet-dim); }
.card-icon.rose { background: rgba(251,113,133,0.12); }
.card-icon.amber { background: rgba(251,191,36,0.12); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.9rem; }

/* ── Grid ─────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── Badge ────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 99px;
  font-size: 0.78rem; font-weight: 600;
}
.badge-teal { background: var(--teal-dim); color: var(--teal); border: 1px solid rgba(45,212,191,0.2); }
.badge-violet { background: var(--violet-dim); color: var(--violet); border: 1px solid rgba(167,139,250,0.2); }

/* ── Divider ──────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); }

/* ── Footer ───────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.9rem; margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 0.875rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--teal); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text-dim);
}

/* ── Page hero (inner pages) ──────────────────────────────────── */
.page-hero {
  padding: 140px 0 80px;
  border-bottom: 1px solid var(--border);
}

/* ── Forms ────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: 8px; padding: 11px 14px;
  color: var(--text); font-size: 0.9rem; font-family: var(--font);
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--teal);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ── Stat ─────────────────────────────────────────────────────── */
.stat-num {
  font-family: var(--font-display); font-size: 2.8rem; font-weight: 700;
  background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 0.875rem; color: var(--text-muted); margin-top: 4px; }

/* ── Noise overlay ────────────────────────────────────────────── */
.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(45,212,191,0.08) 0%, rgba(167,139,250,0.06) 50%, transparent 70%);
  pointer-events: none;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  h1 { font-size: 2rem; }
}
