/* ============================================
   CivilTakeoff — Landing Page
   Design: Dark, Sleek, Modern, Professional
   ============================================ */

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

:root {
  --bg: #06090F;
  --bg-raised: #0C1117;
  --bg-card: #111820;
  --bg-card-hover: #161D27;
  --white: #F0F2F5;
  --text: #C5CCD6;
  --text-muted: #6B7A8D;
  --border: #1C2533;
  --border-light: #253242;
  --accent: #00B4D8;
  --accent-glow: rgba(0, 180, 216, 0.15);
  --accent-strong: #00D4FF;
  --accent-dim: #0891B2;
  --danger: #EF4444;
  --danger-bg: rgba(239, 68, 68, 0.08);
  --danger-border: rgba(239, 68, 68, 0.2);
  --success: #10B981;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --radius: 10px;
  --nav-h: 64px;
  --max-w: 1120px;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 32px;
  background: rgba(6, 9, 15, 0.8);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .logo-icon {
  width: 32px;
  height: 32px;
  position: relative;
}

.nav-logo .logo-icon svg {
  width: 100%;
  height: 100%;
}

.nav-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}

.nav-logo .logo-main {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
}

.nav-logo .logo-sub {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

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

.btn-start {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--bg);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 6px;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

.btn-start:hover {
  background: var(--accent-strong);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-1px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 80px) 32px 100px;
  background: var(--bg);
  overflow: hidden;
}

/* Grid background */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 180, 216, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 180, 216, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 0;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 20%, transparent 100%);
}

.hero-glow { display: none; }

