/* ============================================================
   conversion.css — dark premium conversion-page theme
   Loaded ONLY by the vertical pages (workshop/rentals/dealership).
   Self-contained: does not depend on landing.css. shared.css still
   provides nav/footer/faq-toggle/reveal behaviour (restyled dark below).
   ============================================================ */

:root {
  --cv-bg:        #0A0F1A;   /* page base — near-black navy */
  --cv-bg-alt:    #0D1424;   /* alternating section */
  --cv-surface:   #131C2E;   /* cards / copy panels */
  --cv-surface-2: #1A2436;   /* raised card */
  --cv-border:    rgba(255,255,255,0.09);
  --cv-border-2:  rgba(255,255,255,0.14);
  --cv-text:      #F5F8FF;   /* headings */
  --cv-body:      #A9B5C9;   /* body */
  --cv-muted:     #6B7891;   /* eyebrows / captions */
  --cv-accent:    #3B82F6;   /* electric blue */
  --cv-accent-2:  #60A5FA;   /* lighter blue */
  --cv-accent-dk: #1D4ED8;
  --cv-gold:      #F5B301;   /* stars only */
  --cv-glow:      rgba(59,130,246,0.45);
}

.cv {
  background: var(--cv-bg);
  color: var(--cv-body);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
}
.cv * { box-sizing: border-box; }
.cv-container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---- headings ---- */
.cv h1, .cv h2, .cv h3 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--cv-text); margin: 0; letter-spacing: -0.02em; }
.cv-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cv-accent-2); margin: 0 0 18px;
}
.cv-accent { color: var(--cv-accent-2); text-shadow: 0 0 24px var(--cv-glow), 0 0 48px rgba(59,130,246,0.25); }

/* ---- buttons ---- */
.cv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 16px;
  color: #fff; background: linear-gradient(180deg, var(--cv-accent-2) 0%, var(--cv-accent) 55%, var(--cv-accent-dk) 100%);
  border: none; border-radius: 12px; padding: 16px 30px; cursor: pointer; text-decoration: none;
  box-shadow: 0 10px 30px -8px var(--cv-glow), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cv-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px var(--cv-glow), inset 0 1px 0 rgba(255,255,255,0.3); }
.cv-btn-lg { font-size: 18px; padding: 19px 40px; border-radius: 14px; }
.cv-btn svg { width: 18px; height: 18px; }
.cv-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px;
  color: var(--cv-body); text-decoration: none; padding: 16px 20px; border-radius: 12px;
  border: 1px solid var(--cv-border-2); transition: border-color .18s, color .18s;
}
.cv-btn-ghost:hover { color: #fff; border-color: var(--cv-accent); }

/* ---- section rhythm ---- */
.cv-section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.cv-section--alt { background: var(--cv-bg-alt); }
.cv-head { max-width: 720px; margin: 0 auto clamp(48px, 7vw, 80px); text-align: center; }
.cv-head h2 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; line-height: 1.08; }
.cv-head p { font-size: clamp(16px, 1.7vw, 19px); color: var(--cv-body); line-height: 1.6; margin: 22px auto 0; max-width: 620px; }

/* ============================================================
   HERO
   ============================================================ */
.cv-hero { position: relative; padding: clamp(120px, 15vw, 180px) 0 clamp(60px, 8vw, 90px); text-align: center; overflow: hidden; }
.cv-hero::before { /* top radial accent glow */
  content: ''; position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px; background: radial-gradient(ellipse at center, rgba(59,130,246,0.22) 0%, rgba(59,130,246,0) 62%);
  pointer-events: none;
}
.cv-hero-inner { position: relative; max-width: 860px; margin: 0 auto; }
.cv-hero h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 800; line-height: 1.04; }
.cv-hero-sub { font-size: clamp(17px, 2vw, 21px); color: var(--cv-body); line-height: 1.6; margin: 26px auto 0; max-width: 640px; }

