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

:root {
  --bg: #f8f9fb;
  --bg-card: #ffffff;
  --bg-card-hover: #f3f4f6;
  --border: #e5e7eb;
  --border-light: #d1d5db;
  --text: #111827;
  --text-muted: #6b7280;
  --text-dim: #9ca3af;
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --accent-glow: rgba(124, 58, 237, 0.15);
  --green: #22c55e;
  --green-bg: rgba(34, 197, 94, 0.1);
  --blue: #3b82f6;
  --blue-bg: rgba(59, 130, 246, 0.1);
  --orange: #f59e0b;
  --orange-bg: rgba(245, 158, 11, 0.1);
  --cyan: #06b6d4;
  --cyan-bg: rgba(6, 182, 212, 0.1);
  --red: #ef4444;
  --red-bg: rgba(239, 68, 68, 0.1);
  --gradient: linear-gradient(135deg, var(--accent), var(--blue));
}

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

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

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

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -0.5px;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 0.875rem;
  font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active { position: relative; }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -20px; left: 0; right: 0; height: 2px; background: var(--accent);
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 10px; font-size: 0.875rem;
  font-weight: 600; text-decoration: none; transition: all 0.2s;
  border: none; cursor: pointer;
}
.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.25);
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.4);
  transform: translateY(-1px);
}
.btn-large { padding: 16px 36px; font-size: 1rem; border-radius: 12px; }
.btn-outline {
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent-light); color: var(--text); }

/* ── Section shared ── */
section { padding: 100px 0; position: relative; }
.section-label {
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent-light); margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800;
  letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 18px;
}
.section-sub {
  font-size: 1.1rem; color: var(--text-muted); max-width: 600px;
  line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-sub { margin: 0 auto; }

/* ── Badges / Tags ── */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px; font-size: 0.75rem;
  font-weight: 600; letter-spacing: 0.3px;
}
.tag-green { background: var(--green-bg); color: var(--green); }
.tag-blue { background: var(--blue-bg); color: var(--blue); }
.tag-orange { background: var(--orange-bg); color: var(--orange); }
.tag-cyan { background: var(--cyan-bg); color: var(--cyan); }

/* ── Cards ── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px; transition: all 0.3s;
}
.card:hover { border-color: var(--border-light); }

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

/* ── Divider ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }
