/* ════════════════════════════════════════════════════════════
   GadiDriver — Redesign Design System
   Premium / trustworthy · warm-light · logo-driven (red/green/yellow)
   ════════════════════════════════════════════════════════════ */

:root {
  /* Brand — pulled from the diamond logo */
  --red:        #D92D26;
  --red-deep:   #A81E1A;
  --red-soft:   #FBEAE8;
  --green:      #159C4B;
  --green-deep: #0E7A3A;
  --green-soft: #E6F4EC;
  --yellow:     #F7B500;
  --yellow-soft:#FEF3D6;

  /* Warm neutrals */
  --ink:        #1B1714;
  --ink-soft:   #4A443E;
  --muted:      #8A837B;
  --paper:      #FBF9F5;
  --paper-2:    #F4F0E9;
  --card:       #FFFFFF;
  --line:       #ECE6DB;
  --line-2:     #E2DACE;

  /* Warm near-black for cinematic dark blocks */
  --night:      #181210;
  --night-2:    #221813;
  --night-line: rgba(255,255,255,0.10);

  --shadow-sm:  0 1px 2px rgba(27,23,20,.05), 0 2px 8px rgba(27,23,20,.04);
  --shadow-md:  0 8px 24px rgba(27,23,20,.07), 0 2px 8px rgba(27,23,20,.04);
  --shadow-lg:  0 30px 70px rgba(27,23,20,.13), 0 8px 24px rgba(27,23,20,.07);
  --shadow-red: 0 14px 38px rgba(217,45,38,.30);

  --r-sm: 12px;  --r-md: 18px;  --r-lg: 26px;  --r-xl: 36px;

  --display: "Bricolage Grotesque", "Hanken Grotesk", sans-serif;
  --body:    "Hanken Grotesk", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1200px;
  --ease: cubic-bezier(.22,1,.36,1);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--red); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; border: 3px solid var(--paper-2); }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--green));
  z-index: 500; transition: width .08s linear;
}

/* ── Shared layout ─────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 120px 0; }
@media (max-width: 760px){ .section { padding: 84px 0; } }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--red);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--red); border-radius: 2px;
}
.eyebrow.on-dark { color: var(--yellow); }
.eyebrow.on-dark::before { background: var(--yellow); }

.h-display {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-size: clamp(36px, 5.4vw, 68px);
  text-wrap: balance;
}
.h-section {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: clamp(32px, 4.4vw, 54px);
  text-wrap: balance;
}
.lede {
  font-size: clamp(16px, 1.45vw, 19px);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.65;
}
.text-red { color: var(--red); }
.text-green { color: var(--green); }

/* Underline marker (hand-drawn feel using gradient) */
.mark {
  position: relative; white-space: nowrap;
}
.mark::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 4%;
  height: .42em; z-index: -1; border-radius: 4px;
  background: var(--yellow);
  opacity: .55;
  transform: scaleX(var(--mark, 1)); transform-origin: left;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 15.5px;
  padding: 14px 24px; border-radius: 14px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(217,45,38,.40); background: var(--red-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--ink); background: var(--card); box-shadow: var(--shadow-sm); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.22); }
.btn-ghost.on-dark:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }
.btn-lg { padding: 17px 30px; font-size: 16.5px; border-radius: 16px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 11px; border-radius: 100px;
  font-size: 13px; font-weight: 600; line-height: 1;
  border: 1px solid var(--line-2); background: var(--card); color: var(--ink-soft);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); position: relative; }
.dot::after { content:""; position:absolute; inset:-5px; border-radius:50%; background: var(--green); opacity:.3; animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0%{transform:scale(.6);opacity:.5} 100%{transform:scale(2.4);opacity:0} }

