/* ==============================================================
   index.css - Infinite Atom 3.0 flagship homepage
   Premium marketplace: Sora display, Inter body, JetBrains Mono
   kickers. Tokens come from theme.css (dark + light).
   ============================================================== */

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
}

img { max-width: 100%; }

/* Accessible focus ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* --------------------------------------------------------------
   NAV (base layout - site-nav.js/site-nav.css enhance it)
   -------------------------------------------------------------- */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem clamp(1.25rem, 4vw, 3rem);
  background: var(--site-nav-bg, rgba(8, 13, 24, 0.88));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--site-nav-border, var(--border));
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.nav-logo img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(44, 224, 199, 0.35));
  transition: filter 180ms ease, transform 180ms ease;
}

.nav-logo:hover img {
  filter: drop-shadow(0 0 10px rgba(44, 224, 199, 0.5));
  transform: scale(1.03);
}

.nav-brand-text {
  color: var(--text-strong);
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-brand-text .brand-suffix {
  color: var(--text-dim);
  font-weight: 400;
  font-size: 0.85em;
}

.nav-links { display: flex; gap: 1.4rem; list-style: none; align-items: center; }

.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 180ms ease;
}

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

.nav-cta-group {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

/* --------------------------------------------------------------
   BUTTONS (colors/gradients come from theme.css)
   -------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.6rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), #1FB9A6);
  color: var(--on-accent);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.6rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(44, 224, 199, 0.06);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------
   LIVE ANNOUNCEMENT BAR - slim, refined
   -------------------------------------------------------------- */
.ia-live-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.5rem clamp(1rem, 4vw, 2rem);
  background: linear-gradient(90deg, rgba(44, 224, 199, 0.07), rgba(139, 124, 246, 0.05), rgba(255, 160, 92, 0.06));
  border-bottom: 1px solid var(--border);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  flex-wrap: wrap;
}

.ia-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(44, 224, 199, 0.8);
  flex-shrink: 0;
  animation: ia-pulse 2.4s ease-in-out infinite;
}

@keyframes ia-pulse {
  0%, 100% { box-shadow: 0 0 5px rgba(44, 224, 199, 0.6); }
  50%      { box-shadow: 0 0 12px rgba(44, 224, 199, 0.95); }
}

.ia-live-text { color: var(--text-dim); }
.ia-live-text strong { color: var(--accent); font-weight: 600; }

.ia-live-cta {
  color: var(--accent2);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 180ms ease;
}

.ia-live-cta:hover { opacity: 0.8; }

/* --------------------------------------------------------------
   HERO - search-first, aurora mesh
   -------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(88vh - 80px);
  padding: clamp(4rem, 9vh, 7rem) clamp(1.25rem, 5vw, 4rem) 4.5rem;
  overflow: hidden;
  text-align: center;
}

.hero-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.85;
  will-change: transform;
}

.hero-aurora-blob--teal {
  width: 640px;
  height: 640px;
  left: -180px;
  top: -220px;
  background: radial-gradient(circle, rgba(44, 224, 199, 0.14), transparent 65%);
  animation: aurora-drift-a 18s ease-in-out infinite alternate;
}

.hero-aurora-blob--violet {
  width: 560px;
  height: 560px;
  right: -160px;
  top: -120px;
  background: radial-gradient(circle, rgba(139, 124, 246, 0.12), transparent 65%);
  animation: aurora-drift-b 22s ease-in-out infinite alternate;
}

.hero-aurora-blob--amber {
  width: 700px;
  height: 520px;
  left: 50%;
  bottom: -320px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 160, 92, 0.1), transparent 65%);
  animation: aurora-drift-c 26s ease-in-out infinite alternate;
}

@keyframes aurora-drift-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(70px, 50px) scale(1.12); }
}

@keyframes aurora-drift-b {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-60px, 40px) scale(1.08); }
}

@keyframes aurora-drift-c {
  from { transform: translateX(-50%) scale(1); }
  to   { transform: translateX(-46%) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem 0.4rem 0.5rem;
  margin-bottom: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  box-shadow: var(--glow);
}

.hero-badge img {
  height: 26px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(44, 224, 199, 0.4));
}

.hero-title {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: clamp(2.5rem, 6.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  margin-bottom: 1.4rem;
}

.hero-title-accent {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent3) 55%, var(--accent2) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 58ch;
  margin: 0 auto 2.4rem;
}

.hero-desc strong { color: var(--text); font-weight: 600; }

.hero-cta {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* --------------------------------------------------------------
   HERO SEARCH - the centerpiece
   -------------------------------------------------------------- */
