/* ── CSS DESIGN SYSTEM FOR KARYAK ── */

:root {
  /* Harmonious Color Palette */
  --bg: #141414;
  --surface: #1c1c1c;
  --card: #222222;
  --border: #2e2e2e;
  --border-hover: #3d3d3d;
  
  --text-main: #f0ede8;
  --text-muted: #888580;
  --text-dim: #555250;
  
  --gold: #f0b429;
  --gold-dark: #c88a14;
  --gold-glow: rgba(240, 180, 41, 0.15);
  
  --green: #22bb66;
  --green-glow: rgba(34, 187, 102, 0.15);
  --red: #e8334a;
  --red-glow: rgba(232, 51, 74, 0.15);
  --blue: #3b9eff;
  --blue-glow: rgba(59, 158, 255, 0.15);
  
  --glass-bg: rgba(28, 28, 28, 0.7);
  --glass-border: rgba(46, 46, 46, 0.8);
  
  --nav-height: 80px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* ── RESET & BASE STYLES ── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-main);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-dim);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
}

.gold-text {
  color: var(--gold);
}

.section-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-desc {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 40px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background: var(--gold);
  color: #141414;
}
.btn-primary:hover {
  background: var(--gold-dark);
  box-shadow: 0 4px 20px var(--gold-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-outline:hover:not(:disabled) {
  color: var(--text-main);
  border-color: var(--text-muted);
}
.btn-outline:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-main, .logo-footer {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 2px;
  color: var(--text-main);
  font-weight: 700;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-link:hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  outline: none;
}

/* Mobile Navigation */
.mobile-menu {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.mobile-link:hover {
  color: var(--gold);
}

/* ── HERO SECTION ── */
.hero-section {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

/* Radial light backgrounds */
.hero-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(240, 180, 41, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(59, 158, 255, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-glow);
  border: 1px solid rgba(240, 180, 41, 0.25);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
}

.icon-gold {
  color: var(--gold) !important;
  fill: none;
}

.hero-content h1 {
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.95;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
}

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

/* ── CSS PHONE MOCKUP ── */
.hero-mockup {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.phone-wrapper {
  position: relative;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.7));
}

.phone-case {
  width: 290px;
  height: 590px;
  background: #000;
  border-radius: 28px;
  padding: 8px;
  border: 4px solid var(--border);
  position: relative;
  overflow: hidden;
}

.phone-camera {
  width: 8px;
  height: 8px;
  background: #222;
  border-radius: 50%;
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.8);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 24px;
}

/* App Mockup Inner Styling */
.app-header {
  padding: 24px 16px 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 1;
}

.app-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-muted);
}
.app-location svg {
  width: 12px;
  height: 12px;
}

.app-body-slider {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.app-body-slider::-webkit-scrollbar {
  display: none;
}

.app-slide {
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.5s ease, opacity 0.5s ease;
  position: absolute;
  inset: 16px;
  display: none;
}

.app-slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  inset: 0;
  display: flex;
  flex-direction: column;
}

.promo-carousel {
  margin-bottom: 16px;
}

.promo-card {
  background: linear-gradient(135deg, #261f0f 0%, #171510 100%);
  border: 1px solid rgba(240, 180, 41, 0.2);
  border-radius: 12px;
  padding: 12px;
  position: relative;
}

.promo-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--gold);
  color: #141414;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.promo-card h4 {
  font-size: 11px;
  color: var(--gold);
  margin-bottom: 2px;
}

.promo-card p {
  font-size: 9px;
  color: var(--text-muted);
}

.category-heading {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.cat-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: var(--transition);
}

.cat-item span {
  font-size: 8px;
  color: var(--text-muted);
}

.cat-item.active {
  border-color: var(--gold);
  background: var(--gold-glow);
}
.cat-item.active span {
  color: var(--gold);
  font-weight: 600;
}

.cat-icon {
  font-size: 16px;
}

.active-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list-heading {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pro-card-mini {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  gap: 10px;
}

.pro-avatar {
  width: 32px;
  height: 32px;
  background: var(--border-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
}

.pro-details {
  flex: 1;
}

.pro-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pro-details strong {
  font-size: 11px;
}

.pro-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 8px;
  color: var(--green);
  font-weight: 600;
}
.pro-badge-verified svg {
  width: 8px;
  height: 8px;
}

.pro-details p {
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 2px;
}

.pro-footer-row {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 4px;
}

.price-indicator {
  color: var(--gold);
  font-weight: 600;
}

.app-footer-nav {
  height: 48px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #141414;
  padding-bottom: 4px;
}

.footer-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-dim);
}

