/* RecoverHVAC — Professional SaaS Stylesheet */

:root {
  --navy: #0a0f1e;
  --navy-2: #111827;
  --navy-3: #1f2937;
  --border: rgba(255,255,255,0.08);
  --orange: #f97316;
  --orange-dark: #ea6c0a;
  --green: #10b981;
  --text: #f9fafb;
  --muted: #9ca3af;
  --subtle: #6b7280;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,15,30,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-logo .dot { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover { border-color: rgba(255,255,255,0.25); }

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  border-radius: 10px;
}

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 7rem 2rem 5rem;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.3);
  color: var(--orange);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #fff;
}

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

.hero p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--subtle);
}

/* ── STATS BAR ── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--navy-2);
  padding: 1.75rem 2rem;
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* ── SECTIONS ── */
section { padding: 5rem 2rem; }

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

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
}

/* ── PROBLEM ── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.problem-card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color 0.2s;
}

.problem-card:hover { border-color: rgba(249,115,22,0.3); }

.problem-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

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

/* ── HOW IT WORKS ── */
.how-bg { background: var(--navy-2); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  margin-top: 3.5rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--green));
  opacity: 0.3;
}

.step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--orange);
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── DASHBOARD PREVIEW ── */
.dashboard-preview {
  margin-top: 3.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy-2);
}

.dashboard-bar {
  background: var(--navy-3);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.dot-red { width: 12px; height: 12px; border-radius: 50%; background: #ef4444; }
.dot-yellow { width: 12px; height: 12px; border-radius: 50%; background: #f59e0b; }
.dot-green { width: 12px; height: 12px; border-radius: 50%; background: #10b981; }

.dashboard-url {
  font-size: 0.78rem;
  color: var(--subtle);
  font-family: monospace;
  margin-left: 0.75rem;
}

.dashboard-content {
  padding: 1.5rem;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dash-metric {
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
}

.dash-metric-label { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.4rem; }
.dash-metric-value { font-size: 1.5rem; font-weight: 800; font-family: monospace; }
.dash-metric-value.green { color: var(--green); }
.dash-metric-value.orange { color: var(--orange); }
.dash-metric-value.blue { color: #60a5fa; }
.dash-metric-sub { font-size: 0.72rem; color: var(--subtle); margin-top: 0.25rem; }

.dash-table-header {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1fr 1fr 1fr;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--subtle);
}

.dash-row {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1fr 1fr 1fr;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  font-size: 0.85rem;
  align-items: center;
}

.dash-row:last-child { border-bottom: none; }

.dash-phone { font-family: monospace; color: var(--muted); }

.tag {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 700;
}

.tag-emergency { background: rgba(239,68,68,0.15); color: #f87171; }
.tag-high { background: rgba(249,115,22,0.15); color: var(--orange); }
.tag-med { background: rgba(96,165,250,0.15); color: #60a5fa; }
.tag-recovered { background: rgba(16,185,129,0.15); color: var(--green); }
.tag-unbooked { background: rgba(249,115,22,0.15); color: var(--orange); }

.dash-value { color: var(--green); font-family: monospace; font-weight: 600; }

.demo-label {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--subtle);
}

/* ── PRICING ── */
.pricing-card {
  max-width: 480px;
  margin: 3rem auto 0;
  background: var(--navy-2);
  border: 1px solid rgba(249,115,22,0.4);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #fbbf24);
}

.pricing-badge {
  display: inline-block;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.3);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-price sup { font-size: 1.5rem; vertical-align: super; }

.pricing-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.75rem 0 1.75rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.55rem 0;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

.pricing-note { font-size: 0.78rem; color: var(--subtle); margin-top: 1rem; }

/* ── CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, rgba(249,115,22,0.1), rgba(16,185,129,0.05));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-section p { color: var(--muted); font-size: 1.05rem; margin-bottom: 2rem; }

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

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

.footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

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

.footer-copy { font-size: 0.8rem; color: var(--subtle); }

/* ── CONTACT FORM ── */
.contact-form {
  max-width: 520px;
  margin: 3rem auto 0;
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* ── INNER PAGE ── */
.page-hero {
  padding: 5rem 2rem 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.prose h2 { font-size: 1.3rem; font-weight: 700; margin: 2rem 0 0.75rem; color: #fff; }
.prose p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 1rem; }
.prose ul { padding-left: 1.5rem; color: var(--muted); font-size: 0.95rem; line-height: 1.9; }

/* ── PRICING GRID ── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-period {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.4rem 0 0.75rem;
}

.pricing-card-pro {
  border-color: rgba(16,185,129,0.3);
}

.pricing-card-pro::before {
  background: linear-gradient(90deg, var(--green), #059669);
}

.roi-box {
  max-width: 640px;
  margin: 2.5rem auto 0;
  background: rgba(249,115,22,0.08);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  text-align: left;
}

.roi-box strong { color: var(--text); }

/* ── FAQ ── */
.faq-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; }

.faq-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.faq-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .steps::before { display: none; }
  .dash-metrics { grid-template-columns: 1fr; }
  .dash-table-header, .dash-row { grid-template-columns: 1fr 1fr 1fr; }
  .dash-table-header span:nth-child(4),
  .dash-table-header span:nth-child(5),
  .dash-row span:nth-child(4),
  .dash-row span:nth-child(5) { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .pricing-grid { grid-template-columns: 1fr; }
}
