/* ═══════════════════════════════════════════════
   SmartWay — Drivers Pro page styles
   ═══════════════════════════════════════════════ */

/* ── Back link ── */
.drv-back {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.35);
  text-decoration: none; transition: color var(--fast);
  padding: .35em .75em; border-radius: var(--r-full);
  border: 1px solid transparent;
}
.drv-back:hover { color: var(--neon); border-color: var(--green-border); }

/* ── PRO badge in navbar ── */
.drv-pro-badge {
  display: inline-block; font-size: .6rem; font-weight: 800; letter-spacing: .1em;
  background: var(--neon); color: var(--dark-forest); padding: .15em .5em;
  border-radius: var(--r-full); vertical-align: middle; margin-left: .25rem;
  text-transform: uppercase;
}

/* ── Hero ── */
.drv-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--nav-height) + 5rem) 2rem 6rem;
  overflow: hidden; background: var(--bg-main);
}
.drv-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(34,255,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,255,110,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
}
.drv-grid::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 50%, transparent 30%, rgba(7,28,19,0.9));
}
.drv-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.drv-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--neon); background: var(--green-tint); border: 1px solid var(--green-border);
  padding: .3em 1em; border-radius: var(--r-full); margin-bottom: 2rem;
}
.drv-hero h1 { font-size: clamp(2.8rem,6vw,5.5rem); margin-bottom: 1.25rem; }
.drv-hero > .drv-hero-inner > p { font-size: 1.15rem; color: rgba(255,255,255,.55); max-width: 520px; margin: 0 auto 3rem; }

/* Stats row */
.drv-stats-row {
  display: flex; justify-content: center; gap: 0; flex-wrap: nowrap;
  background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg); overflow: hidden; margin: 0 auto 2.5rem; max-width: 560px;
}
.drv-stat-big {
  flex: 1; padding: 1.5rem 1rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.drv-stat-big:last-child { border-right: none; }
.drv-stat-big .dsb-val {
  font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 900; letter-spacing: -.06em;
  color: var(--neon); line-height: 1;
}
.drv-stat-big .dsb-label {
  font-size: .72rem; color: rgba(255,255,255,.35); margin-top: .35rem; font-weight: 500;
}
.drv-hero-ctas { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn-lg { padding: 1em 2.4em; font-size: 1rem; }
.scroll-hint-drv {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.2); animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(6px)}}

