/* ============================================
   SiteStack Theme — Phoenix Local Agency
   ============================================ */

:root {
  --bg: #0f0f1a;
  --bg-2: #161625;
  --fg: #f5f0e8;
  --fg-2: #a8a3b0;
  --accent: #f59e0b;
  --accent-2: #fbbf24;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --border: rgba(245, 158, 11, 0.18);
  --card-bg: #161625;
  --card-border: rgba(245, 158, 11, 0.12);
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 26, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

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

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

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

/* ---- HERO ---- */
.hero {
  padding: 6rem 2rem 5rem;
  position: relative;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.hero-lede {
  font-size: 1.05rem;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 440px;
}

/* hero visual column */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
}

.hero-badge--secondary {
  border-color: var(--border);
  background: var(--accent-dim);
}

.badge-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-2);
  font-weight: 500;
}

.badge-price {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
}

.badge-sub {
  font-size: 1rem;
  color: var(--fg-2);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem 0.8rem;
  background: var(--card-bg);
  border-right: 1px solid var(--border);
}

.stat:last-child { border-right: none; }

.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg-2);
  margin-top: 0.25rem;
  text-align: center;
}

.hero-divider {
  max-width: 1100px;
  margin: 0 auto;
  height: 1px;
  background: var(--border);
}

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 7rem 2rem;
  background: var(--bg-2);
  position: relative;
}

.manifesto::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(245,158,11,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.manifesto-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.manifesto-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 680px;
  margin-bottom: 2rem;
  color: var(--fg);
}

.manifesto-body {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.manifesto-body p {
  font-size: 1rem;
  color: var(--fg-2);
  line-height: 1.75;
}

.manifesto-shift {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 620px;
}

.shift-line {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card-bg);
}

.shift-line--new {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.shift-marker {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-2);
  background: rgba(255,255,255,0.06);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 0.1rem;
  font-weight: 600;
}

.shift-marker--new {
  color: var(--accent);
  background: rgba(245,158,11,0.2);
}

.shift-desc {
  font-size: 0.88rem;
  color: var(--fg-2);
  line-height: 1.5;
}

/* ---- SERVICES ---- */
.services {
  padding: 7rem 2rem;
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.services-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.2s ease;
}

.service-card:hover {
  border-color: var(--border);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.service-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--fg-2);
  line-height: 1.65;
}

/* ---- PROCESS ---- */
.process {
  padding: 7rem 2rem;
  background: var(--bg-2);
}

.process-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.process-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 4rem;
  max-width: 500px;
}

.process-steps {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.step {
  flex: 0 0 auto;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
  opacity: 0.6;
}

.step-title {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
}

.step-desc {
  font-size: 0.82rem;
  color: var(--fg-2);
  line-height: 1.6;
}

.step-connector {
  flex: 0 0 auto;
  width: 60px;
  height: 1px;
  background: var(--border);
  margin: 0 0.5rem;
  align-self: flex-start;
  margin-top: 1.8rem;
}

/* ---- DEMOS ---- */
.demos {
  padding: 7rem 2rem;
}

.demos-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.demos-headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 3rem;
}

.demos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.demo-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}

.demo-badge {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-2);
  background: rgba(255,255,255,0.06);
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.demo-badge--accent {
  color: var(--accent);
  background: var(--accent-dim);
}

.demo-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.demo-meta {
  font-size: 0.78rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.demo-desc {
  font-size: 0.88rem;
  color: var(--fg-2);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.demo-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  font-size: 0.7rem;
  color: var(--fg-2);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-weight: 500;
}

/* ---- CLOSING ---- */
.closing {
  padding: 8rem 2rem;
  background: var(--bg-2);
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.closing-inner {
  max-width: 680px;
  margin: 0 auto;
}

.closing-quote {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-size: 0.95rem;
  color: var(--fg-2);
  line-height: 1.7;
}

/* ---- FOOTER ---- */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--accent);
}

.footer-meta {
  font-size: 0.78rem;
  color: var(--fg-2);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--fg-2);
  opacity: 0.6;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    gap: 1.5rem;
  }

  .hero-lede {
    max-width: 100%;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .demos-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .step {
    width: 100%;
    border-left: 2px solid var(--accent);
    padding-left: 1.5rem;
    margin-left: -1.5rem;
    padding-bottom: 2.5rem;
  }

  .step-connector {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    padding: 4rem 1.5rem 3.5rem;
  }

  .manifesto, .services, .process, .demos, .closing {
    padding: 5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat {
    padding: 1rem 0.4rem;
  }

  .stat-num {
    font-size: 1.2rem;
  }
}