/* ===== DELIVERY DRIVERS PAGE ===== */

/* ===== DRIVER HERO ===== */
.driver-hero{
  padding:100px 0 64px;
  background:var(--c-bg-alt);
  border-bottom:1px solid var(--c-border);
  text-align:center;
}
.driver-hero h1{
  font-size:2.6rem;
  line-height:1.15;
  margin-bottom:20px;
  max-width:800px;
  margin-left:auto;
  margin-right:auto;
}
.driver-hero h1 .gradient-text{
  background:var(--c-gradient);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.driver-hero .subtitle{
  font-size:1.15rem;
  color:var(--c-text-muted);
  max-width:620px;
  margin:0 auto 32px;
}
.driver-hero .hero-stats{
  display:flex;
  justify-content:center;
  gap:40px;
  margin-top:40px;
}
.driver-hero .hero-stat-item{text-align:center}
.driver-hero .hero-stat-item .num{
  font-size:1.8rem;
  font-weight:700;
  color:var(--c-green);
}
.driver-hero .hero-stat-item .label{
  font-size:.85rem;
  color:var(--c-text-muted);
  margin-top:4px;
}

/* ===== EARNINGS CALCULATOR ===== */
.calc-section{
  padding:80px 0;
}
.calc-wrapper{
  background:var(--c-surface);
  border:1px solid var(--c-border);
  border-radius:var(--radius-lg);
  padding:48px;
  max-width:960px;
  margin:0 auto;
}
.calc-wrapper h2{
  text-align:center;
  margin-bottom:8px;
}
.calc-intro{
  text-align:center;
  color:var(--c-text-muted);
  margin-bottom:36px;
  font-size:1rem;
}
.calc-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-bottom:32px;
}
.calc-field{display:flex;flex-direction:column;gap:8px}
.calc-field label{
  font-size:.9rem;
  font-weight:600;
  color:var(--c-text);
}
.calc-field select,
.calc-field input[type="range"]{
  width:100%;
}
.calc-field select{
  background:var(--c-bg);
  color:var(--c-text);
  border:1px solid var(--c-border);
  border-radius:8px;
  padding:10px 14px;
  font-size:.95rem;
  appearance:none;
  -webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a0a0a0' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  cursor:pointer;
}
.calc-field select:focus{
  outline:none;
  border-color:var(--c-cyan);
}

/* Range slider styling */
.range-wrap{position:relative}
.range-value{
  display:inline-block;
  font-size:1.1rem;
  font-weight:700;
  color:var(--c-cyan);
  min-width:32px;
  text-align:center;
}
input[type="range"]{
  -webkit-appearance:none;
  appearance:none;
  height:6px;
  background:var(--c-border);
  border-radius:3px;
  outline:none;
  cursor:pointer;
}
input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;
  width:22px;
  height:22px;
  background:var(--c-gradient);
  border-radius:50%;
  border:2px solid var(--c-bg);
  cursor:pointer;
  box-shadow:0 2px 8px rgba(0,217,255,.3);
}
input[type="range"]::-moz-range-thumb{
  width:22px;
  height:22px;
  background:var(--c-cyan);
  border-radius:50%;
  border:2px solid var(--c-bg);
  cursor:pointer;
}

