/* =============================================
   Cited. — Design System
   Inspired by Linear, Stripe, Framer, Vercel
   ============================================= */

:root {
  /* Colors */
  --bg: #07070c;
  --bg-2: #0d0d16;
  --surface: #12121d;
  --surface-2: #1a1a2a;
  --surface-3: #232336;
  --border: rgba(255,255,255,0.08);
  --border-2: rgba(255,255,255,0.14);
  --border-3: rgba(255,255,255,0.22);
  --text: #f5f5f7;
  --text-2: #b8b8c8;
  --text-3: #7a7a88;
  --text-4: #52525b;
  --gold: #ffd166;
  --gold-2: #e8b33e;
  --violet: #a78bfa;
  --violet-2: #7c3aed;
  --cyan: #67e8f9;
  --green: #22c55e;
  --red: #f87171;
  --red-2: #ef4444;

  /* Shadows */
  --shadow-sm: 0 4px 8px -2px rgba(0,0,0,0.4);
  --shadow-md: 0 12px 32px -8px rgba(0,0,0,0.6);
  --shadow-lg: 0 20px 60px -15px rgba(0,0,0,0.7);
  --shadow-gold: 0 12px 32px rgba(255,209,102,0.35);

  /* Sizing */
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --container: 1240px;
  --container-sm: 960px;
  --container-xs: 720px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(167,139,250,0.06) 0%, transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(255,209,102,0.04) 0%, transparent 40%),
    radial-gradient(circle at 50% 95%, rgba(103,232,249,0.04) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Grain */
body::before {
  content:'';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.03 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 1; opacity: 0.5;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

/* =============================================
   NAVIGATION (global header)
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(7,7,12,0.72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text) !important;
}
.nav-logo:hover { color: var(--text) !important; }
.logo-dot {
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--gold); background: rgba(255,209,102,0.08); }
.nav-ctas {
  display: flex; align-items: center; gap: 10px;
}
.nav-burger {
  display: none;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  cursor: pointer;
  align-items: center; justify-content: center;
  color: var(--text);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: var(--gold);
  color: #0a0a0a;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
  color: #0a0a0a;
}
.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border-color: var(--border-3);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text);
}
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* =============================================
   LAYOUT HELPERS
   ============================================= */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: var(--container-sm); margin: 0 auto; padding: 0 24px; }
.container-xs { max-width: var(--container-xs); margin: 0 auto; padding: 0 24px; }

section { padding: 100px 0; position: relative; z-index: 2; }
.section-sm { padding: 60px 0; }
.section-xl { padding: 140px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(167,139,250,0.1);
  border: 1px solid rgba(167,139,250,0.25);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
  font-weight: 500;
}
.eyebrow::before {
  content:'';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 8px var(--violet);
}
.eyebrow.gold { background: rgba(255,209,102,0.1); border-color: rgba(255,209,102,0.25); color: var(--gold); }
.eyebrow.gold::before { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.eyebrow.green { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.25); color: var(--green); }
.eyebrow.green::before { background: var(--green); box-shadow: 0 0 8px var(--green); }

.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-2);
  max-width: 720px;
  margin-bottom: 48px;
  line-height: 1.55;
}
.section-header.center { text-align: center; margin: 0 auto 56px; }
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }

.gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--violet) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-2 { color: var(--text-2); }
.text-3 { color: var(--text-3); }
.text-gold { color: var(--gold); }
.text-violet { color: var(--violet); }
.text-green { color: var(--green); }
.text-red { color: var(--red); }

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-hover:hover {
  transform: translateY(-4px);
  background: var(--surface-2);
  border-color: var(--border-2);
}
.card-glow:hover {
  border-color: var(--gold);
  box-shadow: 0 20px 40px -10px rgba(255,209,102,0.2);
}

/* =============================================
   SOCIAL PROOF BAR
   ============================================= */
.logo-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
}
.logo-strip-label {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 28px;
}
.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px 56px;
  opacity: 0.75;
}
.logo-row .logo-item {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text-2);
  transition: color 0.2s;
}
.logo-row .logo-item:hover { color: var(--text); }

/* =============================================
   TESTIMONIAL CARDS
   ============================================= */
.testimonial {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.testimonial::before {
  content:'"';
  position: absolute;
  top: 8px; left: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 80px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.3;
}
.testimonial-body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--gold));
  display: grid; place-items: center;
  font-weight: 700;
  color: #000;
  font-size: 16px;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-role { font-size: 12px; color: var(--text-3); }

/* =============================================
   STAT BLOCK
   ============================================= */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.stat {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.stat:hover { transform: translateY(-2px); border-color: var(--border-2); }
.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--text) 0%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: var(--text-2); line-height: 1.4; }

/* =============================================
   CTA STRIP (end of page)
   ============================================= */