.ia-hero-search {
  width: 100%;
  max-width: 680px;
  margin: 0 auto 2.2rem;
}

.ia-search-form { width: 100%; }

.ia-search-input-wrap {
  display: flex;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0.4rem 0.4rem 0.4rem 1.15rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 48px rgba(0, 0, 0, 0.35);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.ia-search-input-wrap:focus-within {
  border-color: rgba(44, 224, 199, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 18px 52px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(44, 224, 199, 0.1);
}

.ia-search-icon {
  width: 20px;
  height: 20px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.ia-search-input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: var(--text-strong);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  padding: 0.85rem 0.85rem;
  border-radius: 12px;
}

/* Beat theme.css's generic input skin (html[data-theme] :is(input...)) */
html[data-theme] .hero .ia-search-input {
  background: transparent !important;
  border: none !important;
  color: var(--text-strong) !important;
  font-size: 1rem !important;
  border-radius: 12px !important;
}

.ia-search-input::placeholder { color: var(--text-dim); opacity: 0.75; }

.ia-search-btn {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
  border: none;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), #1FB9A6);
  color: var(--on-accent);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14) inset, 0 8px 20px rgba(44, 224, 199, 0.2);
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.ia-search-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset, 0 10px 26px rgba(44, 224, 199, 0.26);
}

:root[data-theme="light"] .ia-search-btn {
  background: linear-gradient(135deg, var(--accent), #0A6459);
}

.ia-search-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.5rem;
  margin-top: 0.9rem;
}

.ia-search-tags-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.66rem;
  color: var(--text-dim);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ia-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--site-muted-surface, rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.ia-tag:hover {
  border-color: rgba(44, 224, 199, 0.5);
  color: var(--accent);
  background: rgba(44, 224, 199, 0.08);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------
   STATS - inline stat cluster
   -------------------------------------------------------------- */
.stats-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem) 1rem;
}

.stat {
  padding: 1.5rem 1.25rem;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 16px 40px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease, border-color 180ms ease;
}

.stat:hover { transform: translateY(-2px); border-color: rgba(44, 224, 199, 0.3); }

.stat-num {
  display: block;
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.stat:nth-child(2) .stat-num { color: var(--accent2); }

.stat-num.spaced { letter-spacing: 0; }
.stat-num .stat-divider { display: inline-block; margin-left: 0.05em; opacity: 0.75; }

.stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.45;
}

/* --------------------------------------------------------------
   TRUST STRIP - inline SVG icons
   -------------------------------------------------------------- */
.ia-trust-strip {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 1.4rem auto 0;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.ia-trust-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.2rem 1.6rem;
  flex: 1;
  min-width: 220px;
}

.ia-trust-divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
  align-self: stretch;
  flex-shrink: 0;
}

.ia-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  color: var(--accent);
  background: rgba(44, 224, 199, 0.08);
  border: 1px solid rgba(44, 224, 199, 0.16);
}

.ia-trust-item:nth-child(3) .ia-trust-icon {
  color: var(--accent2);
  background: rgba(255, 160, 92, 0.08);
  border-color: rgba(255, 160, 92, 0.18);
}

.ia-trust-item:nth-child(7) .ia-trust-icon {
  color: var(--accent3);
  background: rgba(139, 124, 246, 0.09);
  border-color: rgba(139, 124, 246, 0.2);
}

.ia-trust-icon svg { width: 22px; height: 22px; }

