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

:root {
  --midnight: #0f1923;
  --deep: #162233;
  --gold: #d4a843;
  --gold-light: #e8c06a;
  --cream: #f4efe6;
  --cream-muted: #ddd8cc;
  --text-primary: #f4efe6;
  --text-secondary: #a09080;
  --surface: #1a2738;
  --surface-alt: #1f2f45;
  --border: rgba(212, 168, 67, 0.15);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--midnight);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15, 25, 35, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 32px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(212, 168, 67, 0.07) 0%, transparent 70%);
}

.hero-arc {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 700px;
  background: radial-gradient(ellipse at center top, rgba(26, 39, 56, 0.8) 0%, transparent 70%);
  border-radius: 50%;
}

/* Stars */
.hero-star {
  position: absolute;
  border-radius: 50%;
  background: rgba(244, 239, 230, 0.6);
  animation: twinkle 3s ease-in-out infinite alternate;
}
.hero-star-1 { width: 2px; height: 2px; top: 12%; left: 18%; animation-delay: 0s; }
.hero-star-2 { width: 3px; height: 3px; top: 28%; left: 75%; animation-delay: 1s; }
.hero-star-3 { width: 2px; height: 2px; top: 60%; left: 88%; animation-delay: 2s; }

@keyframes twinkle {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

/* Subtle constellation lines */
.hero-bg::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 14%;
  width: 200px;
  height: 120px;
  border-top: 1px solid rgba(212, 168, 67, 0.06);
  border-right: 1px solid rgba(212, 168, 67, 0.06);
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 30%;
  right: 18%;
  width: 160px;
  height: 90px;
  border-top: 1px solid rgba(212, 168, 67, 0.05);
  border-left: 1px solid rgba(212, 168, 67, 0.05);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

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

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.pill {
  display: inline-block;
  padding: 7px 18px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--cream-muted);
  background: rgba(212, 168, 67, 0.04);
  letter-spacing: 0.03em;
}

/* ── Shared Section Styles ── */
.categories, .listings-preview, .manifesto, .closing {
  padding: 100px 32px;
}

.listings-preview { background: var(--deep); }

.categories-inner, .listings-inner, .manifesto-inner, .closing-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 56px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ── Categories ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s;
}

.category-card:hover {
  border-color: rgba(212, 168, 67, 0.35);
  transform: translateY(-3px);
}

.category-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 168, 67, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 20px;
}

.category-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}

.category-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Listings Preview ── */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.listing-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.listing-tag {
  display: inline-block;
  width: fit-content;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.listing-tag-merchant { background: rgba(212, 168, 67, 0.15); color: var(--gold-light); }
.listing-tag-restaurant { background: rgba(106, 170, 255, 0.15); color: #8ec4ff; }
.listing-tag-rental { background: rgba(140, 220, 160, 0.15); color: #a4e8b8; }
.listing-tag-creator { background: rgba(200, 140, 255, 0.15); color: #d4b8ff; }
.listing-tag-experience { background: rgba(255, 160, 100, 0.15); color: #ffb68c; }

.listing-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
  margin-top: 4px;
}

.listing-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}

.listing-meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.7;
  letter-spacing: 0.02em;
  margin-top: 4px;
}

/* ── Manifesto ── */
.manifesto-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 40px;
  opacity: 0.6;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  color: var(--cream);
  line-height: 1.4;
  margin-bottom: 36px;
  max-width: 780px;
}

.manifesto-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 700px;
  margin-bottom: 20px;
}

/* ── Closing ── */
.closing {
  background: var(--deep);
  text-align: center;
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--cream);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Footer ── */
.footer {
  background: var(--midnight);
  border-top: 1px solid var(--border);
  padding: 48px 32px;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-style: italic;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(160, 144, 128, 0.5);
  letter-spacing: 0.03em;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .category-grid, .listing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero { padding: 90px 20px 60px; }
  .hero-headline { font-size: 2.4rem; }
  .hero-sub br { display: none; }
  .categories, .listings-preview, .manifesto, .closing { padding: 64px 20px; }
  .category-grid, .listing-grid { grid-template-columns: 1fr; }
  .section-title { margin-bottom: 36px; }
  .manifesto-quote { font-size: 1.25rem; }
  .nav-tagline { display: none; }
}
