:root {
  --primary: #0077be;
  --primary-dark: #004a7c;
  --primary-light: #00a8e8;
  --accent: #00d4ff;
  --white: #ffffff;
  --off-white: #f0f7fc;
  --gray-light: #e8f1f8;
  --gray: #8aa4b8;
  --dark: #0a1628;
  --text: #1a3a52;
  --text-light: #5a7d9a;
  --orange: #e67e22;
  --orange-dark: #d35400;
  --green: #27ae60;
  --red: #e74c3c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--dark);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 40px;
  font-size: 0.85rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.top-bar a { color: var(--accent); text-decoration: none; }
.top-bar a:hover { text-decoration: underline; }
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-right { display: flex; gap: 16px; align-items: center; }
.top-bar-right span { color: rgba(255,255,255,0.7); }
.top-bar-cta {
  background: var(--orange);
  color: white !important;
  padding: 5px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
  transition: background 0.3s;
}
.top-bar-cta:hover { background: var(--orange-dark); text-decoration: none !important; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 38px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.navbar.scrolled { padding: 10px 40px; box-shadow: 0 4px 30px rgba(0,0,0,0.1); }
.nav-logo { display: flex; align-items: center; }
.nav-logo svg { height: 45px; width: auto; }
.nav-links { display: flex; list-style: none; gap: 22px; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary) !important;
  color: white !important;
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark) 0%, #0d2847 50%, #0a3060 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#hero-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(10,22,40,0.3) 0%, rgba(10,22,40,0.5) 50%, rgba(10,22,40,0.8) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 120px 60px 60px;
}
.hero-badge {
  display: inline-block;
  background: rgba(0,168,232,0.15);
  color: var(--accent);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(0,168,232,0.3);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin-bottom: 30px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,119,190,0.35); }
.btn-orange { background: var(--orange); color: white; }
.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(230,126,34,0.35); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

.hero-trust {
  display: flex;
  gap: 30px;
  margin-top: 35px;
  flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.65); font-size: 0.85rem; }
.trust-item strong { color: var(--accent); font-size: 1rem; }

/* ===== SECTION BASE ===== */
.section {
  padding: 90px 40px;
  max-width: 1300px;
  margin: 0 auto;
}
.section-tag {
  display: inline-block;
  background: rgba(0,119,190,0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 700px;
  margin-bottom: 50px;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  background: var(--off-white);
  padding: 90px 40px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 0;
  border-radius: 2px;
}
.step-card {
  text-align: center;
  background: white;
  border-radius: 16px;
  padding: 30px 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s;
}
.step-card:hover { transform: translateY(-5px); }
.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.step-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.5; }

/* ===== PRODUCT CARDS ===== */
.products-section { padding: 90px 40px; max-width: 1300px; margin: 0 auto; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.12); }
.product-card.featured { border: 2px solid var(--primary); }
.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: white;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.product-visual {
  background: linear-gradient(135deg, var(--off-white), #e0eef7);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-visual img { max-height: 200px; width: auto; object-fit: contain; }
.product-info { padding: 24px; }
.product-name { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.product-model { font-size: 0.85rem; color: var(--text-light); margin-bottom: 14px; }
.pipe-size-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #e8f4fd, #d0eafc); border: 2px solid var(--primary-light);
  border-radius: 12px; padding: 10px 18px; margin-bottom: 16px; width: 100%;
}
.pipe-size-badge .pipe-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pipe-size-badge .pipe-icon svg { width: 24px; height: 24px; }
.pipe-size-badge .pipe-text { display: flex; flex-direction: column; }
.pipe-size-badge .pipe-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-light); font-weight: 600; }
.pipe-size-badge .pipe-value { font-size: 1.25rem; font-weight: 800; color: var(--primary-dark); line-height: 1.2; }
.pipe-size-badge .pipe-detail { font-size: 0.72rem; color: var(--text-light); }
.product-card.featured .pipe-size-badge { border-color: var(--primary); background: linear-gradient(135deg, #dff0ff, #c4e3fc); }
.pipe-size-helper {
  display: flex; justify-content: center; gap: 0;
  margin: 20px auto 30px; max-width: 700px;
  background: var(--off-white); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(0,119,190,0.1);
}
.pipe-size-helper .helper-item {
  flex: 1; padding: 14px 12px; text-align: center;
  border-right: 1px solid rgba(0,119,190,0.1);
}
.pipe-size-helper .helper-item:last-child { border-right: none; }
.pipe-size-helper .helper-pipe { font-size: 1.1rem; font-weight: 800; color: var(--primary-dark); }
.pipe-size-helper .helper-label { font-size: 0.72rem; color: var(--text-light); margin-top: 2px; }
@media(max-width:768px) {
  .pipe-size-badge { padding: 8px 14px; }
  .pipe-size-badge .pipe-icon { width: 36px; height: 36px; }
  .pipe-size-badge .pipe-value { font-size: 1.1rem; }
  .pipe-size-helper { flex-direction: column; }
  .pipe-size-helper .helper-item { border-right: none; border-bottom: 1px solid rgba(0,119,190,0.1); padding: 10px; }
  .pipe-size-helper .helper-item:last-child { border-bottom: none; }
}
.product-features { list-style: none; margin-bottom: 18px; }
.product-features li { padding: 4px 0; font-size: 0.88rem; color: var(--text); padding-left: 20px; position: relative; }
.product-features li::before { content: '\2713'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.product-price { font-size: 1.5rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 14px; }
.product-price span { font-size: 0.8rem; font-weight: 400; color: var(--text-light); }
.btn-buy {
  display: block;
  text-align: center;
  background: #f37021;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s;
  margin-bottom: 8px;
}
.btn-buy:hover { background: #d45a0a; }
.btn-then-install {
  display: block;
  text-align: center;
  color: var(--primary);
  font-size: 0.82rem;
  text-decoration: none;
  font-weight: 600;
}

/* ===== WIZARD ===== */
.wizard-section {
  background: linear-gradient(135deg, var(--dark) 0%, #0d2847 100%);
  padding: 90px 40px;
  position: relative;
  overflow: hidden;
}
.wizard-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,168,232,0.08), transparent);
  top: -150px; right: -150px;
  border-radius: 50%;
}
.wizard-inner { max-width: 700px; margin: 0 auto; position: relative; }
.wizard-progress { display: flex; justify-content: space-between; margin-bottom: 40px; position: relative; }
.wizard-progress::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: rgba(255,255,255,0.15);
  z-index: 0;
}
.wizard-progress-fill {
  position: absolute;
  top: 18px;
  left: 10%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 1;
  transition: width 0.5s ease;
  width: 0%;
}
.wizard-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  cursor: pointer;
}
.wizard-step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s;
}
.wizard-step-indicator.active .wizard-step-dot {
  background: var(--primary);
  border-color: var(--accent);
  color: white;
}
.wizard-step-indicator.completed .wizard-step-dot {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.wizard-step-label { font-size: 0.72rem; color: rgba(255,255,255,0.45); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.wizard-step-indicator.active .wizard-step-label { color: var(--accent); }
.wizard-step-indicator.completed .wizard-step-label { color: rgba(255,255,255,0.7); }

.wizard-panel {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  display: none;
}
.wizard-panel.active { display: block; }
.wizard-panel h3 { color: white; font-size: 1.3rem; margin-bottom: 6px; }
.wizard-panel .panel-desc { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 24px; }

.wiz-field { margin-bottom: 18px; }
.wiz-field label { display: block; color: rgba(255,255,255,0.8); font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.wiz-field input, .wiz-field select, .wiz-field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.3s;
}
.wiz-field input::placeholder, .wiz-field textarea::placeholder { color: rgba(255,255,255,0.35); }
.wiz-field input:focus, .wiz-field select:focus, .wiz-field textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.12); }
.wiz-field select option { background: var(--dark); color: white; }
.wiz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.photo-guide {
  background: rgba(0,168,232,0.1);
  border: 1px dashed rgba(0,168,232,0.3);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  text-align: center;
}
.photo-guide-icon { font-size: 2.5rem; margin-bottom: 8px; }
.photo-guide h4 { color: var(--accent); font-size: 0.95rem; margin-bottom: 6px; }
.photo-guide p { color: rgba(255,255,255,0.55); font-size: 0.82rem; line-height: 1.5; }
.photo-upload-area {
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
}
.photo-upload-area:hover { border-color: var(--accent); background: rgba(0,168,232,0.05); }
.photo-upload-area input { display: none; }
.photo-upload-area p { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.photo-upload-area span { color: var(--accent); font-weight: 600; }
.upload-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.wizard-nav { display: flex; justify-content: space-between; margin-top: 30px; }
.btn-wiz {
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-wiz-back { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.2); }
.btn-wiz-back:hover { background: rgba(255,255,255,0.15); }
.btn-wiz-next { background: var(--primary); color: white; }
.btn-wiz-next:hover { background: var(--primary-dark); }
.btn-wiz-submit { background: var(--green); color: white; font-size: 1rem; padding: 14px 36px; }
.btn-wiz-submit:hover { background: #219a52; }

.wizard-success {
  text-align: center;
  padding: 50px 30px;
  display: none;
}
.wizard-success.show { display: block; }
.wizard-success h3 { color: white; font-size: 1.5rem; margin-bottom: 10px; }
.wizard-success p { color: rgba(255,255,255,0.7); font-size: 1rem; }
.success-check { font-size: 3.5rem; margin-bottom: 16px; }

/* Review summary */
.review-grid { display: grid; gap: 12px; }
.review-item { background: rgba(255,255,255,0.06); border-radius: 10px; padding: 12px 16px; }
.review-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.review-value { color: white; font-size: 0.95rem; font-weight: 600; }

/* ===== CALCULATOR ===== */
.calculator-section {
  padding: 90px 40px;
  background: var(--off-white);
}
.calc-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.calc-controls { background: white; border-radius: 20px; padding: 40px; box-shadow: 0 4px 25px rgba(0,0,0,0.06); }
.calc-slider-group { margin-bottom: 28px; }
.calc-slider-group label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 10px;
}
.calc-slider-group label span { color: var(--primary); font-weight: 700; }
.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--gray-light);
  outline: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,119,190,0.3);
}

.calc-results { text-align: center; }
.calc-risk-card {
  background: linear-gradient(135deg, #fff5f5, #ffe8e8);
  border: 2px solid rgba(231,76,60,0.2);
  border-radius: 20px;
  padding: 35px;
  margin-bottom: 20px;
}
.calc-risk-label { font-size: 0.85rem; color: var(--red); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.calc-risk-amount { font-size: 3rem; font-weight: 800; color: var(--red); }
.calc-risk-note { font-size: 0.85rem; color: var(--text-light); margin-top: 8px; }

.calc-protect-card {
  background: linear-gradient(135deg, #f0faf5, #e0f5eb);
  border: 2px solid rgba(39,174,96,0.2);
  border-radius: 20px;
  padding: 35px;
  margin-bottom: 20px;
}
.calc-protect-label { font-size: 0.85rem; color: var(--green); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.calc-protect-amount { font-size: 2.5rem; font-weight: 800; color: var(--green); }

.calc-roi {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.calc-roi p { font-size: 0.95rem; color: var(--text); font-weight: 600; }
.calc-roi strong { color: var(--primary); }
.calc-cta { margin-top: 25px; text-align: center; }

/* ===== INSURANCE ===== */
.insurance-section { padding: 90px 40px; max-width: 1100px; margin: 0 auto; }
.insurance-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.insurance-content h2 { font-size: 2rem; font-weight: 800; margin-bottom: 14px; color: var(--text); line-height: 1.2; }
.insurance-content p { color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.savings-highlight {
  background: linear-gradient(135deg, #f0faf5, #e0f5eb);
  border-left: 4px solid var(--green);
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  margin: 20px 0;
}
.savings-highlight .amount { font-size: 2rem; font-weight: 800; color: var(--green); }
.savings-highlight .label { font-size: 0.85rem; color: var(--text-light); }
.carrier-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}
.carrier-tag {
  background: var(--gray-light);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
}
.insurance-quote {
  background: white;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
}
.insurance-quote blockquote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 16px;
}
.insurance-quote cite { color: var(--text-light); font-size: 0.88rem; font-style: normal; }

/* ===== BEFORE / AFTER ===== */
.before-after-section {
  background: var(--dark);
  padding: 90px 40px;
  color: white;
}
.ba-inner { max-width: 1100px; margin: 0 auto; }
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}
.ba-card {
  border-radius: 16px;
  padding: 35px;
  text-align: center;
}
.ba-card.risk {
  background: rgba(231,76,60,0.1);
  border: 1px solid rgba(231,76,60,0.25);
}
.ba-card.safe {
  background: rgba(39,174,96,0.1);
  border: 1px solid rgba(39,174,96,0.25);
}
.ba-card-icon { font-size: 3rem; margin-bottom: 14px; }
.ba-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.ba-card.risk h3 { color: #ff6b6b; }
.ba-card.safe h3 { color: #5dde8e; }
.ba-card p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.6; }
.ba-stat {
  display: inline-block;
  margin-top: 16px;
  background: rgba(255,255,255,0.06);
  padding: 10px 20px;
  border-radius: 10px;
}
.ba-stat .number { font-size: 1.8rem; font-weight: 800; }
.ba-card.risk .number { color: #ff6b6b; }
.ba-card.safe .number { color: #5dde8e; }
.ba-stat .label { font-size: 0.78rem; color: rgba(255,255,255,0.5); display: block; }

/* ===== CONSULTATION ===== */
.consult-section { padding: 90px 40px; }
.consult-inner {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 24px;
  padding: 60px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.consult-inner::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,212,255,0.15), transparent);
  top: -100px; right: -100px;
  border-radius: 50%;
}
.consult-inner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; position: relative; }
.consult-inner p { font-size: 1.05rem; color: rgba(255,255,255,0.8); margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; position: relative; }
.consult-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  position: relative;
}
.consult-feature { font-size: 0.9rem; color: rgba(255,255,255,0.85); }

/* ===== LEAK ANIMATIONS ===== */
.leak-animation-container {
  background: linear-gradient(135deg, #0a1628, #0d2847);
  border-radius: 24px;
  padding: 40px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
.leak-animation-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 80%, rgba(0,119,190,0.08), transparent 60%);
  pointer-events: none;
}
.leak-animation-title {
  text-align: center;
  color: white;
  font-size: 1.3rem;
  margin-bottom: 24px;
  position: relative;
}
.leak-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.leak-panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px;
  position: relative;
}
.leak-panel-label {
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.leak-svg-wrap { width: 100%; position: relative; }
.leak-svg-wrap svg { width: 100%; height: auto; display: block; }

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--off-white);
  padding: 90px 40px;
}
.testimonials-inner { max-width: 1300px; margin: 0 auto; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.testimonial-stars { color: #f4c430; font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-text { color: var(--text); font-size: 0.95rem; line-height: 1.7; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.testimonial-location { font-size: 0.8rem; color: var(--text-light); }

/* ===== FAQ ===== */
.faq-section {
  padding: 90px 40px;
}
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-light);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--primary); transition: transform 0.3s; }
.faq-item.active .faq-question::after { content: '\2212'; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 24px 20px; color: var(--text-light); line-height: 1.7; font-size: 0.92rem; }