/* Image-mode trust icons (3D render tiles) */
.ia-trust-icon--img,
.ia-trust-item:nth-child(3) .ia-trust-icon--img,
.ia-trust-item:nth-child(7) .ia-trust-icon--img {
  width: 52px;
  height: 52px;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 12px;
}
.ia-trust-icon--img img { width: 100%; height: 100%; object-fit: contain; display: block; }

.ia-trust-item div { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }

.ia-trust-item strong {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}

.ia-trust-item span {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* --------------------------------------------------------------
   SECTION RHYTHM
   -------------------------------------------------------------- */
section {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: block;
  margin-bottom: 0.9rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
}

h2 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--text-strong);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h2 span { color: var(--accent); }

.section-desc {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: 2.75rem;
}

.section-divider {
  width: 100%;
  max-width: 1200px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------
   CATEGORY GRID - tactile cards
   -------------------------------------------------------------- */
.ia-categories {
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
}

.ia-categories-heading {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin-bottom: 1.75rem;
}

.ia-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.9rem;
}

.ia-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.5rem 0.85rem 1.3rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 10px 26px rgba(0, 0, 0, 0.2);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ia-cat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(44, 224, 199, 0.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 18px 40px rgba(0, 0, 0, 0.3), var(--glow);
}

.ia-cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(44, 224, 199, 0.1), rgba(139, 124, 246, 0.08));
  border: 1px solid rgba(44, 224, 199, 0.12);
  transition: transform 180ms ease;
}

.ia-cat-card:hover .ia-cat-icon { transform: scale(1.08); }

/* Image-mode category icons (3D render tiles) */
.ia-cat-icon--img {
  width: 96px;
  height: 96px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 14px;
  overflow: hidden;
}
.ia-cat-icon--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.ia-cat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}

.ia-cat-card--events { border-color: rgba(255, 160, 92, 0.24); }

.ia-cat-card--events .ia-cat-icon {
  background: linear-gradient(135deg, rgba(255, 160, 92, 0.14), rgba(255, 160, 92, 0.05));
  border-color: rgba(255, 160, 92, 0.2);
}

.ia-cat-card--events:hover {
  border-color: rgba(255, 160, 92, 0.5);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 18px 40px rgba(0, 0, 0, 0.3), 0 8px 40px rgba(255, 160, 92, 0.12);
}

.ia-categories-footer { margin-top: 1.75rem; text-align: center; }

.ia-cat-all-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 180ms ease;
}

.ia-cat-all-link:hover { opacity: 0.8; text-decoration: underline; }

/* --------------------------------------------------------------
   SPOTLIGHT - feature section
   -------------------------------------------------------------- */
.spotlight-section {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 2rem);
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(255, 160, 92, 0.06), transparent 60%),
    radial-gradient(800px 480px at 8% 90%, rgba(44, 224, 199, 0.05), transparent 60%),
    var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.spotlight-heading {
  max-width: 1200px;
  margin: 0 auto 3rem;
  text-align: center;
}

.spotlight-heading h2 span { color: var(--accent2); }

.spotlight-heading-lead {
  max-width: 60ch;
  margin: 0 auto;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.7;
}

.spotlight-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.spotlight-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 24px 60px rgba(0, 0, 0, 0.4);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.spotlight-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 160, 92, 0.28);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 28px 70px rgba(0, 0, 0, 0.45), 0 8px 40px rgba(255, 160, 92, 0.08);
}

.spotlight-banner {
  position: relative;
  min-height: 230px;
  background:
    linear-gradient(160deg, rgba(44, 224, 199, 0.18), rgba(139, 124, 246, 0.14) 45%, rgba(255, 160, 92, 0.2)),
    url("/Rustic%20Forge%20Banner.png") center / cover no-repeat,
    linear-gradient(135deg, #101a2e, #1a1420);
}

.spotlight-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 13, 24, 0.72));
}

.spotlight-meta {
  position: relative;
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}

.spotlight-meta-left { display: flex; align-items: center; gap: 1.15rem; min-width: 0; }

.spotlight-avatar {
  width: 92px;
  height: 92px;
  min-width: 92px;
  flex: 0 0 92px;
  aspect-ratio: 1 / 1;
  margin-top: -3.4rem;
  border: 3px solid var(--accent2);
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

.spotlight-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spotlight-name {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}

.spotlight-location { font-size: 0.85rem; color: var(--text-dim); margin-top: 0.15rem; }

.spotlight-submeta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.spotlight-submeta span {
  display: inline-block;
  padding: 0.22rem 0.6rem;
  border: 1px solid var(--border);
  background: var(--site-muted-surface, rgba(255, 255, 255, 0.04));
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-dim);
}

.spotlight-badges {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-end;
}

.badge {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
}

.badge.founding {
  color: var(--accent2);
  border: 1px solid rgba(255, 160, 92, 0.4);
  background: rgba(255, 160, 92, 0.08);
}

.badge.elite {
  color: var(--accent);
  border: 1px solid rgba(44, 224, 199, 0.3);
  background: rgba(44, 224, 199, 0.06);
}

.spotlight-bio {
  padding: 1.35rem 1.75rem;
  font-size: 0.94rem;
  color: var(--text-dim);
  line-height: 1.72;
  border-bottom: 1px solid var(--border);
}

.spotlight-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}

.spotlight-highlight {
  padding: 1rem 1.15rem;
  border-right: 1px solid var(--border);
}

.spotlight-highlight:last-child { border-right: none; }

.spotlight-highlight-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--accent2);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.spotlight-highlight-value {
  display: block;
  color: var(--text-strong);
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.spotlight-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.35rem 1.75rem;
  border-bottom: 1px solid var(--border);
}

.spotlight-product {
  position: relative;
  padding: 0;
  text-align: left;
  cursor: pointer;
  border-radius: 12px;
  transition: transform 180ms ease;
}

.spotlight-product:hover { transform: translateY(-2px); }

.product-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg2);
}