/* ════════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 400;
  height: 76px; display: flex; align-items: center;
  transition: height .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  background: rgba(251,249,245,0);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  height: 64px;
  background: rgba(251,249,245,.82);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(27,23,20,.02);
}
.nav-inner { width:100%; max-width: var(--maxw); margin:0 auto; padding:0 28px; display:flex; align-items:center; justify-content:space-between; gap: 24px; }
.brand { display:flex; align-items:center; gap: 11px; }
.brand img { height: 42px; width:auto; transition: height .3s var(--ease); }
.nav.scrolled .brand img { height: 36px; }
.brand-word { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.brand-word em { color: var(--red); font-style: normal; }

.nav-links { display:flex; align-items:center; gap: 2px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  padding: 9px 14px; border-radius: 10px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(27,23,20,.05); }
.nav-actions { display:flex; align-items:center; gap: 12px; }
.nav-toggle { display:none; }

@media (max-width: 920px){
  .nav-links { display:none; }
  .nav-actions .btn-ghost { display:none; }
}

/* ════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════ */
.hero { position: relative; padding-top: 150px; padding-bottom: 90px; overflow: hidden; }
.hero-bg-accent {
  position:absolute; pointer-events:none; z-index:0;
}
.hero-blob {
  position:absolute; border-radius:50%; filter: blur(90px); opacity:.5;
}
.hero-blob.b1 { width:520px; height:520px; background:radial-gradient(circle, rgba(217,45,38,.16), transparent 70%); top:-160px; right:-120px; }
.hero-blob.b2 { width:420px; height:420px; background:radial-gradient(circle, rgba(247,181,0,.14), transparent 70%); bottom:-180px; left:-140px; }
.hero-grid-lines {
  position:absolute; inset:0; z-index:0; opacity:.5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%);
}

.hero-inner { position: relative; z-index: 2; }

/* ── Hero layout: SPLIT (default) ── */
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-copy { max-width: 600px; }
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(40px, 5.6vw, 76px); line-height: .98; letter-spacing: -.03em;
  margin: 22px 0 22px;
}
.hero h1 .accent { color: var(--red); }
.hero-sub { font-size: clamp(16px, 1.5vw, 19.5px); color: var(--ink-soft); max-width: 50ch; line-height: 1.6; }
.hero-cta { display:flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-meta { display:flex; align-items:center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.hero-rating { display:flex; align-items:center; gap: 9px; }
.hero-stars { color: var(--yellow); letter-spacing: 2px; font-size: 15px; }
.hero-rating small { color: var(--muted); font-size: 13px; }
.hero-avatars { display:flex; }
.hero-avatars span {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--paper);
  margin-left: -10px; background: var(--paper-2); display:grid; place-items:center;
  font-size: 13px; font-weight: 700; color: var(--ink-soft);
}
.hero-avatars span:first-child { margin-left: 0; }
.hero-avatars span.r1{ background:#F3D9D6; color:var(--red-deep);} 
.hero-avatars span.r2{ background:#D9EFE0; color:var(--green-deep);} 
.hero-avatars span.r3{ background:#FBEBC4; color:#9a6a00;} 

/* Hero media */
.hero-media { position: relative; }
.hero-photo {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 4/5; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--paper-2);
  will-change: transform;
}
.hero-photo img { width:100%; height:100%; object-fit: cover; }
.hero-photo::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 50%, rgba(24,18,16,.45) 100%);
}
/* diamond badge echoing the logo */
.hero-diamond {
  position:absolute; top: -22px; left: -22px; z-index: 3;
  width: 84px; height: 84px; transform: rotate(45deg);
  background: var(--red); border-radius: 18px;
  box-shadow: var(--shadow-md);
  display:grid; place-items:center;
}
.hero-diamond::before, .hero-diamond::after {
  content:""; position:absolute; width:0; height:0;
}
.hero-diamond span { transform: rotate(-45deg); color:#fff; font-family:var(--display); font-weight:800; font-size: 12px; line-height:1.05; text-align:center; }

/* floating chips on photo */
.float-chip {
  position:absolute; z-index:4;
  display:flex; align-items:center; gap: 10px;
  background: var(--card); border:1px solid var(--line);
  padding: 11px 15px; border-radius: 14px; box-shadow: var(--shadow-md);
  font-size: 13.5px; font-weight: 600;
  will-change: transform;
}
.float-chip .ico { width: 30px; height: 30px; border-radius: 9px; display:grid; place-items:center; flex-shrink:0; }
.float-chip small { display:block; font-weight:500; color: var(--muted); font-size: 11.5px; }
.float-chip.fc1 { left: -34px; top: 24%; }
.float-chip.fc2 { right: -28px; top: 46%; }
.float-chip.fc3 { left: -20px; bottom: 28px; }

@media (max-width: 980px){
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: none; }
  .hero-photo { aspect-ratio: 16/12; max-width: 560px; }
  .float-chip.fc1 { left: 8px; } .float-chip.fc2 { right: 4px; } .float-chip.fc3 { left: 8px; }
}

/* ── Hero stat band ── */
.hero-stats {
  position: relative; z-index: 2; margin-top: 84px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--card); box-shadow: var(--shadow-sm); overflow: hidden;
}
.hero-stats .st { padding: 28px 26px; border-right: 1px solid var(--line); }
.hero-stats .st:last-child { border-right: none; }
.hero-stats .st .num { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.02em; line-height: 1; }
.hero-stats .st .num em { font-style: normal; color: var(--red); }
.hero-stats .st .lbl { font-size: 13px; color: var(--muted); margin-top: 8px; font-weight: 500; }
@media (max-width: 760px){
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .st:nth-child(2){ border-right: none; }
  .hero-stats .st:nth-child(1), .hero-stats .st:nth-child(2){ border-bottom: 1px solid var(--line); }
}