.cta-strip {
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content:'';
  position:absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,209,102,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-card {
  position: relative; z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border-2);
  border-radius: 28px;
  backdrop-filter: blur(20px);
}
.cta-card h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 16px;
  line-height: 1.05;
}
.cta-card p {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto; margin-right: auto;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  margin-top: 80px;
  padding: 64px 24px 32px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 320px; }
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; color: var(--text-3); line-height: 1.55; margin-bottom: 18px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border-2);
  color: var(--text-2);
  font-size: 14px;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--surface-2); color: var(--gold); border-color: var(--gold); }

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-2); }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-4);
}

/* =============================================
   FORMS
   ============================================= */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border-2);
  color: var(--text);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(0,0,0,0.55);
}
.form-group textarea { min-height: 120px; resize: vertical; font-family: inherit; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--border); flex-direction: column; padding: 16px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-burger { display: inline-flex; }
  .nav-ctas .btn-ghost { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  section { padding: 60px 0; }
  .cta-card { padding: 40px 24px; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =============================================
   UTILITIES
   ============================================= */
.u-text-center { text-align: center; }
.u-mb-16 { margin-bottom: 16px; }
.u-mb-24 { margin-bottom: 24px; }
.u-mb-32 { margin-bottom: 32px; }
.u-mb-48 { margin-bottom: 48px; }
.u-flex { display: flex; }
.u-flex-wrap { flex-wrap: wrap; }
.u-gap-12 { gap: 12px; }
.u-gap-16 { gap: 16px; }
.u-gap-24 { gap: 24px; }
.u-grid { display: grid; }

/* =============================================
   ACCESSIBILITY
   ============================================= */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  top: -40px; left: 12px;
  background: var(--gold);
  color: #000;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  z-index: 200;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: #000; }

/* Improve contrast on text-3 class used for hints */
:root { --text-3: #8a8a9a; }

/* =============================================
   BREADCRUMBS
   ============================================= */
.breadcrumbs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.05em;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .sep { opacity: 0.4; }
.breadcrumbs .current { color: var(--text); }

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--text-2);
  font-size: 18px;
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s;
  z-index: 90;
}
.back-to-top:hover { background: var(--surface-2); color: var(--gold); border-color: var(--gold); }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* =============================================
   COOKIE CONSENT BANNER
   ============================================= */
.consent-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px;
  margin-left: auto;
  background: rgba(12,12,22,0.96);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-2);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.7);
  z-index: 150;
  transform: translateY(calc(100% + 24px));
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.consent-banner.show { transform: translateY(0); }
.consent-banner h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.consent-banner p {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 14px;
  line-height: 1.5;
}
.consent-banner p a { color: var(--gold); }
.consent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.consent-actions .btn { flex: 1; min-width: 120px; justify-content: center; }
@media (max-width: 600px) {
  .consent-banner { left: 8px; right: 8px; bottom: 8px; padding: 18px 18px; }
  .consent-actions .btn { font-size: 12px; padding: 10px 12px; }
}

/* =============================================
   FORM SUCCESS / ERROR states
   ============================================= */
.alert {
  padding: 16px 20px;
  border-radius: 12px;
  margin: 16px 0;
  font-size: 14px;
}
.alert-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: var(--green); }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: var(--red); }

/* =============================================
   ANTI-PITCH (who we don't work with)
   ============================================= */
.anti-pitch {
  margin-top: 48px;
  padding: 32px;
  background: rgba(239,68,68,0.05);
  border: 1px dashed rgba(239,68,68,0.3);
  border-radius: 18px;
}
.anti-pitch .eyebrow { background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.3); color: var(--red); margin-bottom: 14px; }
.anti-pitch .eyebrow::before { background: var(--red); box-shadow: 0 0 8px var(--red); }
.anti-pitch h3 { font-size: 22px; margin-bottom: 12px; font-family: 'Space Grotesk'; letter-spacing: -0.02em; }
.anti-pitch ul { list-style: none; }
.anti-pitch li { padding: 10px 0; padding-left: 28px; position: relative; font-size: 15px; color: var(--text-2); line-height: 1.5; }
.anti-pitch li::before { content: '✕'; position: absolute; left: 0; top: 10px; color: var(--red); font-weight: 700; font-size: 14px; }

/* =============================================
   PRESS / AWARDS STRIP
   ============================================= */
.press-strip {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}
.press-label {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}
.press-row { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; opacity: 0.8; }
.press-row .press-item {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 17px;
  font-style: italic;
  color: var(--text-2);
  letter-spacing: -0.01em;
}
.press-row .press-item strong { color: var(--text); font-weight: 600; font-style: normal; }

/* =============================================
   BADGE PILLS (awards)
   ============================================= */
.badge-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-2);
  letter-spacing: 0.05em;
}
.badge-pill::before {
  content: '★';
  color: var(--gold);
  font-size: 14px;
}

