/* CreatorRadar — Dark Editorial Theme */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f0f0f;
  --bg-card: #161616;
  --bg-card-hover: #1e1e1e;
  --fg: #faf8f5;
  --fg-muted: #8a8a82;
  --fg-faint: #4a4a45;
  --accent: #f59e0b;
  --accent-dim: rgba(245,158,11,0.12);
  --accent-glow: rgba(245,158,11,0.08);
  --border: rgba(250,248,245,0.08);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --section-pad: clamp(80px, 10vw, 120px);
  --container: 1160px;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: clamp(60px, 8vw, 100px) clamp(24px, 5vw, 80px);
  overflow: hidden;
}

/* Ambient amber gradient behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-left { display: flex; flex-direction: column; gap: 28px; }

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 80px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
}

.hero-search-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.search-input-mock {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg-muted);
  font-size: 15px;
  max-width: 420px;
  border-color: var(--accent-dim);
  box-shadow: 0 0 0 4px var(--accent-dim), inset 0 0 20px var(--accent-glow);
}

.search-input-mock svg { color: var(--accent); flex-shrink: 0; }

.hero-search-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 100px;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* ── RADAR WIDGET ── */
.hero-right { display: flex; justify-content: center; position: relative; }

.radar-widget {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.radar-display {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 28px;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245,158,11,0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: radarPulse 3s ease-out infinite;
}
.radar-ring-1 { width: 60px; height: 60px; animation-delay: 0s; }
.radar-ring-2 { width: 120px; height: 120px; animation-delay: 0.6s; border-color: rgba(245,158,11,0.14); }
.radar-ring-3 { width: 180px; height: 180px; animation-delay: 1.2s; border-color: rgba(245,158,11,0.08); }

@keyframes radarPulse {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.15); }
}

.radar-sweep {
  position: absolute;
  width: 110px;
  height: 110px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(245,158,11,0.35) 30deg, transparent 60deg);
  animation: radarSpin 4s linear infinite;
}

@keyframes radarSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.radar-blip {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: blipPulse 2s ease-in-out infinite;
}
.blip-1 { top: 30px; left: 90px; animation-delay: 0s; }
.blip-2 { top: 80px; right: 35px; animation-delay: 0.7s; }
.blip-3 { bottom: 40px; left: 55px; animation-delay: 1.4s; }

@keyframes blipPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.radar-center-dot {
  position: absolute;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--accent);
  z-index: 2;
}

.radar-match-badge {
  position: absolute;
  top: 0; right: 10px;
  background: var(--bg-card);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  box-shadow: 0 0 20px rgba(245,158,11,0.15);
}

.match-label { font-size: 9px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); }
.match-pct { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--accent); line-height: 1; }

/* Creator cards */
.creator-card-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cr-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.cr-card:hover { background: var(--bg-card-hover); border-color: rgba(245,158,11,0.2); }

.cr-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a3a3a, #2a2a2a);
  border: 1px solid rgba(245,158,11,0.3);
  flex-shrink: 0;
}
.cr-avatar-2 { background: linear-gradient(135deg, #2e2a3a, #1e1a2a); }
.cr-avatar-3 { background: linear-gradient(135deg, #2a3a3a, #1a2a2a); }

.cr-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cr-name { font-size: 13px; font-weight: 500; color: var(--fg); }
.cr-price { font-size: 12px; color: var(--accent); font-weight: 600; }
.cr-badge { flex-shrink: 0; display: flex; align-items: center; gap: 6px; }

/* Active badge — amber pulse dot, radar aesthetic */
.active-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #f59e0b;
  text-transform: uppercase;
}

.active-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 4px #f59e0b;
  animation: activePulse 2s ease-in-out infinite;
}

@keyframes activePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* Verified badge (amber check) */
.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.35);
  border-radius: 50%;
}

.verified-badge svg { width: 10px; height: 10px; }

/* ── STATS ── */
.stats {
  padding: clamp(40px, 5vw, 60px) clamp(24px, 5vw, 80px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  flex: 1;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  color: var(--fg);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 13px;
  color: var(--fg-muted);
  max-width: 140px;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── FEATURES ── */
.features {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  max-width: var(--container);
  margin: 0 auto;
}

.features-header {
  margin-bottom: clamp(48px, 6vw, 72px);
}

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover::before { opacity: 1; }
.feature-card:hover { border-color: rgba(245,158,11,0.15); transform: translateY(-3px); }

.feature-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 12px;
  flex-shrink: 0;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
}

.feature-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── MANIFESTO ── */
.manifesto {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  background: #0c0c0c;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  gap: 0 80px;
  align-items: start;
}

.manifesto-inner .section-label { grid-column: 1 / -1; }

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 34px);
  font-style: italic;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.45;
  letter-spacing: -0.01em;
  grid-column: 1 / -1;
  border-left: 3px solid var(--accent);
  padding-left: 28px;
  margin: 20px 0 32px;
}

.manifesto-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.75;
  max-width: 600px;
  grid-column: 1;
}

.manifesto-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 48px 0;
}

.manifesto-divider::before,
.manifesto-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider-diamond {
  width: 8px; height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.manifesto-trust {
  grid-column: 1 / -1;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item { display: flex; flex-direction: column; gap: 6px; }
.trust-value { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--fg); letter-spacing: -0.02em; }
.trust-desc { font-size: 13px; color: var(--fg-muted); }

/* ── CLOSING ── */
.closing {
  padding: var(--section-pad) clamp(24px, 5vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
}

.closing-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.closing-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 60px;
}

.closing-visual { display: flex; justify-content: center; }

.closing-radar {
  position: relative;
  width: 160px; height: 160px;
}

.closing-radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245,158,11,0.25);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: radarPulse 2.5s ease-out infinite;
}
.closing-radar-ring-2 {
  width: 120px; height: 120px;
  animation-delay: 0.5s;
}

.closing-sweep {
  position: absolute;
  width: 80px; height: 80px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(245,158,11,0.5) 40deg, transparent 80deg);
  animation: radarSpin 3s linear infinite;
}

.closing-ping {
  position: absolute;
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0 rgba(245,158,11,0.4);
  animation: pingRing 2s ease-out infinite;
}

@keyframes pingRing {
  0% { box-shadow: 0 0 0 0 rgba(245,158,11,0.4); }
  70% { box-shadow: 0 0 0 20px rgba(245,158,11,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
}

/* ── FOOTER ── */
.site-footer {
  padding: 40px clamp(24px, 5vw, 80px);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.footer-tagline { font-size: 13px; color: var(--fg-muted); margin-top: 4px; }
.footer-copy { font-size: 13px; color: var(--fg-faint); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .radar-widget { max-width: 360px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-inner { grid-template-columns: 1fr; gap: 0; }
  .manifesto-body { grid-column: 1; }
  .stats-inner { flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .stats-inner { gap: 32px; }
  .manifesto-trust { gap: 32px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .closing-headline { font-size: 48px; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }
