/* ===================================================
   SiteCommand — Orbital Intelligence for Construction
   Dark industrial / mission control aesthetic
   =================================================== */

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

:root {
  --bg: #090909;
  --bg-secondary: #0F0F0F;
  --bg-card: #141414;
  --accent: #FF3B30;
  --accent-dim: rgba(255, 59, 48, 0.15);
  --green: #00E870;
  --green-dim: rgba(0, 232, 112, 0.15);
  --yellow: #FFC72C;
  --yellow-dim: rgba(255, 199, 44, 0.15);
  --text-primary: #F2F2F2;
  --text-secondary: rgba(242, 242, 242, 0.55);
  --text-muted: rgba(242, 242, 242, 0.3);
  --border: rgba(255, 255, 255, 0.06);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ===================================================
   TYPOGRAPHY UTILITIES
   =================================================== */
.label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.label--green { color: var(--green); }
.label--muted { color: var(--text-muted); }

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(32px, 4vw, 56px);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 540px;
}

/* ===================================================
   NAVIGATION
   =================================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  background: rgba(9, 9, 9, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Space Grotesk', monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  text-transform: uppercase;
}

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

.nav-cta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 2px;
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.85; }

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

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255, 59, 48, 0.06) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.015) 79px, rgba(255,255,255,0.015) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.015) 79px, rgba(255,255,255,0.015) 80px);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 59, 48, 0.3);
  border-radius: 2px;
  margin-bottom: 32px;
}

.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.hero h1 {
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 1.02;
  margin-bottom: 32px;
  letter-spacing: -0.03em;
}

.hero h1 .accent { color: var(--accent); }
.hero h1 .dim { color: var(--text-secondary); }

.hero-sub {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 48px;
  font-weight: 400;
}

.hero-tagline {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: 'Space Grotesk', monospace;
  font-weight: 500;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #090909;
  background: var(--accent);
  padding: 16px 32px;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s;
}

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

.btn-secondary {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 16px 32px;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 2px;
  transition: all 0.2s;
}

.btn-secondary:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.2); }

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

.hero-stat-val {
  font-size: 32px;
  font-weight: 700;
  font-family: 'Space Grotesk', monospace;
  color: var(--text-primary);
}

.hero-stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===================================================
   SECTION LAYOUT
   =================================================== */
.section {
  padding: 100px 64px;
  border-top: 1px solid var(--border);
}

.section--dark { background: var(--bg-secondary); }
.section--card { background: var(--bg-card); }

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

.section-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-family: 'Space Grotesk', monospace;
  margin-bottom: 16px;
}

/* ===================================================
   PROBLEM SECTION
   =================================================== */
.problem-lines {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.problem-line {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.problem-line:first-child { border-top: 1px solid var(--border); }

.problem-line-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Space Grotesk', monospace;
  letter-spacing: 0.1em;
  min-width: 40px;
  padding-top: 4px;
}

.problem-line h3 {
  font-size: clamp(22px, 2.5vw, 32px);
  margin-bottom: 12px;
  line-height: 1.2;
}

.problem-line p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
}

/* ===================================================
   HOW IT WORKS
   =================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.step-card {
  background: var(--bg);
  padding: 48px 40px;
  position: relative;
}

.step-num {
  font-family: 'Space Grotesk', monospace;
  font-size: 64px;
  font-weight: 700;
  color: rgba(255, 59, 48, 0.15);
  line-height: 1;
  margin-bottom: 24px;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-icon {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 24px;
  opacity: 0.2;
}

/* ===================================================
   WHAT YOU GET
   =================================================== */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
}

.deliverable-card {
  background: var(--bg);
  padding: 36px 32px;
  transition: background 0.2s;
}

.deliverable-card:hover { background: var(--bg-secondary); }

.deliverable-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 20px;
}

.deliverable-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  letter-spacing: 0;
  line-height: 1.3;
}

.deliverable-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===================================================
   PRICING
   =================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}

.pricing-card {
  background: var(--bg);
  padding: 56px 48px;
  position: relative;
}

.pricing-card--featured {
  background: var(--bg-card);
}

.pricing-card--featured::before {
  content: 'STANDARD';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  color: #090909;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-align: center;
  padding: 8px;
}

.pricing-card--featured { padding-top: 80px; }

.pricing-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-family: 'Space Grotesk', monospace;
}

.pricing-name {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  margin-bottom: 40px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 12px;
}

.pricing-cta {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #090909;
  background: var(--accent);
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s;
}

.pricing-cta:hover { background: #FF5252; }

/* ===================================================
   CTA SECTION
   =================================================== */
.cta-section {
  background: var(--accent-dim);
  border-top: 1px solid rgba(255, 59, 48, 0.2);
  padding: 120px 64px;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(36px, 4.5vw, 64px);
  margin-bottom: 24px;
  line-height: 1.1;
}

.cta-section p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.7;
}

.cta-form {
  display: flex;
  gap: 0;
  max-width: 500px;
  margin: 0 auto;
}

.cta-form input {
  flex: 1;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid rgba(255, 59, 48, 0.3);
  border-right: none;
  color: var(--text-primary);
  font-size: 14px;
  font-family: 'Space Grotesk', sans-serif;
  outline: none;
  border-radius: 2px 0 0 2px;
}

.cta-form input::placeholder { color: var(--text-muted); }

.cta-form button {
  padding: 16px 28px;
  background: var(--accent);
  color: #090909;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 0 2px 2px 0;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'Space Grotesk', sans-serif;
}

.cta-form button:hover { background: #FF5252; }

.cta-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}

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

.footer-brand {
  font-family: 'Space Grotesk', monospace;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.footer-brand span { color: var(--accent); }

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

/* ===================================================
   STATUS BADGES
   =================================================== */
.status-grid {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}

.status-dot--red { background: var(--accent); }
.status-dot--green { background: var(--green); }
.status-dot--yellow { background: var(--yellow); }

/* ===================================================
   MOBILE RESPONSIVE
   =================================================== */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; }
  .hero h1 { font-size: 42px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stat-val { font-size: 24px; }
  .section { padding: 60px 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-form { flex-direction: column; }
  .cta-form input { border-right: 1px solid rgba(255, 59, 48, 0.3); border-bottom: none; border-radius: 2px; }
  .cta-form button { border-radius: 2px; padding: 16px; }
  footer { flex-direction: column; gap: 16px; text-align: center; padding: 40px 24px; }
  .problem-line { flex-direction: column; gap: 12px; }
  .problem-line-num { min-width: auto; }
}