/* ── Steps ── */
.drv-steps {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start;
  gap: 0; margin-top: 3rem;
}
.drv-step {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2rem 1.5rem;
  position: relative; overflow: hidden; transition: all var(--base) var(--ease-out);
}
.drv-step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--neon); opacity: 0; transition: opacity var(--base);
}
.drv-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--green-border); }
.drv-step:hover::before { opacity: 1; }
.step-num {
  font-size: 3.5rem; font-weight: 900; letter-spacing: -.07em; line-height: 1;
  background: linear-gradient(130deg, var(--neon), #1DB954);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  opacity: .2; margin-bottom: .5rem;
}
.step-icon-wrap {
  width: 44px; height: 44px; border-radius: var(--r-sm);
  background: var(--green-tint); border: 1px solid var(--green-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--neon); margin-bottom: 1rem;
}
.step-icon-wrap svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.drv-step h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.drv-step p { font-size: .85rem; color: var(--text-muted); line-height: 1.7; }
.step-arrow {
  display: flex; align-items: center; justify-content: center;
  color: rgba(34,255,110,0.25); padding: 0 1rem; margin-top: 2.5rem;
}
.step-arrow svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ── Dashcam section ── */
.drv-cam-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center; margin-top: 3rem;
}
.cam-visual {
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 2.5rem; text-align: center;
  position: relative; overflow: hidden;
}
.cam-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(34,255,110,0.04), transparent);
}
.cam-visual img { max-width: 85%; margin: 0 auto; position: relative; z-index: 1; }
.cam-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--neon); color: var(--dark-forest);
  font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .3em .8em; border-radius: var(--r-full);
}
.cam-info h3 { font-size: 1.8rem; margin-bottom: .75rem; }
.cam-info p { color: rgba(255,255,255,.55); margin-bottom: 2rem; line-height: 1.75; }
.cam-specs { display: flex; flex-direction: column; gap: .55rem; }
.cam-spec {
  display: flex; align-items: center; gap: .85rem; font-size: .875rem;
  color: rgba(255,255,255,.65); padding: .7rem 1rem;
  background: rgba(255,255,255,0.03); border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.06);
}
.cam-spec-icon { color: var(--neon); width: 16px; flex-shrink: 0; }
.cam-spec strong { color: #fff; margin-right: .25rem; }

/* Install steps */
.install-steps { display: flex; flex-direction: column; gap: .5rem; margin-top: 2rem; }
.install-step {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: .85rem 1rem; background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05); border-radius: var(--r-md);
}
.install-step-num {
  width: 24px; height: 24px; border-radius: 50%; background: var(--green-tint);
  border: 1px solid var(--green-border); color: var(--neon); font-size: .7rem;
  font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.install-step p { font-size: .83rem; color: rgba(255,255,255,.55); margin: 0; line-height: 1.6; }
.install-step p strong { color: rgba(255,255,255,.85); display: block; margin-bottom: 2px; }

/* ── Revenue / km utile ── */
.km-explainer {
  max-width: 800px; margin: 3rem auto 0;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 2.5rem; overflow: hidden; position: relative;
}
.km-explainer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
}
.km-formula {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  flex-wrap: wrap; margin: 2rem 0;
}
.km-val {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: .85rem 1.25rem;
  font-size: 1rem; font-weight: 800; color: rgba(255,255,255,.8); text-align: center;
}
.km-val .kv-label { font-size: .68rem; color: rgba(255,255,255,.3); font-weight: 500; display: block; margin-bottom: 2px; }
.km-val .kv-num { color: var(--neon); }
.km-op { color: rgba(255,255,255,.2); font-size: 1.4rem; font-weight: 300; }
.km-result {
  background: var(--neon); color: var(--dark-forest); border-radius: var(--r-md);
  padding: .85rem 1.75rem; font-size: 1.4rem; font-weight: 900; text-align: center;
}
.km-result .kv-label { font-size: .7rem; font-weight: 700; display: block; margin-bottom: 2px; opacity: .65; }
.km-conditions {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 2rem;
}
.km-cond {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-md); padding: 1rem; text-align: center;
}
.km-cond-icon { font-size: 1.4rem; margin-bottom: .4rem; }
.km-cond-label { font-size: .75rem; color: rgba(255,255,255,.4); }
.km-cond-val { font-size: .9rem; font-weight: 700; color: rgba(255,255,255,.8); margin-top: .15rem; }

/* ── Score Paris ── */
.score-board {
  max-width: 680px; margin: 3rem auto 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 2.5rem; text-align: center; position: relative; overflow: hidden;
}
.score-board::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(34,255,110,0.04), transparent);
  pointer-events: none;
}
.score-city { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--neon); margin-bottom: .5rem; }
.score-nums { display: flex; justify-content: center; gap: 4rem; margin: 2rem 0; position: relative; z-index: 1; }
.score-num .sn-val {
  font-size: clamp(2.5rem,5vw,3.5rem); font-weight: 900; letter-spacing: -.06em; color: rgba(255,255,255,.25);
}
.score-num .sn-val.sn-active { color: var(--neon); }
.score-num .sn-label { font-size: .75rem; color: rgba(255,255,255,.3); margin-top: .25rem; }
.score-divider { width: 1px; background: rgba(255,255,255,0.06); }
.score-bar-wrap { margin: 0 0 1.5rem; position: relative; z-index: 1; }
.score-bar-labels { display: flex; justify-content: space-between; font-size: .72rem; color: rgba(255,255,255,.3); margin-bottom: .5rem; }
.score-bar {
  height: 8px; background: rgba(255,255,255,0.05); border-radius: 4px; overflow: hidden;
}
.score-bar-fill {
  height: 100%; width: 0%; background: linear-gradient(90deg, #1DB954, var(--neon));
  border-radius: 4px; transition: width 1.8s cubic-bezier(0.16,1,0.3,1);
}
.score-cta-text { font-size: .9rem; color: rgba(255,255,255,.35); position: relative; z-index: 1; }
.score-cta-text strong { color: var(--neon); }
.score-live-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(34,255,110,0.07); border: 1px solid rgba(34,255,110,0.15);
  color: var(--neon); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .25em .8em; border-radius: var(--r-full); margin-bottom: 1rem;
}
.score-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--neon); animation: pulse 2s infinite; }

