@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

/* ── Variables ────────────────────────────────────────────────────── */
:root {
  --bg:          #0a0b12;
  --bg-card:     #111219;
  --bg-card-hover: #16171f;
  --border:      rgba(255,255,255,0.07);
  --border-soft: rgba(255,255,255,0.04);
  --white:       #ffffff;
  --white-60:    rgba(255,255,255,0.6);
  --white-40:    rgba(255,255,255,0.4);
  --white-20:    rgba(255,255,255,0.2);
  --white-08:    rgba(255,255,255,0.08);
  --cyan:        #00d4ff;
  --magenta:     #e040fb;
  --grad:        linear-gradient(135deg, #00d4ff 0%, #e040fb 100%);
  --grad-text:   linear-gradient(135deg, #00d4ff 0%, #e040fb 100%);
  --radius:      16px;
  --radius-sm:   10px;
  --transition:  0.22s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

/* ── Noise grain overlay ──────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── Ambient glow ─────────────────────────────────────────────────── */
.glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.12;
}
.glow-blue  { background: var(--cyan);    top: -200px; left: -100px; }
.glow-purple { background: var(--magenta); bottom: -200px; right: -100px; }

/* ── Layout ───────────────────────────────────────────────────────── */
.container {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ──────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(10,11,18,0.8);
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--white);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--white-60);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: var(--white-08);
}

/* ── Page header ──────────────────────────────────────────────────── */
.page-header {
  padding: 72px 0 48px;
  text-align: center;
}

.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--white-40);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 20px;
}

.page-badge span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--grad);
  display: inline-block;
}

.page-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-meta {
  font-size: 14px;
  color: var(--white-40);
  font-weight: 400;
}

/* ── Content cards ────────────────────────────────────────────────── */
.content {
  padding-bottom: 96px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 16px;
  transition: border-color var(--transition), background var(--transition);
}

.card:hover {
  border-color: rgba(255,255,255,0.11);
  background: var(--bg-card-hover);
}

.card-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--white-40);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

h2 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 12px;
  margin-top: 28px;
}

h2:first-child { margin-top: 0; }

p {
  font-size: 15px;
  color: var(--white-60);
  line-height: 1.75;
  margin-bottom: 14px;
}

p:last-child { margin-bottom: 0; }

ul, ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

li {
  font-size: 15px;
  color: var(--white-60);
  line-height: 1.75;
  margin-bottom: 6px;
}

strong {
  color: var(--white);
  font-weight: 500;
}

a {
  color: #4da3ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(77,163,255,0.3);
  transition: border-color var(--transition), color var(--transition);
}

a:hover {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.4);
}

/* ── Highlight box ────────────────────────────────────────────────── */
.highlight-box {
  background: rgba(10,132,255,0.08);
  border: 1px solid rgba(10,132,255,0.2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 16px 0;
  font-size: 14px;
  color: rgba(77,163,255,0.9);
  line-height: 1.6;
}

/* ── Contact card ─────────────────────────────────────────────────── */
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white-08);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  border-bottom: none;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  margin-top: 20px;
}

.contact-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-card-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.contact-card-text span {
  font-size: 13px;
  color: var(--white-40);
}

/* ── Footer ───────────────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-soft);
  padding: 32px 24px;
}

.footer-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: var(--white-40);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--white-40);
  text-decoration: none;
  border-bottom: none;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

/* ── Animations ───────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.page-header { animation: fadeUp 0.5s ease both; }
.card { animation: fadeUp 0.5s ease both; }
.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.10s; }
.card:nth-child(3) { animation-delay: 0.15s; }
.card:nth-child(4) { animation-delay: 0.20s; }
.card:nth-child(5) { animation-delay: 0.25s; }
.card:nth-child(6) { animation-delay: 0.30s; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .card { padding: 24px; }
  .page-header { padding: 48px 0 32px; }
}
