@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Geist:wght@300;400;500&display=swap');

/* Clash Display — lokal via CDN */
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&display=swap');

:root {
  --ink:        #0a0a0b;
  --ink-2:      #1a1a1e;
  --ink-3:      #2d2d35;
  --muted:      #6b6b7a;
  --subtle:     #9898a8;
  --line:       #e4e4eb;
  --line-2:     #f0f0f5;
  --bg:         #fafafa;
  --white:      #ffffff;
  --accent:     #2a5cff;
  --accent-2:   #1a3fd4;
  --accent-bg:  #eef2ff;
  --green:      #059669;
  --green-bg:   #ecfdf5;

  --font-display: 'Clash Display', 'Syne', sans-serif;
  --font-ui:      'Syne', sans-serif;
  --font-body:    'Geist', sans-serif;

  --max:    1160px;
  --radius: 10px;
  --radius-lg: 16px;
}

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

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

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Layout ── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ── Navigation ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}

.nav-logo {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover { background: var(--ink-3); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }

.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(42,92,255,0.3); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  padding: 10px 16px;
}
.btn-ghost:hover { color: var(--ink); background: var(--line-2); }

/* ── Sections ── */
section { padding: 100px 0; }

.section-header {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-header .label { margin-bottom: 16px; display: block; }

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.section-header p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* ── Footer ── */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand { font-family: var(--font-ui); font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 12px; letter-spacing: -0.03em; }
.footer-tagline { font-size: 14px; line-height: 1.6; max-width: 260px; }

.footer-col h4 { font-family: var(--font-ui); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.15s; }
.footer-col ul a:hover { color: var(--white); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.anim { opacity: 0; }
.anim.visible { animation: fadeUp 0.6s ease forwards; }

/* Staggered delays */
.anim:nth-child(1) { animation-delay: 0.05s; }
.anim:nth-child(2) { animation-delay: 0.12s; }
.anim:nth-child(3) { animation-delay: 0.19s; }
.anim:nth-child(4) { animation-delay: 0.26s; }
.anim:nth-child(5) { animation-delay: 0.33s; }
.anim:nth-child(6) { animation-delay: 0.40s; }

/* ── Utilities ── */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--muted); }
.text-center { text-align: center; }
.italic      { font-style: italic; }

.grid-2 { display: grid; grid-template-columns: 1fr 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: 24px; }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  section { padding: 64px 0; }
}

/* ── Mobile Nav Toggle ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}
@media (max-width: 600px) {
  .nav-hamburger { display: flex; }
}