/* ── Referral tiers ── */
.ref-tiers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem;
}
.ref-tier {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2rem 1.5rem; text-align: center;
  position: relative; overflow: hidden; transition: all var(--base) var(--ease-out);
}
.ref-tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ref-tier.featured {
  border-color: var(--neon); background: rgba(34,255,110,0.03);
}
.ref-tier-banner {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  background: var(--neon); color: var(--dark-forest);
  font-size: .62rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .22em 1em; border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.ref-emoji { font-size: 2rem; margin: 1rem 0 .5rem; }
.ref-count { font-size: 2.8rem; font-weight: 900; letter-spacing: -.06em; color: var(--neon); line-height: 1; }
.ref-count-label { font-size: .72rem; color: rgba(255,255,255,.3); margin-bottom: .75rem; }
.ref-tier h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.ref-tier p { font-size: .83rem; color: var(--text-muted); line-height: 1.65; }
.ref-reward {
  display: inline-block; margin-top: 1rem;
  background: var(--green-tint); border: 1px solid var(--green-border);
  color: var(--neon); font-size: .78rem; font-weight: 700;
  padding: .3em 1em; border-radius: var(--r-full);
}

/* ── Registration form ── */
.drv-form-section { background: var(--bg-alt); }
.drv-form-notice {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(34,255,110,0.05); border: 1px solid rgba(34,255,110,0.15);
  border-radius: var(--r-md); padding: 1.1rem 1.25rem; margin-bottom: 2rem;
  font-size: .875rem; color: rgba(255,255,255,.65); line-height: 1.6;
}
.drv-form-notice-icon { font-size: 1.4rem; flex-shrink: 0; }
.drv-form-notice strong { color: var(--neon); }
.drv-form-wrap {
  max-width: 540px; margin: 0 auto;
  background: rgba(255,255,255,0.025); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 2.5rem;
}

/* Platform selector */
.platform-label { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.65); margin-bottom: .6rem; display: block; }
.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: 1.25rem; }
.pf-item {
  border: 1.5px solid var(--border); border-radius: var(--r-md); padding: .65rem .5rem;
  cursor: pointer; text-align: center; font-size: .78rem; font-weight: 600;
  color: rgba(255,255,255,.35); transition: all var(--fast); user-select: none;
}
.pf-item:hover { border-color: var(--green-border); color: rgba(255,255,255,.65); }
.pf-item.selected { border-color: var(--neon); color: var(--neon); background: var(--green-tint); }

/* Parrain code reveal */
.parrain-toggle {
  display: flex; align-items: center; gap: .5rem; cursor: pointer;
  font-size: .82rem; color: rgba(255,255,255,.3); margin-bottom: .75rem; user-select: none;
  background: none; border: none; padding: 0;
}
.parrain-toggle:hover { color: rgba(255,255,255,.6); }
#parrain-field { display: none; }
#parrain-field.open { display: block; }

/* ── VTC Floating Tab (on index.html) ── */
#vtc-fab {
  position: fixed; right: 0; top: 50%; z-index: 49;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  background: var(--dark-forest-2);
  border: 1px solid var(--green-border); border-right: none;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
  padding: 1.4rem .9rem; cursor: pointer;
  transition: all var(--base) var(--ease-out);
  box-shadow: -4px 0 28px rgba(0,0,0,0.35), 0 0 20px rgba(34,255,110,0.05);
}
#vtc-fab:hover {
  background: rgba(34,255,110,0.07); border-color: rgba(34,255,110,0.45);
  box-shadow: -4px 0 36px rgba(0,0,0,0.45), 0 0 30px rgba(34,255,110,0.12);
}
.fab-icon-wrap {
  width: 34px; height: 34px; border-radius: 8px; background: var(--green-tint);
  border: 1px solid var(--green-border); display: flex; align-items: center;
  justify-content: center; color: var(--neon); flex-shrink: 0;
}
.fab-icon-wrap svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fab-label {
  writing-mode: vertical-lr; text-orientation: mixed; transform: rotate(180deg);
  font-size: .6rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.4); line-height: 1;
}
.fab-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--neon);
  animation: pulse 2s infinite;
}