/* ===== SERVICE AREAS ===== */
.areas-section { padding: 90px 40px; background: var(--off-white); }
.areas-inner { max-width: 1300px; margin: 0 auto; }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}
.area-tag {
  display: block;
  background: white;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  text-decoration: none;
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}
.area-tag:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }

/* ===== GUIDES ===== */
.guides-section { padding: 90px 40px; }
.guides-inner { max-width: 1300px; margin: 0 auto; }
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.guide-card {
  background: white;
  border-radius: 14px;
  padding: 28px 22px;
  text-decoration: none;
  display: block;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s;
}
.guide-card:hover { transform: translateY(-4px); }
.guide-icon { font-size: 2rem; margin-bottom: 10px; }
.guide-card h3 { color: var(--primary-dark); font-size: 1rem; margin-bottom: 8px; }
.guide-card p { color: var(--text-light); font-size: 0.85rem; line-height: 1.6; }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 70px 40px 30px;
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h4 { color: white; margin-bottom: 16px; font-size: 1rem; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; }
.footer a:hover { color: var(--accent); }
.footer-brand p { margin-top: 16px; font-size: 0.88rem; line-height: 1.6; }
.footer-bottom {
  max-width: 1300px;
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ===== STICKY MOBILE CTA ===== */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  padding: 12px 20px;
  z-index: 998;
  text-align: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.sticky-mobile-cta a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ===== FLOATING DECORATIONS ===== */
.float-shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.12), transparent);
  pointer-events: none;
}
.float-1 { width: 250px; height: 250px; top: 10%; right: 5%; animation: floatAround 8s ease-in-out infinite; }
.float-2 { width: 180px; height: 180px; bottom: 15%; left: 10%; animation: floatAround 6s ease-in-out infinite 2s; }
@keyframes floatAround {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -30px) scale(1.05); }
  50% { transform: translate(-10px, 15px) scale(0.95); }
  75% { transform: translate(15px, 20px) scale(1.02); }
}

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(25px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.6rem; }
  .hero-content { max-width: 600px; }
  .section, .products-section, .faq-section, .consult-section { padding: 70px 30px; }
  .how-it-works, .calculator-section, .before-after-section, .testimonials-section, .areas-section, .guides-section { padding: 70px 30px; }
  .section-title { font-size: 2rem; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .steps-grid::before { display: none; }
  .products-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .calc-inner { grid-template-columns: 1fr; gap: 30px; }
  .insurance-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .leak-dual-grid { gap: 14px; }
  .float-1 { width: 180px; height: 180px; }
  .float-2 { width: 120px; height: 120px; }
  .wizard-section { padding: 70px 20px; }
  .wizard-panel { padding: 30px; }
  .consult-inner { padding: 45px 30px; }
}

