/* You're the Boss / riffsys.com/bots
   Brand: "Chevron / Volt" (Brand Spec v1)
   Electric Indigo #5B2EFF · Lavender #A487FF · Volt Lime #CBFF3C (dark surfaces only)
   Obsidian #0C0B14 · Graphite #26243A · Slate #6E6B85 · Mist #E4E2EE · Paper #FAFAFC
   Voice of the design: warm, airy, human: big radii, soft indigo shadows, no hard rules. */

@font-face {
  font-family: "Gabarito";
  src: url("/bots/fonts/Gabarito.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/bots/fonts/HankenGrotesk.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/bots/fonts/JetBrainsMono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --primary: #5B2EFF;
  --primary-soft: #EDE8FF;
  --secondary: #A487FF;
  --accent: #CBFF3C;
  --ink: #0C0B14;
  --graphite: #26243A;
  --slate: #6E6B85;
  --mist: #E4E2EE;
  --paper: #FAFAFC;
  --card-shadow: 0 12px 40px rgba(91, 46, 255, 0.10);
  --font-display: "Gabarito", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--graphite);
  background: var(--paper);
  line-height: 1.62;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.75rem, 4.5vw, 2.7rem); margin-bottom: 0.9rem; }
h3 { font-size: 1.15rem; }

img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.35rem; }
.wrap-narrow { max-width: 780px; }
.section { padding: 4.2rem 0; position: relative; }
.section-lead { color: var(--slate); font-size: 1.06rem; max-width: 40em; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.8rem;
}
.on-dark .eyebrow, .eyebrow-volt { color: var(--accent); }

/* ---------- decorative blobs ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.blob-lav { background: var(--secondary); }
.blob-ind { background: var(--primary); opacity: 0.25; }
.blob-volt { background: var(--accent); opacity: 0.18; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.8rem;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 26px rgba(91, 46, 255, 0.35);
}
.btn-primary:hover { background: #4A21E0; box-shadow: 0 14px 30px rgba(91, 46, 255, 0.42); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--mist);
}
.on-dark .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}
.btn-volt {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(203, 255, 60, 0.25);
}
.btn-volt:hover { background: #BDF32A; }
.btn-nav {
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 252, 0.85);
  backdrop-filter: blur(10px);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark .mark { color: var(--primary); flex: none; }

/* ---------- hero shared ---------- */
.hero { position: relative; overflow: hidden; padding: 4rem 0 4.5rem; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.2rem, 6.2vw, 3.7rem); margin-bottom: 1.1rem; }
.hero-sub { font-size: 1.12rem; color: var(--slate); max-width: 36em; margin-bottom: 1.9rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

.hero-dark { background: var(--ink); }
.hero-dark h1, .hero-dark h2 { color: #fff; }
.hero-dark .hero-sub { color: var(--mist); }
.hero-dark .mark-vein { color: var(--accent); }

.hl-volt {
  color: var(--accent);
  font-style: normal;
}
.hl-ind {
  font-style: normal;
  background: linear-gradient(120deg, var(--primary) 0%, #7A55FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* checklist card (pain hero) */
.check-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 1.5rem 1.6rem;
  max-width: 560px;
  backdrop-filter: blur(4px);
}
.check-card ul { list-style: none; display: grid; gap: 0.85rem; }
.check-card li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--mist);
  font-size: 1.02rem;
  font-weight: 500;
}
.check-card li .x { flex: none; margin-top: 0.15em; }
.check-punch {
  margin-top: 1.4rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.3;
}
.check-punch .hl-volt { display: inline; }

/* ---------- photo treatments ---------- */
.photo {
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  object-fit: cover;
  width: 100%;
}
.photo-tilt-l { transform: rotate(-2.2deg); }
.photo-tilt-r { transform: rotate(2deg); }
.photo-duo { position: relative; min-height: 340px; }
.photo-duo img { position: absolute; width: 68%; height: auto; }
.photo-duo img:first-child { top: 0; left: 0; z-index: 1; }
.photo-duo img:last-child { bottom: 0; right: 0; }

.img-caption {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 0.7rem;
}

/* ---------- marquee ticker ---------- */
.marquee {
  background: var(--primary);
  color: #fff;
  overflow: hidden;
  padding: 0.8rem 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-block;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.marquee-track span { margin: 0 1.4rem; opacity: 0.95; }
.marquee-track .sep { opacity: 0.5; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- stats band ---------- */
.stats { background: var(--ink); }
.stats h2 { color: #fff; }
.stats .section-lead { color: var(--mist); }
.stat-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  grid-template-columns: 1fr 1fr;
}
.stat {
  background: rgba(255, 255, 255, 0.045);
  border-radius: 20px;
  padding: 1.4rem 1.3rem 1.2rem;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--mist); font-size: 0.94rem; margin-top: 0.5rem; }
.stat-src {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--slate);
  margin-top: 1.4rem;
}

/* ---------- pain cost cards ---------- */
.cost-grid { display: grid; gap: 1.1rem; margin-top: 2rem; }
.cost-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.5rem 1.4rem;
  box-shadow: var(--card-shadow);
}
.cost-card h3 { margin-bottom: 0.45rem; }
.cost-card p { font-size: 0.97rem; color: var(--slate); }
.cost-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 0.28em 0.9em;
  margin-bottom: 0.8rem;
}