/* ── Hero variant: CENTERED ── */
body[data-hero="centered"] .hero { padding-top: 168px; text-align: center; }
body[data-hero="centered"] .hero-grid { grid-template-columns: 1fr; }
body[data-hero="centered"] .hero-copy { max-width: 860px; margin: 0 auto; }
body[data-hero="centered"] .hero-sub { margin: 0 auto; }
body[data-hero="centered"] .hero-cta, body[data-hero="centered"] .hero-meta { justify-content: center; }
body[data-hero="centered"] .hero-media { margin-top: 56px; max-width: 1000px; margin-left:auto; margin-right:auto; }
body[data-hero="centered"] .hero-photo { aspect-ratio: 16/8; }
body[data-hero="centered"] .float-chip.fc1 { left: 4%; top: 30%; }
body[data-hero="centered"] .float-chip.fc2 { right: 4%; top: 38%; }
body[data-hero="centered"] .float-chip.fc3 { left: 8%; bottom: 24px; }
body[data-hero="centered"] .hero-diamond { left: 50%; margin-left: -42px; top: -30px; }

/* ── Hero variant: EDITORIAL ── */
body[data-hero="editorial"] .hero-grid { grid-template-columns: 1.25fr .75fr; align-items: end; gap: 40px; }
body[data-hero="editorial"] .hero h1 { font-size: clamp(46px, 8vw, 104px); letter-spacing: -.04em; }
body[data-hero="editorial"] .hero-photo { aspect-ratio: 3/4.4; }
body[data-hero="editorial"] .float-chip.fc1, 
body[data-hero="editorial"] .float-chip.fc2 { display: none; }
body[data-hero="editorial"] .hero-diamond { display:none; }
@media (max-width: 980px){
  body[data-hero="editorial"] .hero-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════
   MARQUEE (vehicle types)
   ════════════════════════════════════════════════════════ */
.marquee-band {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper-2); padding: 22px 0; overflow: hidden;
}
.marquee-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); text-align:center; margin-bottom: 16px; }
.marquee { display:flex; gap: 0; width: max-content; animation: scroll-x 36s linear infinite; }
.marquee.rev { animation-direction: reverse; }
.marquee:hover { animation-play-state: paused; }
.marquee .m-item {
  display:flex; align-items:center; gap: 12px; padding: 0 38px;
  font-family: var(--display); font-weight: 600; font-size: 22px; color: var(--ink-soft);
  white-space: nowrap;
}
.marquee .m-item svg { width: 26px; height: 26px; color: var(--red); opacity:.85; }
.marquee .m-sep { width: 6px; height: 6px; border-radius:50%; background: var(--yellow); align-self:center; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ════════════════════════════════════════════════════════
   SECTION HEADER
   ════════════════════════════════════════════════════════ */
.s-head { max-width: 720px; }
.s-head.center { margin: 0 auto; text-align: center; }
.s-head .eyebrow { margin-bottom: 18px; }
.s-head p { margin-top: 18px; }
.s-head.center .lede { margin-left:auto; margin-right:auto; }

/* ════════════════════════════════════════════════════════
   HOW IT WORKS — scrollytelling (sticky media + steps)
   ════════════════════════════════════════════════════════ */
.how { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.how .eyebrow { color: var(--yellow); }
.how .eyebrow::before { background: var(--yellow); }
.how-head h2 { color: #fff; }
.how-head .lede { color: rgba(255,255,255,.6); }

.aud-switch { display:inline-flex; gap:4px; padding:5px; border-radius:14px; background: rgba(255,255,255,.06); border:1px solid var(--night-line); margin-top: 26px; }
.aud-switch button {
  font-family: var(--body); font-weight:600; font-size:14px; color: rgba(255,255,255,.6);
  padding: 10px 20px; border-radius: 10px; border:none; background: transparent; cursor:pointer;
  transition: color .25s, background .25s; display:flex; align-items:center; gap:8px;
}
.aud-switch button.active { color:#fff; background: var(--red); box-shadow: var(--shadow-red); }
.aud-switch button.active.emp { background: var(--green); box-shadow: 0 14px 38px rgba(21,156,75,.30); }

.scrolly { display:grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 60px; align-items: start; }
.scrolly-steps { display:flex; flex-direction: column; gap: 18px; }
.step {
  border: 1px solid var(--night-line); border-radius: var(--r-lg);
  padding: 30px 30px; background: rgba(255,255,255,.025);
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.step.active { background: rgba(255,255,255,.06); border-color: rgba(247,181,0,.4); transform: translateX(4px); }
.step-n {
  font-family: var(--mono); font-size: 13px; color: var(--yellow); letter-spacing:.1em; font-weight:600;
  display:flex; align-items:center; gap:12px; margin-bottom: 14px;
}
.step-n .bar { flex:1; height:1px; background: var(--night-line); }
.step h3 { font-family: var(--display); font-weight:700; font-size: 24px; letter-spacing:-.01em; margin-bottom: 10px; }
.step p { color: rgba(255,255,255,.62); font-size: 15px; line-height: 1.6; }

.scrolly-media { position: sticky; top: 110px; }
.media-card {
  border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5;
  border: 1px solid var(--night-line); position: relative; background: var(--night-2);
}
.media-frame { position:absolute; inset:0; opacity:0; transform: scale(1.04); transition: opacity .6s var(--ease), transform .8s var(--ease); display:grid; }
.media-frame.show { opacity:1; transform: scale(1); }
.media-frame img { width:100%; height:100%; object-fit: cover; }
.media-ph {
  width:100%; height:100%; display:grid; place-items:center; text-align:center; padding: 30px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px),
    var(--night-2);
}
.media-ph .tag { font-family: var(--mono); font-size: 12px; letter-spacing:.12em; text-transform:uppercase; color: rgba(255,255,255,.5); border:1px dashed rgba(255,255,255,.22); padding: 9px 14px; border-radius: 10px; }
.media-ph .big { font-family: var(--display); font-weight:700; font-size: 40px; color: rgba(255,255,255,.85); margin-bottom: 18px; }
.media-overlay {
  position:absolute; left:22px; right:22px; bottom:22px; z-index:3;
  background: rgba(24,18,16,.55); backdrop-filter: blur(12px);
  border:1px solid var(--night-line); border-radius: var(--r-md); padding: 18px 20px;
  display:flex; align-items:center; gap:14px;
}
.media-overlay .ico { width: 40px; height:40px; border-radius: 11px; display:grid; place-items:center; flex-shrink:0; }
.media-overlay b { font-family: var(--display); font-size: 16px; }
.media-overlay small { display:block; color: rgba(255,255,255,.6); font-size: 13px; }

@media (max-width: 900px){
  .scrolly { grid-template-columns: 1fr; gap: 30px; }
  .scrolly-media { position: relative; top: 0; order: -1; }
  .media-card { aspect-ratio: 16/11; }
}

/* ════════════════════════════════════════════════════════
   FEATURES
   ════════════════════════════════════════════════════════ */
.feat-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
@media (max-width: 900px){ .feat-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 580px){ .feat-grid { grid-template-columns: 1fr; } }
.feat {
  background: var(--card); border:1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.feat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.feat::before { content:""; position:absolute; top:0; left:0; right:0; height:3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.feat:hover::before { transform: scaleX(1); }
.feat .ico { width: 52px; height:52px; border-radius: 15px; display:grid; place-items:center; margin-bottom: 20px; }
.feat h3 { font-family: var(--display); font-weight:700; font-size: 19px; letter-spacing:-.01em; margin-bottom: 9px; }
.feat p { font-size: 14.5px; color: var(--ink-soft); line-height:1.6; }
.ico-red { background: var(--red-soft); color: var(--red); }
.ico-green { background: var(--green-soft); color: var(--green); }
.ico-yellow { background: var(--yellow-soft); color: #9a6a00; }

/* ════════════════════════════════════════════════════════
   DOWNLOAD / QR
   ════════════════════════════════════════════════════════ */
.download { background: var(--night); color:#fff; position: relative; overflow:hidden; }
.download .glow { position:absolute; width:600px; height:600px; border-radius:50%; filter: blur(120px); background: radial-gradient(circle, rgba(217,45,38,.18), transparent 70%); top:-200px; right:-150px; }
.dl-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items:center; position: relative; z-index:2; }
.download .eyebrow { color: var(--yellow); } .download .eyebrow::before { background: var(--yellow); }
.dl-text h2 { color:#fff; }
.dl-text p { color: rgba(255,255,255,.62); margin-top: 16px; }
.store-row { display:flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.store-btn {
  display:flex; align-items:center; gap: 13px; padding: 13px 22px; border-radius: 15px;
  background: rgba(255,255,255,.06); border:1px solid var(--night-line); transition: transform .25s var(--ease), background .2s, border-color .2s;
}
.store-btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.store-btn.primary { background: var(--red); border-color: var(--red); box-shadow: var(--shadow-red); }
.store-btn.primary:hover { background: var(--red-deep); }
.store-btn .gp { width: 30px; height:30px; }
.store-btn small { display:block; font-size: 11px; opacity:.7; }
.store-btn b { font-family: var(--display); font-size: 16px; font-weight: 700; }
.dl-feats { display:flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.dl-feats span { display:flex; align-items:center; gap:8px; font-size:14px; color: rgba(255,255,255,.72); }
.dl-feats span svg { color: var(--green); width:18px; height:18px; }

.qr-wrap { display:flex; flex-direction: column; align-items:center; gap: 18px; }
.qr-card { background:#fff; border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-lg); text-align:center; }
.qr-card .qr-title { font-size: 13px; font-weight:700; color: var(--ink-soft); margin-bottom: 14px; display:flex; align-items:center; gap:8px; justify-content:center; }
#qr-code { display:grid; place-items:center; }
#qr-code canvas, #qr-code img { border-radius: 12px; }
.qr-card .qr-note { font-size: 12px; color: var(--muted); margin-top: 14px; max-width: 170px; }
.qr-phone { font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,.5); }

@media (max-width: 860px){ .dl-grid { grid-template-columns: 1fr; gap: 44px; } }

/* ════════════════════════════════════════════════════════
   PLANS
   ════════════════════════════════════════════════════════ */
.plans { background: var(--paper-2); }
.seg-title { font-family: var(--mono); font-size: 12px; letter-spacing:.14em; text-transform:uppercase; color: var(--muted); margin: 48px 0 20px; display:flex; align-items:center; gap:14px; font-weight:600; }
.seg-title:first-of-type { margin-top: 52px; }
.seg-title svg { width:18px; height:18px; color: var(--red); }
.seg-title::after { content:""; flex:1; height:1px; background: var(--line-2); }
.plan-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width: 900px){ .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline:auto; } }
.plan {
  background: var(--card); border:1.5px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 28px; position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.feat-plan { background: var(--night); border-color: var(--night); color:#fff; box-shadow: var(--shadow-lg); }
.plan-badge {
  position:absolute; top:-13px; left: 28px;
  background: var(--red); color:#fff; font-size: 11.5px; font-weight: 700; letter-spacing:.03em;
  padding: 6px 14px; border-radius: 100px; box-shadow: var(--shadow-red);
  display:flex; align-items:center; gap:6px;
}
.plan .for { font-family: var(--mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color: var(--muted); }
.plan.feat-plan .for { color: var(--yellow); }
.plan .pname { font-family: var(--display); font-weight:700; font-size: 24px; margin: 6px 0 4px; }
.plan .price { font-family: var(--display); font-weight:800; font-size: 44px; letter-spacing:-.02em; line-height:1; margin-top: 12px; }
.plan .price span { font-family: var(--body); font-size: 15px; font-weight:500; color: var(--muted); }
.plan.feat-plan .price span { color: rgba(255,255,255,.55); }
.plan .divider { height:1px; background: var(--line); margin: 22px 0; }
.plan.feat-plan .divider { background: var(--night-line); }
.plan ul { list-style:none; display:flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.plan li { display:flex; align-items:center; gap: 11px; font-size: 14.5px; }
.plan.feat-plan li { color: rgba(255,255,255,.82); }
.plan .ck { width: 20px; height:20px; border-radius:50%; background: var(--green-soft); display:grid; place-items:center; flex-shrink:0; }
.plan .ck svg { width:12px; height:12px; color: var(--green); }
.plan.feat-plan .ck { background: rgba(21,156,75,.22); }
.plan-cta { display:block; text-align:center; padding: 14px; border-radius: 13px; font-weight:600; font-size: 14.5px; transition: transform .25s var(--ease), background .2s, box-shadow .25s; }
.plan-cta.dark { background: var(--ink); color:#fff; }
.plan-cta.dark:hover { transform: translateY(-2px); background:#000; }
.plan-cta.red { background: var(--red); color:#fff; box-shadow: var(--shadow-red); }
.plan-cta.red:hover { transform: translateY(-2px); background: var(--red-deep); }
.plan-cta.outline { border:1.5px solid var(--line-2); color: var(--ink); }
.plan.feat-plan .plan-cta.outline { border-color: rgba(255,255,255,.25); color:#fff; }
.plan.feat-plan .plan-cta.outline:hover { background: rgba(255,255,255,.08); }

/* ════════════════════════════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════════════════════════════ */
.t-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 56px; }
@media (max-width: 900px){ .t-grid { grid-template-columns: 1fr; } }
.tcard {
  background: var(--card); border:1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display:flex; flex-direction: column;
}
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tcard .stars { color: var(--yellow); letter-spacing: 3px; font-size: 15px; margin-bottom: 16px; }
.tcard .quote { font-size: 16px; line-height: 1.62; color: var(--ink); flex:1; }
.tcard .quote::before { content:"\201C"; font-family: var(--display); color: var(--red); font-size: 40px; line-height: 0; vertical-align: -14px; margin-right: 4px; }
.tauthor { display:flex; align-items:center; gap: 13px; margin-top: 24px; padding-top: 22px; border-top:1px solid var(--line); }
.tavatar { width: 44px; height:44px; border-radius:50%; display:grid; place-items:center; font-family:var(--display); font-weight:800; font-size: 17px; flex-shrink:0; }
.tname { font-weight:700; font-size: 14.5px; }
.trole { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ════════════════════════════════════════════════════════
   CTA BANNER
   ════════════════════════════════════════════════════════ */
.cta-band { padding: 0 0 120px; }
.cta-card {
  position: relative; overflow:hidden;
  background: linear-gradient(120deg, var(--red) 0%, var(--red-deep) 100%);
  border-radius: var(--r-xl); padding: 72px 56px; color:#fff; text-align:center;
  box-shadow: var(--shadow-lg);
}
.cta-card::before, .cta-card::after { content:""; position:absolute; width: 300px; height:300px; transform: rotate(45deg); }
.cta-card::before { background: rgba(247,181,0,.16); top:-150px; left:-80px; border-radius: 40px; }
.cta-card::after { background: rgba(21,156,75,.18); bottom:-160px; right:-70px; border-radius: 40px; }
.cta-card > * { position: relative; z-index:2; }
.cta-card h2 { font-family: var(--display); font-weight:700; font-size: clamp(30px, 4vw, 50px); letter-spacing:-.02em; line-height:1.05; }
.cta-card p { color: rgba(255,255,255,.85); max-width: 46ch; margin: 18px auto 0; font-size: 17px; }
.cta-card .hero-cta { justify-content: center; margin-top: 32px; }
.cta-card .btn-primary { background:#fff; color: var(--red); box-shadow: 0 14px 38px rgba(0,0,0,.18); }
.cta-card .btn-primary:hover { background: var(--ink); color:#fff; }
.cta-card .btn-ghost { color:#fff; border-color: rgba(255,255,255,.4); }
.cta-card .btn-ghost:hover { background: rgba(255,255,255,.12); border-color:#fff; }

/* ════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════ */
.footer { background: var(--night); color:#fff; padding: 80px 0 36px; }
.footer-top { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 50px; border-bottom:1px solid var(--night-line); }
.footer-brand img { height: 46px; margin-bottom: 20px; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: 14.5px; line-height:1.65; max-width: 30ch; }
.footer-social { display:flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height:40px; border-radius: 11px; background: rgba(255,255,255,.06); border:1px solid var(--night-line); display:grid; place-items:center; transition: background .2s, border-color .2s, transform .2s; }
.footer-social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.footer-social a svg { width:18px; height:18px; }
.footer-col h5 { font-family: var(--display); font-size: 14px; font-weight:700; margin-bottom: 16px; letter-spacing:.01em; }
.footer-col a { display:block; color: rgba(255,255,255,.52); font-size: 14px; margin-bottom: 11px; transition: color .2s, padding .2s; }
.footer-col a:hover { color: var(--yellow); padding-left: 4px; }
.footer-bottom { display:flex; justify-content: space-between; align-items:center; flex-wrap: wrap; gap: 14px; padding-top: 28px; }
.footer-bottom p { color: rgba(255,255,255,.4); font-size: 13px; }
.footer-bottom .legal { display:flex; gap: 22px; }
.footer-bottom .legal a { color: rgba(255,255,255,.4); font-size: 13px; transition: color .2s; }
.footer-bottom .legal a:hover { color:#fff; }
@media (max-width: 820px){ .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 480px){ .footer-top { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════
   MODAL
   ════════════════════════════════════════════════════════ */
.modal-overlay { display:none; position:fixed; inset:0; background: rgba(24,18,16,.55); backdrop-filter: blur(6px); z-index: 900; align-items:center; justify-content:center; padding: 24px; }
.modal-overlay.open { display:flex; }
.modal { background:#fff; border-radius: var(--r-lg); max-width: 680px; width:100%; max-height: 82vh; overflow-y:auto; padding: 44px; animation: modal-in .35s var(--ease); }
@keyframes modal-in { from { opacity:0; transform: translateY(20px) scale(.97); } to { opacity:1; transform:none; } }
.modal h2 { font-family: var(--display); font-weight:700; font-size: 28px; }
.modal .m-date { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 6px 0 26px; }
.modal h3 { font-family: var(--display); font-size: 16px; font-weight:700; margin: 22px 0 8px; }
.modal p, .modal li { font-size: 14.5px; color: var(--ink-soft); line-height:1.7; margin-bottom: 7px; }
.modal ul { padding-left: 20px; margin-bottom: 8px; }
.modal-close { margin-top: 30px; width:100%; background: var(--red); color:#fff; border:none; padding: 14px; border-radius: 13px; font-family: var(--body); font-size: 15px; font-weight:600; cursor:pointer; transition: background .2s; }
.modal-close:hover { background: var(--red-deep); }

/* ════════════════════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════════════════════ */
.reveal { opacity:0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity:1; transform:none; }
.reveal[data-d="1"]{ transition-delay:.08s } .reveal[data-d="2"]{ transition-delay:.16s }
.reveal[data-d="3"]{ transition-delay:.24s } .reveal[data-d="4"]{ transition-delay:.32s }
.reveal[data-d="5"]{ transition-delay:.40s }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity:1 !important; transform:none !important; }
  .hero-photo, .float-chip { transform: none !important; }
  .marquee { animation: none !important; }
}