/* Results card */
.calc-results{
  background:var(--c-bg-alt);
  border:1px solid var(--c-border);
  border-radius:var(--radius);
  padding:32px;
  display:none;
}
.calc-results.visible{display:block}
.calc-results h3{
  text-align:center;
  margin-bottom:24px;
  font-size:1.2rem;
}
.results-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-bottom:24px;
}
.result-card{
  background:var(--c-surface);
  border:1px solid var(--c-border);
  border-radius:var(--radius);
  padding:20px;
  text-align:center;
}
.result-card.highlight{
  border-color:var(--c-green);
  background:rgba(0,255,136,.06);
}
.result-label{
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--c-text-muted);
  margin-bottom:8px;
}
.result-value{
  font-size:1.8rem;
  font-weight:700;
  color:var(--c-white);
}
.result-value.positive{color:var(--c-green)}
.result-value.negative{color:#ff6b6b}
.result-sub{
  font-size:.8rem;
  color:var(--c-text-muted);
  margin-top:4px;
}
.result-summary{
  text-align:center;
  padding:20px;
  background:rgba(0,255,136,.08);
  border-radius:var(--radius);
  margin-top:16px;
}
.result-summary p{
  font-size:1rem;
  color:var(--c-text);
  margin-bottom:0;
}
.result-summary strong{color:var(--c-green)}
.result-summary .breakeven{
  font-size:.9rem;
  color:var(--c-text-muted);
  margin-top:8px;
  margin-bottom:0;
}

/* ===== PLATFORM CARDS ===== */
.platforms-section{
  padding:80px 0;
  background:var(--c-bg-alt);
}
.platform-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}
.platform-card{
  background:var(--c-surface);
  border:1px solid var(--c-border);
  border-radius:var(--radius-lg);
  padding:32px 24px;
  text-align:center;
  transition:var(--transition);
}
.platform-card:hover{
  border-color:var(--c-cyan);
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}
.platform-icon{
  font-size:2.4rem;
  margin-bottom:16px;
}
.platform-card h3{
  font-size:1.1rem;
  margin-bottom:12px;
}
.platform-card p{
  font-size:.9rem;
  color:var(--c-text-muted);
  margin-bottom:16px;
}
.platform-stat{
  display:inline-block;
  padding:6px 16px;
  background:rgba(0,255,136,.1);
  border-radius:50px;
  font-size:.85rem;
  font-weight:600;
  color:var(--c-green);
}

/* ===== COMPARISON TABLE ===== */
.comparison-section{
  padding:80px 0;
}
.comparison-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  background:var(--c-surface);
  border:1px solid var(--c-border);
  border-radius:var(--radius-lg);
  overflow:hidden;
}
.comparison-table thead th{
  background:var(--c-bg-alt);
  padding:16px 20px;
  font-size:.85rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--c-text-muted);
  text-align:left;
  border-bottom:1px solid var(--c-border);
}
.comparison-table thead th:first-child{
  border-top-left-radius:var(--radius-lg);
}
.comparison-table thead th:last-child{
  border-top-right-radius:var(--radius-lg);
}
.comparison-table thead th.highlight-col{
  color:var(--c-green);
  background:rgba(0,255,136,.08);
}
.comparison-table tbody td{
  padding:14px 20px;
  font-size:.95rem;
  color:var(--c-text);
  border-bottom:1px solid rgba(255,255,255,.03);
}
.comparison-table tbody tr:last-child td{border-bottom:none}
.comparison-table tbody td:first-child{
  font-weight:600;
  color:var(--c-text-muted);
}
.comparison-table tbody td.highlight-col{
  background:rgba(0,255,136,.04);
  color:var(--c-green);
  font-weight:600;
}
.table-scroll{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border-radius:var(--radius-lg);
}

/* ===== HOTSPOT GRID ===== */
.hotspot-section{
  padding:80px 0;
  background:var(--c-bg-alt);
}
.hotspot-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.hotspot-card{
  background:var(--c-surface);
  border:1px solid var(--c-border);
  border-radius:var(--radius);
  padding:24px 20px;
  transition:var(--transition);
}
.hotspot-card:hover{
  border-color:var(--c-cyan);
  transform:translateY(-2px);
}
.hotspot-card h4{
  font-size:1rem;
  margin-bottom:6px;
}
.hotspot-card .hotspot-type{
  font-size:.8rem;
  color:var(--c-cyan);
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.5px;
  margin-bottom:8px;
}
.hotspot-card p{
  font-size:.85rem;
  color:var(--c-text-muted);
  margin-bottom:0;
}