/* ── VTC Popup ── */
.vtc-popup {
  display: none; position: fixed; inset: 0; z-index: 200;
  align-items: flex-end; justify-content: flex-end; padding: 1.5rem;
}
.vtc-popup.open { display: flex; }
.vtc-popup-overlay {
  position: absolute; inset: 0; background: rgba(4,13,8,0.65);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.vtc-popup-card {
  position: relative; z-index: 1; background: var(--bg-alt);
  border: 1px solid var(--green-border); border-radius: var(--r-xl);
  padding: 2.25rem 2rem 1.75rem; max-width: 360px; width: 100%;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 50px rgba(34,255,110,0.07);
  animation: popSlideIn .35s cubic-bezier(0.16,1,0.3,1);
}
@keyframes popSlideIn { from{opacity:0;transform:translateX(30px) translateY(10px)} to{opacity:1;transform:none} }
.vtc-popup-close {
  position: absolute; top: 1rem; right: 1rem; width: 28px; height: 28px;
  border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  color: rgba(255,255,255,.4); font-size: .75rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all var(--fast);
}
.vtc-popup-close:hover { background: rgba(255,255,255,.12); color: #fff; }
.vtc-popup-icon {
  width: 48px; height: 48px; border-radius: var(--r-md); background: var(--green-tint);
  border: 1px solid var(--green-border); display: flex; align-items: center;
  justify-content: center; margin-bottom: 1rem; color: var(--neon);
}
.vtc-popup-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vtc-popup-eyebrow {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--neon); margin-bottom: .6rem;
}
.vtc-popup-card h3 {
  font-size: 1.4rem; font-weight: 800; letter-spacing: -.04em;
  color: #fff; line-height: 1.2; margin-bottom: .85rem;
}
.vtc-popup-card > p {
  font-size: .875rem; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 1.25rem;
}
.vtc-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.vtc-chip {
  background: var(--green-tint); border: 1px solid var(--green-border);
  color: var(--neon); font-size: .72rem; font-weight: 700;
  padding: .28em .75em; border-radius: var(--r-full);
}
.vtc-popup-later {
  width: 100%; margin-top: .75rem; background: none; border: none;
  color: rgba(255,255,255,.2); font-size: .8rem; cursor: pointer; padding: .5rem;
  transition: color var(--fast); font-family: inherit;
}
.vtc-popup-later:hover { color: rgba(255,255,255,.45); }

/* ── Dark alt section ── */
.section-dark-alt { background: var(--bg-alt); }
.section-darker { background: var(--bg-dark); }

/* ── Footer for drivers page ── */
.drv-footer {
  background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,0.05);
  padding: 2.5rem 2rem; text-align: center;
}
.drv-footer-inner { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.drv-footer p { font-size: .78rem; color: rgba(255,255,255,.2); margin: 0; }

/* ── Responsive ── */
@media(max-width:900px) {
  .drv-steps { grid-template-columns: 1fr; }
  .step-arrow { transform: rotate(90deg); justify-self: center; }
  .drv-cam-layout { grid-template-columns: 1fr; gap: 2rem; }
  .ref-tiers { grid-template-columns: 1fr; }
  .km-conditions { grid-template-columns: 1fr 1fr; }
  .score-nums { gap: 2rem; }
  .drv-stats-row { flex-wrap: wrap; }
  #vtc-fab { display: none; } /* hide on mobile — site already small enough */
  .vtc-popup { align-items: flex-end; justify-content: center; }
  .vtc-popup-card { max-width: 100%; }
}
@media(max-width:540px) {
  .platform-grid { grid-template-columns: repeat(2,1fr); }
  .km-conditions { grid-template-columns: 1fr; }
  .drv-hero h1 { font-size: 2.4rem; }
}
