/* === MoonGate — Design System === */
:root {
  --bg-deep: #0a1628;
  --bg-surface: #0f1d32;
  --bg-elevated: #152540;
  --gold: #c8a97e;
  --gold-light: #dcc5a0;
  --gold-dim: #8a7454;
  --cream: #f5f0e8;
  --cream-muted: #b8b0a3;
  --white: #ffffff;
  --red-accent: #c44545;
  --green-check: #5ba55b;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg-deep);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

/* === Typography === */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(3rem, 8vw, 6.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-family: var(--font-body); font-weight: 600; }

.accent { color: var(--gold); }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  border: 1px solid var(--gold-dim);
  padding: 0.35rem 1rem;
  border-radius: 2rem;
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 50% 45%, rgba(200,169,126,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 30% 60%, rgba(10,22,40,0.9) 0%, transparent 100%),
    var(--bg-deep);
}

.hero-gate {
  margin-bottom: 3rem;
}

.gate-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: gate-glow 4s ease-in-out infinite;
}

.gate-ring::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(200,169,126,0.2);
}

.gate-inner {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,126,0.15) 0%, transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-label {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  font-style: italic;
}

@keyframes gate-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(200,169,126,0.1); }
  50% { box-shadow: 0 0 40px rgba(200,169,126,0.2); }
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  color: var(--white);
}

.lede {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--cream-muted);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--cream-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gold-dim);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* === Problem === */
.problem {
  padding: 8rem 2rem;
  background: var(--bg-surface);
}
.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.problem h2 {
  color: var(--white);
  margin-bottom: 4rem;
  max-width: 800px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.problem-card {
  background: var(--bg-elevated);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 1px solid rgba(200,169,126,0.1);
  transition: border-color 0.3s;
}
.problem-card:hover {
  border-color: rgba(200,169,126,0.3);
}
.problem-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
}
.problem-card h3 {
  color: var(--white);
  margin-bottom: 0.8rem;
}
.problem-card p {
  color: var(--cream-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* === Capabilities === */
.capabilities {
  padding: 8rem 2rem;
  background: var(--bg-deep);
}
.capabilities-inner {
  max-width: 900px;
  margin: 0 auto;
}
.capabilities h2 {
  color: var(--white);
  margin-bottom: 1rem;
}
.capabilities-lede {
  color: var(--cream-muted);
  font-size: 1.1rem;
  margin-bottom: 4rem;
  max-width: 600px;
}

.cap-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cap-item {
  display: flex;
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(200,169,126,0.12);
  align-items: flex-start;
}
.cap-item:last-child {
  border-bottom: 1px solid rgba(200,169,126,0.12);
}
.cap-number {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-dim);
  font-weight: 400;
  min-width: 2.5rem;
  padding-top: 0.2rem;
}
.cap-content h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.cap-content p {
  color: var(--cream-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* === Economics === */
.economics {
  padding: 8rem 2rem;
  background: var(--bg-surface);
}
.economics-inner {
  max-width: 900px;
  margin: 0 auto;
}
.economics h2 {
  color: var(--white);
  margin-bottom: 3.5rem;
}

.comparison-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.comparison-col {
  padding: 2.5rem 2rem;
  border-radius: 12px;
}
.comparison-col.agency {
  background: var(--bg-elevated);
  border: 1px solid rgba(200,169,126,0.08);
}
.comparison-col.moongate {
  background: linear-gradient(135deg, rgba(200,169,126,0.12) 0%, rgba(200,169,126,0.04) 100%);
  border: 1px solid var(--gold-dim);
}

.col-header {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--cream-muted);
  margin-bottom: 1rem;
}
.moongate .col-header { color: var(--gold); }

.col-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.col-price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--cream-muted);
}
.moongate .col-price { color: var(--gold); }

.comparison-col ul {
  list-style: none;
}
.comparison-col ul li {
  padding: 0.6rem 0;
  font-size: 0.9rem;
  color: var(--cream-muted);
  border-bottom: 1px solid rgba(200,169,126,0.06);
}
.comparison-col ul li:last-child { border-bottom: none; }
.comparison-col ul li.highlight { color: var(--cream); }

/* === Verticals === */
.verticals {
  padding: 8rem 2rem;
  background: var(--bg-deep);
}
.verticals-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.verticals h2 {
  color: var(--white);
  margin-bottom: 3.5rem;
  max-width: 600px;
}
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.vertical-card {
  background: var(--bg-surface);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 1px solid rgba(200,169,126,0.08);
  transition: transform 0.2s, border-color 0.3s;
}
.vertical-card:hover {
  transform: translateY(-2px);
  border-color: rgba(200,169,126,0.25);
}
.v-emoji {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.vertical-card h3 {
  color: var(--white);
  margin-bottom: 0.6rem;
}
.vertical-card p {
  color: var(--cream-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* === Philosophy === */
.philosophy {
  padding: 8rem 2rem;
  background: var(--bg-surface);
  text-align: center;
}
.philosophy-inner {
  max-width: 700px;
  margin: 0 auto;
}

.philosophy-gate { margin-bottom: 2.5rem; }
.gate-ring-sm {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.gate-inner-sm {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,126,0.2) 0%, transparent 70%);
}

.philosophy h2 {
  color: var(--white);
  margin-bottom: 2rem;
  font-style: italic;
}
.philosophy-text {
  color: var(--cream-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.philosophy-closing {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
}

/* === Footer === */
.site-footer {
  padding: 4rem 2rem;
  background: var(--bg-deep);
  text-align: center;
  border-top: 1px solid rgba(200,169,126,0.08);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--cream-muted);
  margin-bottom: 1.5rem;
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--gold-dim);
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero { padding: 3rem 1.5rem; }
  .hero-stats { gap: 1.2rem; }
  .stat-number { font-size: 1.5rem; }
  .stat-divider { height: 30px; }
  .comparison-table { grid-template-columns: 1fr; }
  .cap-item { flex-direction: column; gap: 0.5rem; }
  .cap-number { min-width: auto; }
  .problem, .capabilities, .economics, .verticals, .philosophy {
    padding: 5rem 1.5rem;
  }
  .gate-ring { width: 90px; height: 90px; }
  .gate-inner { width: 60px; height: 60px; }
  .hero-label { font-size: 1.1rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.5rem; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .stat-divider { width: 40px; height: 1px; }
}