.footer-nav-item svg {
  width: 14px;
  height: 14px;
}

.footer-nav-item span {
  font-size: 8px;
}

.footer-nav-item.active {
  color: var(--gold);
}

/* ── HOW IT WORKS SECTION ── */
.how-it-works-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(32px, 4vw, 42px);
  margin-bottom: 12px;
}

.toggle-container {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: 100px;
  margin-top: 16px;
}

.toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.toggle-btn.active {
  background: var(--gold);
  color: #141414;
}

.workflow-container {
  display: none;
}

.workflow-container.active {
  display: block;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}

.workflow-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
}

.workflow-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.step-number {
  position: absolute;
  top: 24px;
  right: 32px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 40px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
}

.step-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-glow);
  border: 1px solid rgba(240, 180, 41, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.step-icon svg {
  color: var(--gold);
  width: 24px;
  height: 24px;
}

.workflow-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
}

.workflow-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
}

/* ── INTERACTIVE LIVE MAP SIMULATOR ── */
.simulator-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
}

.simulator-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.simulator-info h2 {
  font-size: clamp(32px, 4vw, 42px);
  margin-bottom: 16px;
}

.simulator-info p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 32px;
}

/* Live Logging Console */
.log-console {
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8);
}

.console-header {
  background: #141414;
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

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

.console-title {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 6px;
}

.console-body {
  height: 150px;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.log-line {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: -0.2px;
}

.system-log { color: var(--text-muted); }
.info-log { color: var(--blue); }
.success-log { color: var(--green); }
.warning-log { color: var(--gold); }
.error-log { color: var(--red); }

.simulator-actions {
  display: flex;
  gap: 16px;
}

.simulator-map-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 480px;
  box-shadow: var(--shadow);
}

#map {
  width: 100%;
  height: 100%;
  background: #111; /* fallback dark background */
}

/* Map override styles for premium dark layout */
.leaflet-container {
  font-family: 'DM Sans', sans-serif !important;
}

.leaflet-bar {
  border: 1px solid var(--border) !important;
  background: var(--surface) !important;
}

.leaflet-bar a {
  background: var(--surface) !important;
  color: var(--text-main) !important;
  border-bottom: 1px solid var(--border) !important;
}

.leaflet-bar a:hover {
  background: var(--border-hover) !important;
}

.map-overlay-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1000;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(240, 180, 41, 0.7);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(240, 180, 41, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(240, 180, 41, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(240, 180, 41, 0);
  }
}

/* Simulator Custom Marker Animation styling */
.custom-marker-pulsing {
  border-radius: 50%;
  background: rgba(240, 180, 41, 0.15);
  border: 2px solid var(--gold);
  box-shadow: 0 0 10px rgba(240, 180, 41, 0.4);
}

.custom-marker-pulsing.customer {
  background: rgba(59, 158, 255, 0.15);
  border-color: var(--blue);
  box-shadow: 0 0 10px rgba(59, 158, 255, 0.4);
}

/* ── ESTIMATOR SECTION ── */
.estimator-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

.estimator-header {
  text-align: center;
  margin-bottom: 48px;
}

.estimator-header h2 {
  font-size: clamp(32px, 4vw, 42px);
  margin-bottom: 12px;
}

.estimator-tabs-container {
  max-width: 900px;
  margin: 0 auto;
}

.estimator-tab-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.est-tab-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 600;
  padding: 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.est-tab-btn.active {
  background: var(--card);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: var(--shadow);
}

.estimator-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.estimator-tab-content {
  display: none;
}

.estimator-tab-content.active {
  display: block;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--gold);
  font-weight: 600;
}

.form-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-main);
  padding: 12px 16px;
  font-size: 15px;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus {
  border-color: var(--gold);
}

/* Custom dropdown icon style */
.input-group {
  position: relative;
}

.input-group select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23888580'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
}

.form-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  outline: none;
}

.form-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  transition: var(--transition);
}

.form-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(240, 180, 41, 0.4);
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  cursor: pointer;
}

.checkbox-group label {
  cursor: pointer;
  user-select: none;
}