/* ===== STATS HIGHLIGHTS ===== */
.stats-bar{
  display:flex;
  justify-content:center;
  gap:48px;
  padding:40px 0;
  border-top:1px solid var(--c-border);
  border-bottom:1px solid var(--c-border);
  flex-wrap:wrap;
}
.stat-item{text-align:center}
.stat-item .stat-num{
  font-size:2rem;
  font-weight:700;
  background:var(--c-gradient);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.stat-item .stat-label{
  font-size:.85rem;
  color:var(--c-text-muted);
  margin-top:4px;
}

/* ===== GET STARTED ===== */
.get-started-section{
  padding:80px 0;
}
.get-started-steps{
  display:flex;
  gap:32px;
  justify-content:center;
  margin-top:40px;
}
.gs-step{
  flex:1;
  max-width:280px;
  text-align:center;
}
.gs-step-num{
  width:48px;height:48px;
  background:var(--c-gradient);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:1.2rem;font-weight:700;color:var(--c-bg);
  margin:0 auto 16px;
}
.gs-step h4{margin-bottom:8px}
.gs-step p{font-size:.9rem;color:var(--c-text-muted)}

/* ===== DRIVER CTA ===== */
.driver-cta{
  padding:80px 0;
  background:var(--c-bg-alt);
}
.driver-cta-box{
  background:var(--c-gradient);
  border-radius:var(--radius-lg);
  padding:56px 48px;
  text-align:center;
}
.driver-cta-box h2{
  color:var(--c-bg);
  margin-bottom:12px;
}
.driver-cta-box p{
  color:rgba(26,26,46,.7);
  font-size:1.1rem;
  margin-bottom:28px;
  max-width:600px;
  margin-left:auto;
  margin-right:auto;
}
.driver-cta-box .cta-buttons{
  display:flex;
  gap:16px;
  justify-content:center;
  flex-wrap:wrap;
}
.driver-cta-box .btn-dark{
  background:var(--c-bg);
  color:var(--c-white);
  padding:14px 32px;
  border-radius:50px;
  font-weight:600;
  font-size:1rem;
  border:none;
  cursor:pointer;
  text-decoration:none;
  display:inline-block;
  transition:var(--transition);
}
.driver-cta-box .btn-dark:hover{
  box-shadow:0 8px 24px rgba(0,0,0,.3);
  transform:translateY(-2px);
}
.driver-cta-box .btn-outline-dark{
  background:transparent;
  border:2px solid var(--c-bg);
  color:var(--c-bg);
  padding:12px 32px;
  border-radius:50px;
  font-weight:600;
  font-size:1rem;
  cursor:pointer;
  text-decoration:none;
  display:inline-block;
  transition:var(--transition);
}
.driver-cta-box .btn-outline-dark:hover{
  background:rgba(26,26,46,.15);
}

/* ===== RESPONSIVE 768px ===== */
@media(max-width:768px){
  .driver-hero{padding:70px 0 48px}
  .driver-hero h1{font-size:2rem}
  .driver-hero .hero-stats{gap:24px;flex-wrap:wrap}

  .calc-wrapper{padding:28px 20px}
  .calc-form{grid-template-columns:1fr}
  .results-grid{grid-template-columns:1fr}

  .platform-grid{grid-template-columns:1fr 1fr}

  .comparison-table thead th,
  .comparison-table tbody td{
    padding:10px 12px;
    font-size:.8rem;
  }

  .hotspot-grid{grid-template-columns:1fr 1fr}

  .stats-bar{gap:24px}
  .stat-item .stat-num{font-size:1.6rem}

  .get-started-steps{flex-direction:column;align-items:center}

  .driver-cta-box{padding:40px 24px}
}

/* ===== RESPONSIVE 480px ===== */
@media(max-width:480px){
  .driver-hero h1{font-size:1.6rem}
  .driver-hero .hero-stats{flex-direction:column;gap:16px}
  .driver-hero .hero-stat-item .num{font-size:1.4rem}

  .calc-wrapper{padding:20px 16px}
  .result-value{font-size:1.4rem}

  .platform-grid{grid-template-columns:1fr}

  .hotspot-grid{grid-template-columns:1fr}

  .stats-bar{flex-direction:column;gap:20px}
}
