/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #0a0a0a;
  color: #e8e8e8;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }

/* ── Tokens ── */
:root {
  --gold: #e8b84b;
  --gold-dim: rgba(232, 184, 75, 0.12);
  --surface: #141414;
  --surface-2: #1c1c1c;
  --border: rgba(255,255,255,0.07);
  --border-mid: rgba(255,255,255,0.12);
  --muted: #6a6a6a;
  --fg-2: #a0a0a0;
  --radius: 16px;
  --container: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}

/* ── Container ── */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-size: 20px; font-weight: 700; letter-spacing: -.03em; color: #fff;
}
.nav-logo span { color: var(--gold); }
.nav-cta {
  font-size: 13px; font-weight: 500; color: var(--gold);
  border: 1px solid rgba(232,184,75,.3); padding: 7px 18px; border-radius: 999px;
  transition: background 200ms, border-color 200ms;
}
.nav-cta:hover { background: rgba(232,184,75,.1); border-color: var(--gold); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding-top: 72px;
}
.hero-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 100%);
}
.hero-glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px; pointer-events: none;
  background: radial-gradient(ellipse, rgba(232,184,75,.08) 0%, transparent 70%);
}
.hero-inner {
  position: relative; z-index: 1;
  text-align: center; padding: 0 var(--gutter);
  max-width: 860px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 28px;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}
.hero-title {
  font-size: clamp(52px, 9vw, 112px);
  font-weight: 700; line-height: .95; letter-spacing: -.04em;
  color: #fff; margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold), #f5d680);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 19px); color: var(--fg-2); line-height: 1.7;
  margin-bottom: 40px; max-width: 580px; margin-inline: auto;
}
.br-desktop { display: none; }
@media (min-width: 640px) { .br-desktop { display: block; } }

.hero-search {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border-mid);
  border-radius: 999px; padding: 14px 22px;
  max-width: 500px; margin: 0 auto 48px;
  opacity: .6;
}
.hero-search svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.hero-search input {
  flex: 1; background: none; border: none; outline: none;
  font: inherit; font-size: 15px; color: var(--muted); cursor: default;
}
.search-badge {
  font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(232,184,75,.15); color: var(--gold);
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 32px;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat-n { font-size: 28px; font-weight: 700; color: #fff; letter-spacing: -.03em; }
.stat-l { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.stat-divider { width: 1px; height: 36px; background: var(--border-mid); }

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: var(--muted); transition: color 200ms;
  animation: bounce 2s ease-in-out infinite;
}
.hero-scroll svg { width: 24px; height: 24px; }
.hero-scroll:hover { color: var(--gold); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── DIRECTORY ── */
.directory { padding: clamp(80px, 10vw, 140px) 0; }
.section-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; margin-bottom: 48px;
}
.section-tag {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px); font-weight: 700;
  letter-spacing: -.03em; color: #fff;
}
.filters {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding-top: 4px;
}
.filter {
  font-size: 13px; font-weight: 500;
  padding: 7px 18px; border-radius: 999px;
  border: 1px solid var(--border-mid); color: var(--fg-2);
  transition: all 180ms;
}
.filter:hover { border-color: rgba(232,184,75,.4); color: var(--gold); }
.filter.active {
  background: var(--gold); color: #0a0a0a;
  border-color: var(--gold); font-weight: 600;
}

/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  overflow: hidden; transition: border-color 250ms, transform 250ms, box-shadow 250ms;
  cursor: pointer;
}
.card:hover {
  border-color: var(--border-mid);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
}
.card-accent {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--clr);
  opacity: 0; transition: opacity 250ms;
}
.card:hover .card-accent { opacity: 1; }

.card-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.card-avatar {
  width: 44px; height: 44px; border-radius: 12px;
  font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.tag {
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--tc); color: var(--tc);
  background: color-mix(in srgb, var(--tc) 10%, transparent);
}
.card-name {
  font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: #fff;
  margin-bottom: 2px;
}
.card-brand {
  font-size: 13px; color: var(--gold); font-weight: 500; margin-bottom: 12px;
}
.card-desc {
  font-size: 14px; color: var(--fg-2); line-height: 1.6; flex: 1; margin-bottom: 24px;
}
.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); padding-top: 16px;
}
.card-link {
  font-size: 12px; color: var(--muted); font-family: monospace;
  letter-spacing: .04em;
}
.card-arrow {
  width: 18px; height: 18px; color: var(--muted);
  transition: color 200ms, transform 200ms;
}
.card:hover .card-arrow { color: var(--gold); transform: translateX(4px); }

/* Soon card */
.card--soon {
  border-style: dashed;
  align-items: center; justify-content: center;
  min-height: 220px;
  cursor: default;
}
.card--soon:hover { transform: none; box-shadow: none; }
.card-soon-inner { text-align: center; }
.card-soon-icon svg {
  width: 32px; height: 32px; color: var(--muted); margin: 0 auto 12px;
}
.card-soon-text {
  font-size: 16px; font-weight: 600; color: var(--fg-2); margin-bottom: 4px;
}
.card-soon-sub { font-size: 13px; color: var(--muted); }

/* ── CTA BANNER ── */
.cta-banner { padding: clamp(60px, 8vw, 100px) 0; }
.cta-inner {
  background: linear-gradient(135deg, var(--surface) 0%, #1a160a 100%);
  border: 1px solid rgba(232,184,75,.2);
  border-radius: 24px; padding: clamp(40px, 6vw, 80px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-inner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(232,184,75,.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-badge {
  display: inline-block; font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 600;
  background: rgba(232,184,75,.15); color: var(--gold);
  padding: 5px 14px; border-radius: 999px; margin-bottom: 24px;
}
.cta-title {
  font-size: clamp(32px, 5vw, 56px); font-weight: 700;
  letter-spacing: -.03em; color: #fff; line-height: 1.1; margin-bottom: 16px;
}
.cta-title em { font-style: normal; color: var(--gold); }
.cta-desc {
  font-size: clamp(15px, 2vw, 17px); color: var(--fg-2);
  max-width: 520px; margin: 0 auto 36px; line-height: 1.7;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #0a0a0a; font-weight: 700;
  font-size: 15px; padding: 14px 32px; border-radius: 999px;
  transition: opacity 200ms, transform 200ms;
}
.cta-btn:hover { opacity: .9; transform: translateY(-2px); }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}
.footer-inner { text-align: center; }
.footer-logo {
  font-size: 22px; font-weight: 700; letter-spacing: -.03em; color: #fff;
  display: inline-block; margin-bottom: 10px;
}
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: 14px; color: var(--fg-2); margin-bottom: 8px; }
.footer-copy { font-size: 12px; color: var(--muted); }

/* ── Reveal animation ── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.2,0,0,1), transform 600ms cubic-bezier(0.2,0,0,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Filter hide ── */
.card[hidden] { display: none; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .section-header { flex-direction: column; }
  .hero-stats { gap: 20px; }
  .stat-n { font-size: 22px; }
}
@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero-search { display: none; }
}