.product-emoji {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: rgba(8, 13, 24, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.product-name {
  display: block;
  margin-bottom: 0.35rem;
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-strong);
  line-height: 1.35;
}

.product-detail {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.product-price {
  display: inline-block;
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-right: 0.5rem;
}

.product-tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border: 1px solid rgba(255, 160, 92, 0.3);
  border-radius: 999px;
  color: var(--accent2);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: middle;
}

.spotlight-footer {
  padding: 1.2rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  background: var(--site-muted-surface, rgba(255, 255, 255, 0.03));
}

.event-label {
  display: block;
  margin-bottom: 0.25rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.event-item { font-size: 0.88rem; color: var(--text); font-weight: 600; }

.spotlight-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.stall-btn {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, filter 180ms ease, background 180ms ease;
  border: none;
}

.stall-btn.outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.stall-btn.outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.stall-btn.filled {
  background: linear-gradient(135deg, var(--accent), #1FB9A6);
  color: var(--on-accent);
  box-shadow: 0 6px 18px rgba(44, 224, 199, 0.18);
}

.stall-btn.filled:hover { filter: brightness(1.05); transform: translateY(-1px); }

.spotlight-text h2 { margin-bottom: 1.4rem; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.spotlight-text h2 span { color: var(--accent2); }
.spotlight-text p { font-size: 0.96rem; line-height: 1.75; color: var(--text-dim); margin-bottom: 1rem; }

.spotlight-quote {
  margin: 1.75rem 0;
  padding: 1.4rem 1.5rem;
  border-left: 3px solid var(--accent2);
  border-radius: 0 14px 14px 0;
  background: rgba(255, 160, 92, 0.06);
}

.spotlight-quote p {
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin: 0;
}

.spotlight-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.66rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent2);
}

.spotlight-points { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; }

.spotlight-point {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
  color: var(--text);
}

.spotlight-point::before {
  content: "\2713";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(44, 224, 199, 0.1);
  border: 1px solid rgba(44, 224, 199, 0.25);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
}

/* --------------------------------------------------------------
   SERVICES
   -------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 1.9rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 16px 40px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(44, 224, 199, 0.32);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 48px rgba(0, 0, 0, 0.3), var(--glow);
}

.service-num {
  position: absolute;
  top: 1.1rem;
  right: 1.5rem;
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(44, 224, 199, 0.16);
  pointer-events: none;
}

.service-icon {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--accent2);
}

.service-card h3 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  margin-bottom: 0.7rem;
}

.service-card p { font-size: 0.9rem; line-height: 1.7; color: var(--text-dim); }

.service-tag {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.28rem 0.75rem;
  border: 1px solid rgba(255, 160, 92, 0.32);
  border-radius: 999px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent2);
}

.service-tag--live {
  color: var(--accent);
  border-color: rgba(44, 224, 199, 0.32);
  background: rgba(44, 224, 199, 0.06);
}

.file-types { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }

.file-badge {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(44, 224, 199, 0.05);
  font-size: 0.74rem;
  font-weight: 500;
  transition: border-color 180ms ease, background 180ms ease;
}

.file-badge:hover { border-color: rgba(44, 224, 199, 0.4); background: rgba(44, 224, 199, 0.1); }

/* --------------------------------------------------------------
   BAZAAR / TIERS
   -------------------------------------------------------------- */
.bazaar-section {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 2rem);
  background:
    radial-gradient(800px 460px at 12% 8%, rgba(44, 224, 199, 0.05), transparent 60%),
    var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.bazaar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: start;
}

.bazaar-lead { margin-bottom: 1.25rem; }

.bazaar-body {
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 1rem;
  max-width: 54ch;
}

.bazaar-copy .btn-primary { margin-top: 1rem; }

.tier-list { display: flex; flex-direction: column; gap: 0.8rem; }

.tier-item {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 1.25rem;
  padding: 1.2rem 1.4rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 12px 32px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tier-item:hover {
  transform: translateY(-2px);
  border-color: rgba(44, 224, 199, 0.32);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 16px 40px rgba(0, 0, 0, 0.28), var(--glow);
}

.tier-left {
  display: grid;
  grid-template-columns: 7.4rem minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  min-width: 0;
}

.tier-kicker {
  display: inline-block;
  margin-top: 0.2rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

.tier-name {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}

.tier-desc { font-size: 0.82rem; color: var(--text-dim); margin-top: 0.25rem; }

.tier-price {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-align: right;
  justify-self: end;
  white-space: nowrap;
}

.tier-per {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0;
}

/* Founding Merchant - the amber hero tier */
.tier-item.founding {
  padding-top: 2.1rem;
  border-color: rgba(255, 160, 92, 0.45);
  background:
    linear-gradient(135deg, rgba(255, 160, 92, 0.1), rgba(255, 160, 92, 0.02) 55%),
    var(--panel);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 16px 44px rgba(0, 0, 0, 0.3), 0 8px 40px rgba(255, 160, 92, 0.12);
}

.tier-item.founding:hover {
  border-color: rgba(255, 160, 92, 0.65);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 20px 52px rgba(0, 0, 0, 0.34), 0 10px 46px rgba(255, 160, 92, 0.18);
}

.tier-flag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.32rem 1rem 0.38rem;
  border-radius: 0 14px 0 12px;
  background: linear-gradient(135deg, var(--accent2), #E8823C);
  color: #2A1608;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tier-item.founding .tier-name { color: var(--accent2); }
.tier-item.founding .tier-price { color: var(--accent2); }

.founding-note {
  margin-top: 0.35rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent2);
}

/* --------------------------------------------------------------
   MAP FEATURES
   -------------------------------------------------------------- */
.map-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.map-feature {
  position: relative;
  display: block;
  padding: 1.7rem 1.7rem 1.9rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 12px 32px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.map-feature:hover {
  transform: translateY(-2px);
  border-color: rgba(44, 224, 199, 0.32);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 16px 40px rgba(0, 0, 0, 0.28), var(--glow);
}

.map-feature::after {
  content: "\2192";
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  color: var(--accent);
  font-size: 1rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.map-feature:hover::after { opacity: 1; transform: translateX(0); }

.map-feature h4 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  margin-bottom: 0.6rem;
}

.map-feature p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.65; }

/* --------------------------------------------------------------
   COMMUNITY
   -------------------------------------------------------------- */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.community-card {
  position: relative;
  overflow: hidden;
  display: block;
  padding: 1.9rem;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 12px 32px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.community-card:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 124, 246, 0.35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 16px 40px rgba(0, 0, 0, 0.28), 0 8px 40px rgba(139, 124, 246, 0.1);
}

.community-kicker {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--accent2);
}

.community-card h3 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  margin-bottom: 0.6rem;
}

.community-card p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.65; }

