@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-deep: #0a0a0a;
  --bg-surface: #141414;
  --bg-card: #1a1a1a;
  --border: #2a2a2a;
  --text-primary: #f0ece4;
  --text-secondary: #8a857d;
  --text-muted: #5a5650;
  --accent: #d4a853;
  --accent-dim: rgba(212, 168, 83, 0.15);
  --accent-glow: rgba(212, 168, 83, 0.3);
  --steel: #3a3a3a;
  --concrete: #252525;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(212, 168, 83, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(212, 168, 83, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  opacity: 0.4;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 32px;
}

.hero h1 span {
  color: var(--accent);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ===== DIVIDER ===== */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0;
}

/* ===== WHAT WE BUILD ===== */
.what-we-build {
  padding: 120px 40px;
  background: var(--bg-surface);
  position: relative;
}

.what-we-build::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
}

.section-header {
  margin-bottom: 80px;
}

.section-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.01em;
}

.builds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.build-card {
  background: var(--bg-card);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.build-card:hover {
  background: var(--concrete);
}

.build-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.build-icon {
  font-size: 1.8rem;
  margin-bottom: 20px;
  display: block;
  filter: grayscale(50%);
}

.build-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

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

/* ===== TIERS ===== */
.tiers {
  padding: 120px 40px;
  background: var(--bg-deep);
}

.tiers-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
}

.tier-card {
  background: var(--bg-surface);
  padding: 48px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.tier-card.featured {
  background: var(--bg-card);
  border: 1px solid var(--accent-dim);
}

.tier-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.tier-tag {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
}

.tier-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  margin-bottom: 8px;
}

.tier-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.tier-features {
  list-style: none;
  flex: 1;
}

.tier-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.tier-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

/* ===== MARKET ===== */
.market {
  padding: 120px 40px;
  background: var(--bg-surface);
}

.market-content {
  max-width: 800px;
}

.market-pull-quote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 40px;
  color: var(--text-primary);
}

.market-pull-quote span {
  color: var(--accent);
}

.market-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
}

/* ===== CLOSING ===== */
.closing {
  padding: 160px 40px;
  text-align: center;
  background: var(--bg-deep);
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  opacity: 0.3;
}

.closing h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  margin-bottom: 24px;
}

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

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

/* ===== FOOTER ===== */
footer {
  padding: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-deep);
}

.footer-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.footer-location {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-quote-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--accent-glow);
  transition: border-color 0.2s;
}

.footer-quote-link:hover {
  border-color: var(--accent);
}

/* ===== SHARED BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #0a0a0a;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 32px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: #e0b860;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 32px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: var(--steel);
  color: var(--text-primary);
}

/* ===== HERO ACTIONS ===== */
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* ===== TIER CTA ===== */
.tier-cta {
  display: block;
  margin-top: 28px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  transition: color 0.2s;
}

.tier-cta:hover {
  color: var(--accent);
}

.tier-cta.featured-cta {
  color: var(--accent);
}

.tier-cta.featured-cta:hover {
  color: #e0b860;
}

/* ===== GALLERY ===== */
.gallery {
  padding: 120px 40px;
  background: var(--bg-surface);
  position: relative;
}

.gallery .section-header {
  margin-bottom: 60px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 400px;
  margin-top: 16px;
  line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.ba-pair {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ba-slot {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ba-placeholder {
  width: 100%;
  height: 100%;
  background: var(--concrete);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--border);
  transition: background 0.3s;
}

.ba-placeholder.premium {
  background: var(--bg-card);
  border-color: var(--accent-dim);
}

.ba-placeholder.premium::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(212, 168, 83, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.ba-placeholder-icon {
  font-size: 2rem;
  opacity: 0.3;
  color: var(--accent);
}

.ba-placeholder.premium .ba-placeholder-icon {
  opacity: 0.6;
}

.ba-placeholder-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  padding: 0 16px;
  line-height: 1.5;
}

.ba-placeholder.premium .ba-placeholder-label {
  color: var(--text-secondary);
}

.ba-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 8px;
  z-index: 2;
}

.before-tag {
  background: var(--concrete);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.after-tag {
  background: var(--accent);
  color: #0a0a0a;
}

.ba-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  padding-top: 4px;
  letter-spacing: 0.05em;
}

.gallery-cta {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.gallery-cta p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    padding: 100px 24px 60px;
    min-height: auto;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn-primary,
  .btn-ghost {
    text-align: center;
    width: 100%;
    max-width: 320px;
  }

  .what-we-build,
  .tiers,
  .market,
  .gallery {
    padding: 80px 24px;
  }

  .builds-grid,
  .tiers-container,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .gallery-grid {
    gap: 40px;
  }

  .closing {
    padding: 100px 24px;
  }

  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 3.2rem;
  }

  .build-card,
  .tier-card {
    padding: 32px 24px;
  }
}