.cv-stars { display: inline-flex; align-items: center; gap: 12px; margin: 30px auto 0; }
.cv-stars-icons { display: inline-flex; gap: 3px; }
.cv-stars-icons svg { width: 20px; height: 20px; color: var(--cv-gold); }
.cv-stars-label { font-size: 15px; color: var(--cv-body); font-weight: 500; }

.cv-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 36px auto 0; }
.cv-hero-note { font-size: 14px; color: var(--cv-muted); margin: 20px auto 0; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.cv-hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.cv-hero-note svg { width: 15px; height: 15px; color: var(--cv-accent-2); }

/* ---- browser-framed screenshot (the core visual treatment) ---- */
.cv-browser { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--cv-border-2); background: #0B1220; box-shadow: 0 50px 100px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.03); }
.cv-browser-glow { position: relative; }
.cv-browser-glow::before {
  content: ''; position: absolute; inset: -8% -4% 0; z-index: 0;
  background: radial-gradient(ellipse at center top, rgba(59,130,246,0.35) 0%, rgba(59,130,246,0) 60%);
  filter: blur(20px); pointer-events: none;
}
.cv-browser-glow > .cv-browser { position: relative; z-index: 1; }
.cv-browser-bar { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: #0A1120; border-bottom: 1px solid var(--cv-border); }
.cv-browser-bar i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.cv-browser-bar i:nth-child(1) { background: #FF5F57; }
.cv-browser-bar i:nth-child(2) { background: #FEBC2E; }
.cv-browser-bar i:nth-child(3) { background: #28C840; }
.cv-browser-addr { margin-left: 14px; font-size: 12.5px; color: var(--cv-muted); background: #131C2E; border-radius: 8px; padding: 6px 16px; font-family: 'Inter', monospace; }
.cv-browser img { display: block; width: 100%; height: auto; }

.cv-hero-shot { max-width: 1000px; margin: clamp(52px, 7vw, 84px) auto 0; }

/* ============================================================
   PAINS — big, few, no fussy icon cards
   ============================================================ */
.cv-pains-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 960px; margin: 0 auto; }
.cv-pain { background: var(--cv-surface); border: 1px solid var(--cv-border); border-radius: 16px; padding: 32px 30px; }
.cv-pain-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(59,130,246,0.12); color: var(--cv-accent-2); margin-bottom: 18px; }
.cv-pain-icon svg { width: 22px; height: 22px; }
.cv-pain h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.cv-pain p { font-size: 15.5px; color: var(--cv-body); line-height: 1.6; margin: 0; }
.cv-pains-closing { text-align: center; max-width: 680px; margin: 48px auto 0; font-size: clamp(18px, 2.2vw, 24px); font-weight: 600; color: var(--cv-text); line-height: 1.45; }

/* ============================================================
   SHOWCASE — alternating large browser-framed screenshot + copy
   ============================================================ */
.cv-showcase-row { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; margin-bottom: clamp(72px, 9vw, 120px); }
.cv-showcase-row:last-child { margin-bottom: 0; }
.cv-showcase-text { max-width: 460px; }
.cv-showcase-text h3 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; line-height: 1.12; margin-bottom: 20px; }
.cv-showcase-list { list-style: none; padding: 0; margin: 0; }
.cv-showcase-list li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; font-size: 16px; color: var(--cv-body); line-height: 1.5; }
.cv-showcase-list li svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; color: var(--cv-accent-2); }
@media (min-width: 960px) {
  .cv-showcase-row { grid-template-columns: 1fr 1.15fr; gap: 72px; }
  .cv-showcase-row:nth-child(even) .cv-showcase-text { order: 2; }
  .cv-showcase-row:nth-child(even) .cv-showcase-media { order: 1; }
}

/* ============================================================
   STATS
   ============================================================ */
.cv-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(32px, 8vw, 90px); max-width: 960px; margin: 0 auto; text-align: center; }
.cv-stat-value { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(36px, 5.2vw, 56px); line-height: 1; color: #fff; white-space: nowrap; }
.cv-stat-value em { font-style: normal; color: var(--cv-accent-2); text-shadow: 0 0 30px var(--cv-glow); }
.cv-stat-label { font-size: 15px; color: var(--cv-body); margin-top: 14px; max-width: 220px; line-height: 1.5; }
.cv-stat { display: flex; flex-direction: column; align-items: center; }

/* ============================================================
   PROOF (RB result card)
   ============================================================ */
.cv-proof { max-width: 760px; margin: 0 auto; background: linear-gradient(160deg, var(--cv-surface-2), var(--cv-surface)); border: 1px solid var(--cv-border-2); border-radius: 22px; padding: clamp(36px, 5vw, 56px); position: relative; overflow: hidden; }
.cv-proof::before { content: ''; position: absolute; top: -40%; right: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(59,130,246,0.18), transparent 60%); pointer-events: none; }
.cv-proof-badge { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #34D399; margin-bottom: 22px; }
.cv-proof-badge svg { width: 16px; height: 16px; }
.cv-proof-mark { position: absolute; top: 6px; left: 30px; z-index: 0; font-family: 'Plus Jakarta Sans', Georgia, serif; font-size: 110px; line-height: 1; font-weight: 800; color: var(--cv-accent-2); opacity: 0.15; pointer-events: none; }
.cv-proof-line { position: relative; z-index: 1; font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; color: var(--cv-text); line-height: 1.45; margin: 0 0 30px; }
.cv-proof-line em { font-style: normal; color: var(--cv-accent-2); }
.cv-proof-author { position: relative; display: flex; align-items: center; gap: 16px; }
.cv-proof-avatar { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, var(--cv-accent-2), var(--cv-accent-dk)); display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 18px; color: #fff; }
.cv-proof-name { font-size: 16px; font-weight: 700; color: #fff; }
.cv-proof-role { font-size: 14px; color: var(--cv-muted); margin-top: 2px; }

/* ============================================================
   PLAN / VALUE
   ============================================================ */
.cv-plan { max-width: 460px; margin: 0 auto; background: linear-gradient(180deg, var(--cv-surface-2), var(--cv-surface)); border: 1px solid var(--cv-border-2); border-radius: 24px; padding: 44px 40px; text-align: center; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7); position: relative; overflow: hidden; }
.cv-plan::before { content: ''; position: absolute; top: -30%; left: 50%; transform: translateX(-50%); width: 500px; height: 300px; background: radial-gradient(ellipse, rgba(59,130,246,0.2), transparent 62%); pointer-events: none; }
.cv-plan-name { position: relative; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cv-accent-2); margin-bottom: 16px; }
.cv-plan-price { position: relative; font-family: 'Plus Jakarta Sans'; font-weight: 800; font-size: 64px; line-height: 1; color: #fff; margin-bottom: 8px; }
.cv-plan-price s { font-size: 26px; font-weight: 600; color: var(--cv-muted); margin-right: 12px; }
.cv-plan-price span { font-size: 18px; font-weight: 500; color: var(--cv-muted); }
.cv-plan-tag { position: relative; font-size: 15px; color: var(--cv-body); margin: 0 0 30px; }
.cv-plan-includes { position: relative; list-style: none; margin: 0 0 32px; padding: 0; text-align: left; display: inline-block; }
.cv-plan-includes li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; line-height: 1.5; color: var(--cv-body); padding: 7px 0; }
.cv-plan-includes li svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; color: var(--cv-accent-2); }
.cv-plan .cv-btn { position: relative; width: 100%; }
.cv-plan-note { position: relative; font-size: 13.5px; color: var(--cv-muted); margin: 0 0 26px; }
.cv-plan-compare { position: relative; display: inline-block; margin-top: 18px; font-size: 14.5px; color: var(--cv-muted); text-decoration: none; }
.cv-plan-compare:hover { color: #fff; }

/* ============================================================
   FAQ — restyle shared.css .faq-* to dark (JS toggles .open)
   ============================================================ */
.cv .faq { background: transparent; padding: clamp(72px, 10vw, 130px) 0; }
.cv .faq-item { border-top: 1px solid var(--cv-border); }
.cv .faq-item:last-child { border-bottom: 1px solid var(--cv-border); }
.cv .faq-question { color: var(--cv-text); font-family: 'Plus Jakarta Sans'; font-weight: 700; font-size: 18px; padding: 26px 0; }
.cv .faq-icon { color: var(--cv-accent-2); }
.cv .faq-answer-inner { color: var(--cv-body); font-size: 15.5px; line-height: 1.65; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cv-final { text-align: center; position: relative; overflow: hidden; }
.cv-final::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 900px; height: 500px; background: radial-gradient(ellipse, rgba(59,130,246,0.22), transparent 60%); pointer-events: none; }
.cv-final-inner { position: relative; max-width: 720px; margin: 0 auto; }
.cv-final h2 { font-size: clamp(32px, 5vw, 58px); font-weight: 800; line-height: 1.06; }
.cv-final p { font-size: clamp(16px, 1.9vw, 20px); color: var(--cv-body); margin: 22px auto 36px; }

/* ============================================================
   HOME — segment router
   ============================================================ */
.cv-segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1080px; margin: 0 auto; }
.cv-segment { display: flex; flex-direction: column; background: var(--cv-surface); border: 1px solid var(--cv-border); border-radius: 18px; padding: 34px 30px; text-decoration: none; transition: transform .18s, border-color .18s, box-shadow .18s; }
.cv-segment:hover { transform: translateY(-4px); border-color: var(--cv-accent); box-shadow: 0 26px 52px -22px rgba(0,0,0,0.65); }
.cv-segment-icon { width: 50px; height: 50px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: rgba(59,130,246,0.12); color: var(--cv-accent-2); margin-bottom: 22px; }
.cv-segment-icon svg { width: 25px; height: 25px; }
.cv-segment h3 { font-size: 21px; font-weight: 800; color: var(--cv-text); margin-bottom: 11px; }
.cv-segment p { font-size: 15px; color: var(--cv-body); line-height: 1.6; margin: 0 0 22px; flex: 1; }
.cv-segment-more { font-size: 14.5px; font-weight: 700; color: var(--cv-accent-2); }
@media (max-width: 860px) { .cv-segments { grid-template-columns: 1fr; } }