/* --------------------------------------------------------------
   ABOUT
   -------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.atom-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: spin linear infinite;
}

.ring1 { width: 80%; height: 80%; animation-duration: 26s; border-color: rgba(44, 224, 199, 0.2); }
.ring2 { width: 60%; height: 60%; animation-duration: 19s; animation-direction: reverse; border-color: rgba(255, 160, 92, 0.2); }
.ring3 { width: 40%; height: 40%; animation-duration: 13s; border-color: rgba(139, 124, 246, 0.26); }

.ring1::before, .ring2::before, .ring3::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
}

.ring1::before { background: var(--accent); box-shadow: 0 0 12px rgba(44, 224, 199, 0.6); }
.ring2::before { background: var(--accent2); box-shadow: 0 0 12px rgba(255, 160, 92, 0.6); }
.ring3::before { background: var(--accent3); box-shadow: 0 0 12px rgba(139, 124, 246, 0.6); }

.atom-core {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, rgba(44, 224, 199, 0.25) 60%, transparent 100%);
  box-shadow: 0 0 44px rgba(44, 224, 199, 0.35);
  z-index: 1;
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.about-text h2 { margin-bottom: 1.4rem; }
.about-text p { font-size: 0.98rem; line-height: 1.75; color: var(--text-dim); margin-bottom: 1.25rem; max-width: 60ch; }

/* --------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------- */
#contact {
  max-width: 100%;
  padding: 0;
  background:
    radial-gradient(800px 480px at 88% 12%, rgba(139, 124, 246, 0.05), transparent 60%),
    var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }

.contact-info p {
  font-size: 0.96rem;
  color: var(--text-dim);
  line-height: 1.72;
  margin-bottom: 1.4rem;
  max-width: 56ch;
}

.contact-lead {
  color: var(--text-strong) !important;
  font-size: 1.08rem !important;
  font-weight: 500;
  line-height: 1.6 !important;
}

.contact-notes { display: grid; gap: 1rem; margin-top: 1.9rem; }

.contact-note {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent2);
  border-radius: 0 14px 14px 0;
  background: var(--site-muted-surface, rgba(255, 255, 255, 0.03));
}

.contact-note span {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
}

.contact-note p { margin: 0; font-size: 0.86rem; line-height: 1.65; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 24px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent3), var(--accent2));
  opacity: 0.85;
}

.contact-form-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.25rem;
}

.contact-form-title {
  display: block;
  margin-bottom: 0.35rem;
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}

.contact-form-copy {
  color: var(--text-dim);
  font-size: 0.86rem;
  line-height: 1.62;
  max-width: 32rem;
}

.contact-form-status {
  flex-shrink: 0;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(255, 160, 92, 0.32);
  border-radius: 999px;
  background: rgba(255, 160, 92, 0.07);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--accent2);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }

label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
}

input, textarea, select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--site-input-bg, rgba(255, 255, 255, 0.035));
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus, textarea:focus, select:focus {
  border-color: rgba(44, 224, 199, 0.5);
  box-shadow: 0 0 0 3px rgba(44, 224, 199, 0.1);
}

textarea { resize: vertical; min-height: 130px; }
select option { background: var(--bg2); }

.contact-submit { width: 100%; padding: 0.95rem 1.5rem; }

.contact-msg {
  display: none;
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--accent);
}

