/* ═══════════════════════════════════════════════════════════════════════
   CLAUDE WORLD — Landing Page Styles
   Dark theme · Purple/blue accent · Linear/Vercel-inspired
   ═══════════════════════════════════════════════════════════════════════ */

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

:root {
  --bg: #0a0a14;
  --bg-alt: #0d0d1a;
  --card: #0d1117;
  --card-hover: #111827;
  --border: #1e2432;
  --border-light: #2a3347;
  --text: #e2e8f0;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --purple: #7c3aed;
  --purple-light: #9f5cf7;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --gradient: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  --gradient-text: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  --radius: 12px;
  --radius-lg: 20px;
  --font:
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "SF Mono", "Cascadia Code", "Fira Code", Consolas, monospace;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.6);
  --glow: 0 0 40px rgba(124, 58, 237, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── Animations ────────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
  }
  50% {
    box-shadow:
      0 0 40px rgba(124, 58, 237, 0.6),
      0 0 60px rgba(37, 99, 235, 0.2);
  }
}

@keyframes borderPulse {
  0%,
  100% {
    border-color: var(--border);
  }
  50% {
    border-color: var(--purple);
  }
}

/* ─── Layout Utilities ──────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Typography ────────────────────────────────────────────────────── */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.0625rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-dim);
  border-color: var(--border-light);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--purple);
  color: var(--text);
  transform: translateY(-1px);
}

/* Shimmer animation on primary CTA */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: shimmer 2.4s linear infinite;
}

.btn-shimmer span {
  position: relative;
  z-index: 1;
}

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

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

.nav-logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.btn) {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.15s;
}

.nav-links a:not(.btn):hover {
  color: var(--text);
}

/* ─── Hero ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 140px 0 80px;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  overflow: hidden;
}

/* Subtle dot-grid background */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(124, 58, 237, 0.12) 1px,
    transparent 1px
  );
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease both;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--purple-light);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-proof {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}

/* City preview card on hero right */
.hero-city-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.float-anim {
  animation: float 5s ease-in-out infinite;
}

.hero-city-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg), var(--glow);
  animation: pulseGlow 4s ease-in-out infinite;
  max-width: 380px;
  width: 100%;
}

.city-mini-preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.city-row {
  display: flex;
  gap: 12px;
}

.city-row.offset {
  margin-left: 32px;
}

.bldg {
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: default;
}

.bldg:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: var(--purple);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
}

.city-label {
  margin-top: 12px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── Zone Feature Cards ────────────────────────────────────────────── */
.zone-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.zone-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: all 0.25s ease;
  overflow: hidden;
}

.zone-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.25s;
}

.zone-card:hover {
  background: var(--card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--glow);
}

.zone-card:hover::before {
  opacity: 1;
}

.zone-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.zone-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.zone-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.zone-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple-light);
  border: 1px solid rgba(124, 58, 237, 0.2);
}

/* ─── Steps / How It Works ──────────────────────────────────────────── */
.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 32px 24px;
}

.step-num {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-mono);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--border-light);
  flex-shrink: 0;
  padding: 0 4px;
}

/* ─── Tech Stats Section ───────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.25s ease;
}

.stat-card:hover {
  border-color: var(--purple);
  transform: translateY(-4px);
  box-shadow: var(--shadow), var(--glow);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--font-mono);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.built-with {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.built-with-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.built-with-logos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--purple-light);
  transition: all 0.2s;
}

.tech-badge:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: var(--purple);
}

.shortcuts-showcase {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.shortcut-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.shortcut-item kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 4px 8px;
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 2px 0 var(--border);
}

.shortcut-item span {
  color: var(--text-muted);
  margin-left: 4px;
}

/* ─── The City Section ──────────────────────────────────────────────── */
.section-city {
  background: var(--bg);
}

.ascii-city {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow-x: auto;
  margin-bottom: 48px;
  box-shadow: var(--shadow), var(--glow);
}

.city-art {
  font-family: var(--font-mono);
  font-size: clamp(0.6rem, 1.1vw, 0.85rem);
  line-height: 1.45;
  color: var(--purple-light);
  white-space: pre;
  text-align: center;
}

.city-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.city-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: all 0.2s;
}

.city-feat:hover {
  border-color: var(--purple);
  color: var(--text);
}

.city-feat-icon {
  font-size: 1rem;
}

/* ─── Zones Legend ──────────────────────────────────────────────────── */
.zones-legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.zone-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
}

.zone-item:hover {
  border-color: var(--border-light);
  background: var(--card-hover);
  transform: translateY(-2px);
}

.zone-emoji {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.zone-item div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.zone-item strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.zone-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ─── Pricing ───────────────────────────────────────────────────────── */
.pricing-card-wrap {
  display: flex;
  justify-content: center;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg), var(--glow);
  position: relative;
  animation: borderPulse 4s ease-in-out infinite;
}

.pricing-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gradient);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.pricing-amount {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-dollar {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 12px;
}

.pricing-number {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-period {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-top: 36px;
  font-weight: 500;
}

.pricing-earlybird {
  font-size: 0.9375rem;
  color: var(--text-dim);
  margin-bottom: 32px;
  padding: 12px 16px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 0.9375rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features li::first-letter {
  color: #4ade80;
}

.pricing-note {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ─── FAQ / Accordion ───────────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--purple);
}

.faq-question {
  list-style: none;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: color 0.15s;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--purple-light);
  font-weight: 300;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

details[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  color: var(--purple-light);
}

.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Download CTA Section ──────────────────────────────────────────── */
.section-download {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  text-align: center;
}

.download-inner {
  max-width: 620px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease both;
}

.download-logo {
  font-size: 4rem;
  margin-bottom: 24px;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.download-inner h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.download-inner p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ─── Footer ────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Tablet (max 1024px) ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .zone-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .zones-legend {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
  }

  .hero-content {
    max-width: 640px;
    margin: 0 auto;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-city-wrap {
    display: none;
  }
}

/* ─── Mobile (max 768px) ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .zone-cards-grid {
    grid-template-columns: 1fr;
  }

  .zones-legend {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .city-art {
    font-size: 0.55rem;
  }
}

/* ─── Small Mobile (max 480px) ──────────────────────────────────────── */
@media (max-width: 480px) {
  .zones-legend {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .city-features {
    flex-direction: column;
    align-items: center;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .hero-title {
    font-size: 2rem;
  }
}