/* ---------- benefit rows ---------- */
.feature-row {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}
.feature-row h3 { font-size: clamp(1.35rem, 3vw, 1.8rem); margin-bottom: 0.6rem; }
.feature-row p { color: var(--slate); }
.tick-list { list-style: none; display: grid; gap: 0.6rem; margin-top: 1rem; }
.tick-list li { display: flex; gap: 0.65rem; align-items: flex-start; font-weight: 500; color: var(--graphite); }
.tick-list .tick { flex: none; margin-top: 0.2em; }

/* ---------- carousel ---------- */
.carousel { position: relative; margin-top: 2rem; }
.car-track {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.5rem 0.2rem 1.4rem;
}
.car-track::-webkit-scrollbar { display: none; }
.car-item {
  flex: 0 0 84%;
  scroll-snap-align: center;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.car-item img { height: 190px; width: 100%; object-fit: cover; }
.car-body { padding: 1.3rem 1.4rem 1.5rem; }
.car-body h3 { margin-bottom: 0.4rem; }
.car-body ul { list-style: none; display: grid; gap: 0.4rem; margin-top: 0.6rem; }
.car-body li { display: flex; gap: 0.6rem; font-size: 0.95rem; color: var(--slate); }
.car-body li::before { content: "»"; color: var(--primary); font-weight: 800; }
.car-body .li-more { color: var(--primary); font-weight: 700; }
.car-nav { display: flex; gap: 0.6rem; justify-content: center; align-items: center; }
.car-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: var(--card-shadow);
  color: var(--primary);
  font-size: 1.15rem;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.car-btn:hover { transform: scale(1.08); }
.car-btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.car-dots { display: flex; gap: 0.45rem; }
.car-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mist); transition: background 0.2s, transform 0.2s; }
.car-dot.on { background: var(--primary); transform: scale(1.25); }

/* ---------- timeline (variant C) ---------- */
.tl-item {
  flex: 0 0 72%;
  scroll-snap-align: center;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--card-shadow);
  padding: 1.5rem 1.5rem 1.6rem;
}
.tl-time {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: var(--primary-soft);
  display: inline-block;
  border-radius: 999px;
  padding: 0.3em 0.9em;
  margin-bottom: 0.8rem;
}
.tl-item h3 { margin-bottom: 0.35rem; }
.tl-item p { font-size: 0.96rem; color: var(--slate); }