.contact-privacy {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.contact-privacy a { color: var(--accent); text-decoration: none; }
.contact-privacy a:hover { text-decoration: underline; }

/* --------------------------------------------------------------
   FADE-IN (IntersectionObserver in index-shell.js)
   -------------------------------------------------------------- */
.fade-in { opacity: 1; transform: translateY(0); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.animate { opacity: 0; transform: translateY(20px); }
.fade-in.animate.visible { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------- */
@media (max-width: 1180px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .ia-trust-strip { flex-wrap: wrap; }
  .ia-trust-divider { display: none; }
  .ia-trust-item { min-width: 42%; }
}

@media (max-width: 900px) {
  nav { padding: 0.8rem 1.25rem; }
  nav:not(.site-nav-enhanced) .nav-links { display: none; }
  .nav-brand-text { display: none; }
  .nav-cta-group { width: auto; }
  .spotlight-inner, .bazaar-inner, .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.75rem; }
  .community-grid, .map-features { grid-template-columns: repeat(2, 1fr); }
  .about-visual { max-width: 300px; }
}

@media (max-width: 768px) {
  .ia-live-banner { justify-content: flex-start; font-size: 0.66rem; gap: 0.5rem; }
  .hero { min-height: 0; padding-top: 3.25rem; padding-bottom: 3rem; text-align: left; }
  .hero-content { align-items: flex-start; }
  .hero-desc { margin-left: 0; }
  .hero-cta { justify-content: flex-start; }
  .ia-search-tags { justify-content: flex-start; }
  .ia-hero-search { max-width: 100%; }
  .ia-search-input { font-size: 0.95rem; padding: 0.75rem 0.6rem; }
  .ia-search-btn { padding: 0 1.1rem; font-size: 0.85rem; }
  .ia-trust-item { min-width: 100%; padding: 0.85rem 0.25rem; }
  .ia-cat-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .ia-cat-card { padding: 1.1rem 0.5rem 1rem; }
  .ia-cat-icon { width: 44px; height: 44px; font-size: 1.3rem; }
  .ia-cat-icon--img { width: 72px; height: 72px; }
  .spotlight-products { grid-template-columns: 1fr; }
  .spotlight-highlights { grid-template-columns: 1fr; }
  .spotlight-highlight { border-right: none; border-bottom: 1px solid var(--border); }
  .spotlight-highlight:last-child { border-bottom: none; }
  .spotlight-meta { flex-direction: column; align-items: flex-start; }
  .spotlight-badges { flex-direction: row; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-header { flex-direction: column; }
}

@media (max-width: 600px) {
  .community-grid, .map-features { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .stat { padding: 1.1rem 0.85rem; }
  .stat-num { font-size: 1.5rem; }
  .stat-label { font-size: 0.72rem; }
  .map-feature, .community-card { padding: 1.4rem; }
}

@media (max-width: 480px) {
  section { padding-left: 1rem; padding-right: 1rem; }
  .ia-categories { padding-left: 1rem; padding-right: 1rem; }
  .hero { padding-left: 1rem; padding-right: 1rem; }
  .hero-title { font-size: clamp(2rem, 9.5vw, 2.7rem); }
  .hero-badge span { white-space: normal; }
  .hero-cta { flex-direction: column; width: 100%; gap: 0.7rem; }
  .hero-cta .btn-primary, .hero-cta .btn-secondary { width: 100%; }
  .stats-bar { padding-left: 1rem; padding-right: 1rem; }
  .ia-trust-strip { padding-left: 1rem; padding-right: 1rem; }
  .spotlight-section, .bazaar-section { padding-left: 1rem; padding-right: 1rem; }
  .contact-inner { padding-left: 1rem; padding-right: 1rem; }
  .ia-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .tier-left { grid-template-columns: 1fr; gap: 0.35rem; }
  .tier-price { font-size: 1.15rem; }
  .spotlight-footer { flex-direction: column; align-items: flex-start; }
  .spotlight-actions { width: 100%; }
  .spotlight-actions .stall-btn { flex: 1; }
  .nav-cta-group .btn-primary, .nav-cta-group .btn-secondary { padding: 0.55rem 0.9rem; min-height: 40px; font-size: 0.82rem; }
}

/* --------------------------------------------------------------
   REDUCED MOTION
   -------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-aurora-blob,
  .ia-live-dot,
  .atom-ring { animation: none !important; }
  .fade-in,
  .fade-in.animate { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { transition-duration: 0.01ms !important; }
}