/* ============================================================
   HOME — "built for Australia" checklist
   ============================================================ */
.cv-checklist { list-style: none; max-width: 860px; margin: 0 auto; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 44px; }
.cv-checklist li { display: flex; align-items: flex-start; gap: 13px; font-size: 16px; color: var(--cv-body); line-height: 1.5; }
.cv-checklist li svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; color: var(--cv-accent-2); }
@media (max-width: 700px) { .cv-checklist { grid-template-columns: 1fr; } }

/* ============================================================
   HOME / PRICING — tier cards
   ============================================================ */
.cv-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1120px; margin: 0 auto; align-items: stretch; }
.cv-tier { display: flex; flex-direction: column; background: var(--cv-surface); border: 1px solid var(--cv-border); border-radius: 18px; padding: 32px 26px; position: relative; }
.cv-tier--featured { border-color: var(--cv-accent); background: linear-gradient(180deg, var(--cv-surface-2), var(--cv-surface)); box-shadow: 0 30px 62px -26px var(--cv-glow); }
.cv-tier-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--cv-accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 5px 15px; border-radius: 999px; white-space: nowrap; }
.cv-tier-name { font-size: 20px; font-weight: 800; color: var(--cv-text); margin-bottom: 4px; }
.cv-tier-tagline { font-size: 13.5px; color: var(--cv-muted); margin-bottom: 22px; min-height: 2.6em; }
.cv-tier-price { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 42px; line-height: 1; color: #fff; margin-bottom: 24px; }
.cv-tier-price s { font-size: 18px; font-weight: 600; color: var(--cv-muted); margin-right: 8px; }
.cv-tier-price span { font-size: 14px; font-weight: 500; color: var(--cv-muted); }
.cv-tier-features { list-style: none; margin: 0 0 26px; padding: 0; text-align: left; }
.cv-tier-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--cv-body); line-height: 1.45; padding: 5px 0; }
.cv-tier-features li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--cv-accent-2); }
.cv-tier .cv-btn { width: 100%; margin-top: auto; }
.cv-tier:not(.cv-tier--featured) .cv-btn { background: transparent; border: 1px solid var(--cv-border-2); box-shadow: none; color: var(--cv-text); }
.cv-tier:not(.cv-tier--featured) .cv-btn:hover { border-color: var(--cv-accent); background: rgba(59,130,246,0.08); }
.cv-tiers-foot { text-align: center; font-size: 14px; color: var(--cv-muted); margin: 34px auto 0; max-width: 680px; line-height: 1.6; }
@media (max-width: 900px) { .cv-tiers { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cv-tiers { grid-template-columns: 1fr; } }

/* ---- feature comparison table (dark) ---- */
.cv-compare { max-width: 900px; margin: clamp(48px, 7vw, 72px) auto 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cv-compare table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.cv-compare th, .cv-compare td { padding: 13px 14px; text-align: center; border-bottom: 1px solid var(--cv-border); }
.cv-compare thead th { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: var(--cv-text); font-size: 16px; padding-bottom: 16px; }
.cv-compare thead th.is-feat { color: var(--cv-accent-2); }
.cv-compare tbody td:first-child, .cv-compare thead th:first-child { text-align: left; color: var(--cv-body); font-weight: 500; }
.cv-compare td.is-feat { background: rgba(59,130,246,0.06); }
.cv-compare tr.grp td { background: rgba(255,255,255,0.03); font-weight: 700; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--cv-muted); text-align: left; padding-top: 20px; }
.cv-compare .yes { color: var(--cv-accent-2); font-weight: 800; font-size: 17px; }
.cv-compare .no { color: var(--cv-muted); opacity: .45; }

/* ---- guarantee callout (dark) ---- */
.cv-guarantee { display: flex; align-items: flex-start; gap: 14px; max-width: 640px; margin: 26px auto 0; padding: 22px 26px; background: var(--cv-surface); border: 1px solid var(--cv-border); border-radius: 16px; }
.cv-guarantee svg { width: 28px; height: 28px; flex-shrink: 0; color: #34D399; }
.cv-guarantee-title { font-size: 15px; font-weight: 700; color: var(--cv-text); margin: 0 0 4px; }
.cv-guarantee-body { font-size: 14px; color: var(--cv-body); margin: 0; line-height: 1.5; }

/* ============================================================
   NAV / FOOTER overrides for the dark pages (shared.css is light)
   ============================================================ */
body:has(.cv) { background: var(--cv-bg); }
.cv ~ .footer, body:has(.cv) .footer { background: #070B14; }

/* Dark sticky nav on the conversion pages (shared nav is light) */
body:has(.cv) .nav { background: rgba(10,15,26,0.72); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom: 1px solid var(--cv-border); box-shadow: none; }
body:has(.cv) .nav-logo img { content: url('/assets/img/logo-blue-white.svg'); }
body:has(.cv) .nav-link { color: #C3CEE0; }
body:has(.cv) .nav-link:hover { color: #fff; }
body:has(.cv) .nav-hamburger span { background: #C3CEE0; }
body:has(.cv) .mobile-menu { background: #0A0F1A; border-top: 1px solid var(--cv-border); }
body:has(.cv) .mobile-menu a { color: #C3CEE0; }

@media (max-width: 640px) {
  .cv-pains-grid { grid-template-columns: 1fr; }
  .cv-hero-note { flex-direction: column; gap: 8px; }
}
