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

:root {
  --zinc-50: #fafafa;
  --zinc-100: #f4f4f5;
  --zinc-200: #e4e4e7;
  --zinc-300: #d4d4d8;
  --zinc-400: #a1a1aa;
  --zinc-500: #71717a;
  --zinc-600: #52525b;
  --zinc-700: #3f3f46;
  --zinc-800: #27272a;
  --zinc-850: #1f1f23;
  --zinc-900: #18181b;
  --zinc-950: #09090b;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --amber-400: #fbbf24;
  --emerald-400: #34d399;
  --blue-400: #60a5fa;
  --red-400: #f87171;
  --violet-500: #8b5cf6;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--zinc-950);
  color: var(--zinc-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

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

nav .container {
  max-width: none;
  padding: 0 16px;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

nav .container {
  display: flex;
  align-items: center;
  height: 64px;
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  margin-right: 36px;
}

nav .logo img { height: 32px; }

nav .links {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav .cta { margin-left: auto; }

nav .links a {
  font-size: 14px;
  color: var(--zinc-400);
  transition: color 0.2s;
  font-weight: 700;
}

nav .links a:hover,
nav .links a.active { color: var(--zinc-100); }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #000;
  color: white;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--zinc-700);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  background: var(--zinc-800);
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--zinc-200);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--zinc-300);
  padding: 10px 16px;
  border: 1px solid var(--zinc-700);
  border-radius: 6px;
}

.btn-ghost:hover { color: white; background: var(--zinc-800); }

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--zinc-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--zinc-400);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

/* Footer */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  background:
    linear-gradient(rgba(9, 9, 11, 0.82), rgba(9, 9, 11, 0.88)),
    url("/img/chrome.jpg") center/cover no-repeat;
}

footer .container { position: relative; z-index: 1; }

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

.footer-brand { grid-column: span 1; }

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .logo img { height: 32px; }
.footer-brand .logo span { font-weight: 700; font-size: 18px; }

.footer-brand p {
  color: var(--zinc-500);
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links-group h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--zinc-200);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-links-group ul { list-style: none; }
.footer-links-group ul li { margin-bottom: 14px; }

.footer-links-group ul li a {
  font-size: 14px;
  color: var(--zinc-500);
  transition: color 0.2s;
}

.footer-links-group ul li a:hover { color: var(--zinc-200); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom p { font-size: 13px; color: var(--zinc-600); }

.footer-bottom .legal-links { display: flex; gap: 28px; }

.footer-bottom .legal-links a {
  font-size: 13px;
  color: var(--zinc-600);
  transition: color 0.2s;
}

.footer-bottom .legal-links a:hover { color: var(--zinc-400); }

/* Simple footer (features, pricing, legal pages) */
footer.simple {
  padding: 32px 0;
  text-align: center;
}

footer.simple p { font-size: 13px; color: var(--zinc-600); }
footer.simple a { color: var(--zinc-500); }
footer.simple a:hover { color: var(--zinc-400); }

/* Mobile nav */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--zinc-400);
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 16px 24px;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--zinc-300);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: white; }

.mobile-menu .btn-ghost,
.mobile-menu .btn-primary {
  margin-top: 8px;
  text-align: center;
  border-bottom: none;
}

.mobile-menu .btn-ghost { margin-top: 12px; }

@media (max-width: 768px) {
  nav .links { display: none; }
  nav .cta { display: none; }
  .mobile-menu-btn { display: block; }

  footer { padding: 60px 0 32px; text-align: center; }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: center;
  }
  .footer-brand { grid-column: span 2; }
  .footer-brand .logo { justify-content: center; }
  .footer-brand p { margin-left: auto; margin-right: auto; }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .footer-bottom .legal-links { justify-content: center; }
}

@media (max-width: 480px) {
  .footer-content { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: span 1; }
}