/* ---------- before / after ---------- */
.ba-grid { display: grid; gap: 1.2rem; margin-top: 2rem; }
.ba-col { border-radius: 24px; padding: 1.7rem 1.5rem; }
.ba-before { background: var(--mist); }
.ba-after { background: var(--ink); }
.ba-after h3, .ba-after li { color: #fff; }
.ba-col h3 { margin-bottom: 1rem; }
.ba-col ul { list-style: none; display: grid; gap: 0.7rem; }
.ba-col li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.98rem; }
.ba-col .x, .ba-col .tick { flex: none; margin-top: 0.18em; }
.ba-after .tick circle { fill: var(--accent); }
.ba-after .tick path { stroke: var(--ink); }

/* ---------- keunggulan ---------- */
.perk-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.perk {
  background: #fff;
  border-radius: 20px;
  padding: 1.4rem 1.3rem 1.25rem;
  box-shadow: var(--card-shadow);
}
.perk .chev { color: var(--primary); margin-bottom: 0.6rem; }
.perk h3 { margin-bottom: 0.35rem; font-size: 1.06rem; }
.perk p { font-size: 0.93rem; color: var(--slate); }

/* ---------- steps ---------- */
.how { background: linear-gradient(180deg, var(--paper) 0%, var(--primary-soft) 100%); }
.steps { list-style: none; display: grid; gap: 1.6rem; margin-top: 2.4rem; }
.step {
  background: #fff;
  border-radius: 22px;
  padding: 1.9rem 1.5rem 1.5rem;
  box-shadow: var(--card-shadow);
  position: relative;
}
.step-num {
  position: absolute;
  top: -1.15rem;
  left: 1.3rem;
  width: 2.3rem; height: 2.3rem;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(91, 46, 255, 0.35);
}
.step h3 { margin-bottom: 0.4rem; }
.step p { font-size: 0.96rem; color: var(--slate); }

/* ---------- faq ---------- */
.faq details {
  background: #fff;
  border-radius: 16px;
  margin-top: 0.9rem;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--ink);
  padding: 1.05rem 2.8rem 1.05rem 1.3rem;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.2rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.2rem; font-size: 0.97rem; color: var(--slate); }
.faq summary:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact-card {
  position: relative;
  z-index: 1;
  background: var(--ink);
  border-radius: 28px;
  padding: 2.4rem 1.5rem;
  box-shadow: 0 24px 70px rgba(12, 11, 20, 0.35);
}
.contact-card h2 { color: #fff; }
.contact-sub { color: var(--mist); margin-bottom: 1.7rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 0.35rem;
  color: var(--mist);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 0.8rem 1rem;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
}
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { width: 100%; font-size: 1.05rem; }
.form-note { color: var(--slate); font-size: 0.88rem; margin-top: 0.9rem; text-align: center; }
.form-error { color: #FFB4A2; font-size: 0.9rem; margin-top: 0.8rem; }
.btn-wa-go { background: #25D366; color: #fff; margin-top: 1.2rem; }
.btn-wa-go:hover { background: #1FBE5A; }
.form-success { text-align: center; padding: 1.5rem 0 0.5rem; }
.form-success h3 { font-size: 1.5rem; margin: 0.6rem 0 0.4rem; color: var(--accent); }
.form-success p { color: var(--mist); }

/* ---------- footer ---------- */
.footer {
  text-align: center;
  padding: 2rem 1.35rem 5.5rem;
  font-size: 0.85rem;
  color: var(--slate);
}

/* ---------- WA float ---------- */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(12, 11, 20, 0.3);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (min-width: 700px) {
  .section { padding: 5.5rem 0; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .cost-grid { grid-template-columns: 1fr 1fr; }
  .perk-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .ba-grid { grid-template-columns: 1fr 1fr; }
  .car-item { flex-basis: 46%; }
  .tl-item { flex-basis: 38%; }
  .contact-card { padding: 3rem 3rem; }
  .feature-row { grid-template-columns: 1fr 1fr; }
  .feature-row.rev .feature-media { order: 2; }
}
@media (min-width: 1000px) {
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
  .perk-grid { grid-template-columns: repeat(3, 1fr); }
  .car-item { flex-basis: 31%; }
  .tl-item { flex-basis: 30%; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .wa-float, .car-btn { transition: none; }
  .photo-tilt-l, .photo-tilt-r { transform: none; }
}