@media (max-width: 768px) {
  .top-bar { padding: 6px 15px; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .top-bar-left { gap: 12px; }
  .top-bar-left .email-link { display: none; }
  .top-bar-right span { display: none; }
  .navbar { padding: 12px 20px; top: 36px; }
  .navbar.scrolled { top: 36px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    gap: 15px;
  }
  .nav-links.active { display: flex; }
  .nav-links a { color: var(--text) !important; font-size: 1rem; }
  .mobile-toggle { display: flex; }

  .hero { min-height: 100svh; }
  .hero-content { padding: 80px 20px 40px; max-width: 100%; }
  .hero h1 { font-size: 1.9rem; }
  .hero p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; padding: 14px 24px; }
  .hero-trust { gap: 16px; }

  .section, .products-section, .faq-section, .consult-section { padding: 50px 16px; }
  .how-it-works, .calculator-section, .before-after-section, .testimonials-section, .areas-section, .guides-section { padding: 50px 16px; }
  .section-title { font-size: 1.6rem; }
  .section-subtitle { font-size: 0.95rem; }

  .steps-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .step-card { padding: 22px 14px; }
  .step-number { width: 40px; height: 40px; font-size: 1.1rem; }

  .products-grid { grid-template-columns: 1fr; }
  .product-visual { height: 180px; }

  .wizard-section { padding: 50px 16px; }
  .wizard-panel { padding: 24px 18px; }
  .wiz-row { grid-template-columns: 1fr; }
  .wizard-step-label { font-size: 0.6rem; }
  .wizard-step-dot { width: 30px; height: 30px; font-size: 0.75rem; }

  .ba-grid { grid-template-columns: 1fr; gap: 20px; }
  .calc-inner { grid-template-columns: 1fr; }
  .insurance-inner { grid-template-columns: 1fr; }

  .leak-dual-grid { grid-template-columns: 1fr; gap: 16px; }
  .leak-animation-container { padding: 24px 14px; }
  .leak-animation-title { font-size: 1.1rem; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
  .guides-grid { grid-template-columns: 1fr; }

  .footer { padding: 50px 20px 25px; }
  .footer-inner { grid-template-columns: 1fr; gap: 25px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .consult-inner { padding: 35px 20px; }
  .consult-inner h2 { font-size: 1.5rem; }
  .consult-features { gap: 16px; }

  .float-1 { width: 140px; height: 140px; }
  .float-2 { width: 90px; height: 90px; }

  .sticky-mobile-cta { display: block; }
  .footer { padding-bottom: 80px; }
  .nav-logo svg { height: 38px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 1.55rem; }
  .hero-content { padding: 70px 14px 30px; }
  .hero p { font-size: 0.9rem; }
  .top-bar-cta { padding: 4px 12px; font-size: 0.75rem; }
  .section, .products-section, .faq-section, .consult-section { padding: 40px 12px; }
  .how-it-works, .calculator-section, .before-after-section, .testimonials-section, .areas-section, .guides-section { padding: 40px 12px; }
  .section-title { font-size: 1.4rem; }
  .steps-grid { grid-template-columns: 1fr; gap: 12px; }
  .step-card { padding: 18px 14px; }
  .product-info { padding: 18px 14px; }
  .wizard-panel { padding: 20px 14px; }
  .wizard-step-label { display: none; }
  .calc-controls { padding: 24px 18px; }
  .calc-risk-amount { font-size: 2.2rem; }
  .calc-protect-amount { font-size: 1.8rem; }
  .testimonial-card { padding: 22px 16px; }
  .faq-question { font-size: 0.9rem; padding: 16px 18px; }
  .areas-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .area-tag { padding: 10px 10px; font-size: 0.82rem; }
  .consult-inner { padding: 28px 16px; }
  .consult-inner h2 { font-size: 1.3rem; }
  .float-1 { width: 100px; height: 100px; }
  .float-2 { width: 70px; height: 70px; }
  .leak-panel { padding: 10px; }
  .leak-panel-label { font-size: 0.6rem; }
}

/* ===== PAGE HERO (for inner pages) ===== */
.page-hero {
  padding: 160px 40px 70px;
  background: linear-gradient(135deg, var(--dark) 0%, #0d2847 50%, #0a3060 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,168,232,0.08), transparent);
  top: -200px; right: -200px;
  border-radius: 50%;
}
.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
  position: relative;
}
.page-hero h1 span { color: var(--accent); }
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 650px;
  margin: 0 auto 30px;
  line-height: 1.7;
  position: relative;
}
.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  position: relative;
}
.page-hero .breadcrumb a { color: var(--accent); text-decoration: none; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }

/* Inner page content */
.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
}
.page-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}
.page-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 30px 0 12px;
}
.page-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 1rem;
}

/* About page specifics */
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 40px 0;
}
.value-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  text-align: center;
}
.value-card .icon { font-size: 2.5rem; margin-bottom: 14px; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text); }
.value-card p { font-size: 0.88rem; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}
.contact-info-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.contact-info-card h3 { margin-top: 0; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  font-size: 1rem;
}
.contact-item .icon { font-size: 1.3rem; }
.contact-item a { color: var(--primary); text-decoration: none; font-weight: 600; }
.contact-item a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .page-hero { padding: 120px 20px 50px; }
  .page-hero h1 { font-size: 1.8rem; }
  .page-content { padding: 50px 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .page-hero { padding: 100px 14px 35px; }
  .page-hero h1 { font-size: 1.5rem; }
  .page-content { padding: 35px 12px; }
}

/* ===== TIMELINE ===== */
.timeline-container {
  position: relative;
  padding-left: 40px;
  margin-top: 50px;
}
.timeline-container::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent, #00a8e8), #004a7c);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -34px;
  top: 5px;
  width: 16px;
  height: 16px;
  background: var(--accent, #00a8e8);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--accent, #00a8e8), 0 2px 8px rgba(0,168,232,0.3);
}
.timeline-content {
  background: white;
  border-radius: 12px;
  padding: 25px 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.06);
}
.timeline-day {
  display: inline-block;
  background: rgba(0,168,232,0.1);
  color: var(--accent, #00a8e8);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.timeline-content h3 {
  font-size: 1.2rem;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.timeline-content p {
  color: #555;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 768px) {
  .timeline-container { padding-left: 30px; }
  .timeline-item { padding-left: 20px; }
  .timeline-dot { left: -28px; width: 14px; height: 14px; }
  .timeline-content { padding: 20px; }
}
.page-hero-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}
