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

/* --- 1. RESET & VARIABLES --- */
:root {
  /* Palette: Deep Graphite, Neon Cyan, Muted White, Warm Accent */
  --c-bg: #0b0c10;
  --c-surface: #161b22;
  --c-surface-hover: #21262d;
  --c-border: #30363d;
  --c-text-main: #c9d1d9;
  --c-text-muted: #8b949e;
  --c-text-heading: #f0f6fc;
  --c-primary: #58a6ff; /* Neon Cyan-ish Blue */
  --c-primary-dim: rgba(88, 166, 255, 0.15);
  --c-accent: #f78166; /* 18deg Warm Orange for subtle contrast */
  
  /* Typography */
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Spacing Scale */
  --s-xs: 0.5rem;
  --s-sm: 1rem;
  --s-md: 2rem;
  --s-lg: 4rem;
  --s-xl: 8rem;
  
  /* Layout */
  --container-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --header-h: 80px;
}

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

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

body {
  background-color: var(--c-bg);
  color: var(--c-text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- 2. TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--c-text-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--s-sm);
}

h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3vw + 1rem, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--s-sm);
  max-width: 65ch;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.text-mono {
  font-family: var(--font-mono);
}

.text-gradient {
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- 3. LAYOUT UTILITIES --- */

/* The MANDATORY Container Pattern */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: clamp(1rem, 5vw, 2rem);
  padding-right: clamp(1rem, 5vw, 2rem);
}

section {
  padding: var(--s-xl) 0;
  position: relative;
}

.grid {
  display: grid;
  gap: var(--s-md);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--s-sm); }
.gap-md { gap: var(--s-md); }

/* --- 4. COMPONENTS --- */

/* Header */
.site-header {
  height: var(--header-h);
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 12, 16, 0.85);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-text-heading);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span { color: var(--c-primary); }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: var(--s-md);
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text-muted);
  transition: color 0.2s;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--c-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--c-primary);
  color: #000; /* High contrast on neon */
}
.btn-primary:hover {
  background-color: #79c0ff;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--c-border);
  background: transparent;
  color: var(--c-text-heading);
}
.btn-outline:hover {
  border-color: var(--c-text-muted);
  background: var(--c-surface);
}

/* Cards */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  padding: var(--s-md);
  border-radius: var(--radius-md);
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  border-color: var(--c-primary-dim);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 2rem;
  color: var(--c-primary);
  margin-bottom: var(--s-sm);
  display: block;
}

/* Hero Specifics */
.hero-section {
  padding: var(--s-xl) 0;
  background: radial-gradient(circle at 50% 0%, #161b22 0%, var(--c-bg) 60%);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--s-lg);
}

.hero-eyebrow {
  color: var(--c-primary);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-bottom: var(--s-sm);
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  margin-bottom: var(--s-md);
}

.hero-subtitle {
  color: var(--c-text-muted);
  font-size: 1.25rem;
  margin-bottom: var(--s-md);
}

.hero-actions {
  display: flex;
  gap: var(--s-sm);
  justify-content: center;
}

.hero-visual {
  margin-top: var(--s-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5);
}

/* Stats */
.stat-item {
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--c-text-heading);
  line-height: 1;
}
.stat-label {
  color: var(--c-text-muted);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--c-border);
  padding: var(--s-md) 0;
}
.faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--c-text-heading);
}
.faq-answer {
  color: var(--c-text-muted);
}

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--c-surface) 0%, #1c2128 100%);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: var(--s-lg);
  text-align: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--c-border);
  padding: var(--s-lg) 0;
  margin-top: var(--s-xl);
  font-size: 0.9rem;
  color: var(--c-text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--s-lg);
}

.footer-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--c-text-heading);
  margin-bottom: var(--s-sm);
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: var(--c-primary);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: var(--s-lg);
  padding-top: var(--s-md);
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Mobile */
@media (max-width: 768px) {
  .header-inner nav { display: none; } /* Simplified for demo */
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-md); }
  .hero-actions { flex-direction: column; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
} img,svg,video{max-width:100%;height:auto} *{box-sizing:border-box} 