.hero-glow-blue {
  display: block;
  position: absolute;
  top: 10%;
  left: 40%;
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-cyan {
  display: block;
  position: absolute;
  top: 30%;
  right: 30%;
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}

.hero-badge .badge-star {
  color: var(--accent);
  font-size: 12px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.hero-headline {
  font-size: clamp(44px, 7vw, 78px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-headline .line-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subhead {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--bg);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 0 32px var(--accent-glow), 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 32px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ghost:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

/* --- Mockup --- */
.hero-mockup {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.mockup-window {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 180, 216, 0.05),
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(0, 180, 216, 0.04);
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}

.titlebar-dots {
  display: flex;
  gap: 6px;
}

.titlebar-dots span { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }

.titlebar-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 8px;
  letter-spacing: 0.02em;
}

.mockup-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  gap: 12px;
  flex-wrap: wrap;
}

.toolbar-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toolbar-filename {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
}

.toolbar-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-complete {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.toolbar-actions {
  display: flex;
  gap: 8px;
}

.toolbar-btn {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.01em;
}

.toolbar-btn-export {
  background: var(--accent);
  color: var(--bg);
  border: none;
}

.toolbar-btn-export:hover { background: var(--accent-strong); }

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

/* Takeoff Table */
.takeoff-table {
  width: 100%;
  border-collapse: collapse;
}

.takeoff-table thead { background: var(--bg-raised); }

.takeoff-table th {
  padding: 10px 16px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.takeoff-table th:last-child,
.takeoff-table td:last-child { text-align: right; }

.takeoff-table td {
  padding: 11px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.takeoff-table tr:last-child td { border-bottom: none; }

.takeoff-table tbody tr {
  transition: background 0.12s;
  cursor: default;
}

.takeoff-table tbody tr:hover { background: rgba(0, 180, 216, 0.03); }
.takeoff-table tbody tr.row-highlighted { background: rgba(0, 180, 216, 0.06); }

.row-highlight-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
}

.takeoff-table tbody tr td:first-child {
  position: relative;
  padding-left: 18px;
}

.cat-tag {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
}

.cat-earthwork {
  background: rgba(245, 158, 11, 0.12);
  color: #FBBF24;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.cat-utilities {
  background: rgba(59, 130, 246, 0.12);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.cat-paving {
  background: rgba(139, 92, 246, 0.12);
  color: #A78BFA;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.cat-erosion {
  background: rgba(16, 185, 129, 0.12);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.takeoff-table .qty {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--white);
}

.takeoff-table .item-name {
  font-weight: 500;
  color: var(--text);
}

.takeoff-table .unit {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.mockup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
}

.mockup-footer-stat {
  font-size: 11px;
  color: var(--text-muted);
}

.mockup-footer-stat span {
  color: var(--accent);
  font-weight: 700;
}

.mockup-processing {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
}

.processing-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: stretch;
}

.stat-item {
  flex: 1;
  padding: 44px 20px;
  text-align: center;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  height: 36px;
  width: 1px;
  background: var(--border);
}

.stat-value {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-value .stat-accent { 
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* ============================================
   SECTIONS — COMMON
   ============================================ */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 16px;
}

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

/* ============================================
   PROBLEM
   ============================================ */
.problem-section {
  background: var(--bg-raised);
  padding: 120px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-section .headline-red { color: var(--danger); }

.problem-intro {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 64px;
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.problem-card {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  padding: 40px 32px;
  border-radius: var(--radius);
  transition: all 0.2s;
}

.problem-card::before { display: none; }

.problem-card:hover { 
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.problem-number {
  font-size: clamp(48px, 6vw, 60px);
  font-weight: 800;
  line-height: 1;
  color: var(--danger);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.problem-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.problem-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-section {
  background: var(--bg);
  padding: 120px 32px;
}

.how-header {
  text-align: center;
  margin-bottom: 72px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(16.666% + 22px);
  right: calc(16.666% + 22px);
  height: 1px;
  background: var(--border-light);
}

.step {
  padding: 0 32px;
  text-align: center;
}

.step-num {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-num-circle {
  width: 44px; height: 44px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  background: var(--bg);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 16px var(--accent-glow);
}

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

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

.step-detail {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.step-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.step-detail-item::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}

/* ============================================
   FEATURES
   ============================================ */
.features-section {
  background: var(--bg-raised);
  padding: 120px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: var(--radius);
  transition: all 0.25s;
}

.feature-card::after { display: none; }

.feature-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 42px; height: 42px;
  background: rgba(0, 180, 216, 0.08);
  border: 1px solid rgba(0, 180, 216, 0.15);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   PRICING
   ============================================ */
.pricing-section {
  background: var(--bg);
  padding: 120px 32px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 64px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  position: relative;
  transition: all 0.25s;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  border-color: var(--border-light);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 40px var(--accent-glow);
}

.pricing-card.featured:hover {
  box-shadow: 0 0 0 1px var(--accent), 0 0 60px var(--accent-glow), 0 12px 32px rgba(0, 0, 0, 0.4);
}

.pricing-badge {
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 0 0 6px 6px;
}

.pricing-plan {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.featured .pricing-plan { color: var(--accent); }

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 8px;
}

.price-dollar {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
}

.price-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-left: 2px;
}

.pricing-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
}

.pricing-features .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
}

.btn-pricing {
  width: 100%;
  padding: 13px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: block;
  text-align: center;
  letter-spacing: 0.01em;
}

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

.btn-pricing-outline:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.btn-pricing-featured {
  background: var(--accent);
  color: var(--bg);
}

.btn-pricing-featured:hover {
  background: var(--accent-strong);
  box-shadow: 0 0 24px var(--accent-glow);
}

.pricing-trust {
  text-align: center;
  margin-top: 48px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.pricing-trust::before,
.pricing-trust::after {
  content: '';
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: var(--border);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
  background: var(--bg-raised);
  padding: 120px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.25s;
}

.testimonial-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.testimonial-quote {
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.4;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 28px;
}

.testimonial-text strong { color: var(--white); }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.author-title {
  font-size: 11px;
  color: var(--text-muted);
}

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  position: relative;
  background: var(--bg);
  padding: 120px 32px;
  text-align: center;
  overflow: hidden;
}

.final-cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(0, 180, 216, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.final-cta-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.final-cta-headline {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
}

.final-cta-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 44px;
  line-height: 1.7;
}

.btn-cta-final {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--bg);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

.btn-cta-final:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 0 40px var(--accent-glow), 0 8px 24px rgba(0, 0, 0, 0.3);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo .logo-main {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--white);
}

.footer-logo .logo-sub {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

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

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

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .problem-cards,
  .steps,
  .pricing-cards,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

  .steps::before { display: none; }

  .step {
    padding: 28px 0;
    text-align: left;
    border-bottom: 1px solid var(--border);
  }

  .step:last-child { border-bottom: none; }

  .step-num { justify-content: flex-start; }

  .stats-inner { flex-direction: column; }

  .stat-item + .stat-item::before { display: none; }

  .stat-item {
    padding: 24px 20px;
    border-bottom: 1px solid var(--border);
  }

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

@media (max-width: 768px) {
  .nav { padding: 0 16px; }
  .nav-links { display: none; }

  .problem-section,
  .how-section,
  .features-section,
  .pricing-section,
  .testimonials-section {
    padding: 80px 16px;
  }

  .hero { padding: calc(var(--nav-h) + 40px) 16px 60px; }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary, .btn-ghost { justify-content: center; }

  .mockup-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer { padding: 32px 16px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .final-cta { padding: 80px 16px; }

  .takeoff-table th:nth-child(3),
  .takeoff-table td:nth-child(3) { display: none; }
}

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }