/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #0d0d1a;
  --ink-2: #141428;
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --amber-glow: rgba(245, 158, 11, 0.25);
  --steel: #4a6fa5;
  --steel-dim: rgba(74, 111, 165, 0.15);
  --off-white: #f0ebe3;
  --muted: #8a8aa3;
  --border: rgba(255,255,255,0.07);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--ink);
  color: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 60px;
}

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

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle at center, rgba(245,158,11,0.12) 0%, transparent 65%);
  border-radius: 50%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 70% 50%, black 20%, transparent 70%);
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-dim);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 20px;
  padding: 6px 14px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-text h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--off-white);
  margin-bottom: 24px;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1.1;
}
.stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Dispatch Card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.dispatch-card {
  background: var(--ink-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(245,158,11,0.06);
}

.dispatch-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.dispatch-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--off-white);
  letter-spacing: 0.03em;
}

.dispatch-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #22c55e;
  letter-spacing: 0.05em;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.dispatch-job {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
}

.dispatch-job--urgent {
  border-color: rgba(239,68,68,0.3);
  background: rgba(239,68,68,0.06);
}

.job-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.job-type--emergency { color: #ef4444; }
.job-type--maintenance { color: var(--steel); }
.job-type--install { color: var(--amber); }

.job-address {
  font-size: 13px;
  font-weight: 600;
  color: var(--off-white);
  margin-bottom: 2px;
}

.job-time {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 2px;
}

.job-tech {
  font-size: 11px;
  color: var(--amber);
  font-weight: 500;
}

.dispatch-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--muted);
}

.dispatch-coverage {
  color: #22c55e;
  font-weight: 600;
}

.ambient-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(245,158,11,0.06);
  pointer-events: none;
  animation: ring-pulse 4s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* ===== PROBLEM ===== */
.problem {
  padding: 100px 0;
  background: var(--ink-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 20px;
}

.problem h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 56px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.problem-card {
  background: var(--ink-2);
  padding: 40px 36px;
}

.problem-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--amber-dim);
  border: 1px solid rgba(245,158,11,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 24px;
}

.problem-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 14px;
}

.problem-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ===== FEATURES ===== */
.features { padding: 100px 0; }

.features-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.features h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 64px;
}

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

.feature-card {
  background: var(--ink-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(245,158,11,0.25);
  transform: translateY(-2px);
}

.feature-num {
  font-family: 'Fraunces', serif;
  font-size: 52px;
  font-weight: 300;
  color: rgba(245,158,11,0.15);
  line-height: 1;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 16px;
}

.feature-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--amber);
  font-style: italic;
}

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 80px 0;
  background: var(--ink-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}

.quote-mark {
  font-family: 'Fraunces', serif;
  font-size: 80px;
  line-height: 0.5;
  color: var(--amber);
  opacity: 0.4;
  margin-bottom: 16px;
}

.manifesto-quote blockquote {
  font-family: 'Fraunces', serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--off-white);
  margin-bottom: 16px;
}

.manifesto-quote cite {
  font-size: 13px;
  color: var(--muted);
  font-style: normal;
}

.manifesto-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.mstat {
  padding: 24px 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.mstat-value {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 4px;
}

.mstat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 500;
}

/* ===== CLOSING ===== */
.closing {
  padding: 100px 0 120px;
  text-align: center;
}

.closing-inner { max-width: 700px; margin: 0 auto; padding: 0 40px; }

.closing h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.closing > .closing-inner > p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 40px;
}

.closing-pricing { margin-bottom: 40px; }

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.price-amount {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.price-period {
  font-size: 18px;
  color: var(--muted);
  font-weight: 400;
}

.price-note {
  font-size: 13px;
  color: var(--muted);
}

.closing-vision p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(240, 235, 227, 0.5);
  font-style: italic;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-brand {
  margin-bottom: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--muted);
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(240,235,227,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--off-white); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .manifesto-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 40px; }
  .hero-inner, .problem-inner, .features-inner, .manifesto-inner, .closing-inner, .footer-inner { padding: 0 20px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
}