/* SACO — Design System 2025 */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

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

:root {
  --font-display: 'Inter', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  /* Brand */
  --brand-50: rgba(26,125,232,0.08);
  --brand-100: rgba(26,125,232,0.15);
  --brand-200: rgba(26,125,232,0.25);
  --brand-300: rgba(26,125,232,0.4);
  --brand-500: #6B8FEA;
  --brand-600: #1A7DE8;
  --brand-700: #0F5BA8;
  --brand-violet: #3B82F6;
  --brand-cyan: #38BDF8;

  /* Neutrals */
  --gray-0: #ffffff;
  --gray-50: rgba(255,255,255,0.04);
  --gray-100: rgba(255,255,255,0.07);
  --gray-200: rgba(255,255,255,0.1);
  --gray-300: rgba(255,255,255,0.18);
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #cbd5e1;
  --gray-800: #e2e8f0;
  --gray-900: #f1f5f9;
  --gray-950: #020617;

  /* Semantic */
  --bg: #080810;
  --bg-2: #0d0d1a;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-glow: rgba(26,125,232,0.5);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-faint: #475569;
  --accent: #f59e0b;
  --success: #34d399;
  --success-bg: rgba(52,211,153,0.1);

  /* Shadows & Glows */
  --glow-brand: 0 0 40px rgba(26,125,232,0.25);
  --glow-sm: 0 0 20px rgba(26,125,232,0.15);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.5);

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;
  --r-2xl: 24px;
  --r-3xl: 32px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

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

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

/* ── Logo ── */
.logo-mark {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.logo-text {
  font-size: 20px; font-weight: 800; letter-spacing: 1.5px;
  color: var(--gray-0);
  font-family: var(--font-display);
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  border: none; border-radius: var(--r-lg); cursor: pointer;
  text-decoration: none; transition: all .22s var(--ease);
  padding: 12px 24px; line-height: 1; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-600) 0%, var(--brand-violet) 100%);
  color: #fff;
  box-shadow: 0 0 24px rgba(26,125,232,0.35), 0 2px 8px rgba(0,0,0,0.3);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
  opacity: 0; transition: opacity .22s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(26,125,232,0.5), 0 4px 16px rgba(0,0,0,0.3); }
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  background: var(--surface);
  color: var(--gray-700);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { border-color: var(--border-glow); background: var(--brand-50); color: var(--brand-500); }

.btn-sm { padding: 12px 16px; font-size: 13px; border-radius: var(--r-md); }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: var(--r-xl); }
.btn-full { width: 100%; }

/* ── Tags ── */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 6px;
  font-size: 11px; font-weight: 700; font-family: var(--font-mono);
  letter-spacing: .3px;
}
.tag-green { background: rgba(52,211,153,0.12); color: #34d399; border: 1px solid rgba(52,211,153,0.2); }
.tag-blue  { background: rgba(26,125,232,0.12); color: #6B8FEA; border: 1px solid rgba(26,125,232,0.2); }
.tag-amber { background: rgba(245,158,11,0.12); color: #fbbf24; border: 1px solid rgba(245,158,11,0.2); }
.tag-gray  { background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px solid var(--border); }

/* ── Glass Card ── */
.glass {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
}
.glass:hover {
  border-color: var(--border-glow);
  background: var(--surface-hover);
}

/* ── Gradient Text ── */
.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #6B8FEA 45%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Dot Grid Background ── */
.dot-grid {
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ── Animations ── */
.anim-up {
  opacity: 0; transform: translateY(28px);
  animation: animUp .65s var(--ease-out) forwards;
}
.anim-up-1 { animation-delay: .1s; }
.anim-up-2 { animation-delay: .2s; }
.anim-up-3 { animation-delay: .3s; }
.anim-up-4 { animation-delay: .4s; }
@keyframes animUp { to { opacity: 1; transform: translateY(0); } }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-glow {
  0%,100% { opacity: 1; }
  50% { opacity: .5; }
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}
@keyframes aurora {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