.form-checkbox {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  cursor: pointer;
  display: grid;
  place-content: center;
  outline: none;
}

.form-checkbox::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  background: var(--gold);
  border-radius: 2px;
  transition: 0.12s transform ease-in-out;
}

.form-checkbox:checked::before {
  transform: scale(1);
}

.form-checkbox:checked {
  border-color: var(--gold);
}

.calc-results {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.calc-results h3 {
  font-size: 18px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.receipt-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

.receipt-row.total {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 0;
}

.receipt-row.total span:last-child {
  color: var(--gold);
}

.calc-disclaimer {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: auto;
  padding-top: 24px;
}

.pro-incentive-badge {
  display: flex;
  gap: 12px;
  background: rgba(34, 187, 102, 0.08);
  border: 1px solid rgba(34, 187, 102, 0.2);
  padding: 16px;
  border-radius: 8px;
  margin-top: auto;
}

.pro-incentive-badge svg {
  color: var(--green);
  flex-shrink: 0;
}

.pro-incentive-badge span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.earnings-total span:last-child {
  color: var(--green) !important;
}

/* ── FEATURES MATRIX ── */
.features-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feat-icon-wrapper {
  width: 48px;
  height: 48px;
  background: var(--gold-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feat-icon-wrapper svg {
  color: var(--gold);
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
}

/* ── TRUST & POLICIES ── */
.policies-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
}

.policies-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.policies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.policy-block.text-side h2 {
  font-size: clamp(32px, 4vw, 42px);
  margin-bottom: 20px;
}

.policy-block.text-side p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 32px;
}

.policy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.policy-list li {
  display: flex;
  gap: 16px;
}

.dot-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.green-bg { background: var(--green); }
.red-bg { background: var(--red); }
.blue-bg { background: var(--blue); }

.policy-list li strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.policy-list li div {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.policy-card-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 440px;
  margin: 0 auto;
}

.ui-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.ui-card:hover {
  transform: translateX(6px);
}

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

.ui-icon {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.green-text { color: var(--green); background: var(--green-glow); }
.yellow-text { color: var(--gold); background: var(--gold-glow); }
.red-text { color: var(--red); background: var(--red-glow); }

.border-green { border-left: 4px solid var(--green); }
.border-yellow { border-left: 4px solid var(--gold); }
.border-red { border-left: 4px solid var(--red); }

.ui-card h4 {
  font-size: 14px;
  margin-bottom: 2px;
}

.ui-card p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── FAQ SECTION ── */
.faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

.faq-accordion-group {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-main);
  padding: 24px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
}

.faq-arrow {
  color: var(--text-muted);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 24px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  padding-bottom: 24px;
  font-weight: 300;
}

/* Active FAQ State */
.faq-item.active {
  border-color: var(--gold);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--gold);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* high threshold */
}

/* ── DOWNLOAD CTA ── */
.download-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.download-box {
  background: linear-gradient(135deg, #1c1c1c 0%, #151515 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow);
}

.download-text h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 12px;
}

.download-text p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 40px;
  max-width: 500px;
}

