/* =========================================================================
 *  Transo · landing page
 *  Self-contained dark/glossy theme, scroll-reveal animations, responsive.
 *  Namespaced with .landing-body so the marketing page can't bleed into the
 *  signed-in dashboard styles in styles.css.
 * ========================================================================= */

:root {
  --bg: #0a0a0f;
  --bg-2: #11111a;
  --bg-3: #16161f;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #eef0f4;
  --text-soft: #b5b9c4;
  --muted: #7d8392;
  --red: #ff4d4d;
  --red-2: #d32f2f;
  --red-dark: #7a1a1a;
  --green: #22c55e;
  --shadow-1: 0 8px 24px -10px rgba(0, 0, 0, 0.6);
  --shadow-2: 0 24px 60px -22px rgba(255, 77, 77, 0.45);
  --r-1: 10px;
  --r-2: 16px;
  --r-3: 22px;
  --t-fast: 180ms cubic-bezier(0.3, 0.6, 0.2, 1);
  --t-base: 320ms cubic-bezier(0.3, 0.6, 0.2, 1);
  --t-long: 600ms cubic-bezier(0.3, 0.6, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.landing-body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.landing-body a { color: inherit; text-decoration: none; }
.landing-body code, .landing-body .mono { font-family: "JetBrains Mono", ui-monospace, monospace; }

.container { width: min(1180px, 92vw); margin-inline: auto; }
.muted { color: var(--muted); }
.grad-text {
  background: linear-gradient(120deg, #ff8a8a 0%, #d32f2f 60%, #ff5252 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* ---- reveal ----------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 600ms cubic-bezier(0.2, 0.6, 0.2, 1),
    transform 600ms cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.is-in {
  opacity: 1; transform: none;
}

/* ============================ NAV ===================================== */
.lnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 38px);
  backdrop-filter: blur(14px) saturate(140%);
          -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(10, 10, 15, 0.55);
  border-bottom: 1px solid transparent;
  transition: background var(--t-base), border-color var(--t-base), padding var(--t-base);
}
.lnav.is-scrolled {
  background: rgba(10, 10, 15, 0.85);
  border-bottom: 1px solid var(--line);
  padding: 10px clamp(16px, 4vw, 38px);
}
.lnav-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.lnav-logo { display: inline-flex; }
.lnav-links { display: flex; gap: 22px; }
.lnav-links a {
  font-weight: 500; font-size: 14px; color: var(--text-soft);
  position: relative; padding: 6px 2px; transition: color var(--t-fast);
}
.lnav-links a::after {
  content: ""; position: absolute; inset: auto 0 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--red), #ff8a8a);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-base);
}
.lnav-links a:hover { color: #fff; }
.lnav-links a:hover::after { transform: scaleX(1); }
.lnav-cta { display: flex; align-items: center; gap: 10px; }
.lnav-burger {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.lnav-burger span {
  display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0;
  transition: transform var(--t-fast), opacity var(--t-fast);
  border-radius: 2px;
}

/* ---- buttons --------------------------------------------------------- */
.btn {
  --bg: rgba(255, 255, 255, 0.06);
  --fg: #fff;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  color: var(--fg); background: var(--bg);
  border: 1px solid var(--line-2);
  cursor: pointer; user-select: none;
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-soft); }
.btn-ghost:hover { color: #fff; }
.btn-secondary { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }
.btn-primary {
  --bg: linear-gradient(120deg, #ff5252, #b71c1c);
  color: #fff; border-color: transparent;
  box-shadow: 0 10px 26px -10px rgba(255, 82, 82, 0.55);
}
.btn-primary:hover { box-shadow: 0 18px 36px -10px rgba(255, 82, 82, 0.7); }
.btn-glow { position: relative; }
.btn-glow::before {
  content: ""; position: absolute; inset: -1px; border-radius: 999px; z-index: -1;
  background: linear-gradient(120deg, #ff5252, #ffae00, #d32f2f);
  opacity: 0; transition: opacity var(--t-base);
}
.btn-glow:hover::before { opacity: 0.5; }
.btn-arrow { transition: transform var(--t-fast); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.play-pill {
  display: inline-grid; place-items: center; width: 22px; height: 22px;
  background: rgba(255, 255, 255, 0.08); border-radius: 50%; font-size: 10px;
}

/* ============================ HERO ==================================== */
.hero {
  position: relative; padding: 140px 0 80px;
  min-height: 100vh; min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: 60px;
  padding-left: clamp(16px, 4vw, 56px);
  padding-right: clamp(16px, 4vw, 56px);
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; opacity: 0.35; pointer-events: none;
  background-image:
    linear-gradient(transparent 95%, rgba(255, 255, 255, 0.05) 95%),
    linear-gradient(90deg, transparent 95%, rgba(255, 255, 255, 0.05) 95%);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, #000 50%, transparent 100%);
}
.hero-mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(45% 40% at 15% 30%, rgba(255, 77, 77, 0.32), transparent 70%),
    radial-gradient(40% 35% at 80% 20%, rgba(255, 160, 0, 0.18), transparent 70%),
    radial-gradient(45% 40% at 70% 80%, rgba(116, 39, 255, 0.18), transparent 70%),
    radial-gradient(45% 40% at 20% 90%, rgba(0, 188, 212, 0.14), transparent 70%);
}
.hero-content { position: relative; z-index: 2; max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 77, 77, 0.10);
  border: 1px solid rgba(255, 77, 77, 0.25);
  color: #ffb4b4; font-size: 13px; font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.45);
  animation: pulseDot 1.8s ease-out infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0   rgba(255, 77, 77, 0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(255, 77, 77, 0); }
  100% { box-shadow: 0 0 0 0   rgba(255, 77, 77, 0); }
}
.hero-title {
  font-size: clamp(36px, 6vw, 72px); line-height: 1.04;
  font-weight: 800; letter-spacing: -0.025em;
  margin: 0 0 18px;
}
.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6;
  color: var(--text-soft); max-width: 560px; margin: 0 0 28px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust {
  list-style: none; padding: 0; margin: 22px 0 0;
  display: flex; flex-wrap: wrap; gap: 18px;
  color: var(--text-soft); font-size: 14px;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust li span { color: var(--green); font-weight: 700; }

/* ---- phone & dash mock ---------------------------------------------- */
.hero-stage {
  position: relative; z-index: 2;
  display: grid; place-items: center;
  min-height: 540px;
}
.hero-stage-glow {
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 50%, rgba(255, 77, 77, 0.28), transparent 75%);
  z-index: 0; pointer-events: none;
}
.phone-frame {
  position: absolute; left: 8%; top: 5%;
  width: 240px; height: 480px;
  background: linear-gradient(180deg, #1a1a23 0%, #0f0f15 100%);
  border: 1px solid var(--line-2); border-radius: 38px;
  padding: 14px;
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.85);
  animation: floatUp 7s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes floatUp {
  0%   { transform: translate3d(0, 6px, 0); }
  100% { transform: translate3d(0, -10px, 0); }
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 18px; background: #000; border-radius: 0 0 14px 14px;
}
.phone-screen {
  position: relative; height: 100%; border-radius: 26px;
  background: linear-gradient(180deg, #0e0e15 0%, #131321 100%);
  overflow: hidden;
  padding: 28px 12px 14px;
  display: flex; flex-direction: column;
}
.phone-statusbar {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; color: #cdd2dc; padding: 2px 6px;
}
.phone-statusbar-right { display: inline-flex; gap: 4px; align-items: center; }
.dot-sig {
  display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: #cdd2dc;
}
.phone-title-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: #eaeaea;
  margin: 18px 4px 14px;
}
.phone-back { color: #999; font-size: 18px; line-height: 1; }
.phone-title span { color: var(--red); font-weight: 700; font-size: 12px; }
.sms-stack {
  display: flex; flex-direction: column; gap: 10px; flex: 1;
  overflow: hidden; padding: 0 2px;
}
.sms-bubble {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px; font-size: 11px; line-height: 1.4;
  opacity: 0; transform: translateY(14px);
  animation: smsIn 600ms forwards;
  position: relative;
}
.sms-bubble.is-new::before {
  content: "new"; position: absolute; top: -8px; right: 10px;
  background: var(--red); color: #fff;
  font-size: 8px; font-weight: 800; letter-spacing: 0.06em;
  padding: 2px 6px; border-radius: 6px; text-transform: uppercase;
}
.sms-bubble strong { color: #ff8b8b; font-weight: 700; }
.sms-bubble .sms-amount {
  display: block; margin-top: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px; color: #fff; font-weight: 700;
}
@keyframes smsIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.flow-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none;
}
.flow-particle {
  filter: drop-shadow(0 0 6px rgba(255, 77, 77, 0.9));
}

.mini-dash {
  position: absolute; right: 0; bottom: 4%;
  width: 320px;
  background: linear-gradient(180deg, #15151f 0%, #0e0e16 100%);
  border: 1px solid var(--line-2); border-radius: var(--r-3);
  padding: 18px;
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.85);
  animation: floatDown 9s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes floatDown {
  0%   { transform: translate3d(0, -4px, 0); }
  100% { transform: translate3d(0, 10px, 0); }
}
.mini-dash-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.mini-dash-title { font-weight: 700; font-size: 14px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: #22c55e;
  background: rgba(34, 197, 94, 0.10);
  border: 1px solid rgba(34, 197, 94, 0.30);
  padding: 3px 8px; border-radius: 999px;
}
.live-pill-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulseGreen 1.6s ease-out infinite;
}
@keyframes pulseGreen {
  0%   { box-shadow: 0 0 0 0   rgba(34, 197, 94, 0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0   rgba(34, 197, 94, 0); }
}
.mini-dash-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;
  margin-bottom: 12px;
}
.ms-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 10px;
}
.ms-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.ms-value {
  font-family: "JetBrains Mono", monospace;
  font-weight: 700; font-size: 13px; margin-top: 4px;
}
.mini-dash-bars {
  display: flex; align-items: flex-end; gap: 4px;
  height: 70px; margin-bottom: 12px;
  padding: 4px 2px; border-bottom: 1px solid var(--line);
}
.mini-dash-bars span {
  flex: 1; height: var(--h);
  background: linear-gradient(180deg, #ff5252, #b71c1c);
  border-radius: 3px 3px 0 0;
  transform-origin: bottom;
  animation: barGrow 1.2s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}
.mini-dash-bars span:nth-child(odd) { background: linear-gradient(180deg, #ffae00, #d97706); }
@keyframes barGrow { from { transform: scaleY(0); } }
.mini-dash-rows {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
  font-size: 11px;
}
.mini-dash-rows li {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 6px 10px;
}
.mini-dash-rows .badge {
  font-size: 9px; font-weight: 800; padding: 2px 6px;
  border-radius: 6px; text-transform: uppercase; letter-spacing: 0.06em;
}
.badge-out { background: rgba(255, 77, 77, 0.15); color: #ff8a8a; }
.badge-in  { background: rgba(34, 197, 94, 0.15); color: #6ee7a0; }

.float-chips { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.chip {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px; font-weight: 600;
  color: var(--text-soft);
  backdrop-filter: blur(8px);
  animation: chipFloat 8s ease-in-out infinite;
}
.chip-1 { top: 12%; left: 38%; animation-delay: 0s; color: #ff8a8a; border-color: rgba(255, 77, 77, 0.3); }
.chip-2 { top: 30%; left: 62%; animation-delay: -1.5s; color: #6ee7a0; border-color: rgba(34, 197, 94, 0.3); }
.chip-3 { top: 64%; left: 26%; animation-delay: -3s; }
.chip-4 { top: 78%; left: 60%; animation-delay: -4.5s; color: #ffd86b; border-color: rgba(245, 158, 11, 0.3); }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* ============================ TRUST ================================== */
.trust-strip {
  padding: 40px 0 0;
  text-align: center;
}
.trust-lead {
  color: var(--muted); font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  margin: 0 0 16px;
}
.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  padding: 0 16px;
}
.trust-pill {
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line); color: var(--text-soft);
  font-size: 13px; font-weight: 500;
  transition: transform var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.trust-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-2);
}

/* ============================ STATS ================================== */
.stats {
  padding: 80px 0;
}
.stats .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--r-2);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border: 1px solid var(--line);
}
.stat-num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  font-family: "JetBrains Mono", monospace;
}
.stat-lbl { color: var(--muted); font-size: 14px; }

/* ============================ SECTION HEADS ========================== */
.section-eyebrow {
  display: inline-block;
  color: #ff8a8a;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
  margin: 0 0 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 16px;
  max-width: 720px;
}
.section-title-pain { background: linear-gradient(120deg, #ff8080, #ff8a8a 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-lead {
  font-size: 17px; color: var(--text-soft); line-height: 1.6;
  max-width: 640px; margin: 0 auto;
}
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .section-eyebrow { display: block; }
.section-head .section-title { margin-inline: auto; }

/* ============================ PAIN vs GAIN =========================== */
.pain { padding: 90px 0; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: start;
}
.pain-side { padding: 30px; border-radius: var(--r-3); }
.pain-side:not(.gain) {
  background: linear-gradient(180deg, rgba(255, 77, 77, 0.04) 0%, transparent 100%);
  border: 1px solid rgba(255, 77, 77, 0.12);
}
.pain-side.gain {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.06) 0%, var(--bg-2) 100%);
  border: 1px solid rgba(34, 197, 94, 0.20);
}
.pain-list, .gain-list { list-style: none; padding: 0; margin: 0 0 24px; }
.pain-list li, .gain-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 15px; color: var(--text-soft);
}
.pain-list li:last-child, .gain-list li:last-child { border-bottom: 0; }
.x, .ck {
  flex: 0 0 22px; width: 22px; height: 22px;
  display: inline-grid; place-items: center;
  border-radius: 50%; font-weight: 800; font-size: 11px;
  margin-top: 1px;
}
.x  { background: rgba(255, 77, 77, 0.15); color: #ff8a8a; }
.ck { background: rgba(34, 197, 94, 0.15); color: #6ee7a0; }

.pain-photo {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  border-radius: var(--r-2); margin-top: 14px;
  filter: grayscale(40%) brightness(0.8);
}

.gain-screen {
  margin-top: 12px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  overflow: hidden;
}
.gs-head {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--line);
}
.gs-head .dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.r { background: #ff5f57; }
.dot.y { background: #ffbd2e; }
.dot.g { background: #28c840; }
.gs-url {
  margin-left: 10px; font-family: "JetBrains Mono", monospace;
  font-size: 11px; color: var(--muted);
}
.gs-body { padding: 18px; }
.gs-kpi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.gs-kpi .k {
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: var(--r-1);
}
.k-lbl { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.k-val { display: block; margin-top: 4px; font-size: 16px; font-weight: 800; font-family: "JetBrains Mono", monospace; }
.gs-chart {
  display: flex; align-items: flex-end; gap: 4px;
  height: 90px; padding: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line); border-radius: var(--r-1);
}
.gs-chart span {
  flex: 1; height: var(--h);
  background: linear-gradient(180deg, #22c55e, #15803d);
  border-radius: 3px 3px 0 0;
  animation: barGrow 1.4s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}

/* ============================ FEATURES =============================== */
.features { padding: 100px 0; }
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feat-card {
  position: relative;
  padding: 28px;
  border-radius: var(--r-3);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border: 1px solid var(--line);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  overflow: hidden;
}
.feat-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(140px 100px at var(--lx, 50%) var(--ly, 0%), rgba(255, 77, 77, 0.16), transparent 60%);
  opacity: 0; transition: opacity var(--t-base);
  pointer-events: none;
}
.feat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 77, 0.30);
  box-shadow: var(--shadow-2);
}
.feat-card:hover::before { opacity: 1; }
.feat-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 77, 77, 0.20), rgba(255, 77, 77, 0.05));
  border: 1px solid rgba(255, 77, 77, 0.25);
  color: #ff8a8a;
  margin-bottom: 18px;
}
.feat-icon svg { width: 26px; height: 26px; }
.feat-card h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.feat-card p { color: var(--text-soft); font-size: 14px; line-height: 1.6; margin: 0; }
.feat-meta {
  margin-top: 14px;
  font-size: 11px; color: var(--muted);
  font-family: "JetBrains Mono", monospace;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

/* ============================ HOW IT WORKS =========================== */
.how {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}
/* Horizontal 3-step layout — user explicitly asked for the three steps
   to be aligned side-by-side instead of stacked. The animated line drawn
   left → right when the section enters the viewport. */
.how-timeline-h {
  position: relative; list-style: none; padding: 0;
  margin: 36px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.how-timeline-h::before {
  content: ""; position: absolute;
  top: 26px; left: 14%; right: 14%; height: 2px;
  background: linear-gradient(
    90deg,
    rgba(255, 82, 82, 0.05) 0%,
    rgba(255, 82, 82, 0.55) 50%,
    rgba(255, 82, 82, 0.05) 100%
  );
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1100ms cubic-bezier(0.2, 0.65, 0.2, 1);
  z-index: 0;
}
.how-timeline-h.is-visible::before { transform: scaleX(1); }
.how-step {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 8px;
}
.how-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #ff5252, #b71c1c);
  color: #fff; font-weight: 800; font-size: 20px;
  box-shadow: 0 14px 32px -10px rgba(255, 82, 82, 0.65);
  margin-bottom: 22px;
  border: 4px solid var(--bg-2);
}
.how-body { width: 100%; }
.how-body h3 {
  font-size: 20px; font-weight: 700; margin: 0 0 8px;
}
.how-body p {
  color: var(--text-soft); line-height: 1.6; margin: 0 0 18px;
  max-width: 32ch; margin-left: auto; margin-right: auto;
}
.how-pic {
  width: 100%; aspect-ratio: 16/10;
  object-fit: cover; border-radius: var(--r-2);
  border: 1px solid var(--line);
  filter: brightness(0.85) saturate(110%);
  transition: transform var(--t-base), filter var(--t-base);
}
.how-pic:hover { transform: scale(1.02); filter: brightness(1) saturate(120%); }

/* ============================ DASHBOARD PREVIEW ====================== */
.dashpreview { padding: 100px 0; }
.dashpreview-frame {
  background: linear-gradient(180deg, #14141d 0%, #0c0c14 100%);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.85);
  transition: transform var(--t-long);
}
.dpf-head {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--line);
}
.dpf-head .dot { width: 10px; height: 10px; border-radius: 50%; }
.dpf-url { margin-left: 14px; font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--muted); }
.dpf-body {
  display: grid; grid-template-columns: 200px 1fr;
  min-height: 460px;
}
.dpf-side {
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid var(--line);
  padding: 16px 12px;
}
.dpf-brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 800; margin-bottom: 18px; padding: 6px 10px;
}
.dpf-logo {
  width: 24px; height: 24px; border-radius: 8px;
  background: linear-gradient(135deg, #ff5252, #b71c1c);
}
.dpf-nav {
  display: block; padding: 10px 14px;
  border-radius: 10px; color: var(--text-soft);
  font-size: 14px; font-weight: 500;
  transition: background var(--t-fast), color var(--t-fast);
}
.dpf-nav:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
.dpf-nav.is-active {
  background: rgba(255, 77, 77, 0.10);
  color: #ff8a8a;
}
.dpf-main { padding: 20px; }
.dpf-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  margin-bottom: 18px;
}
.dpf-k {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line); border-radius: var(--r-1);
  padding: 14px;
}
.dpf-k-lbl { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.dpf-k-val { display: block; margin: 6px 0 4px; font-size: 22px; font-weight: 800; font-family: "JetBrains Mono", monospace; }
.dpf-k-delta { font-size: 11px; font-weight: 700; }
.dpf-k-delta.up { color: #6ee7a0; }
.dpf-k-delta.neutral { color: var(--muted); }
.dpf-charts {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; margin-bottom: 18px;
}
.dpf-chart-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line); border-radius: var(--r-1);
  padding: 14px;
}
.dpf-chart-title { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.dpf-bars { display: flex; align-items: flex-end; gap: 5px; height: 110px; }
.dpf-bars span {
  flex: 1; height: var(--h);
  background: linear-gradient(180deg, #ff5252, #b71c1c);
  border-radius: 3px 3px 0 0;
  animation: barGrow 1.2s cubic-bezier(0.2, 0.6, 0.2, 1) both;
}
.dpf-donut { display: flex; align-items: center; gap: 10px; }
.dpf-donut svg { width: 90px; height: 90px; }
.dpf-donut-legend { display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.dpf-donut-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }

.dpf-table {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line); border-radius: var(--r-1);
  overflow: hidden;
}
.dpf-thead, .dpf-trow {
  display: grid;
  grid-template-columns: 0.8fr 0.6fr 1fr 0.7fr 1fr 1.2fr 0.7fr;
  gap: 10px; padding: 10px 14px; font-size: 12px;
}
.dpf-thead {
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.dpf-trow { border-bottom: 1px solid var(--line); }
.dpf-trow:last-child { border-bottom: 0; }
.dpf-trow:hover { background: rgba(255, 255, 255, 0.03); }

/* ============================ AI SECTION ============================= */
.aisec {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.ai-bullets {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: grid; gap: 12px;
}
.ai-bullets li {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-soft);
}
.ai-bullets li span { color: #ff8a8a; font-weight: 700; }
.ai-chat {
  background: linear-gradient(180deg, #14141d 0%, #0c0c14 100%);
  border: 1px solid var(--line-2);
  border-radius: var(--r-3);
  overflow: hidden;
  box-shadow: var(--shadow-1), 0 20px 40px -20px rgba(255, 77, 77, 0.3);
}
.ai-chat-head {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  background: rgba(255, 77, 77, 0.05);
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.ai-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #6ee7a0;
  box-shadow: 0 0 0 4px rgba(110, 231, 160, 0.18);
}
.ai-model {
  margin-left: auto; font-family: "JetBrains Mono", monospace;
  font-size: 11px; color: var(--muted);
}
.ai-chat-body {
  padding: 18px; min-height: 360px;
  display: flex; flex-direction: column; gap: 12px;
}
.ai-msg {
  max-width: 78%;
  padding: 12px 14px; border-radius: 14px;
  line-height: 1.5; font-size: 14px;
  opacity: 0; transform: translateY(8px);
  animation: msgIn 380ms forwards;
}
@keyframes msgIn {
  to { opacity: 1; transform: none; }
}
.ai-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #ff5252, #b71c1c); color: #fff;
  border-bottom-right-radius: 4px;
}
.ai-msg.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05); color: var(--text);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}
.ai-msg.bot strong { color: #ff8a8a; }
.ai-typing {
  display: inline-flex; gap: 4px; padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  border-radius: 14px; border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.ai-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--text-soft);
  animation: typingDot 1.2s infinite ease-in-out;
}
.ai-typing span:nth-child(2) { animation-delay: 0.2s; }
.ai-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ============================ SECURITY =============================== */
.sec { padding: 100px 0; }
.sec-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.sec-card {
  padding: 24px; border-radius: var(--r-2);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border: 1px solid var(--line);
  transition: transform var(--t-base), border-color var(--t-base);
}
.sec-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.sec-emoji { font-size: 30px; margin-bottom: 10px; }
.sec-card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.sec-card p { margin: 0; color: var(--text-soft); font-size: 14px; line-height: 1.6; }

/* ============================ TESTIMONIALS =========================== */
.testi {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
}
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.testi-card {
  padding: 24px;
  border-radius: var(--r-3);
  background: linear-gradient(180deg, #15151f 0%, #0e0e16 100%);
  border: 1px solid var(--line);
  transition: transform var(--t-base), box-shadow var(--t-base);
  position: relative;
}
.testi-card::before {
  content: '"'; position: absolute; top: -20px; left: 18px;
  font-size: 90px; line-height: 1; color: var(--red);
  font-family: Georgia, serif; opacity: 0.18;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.testi-card blockquote {
  font-size: 16px; line-height: 1.65; color: var(--text);
  margin: 0 0 18px;
}
.testi-card figcaption {
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px; border-top: 1px dashed var(--line);
}
.testi-card figcaption img {
  width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.testi-card figcaption strong { display: block; }
.testi-card figcaption span { display: block; font-size: 12px; color: var(--muted); }

/* ============================ CTA BIG ================================ */
.cta-big {
  position: relative;
  padding: 110px 0; text-align: center;
  background: var(--bg);
  overflow: hidden;
}
.cta-mesh {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(45% 45% at 30% 50%, rgba(255, 77, 77, 0.28), transparent 70%),
    radial-gradient(45% 45% at 70% 50%, rgba(255, 160, 0, 0.16), transparent 70%);
}
.cta-big .container { position: relative; z-index: 1; }
.cta-big h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800; letter-spacing: -0.025em;
  margin: 0 auto 16px;
  max-width: 720px;
  background: linear-gradient(120deg, #fff 30%, #ff8a8a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-big p { color: var(--text-soft); font-size: 17px; max-width: 600px; margin: 0 auto 28px; line-height: 1.6; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ============================ FAQ ==================================== */
.faq { padding: 100px 0; }
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--t-base);
}
.faq-item:hover { border-color: var(--line-2); }
.faq-item summary {
  list-style: none;
  cursor: pointer; padding: 18px 24px;
  font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 24px; font-weight: 300;
  transition: transform var(--t-base), color var(--t-base);
}
.faq-item[open] summary::after { transform: rotate(45deg); color: var(--red); }
.faq-item[open] { border-color: rgba(255, 77, 77, 0.30); }
.faq-item p {
  padding: 0 24px 18px;
  margin: 0; color: var(--text-soft); line-height: 1.65;
}

/* ============================ FOOTER ================================= */
.lfoot {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 60px 0 30px;
}
.lfoot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px;
  margin-bottom: 40px;
}
.lfoot-brand { display: flex; flex-direction: column; gap: 8px; }
.lfoot-brand p { color: var(--text-soft); margin: 8px 0 0; max-width: 320px; line-height: 1.5; }
.lfoot h4 {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin: 0 0 12px;
}
.lfoot a, .lfoot .muted {
  display: block; padding: 5px 0;
  color: var(--text-soft); font-size: 14px;
  transition: color var(--t-fast);
}
.lfoot a:hover { color: #fff; }
.lfoot-bottom {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--muted);
  padding-top: 24px; border-top: 1px solid var(--line);
  flex-wrap: wrap; gap: 10px;
}

/* ============================ RESPONSIVE ============================= */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center; gap: 40px;
    padding-top: 110px;
  }
  .hero-content { margin-inline: auto; }
  .hero-trust { justify-content: center; }
  .hero-stage { min-height: 540px; max-width: 540px; margin-inline: auto; }
  .stats .container { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .feat-grid, .sec-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .dpf-body { grid-template-columns: 1fr; min-height: auto; }
  .dpf-side { display: none; }
  .dpf-charts { grid-template-columns: 1fr; }
  .lfoot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .lnav-links { display: none; }
  .lnav-cta .btn-ghost { display: none; }
  .lnav-burger { display: block; }
  .lnav-links.is-open {
    display: flex; flex-direction: column; gap: 16px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10, 10, 15, 0.95); padding: 20px;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }
  .phone-frame { width: 200px; height: 400px; left: 4%; }
  .mini-dash { width: 260px; right: 0; padding: 14px; }
  .dpf-kpis { grid-template-columns: 1fr 1fr; }
  .dpf-thead, .dpf-trow { font-size: 11px; grid-template-columns: 0.7fr 0.5fr 0.9fr 0.6fr 0.9fr 1fr 0.6fr; }
  .feat-grid, .sec-grid, .testi-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 12px; }
  .lfoot-grid { grid-template-columns: 1fr; }
  .lfoot-bottom { flex-direction: column; align-items: flex-start; }
  .pain-side { padding: 22px; }

  /* Stack the 3-step layout on tablets & phones so it's readable. */
  .how-timeline-h {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .how-timeline-h::before { display: none; }
  .how-body p { max-width: none; }
}

@media (max-width: 480px) {
  .hero { padding-top: 100px; }
  .hero-title { font-size: 36px; }
  .stats .container { grid-template-columns: 1fr; }
  .float-chips { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
}