.download-options {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.app-segment h3 {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.badges-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  background: #000;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 165px;
}

.store-badge:hover {
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.gold-border {
  border-color: rgba(240, 180, 41, 0.3) !important;
}
.gold-border:hover {
  border-color: var(--gold) !important;
}

.badge-icon {
  font-size: 22px;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.sub-txt {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

.main-txt {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 2px;
  line-height: 1.2;
}

.download-qr-box {
  display: flex;
  justify-content: center;
}

.qr-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.qr-code {
  width: 160px;
  height: 160px;
  background: #fff;
  border-radius: 8px;
  margin: 0 auto 16px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-pixels {
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0 0h30v30H0zM10 10h10v10H10zM70 0h30v30H70zM80 10h10v10H80zM0 70h30v30H0zM10 80h10v10H10zM40 10h10v10H40zM50 30h10v10H50zM30 40h10v10H30zM70 40h10v10H70zM60 60h10v10H60zM40 70h10v10H40zM80 70h10v10H80zM50 80h10v10H50zM90 90h10v10H90z' fill='%23141414'/%3E%3C/svg%3E") no-repeat center center;
  background-size: cover;
}

.qr-card p {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── FOOTER ── */
.main-footer {
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  background: #0f0f0f;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 260px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.social-links a:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.footer-links h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.links-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.links-column a {
  font-size: 14px;
  color: var(--text-muted);
}

.links-column a:hover {
  color: var(--gold);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
  color: var(--text-dim);
}

.hosting-note a {
  text-decoration: underline;
}

/* ── RESPONSIVE DESIGN ── */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-badge, .hero-actions, .hero-stats {
    justify-content: center;
  }
  
  .hero-actions {
    margin-bottom: 40px;
  }
  
  .simulator-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .policies-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-cta {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .download-box {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }
  
  .download-qr-box {
    display: none;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 40px;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .estimator-card {
    padding: 24px 16px;
  }
  
  .estimator-tab-buttons {
    grid-template-columns: 1fr;
  }
  
  .calc-results {
    padding: 20px 16px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── LOGO INTRO ANIMATIONS & MOCKUP SCREENS ── */

.logo-img {
  height: 32px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 8px rgba(240, 180, 41, 0.2));
  transition: var(--transition);
}
.logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(240, 180, 41, 0.4));
}

.logo-img-footer {
  height: 46px;
  width: auto;
  display: block;
}

.logo-text-inline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 2px;
  color: var(--text-main);
  font-weight: 700;
  line-height: 1;
}

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

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

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.store-badge.coming-soon {
  opacity: 0.5;
  cursor: not-allowed;
  border-style: dashed;
}
.store-badge.coming-soon:hover {
  transform: none;
  border-color: var(--border);
}

/* ── SPLIT PANEL INTRO SPLASH ── */
.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  pointer-events: all;
}

.intro-panel {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: #141414;
  z-index: 1;
  transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1);
}

.intro-panel-left {
  left: 0;
}

.intro-panel-right {
  right: 0;
}

.intro-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  transition: opacity 0.8s cubic-bezier(0.85, 0, 0.15, 1), transform 0.8s cubic-bezier(0.85, 0, 0.15, 1);
}

.intro-logo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-logo {
  height: 140px;
  width: auto;
  opacity: 0;
  transform: scale(0.6) rotate(-15deg);
  animation: logoEntrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  filter: drop-shadow(0 0 20px rgba(240, 180, 41, 0.3));
}

.logo-glow-ring {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.5);
  animation: ringExpansion 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  animation-delay: 0.8s;
  pointer-events: none;
}

.intro-loading-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.intro-loading-progress {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  box-shadow: 0 0 12px var(--gold);
  border-radius: 10px;
  animation: barProgress 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Keyframes */
@keyframes logoEntrance {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-20deg);
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 35px rgba(240, 180, 41, 0.6));
  }
}

@keyframes ringExpansion {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  30% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
    border-width: 1px;
  }
}

@keyframes barProgress {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

/* Outgoing states */
.intro-overlay.fade-out .intro-content {
  opacity: 0;
  transform: scale(1.2);
}

.intro-overlay.fade-out .intro-panel-left {
  transform: translateX(-100%);
}

.intro-overlay.fade-out .intro-panel-right {
  transform: translateX(100%);
}

.intro-overlay.fade-out {
  pointer-events: none;
}

/* Hero elements starting states */
.hero-content, .hero-mockup {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

body.intro-complete .hero-content {
  opacity: 1;
  transform: translateY(0);
}

body.intro-complete .hero-mockup {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* ── ABOUT SECTION STYLING ── */
.about-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

.about-content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow);
}

.about-lead {
  font-size: 18px;
  color: var(--text-main);
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 40px;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.about-col h3 {
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 12px;
  margin-top: 24px;
}

.about-col h3:first-of-type {
  margin-top: 0;
}

.about-col p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

.about-footer-note {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 40px;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}

@media (max-width: 768px) {
  .about-content-card {
    padding: 32px 20px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── CONTACT SECTION STYLING ── */
.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-intro {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.contact-info-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.contact-info-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  background: var(--gold-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon-box svg {
  color: var(--gold);
  width: 22px;
  height: 22px;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
}

.info-value {
  font-size: 15px;
  color: var(--text-main);
  word-break: break-all;
}

.contact-alert-box {
  background: rgba(240, 180, 41, 0.05);
  border: 1px solid rgba(240, 180, 41, 0.2);
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 800px;
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.contact-alert-box svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.contact-alert-box p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-thanks {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--gold);
  letter-spacing: 2px;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 32px 20px;
  }
  .contact-alert-box {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}
