:root {
  color-scheme: dark light;
  --bg0: #05070d;
  --bg1: #070a12;
  --surface: rgba(255, 255, 255, 0.06);
  --surface2: rgba(255, 255, 255, 0.10);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);
  --muted2: rgba(255, 255, 255, 0.58);
  --border: rgba(255, 255, 255, 0.14);
  --shadow: rgba(0, 0, 0, 0.38);
  --accent: #ef4444;  --accent2: #b91c1c;
  --accent3: #7f1d1d;
  --good: #22c55e;
  --warn: #f59e0b;
  --glass-0: rgba(255, 255, 255, 0.02);
  --glass-1: rgba(255, 255, 255, 0.03);
  --glass-2: rgba(255, 255, 255, 0.05);
  --glass-3: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.18);
  --ink-strong: rgba(255, 255, 255, 0.90);
  --ink-soft: rgba(255, 255, 255, 0.66);
  --panel-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
  --device-shell:
    radial-gradient(900px 400px at 50% -10%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
  --device-shell-border: rgba(255, 255, 255, 0.18);
  --device-shell-inner-border: rgba(255, 255, 255, 0.12);
  --device-shadow:
    0 30px 80px rgba(0, 0, 0, 0.40),
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 -14px 30px rgba(0, 0, 0, 0.22) inset;
  --device-glare-opacity: 0.42;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg0: #ffffff;
    --bg1: #f8fafc;
    --surface: rgba(17, 24, 39, 0.04);
    --surface2: rgba(17, 24, 39, 0.06);
    --text: rgba(17, 24, 39, 0.92);
    --muted: rgba(17, 24, 39, 0.70);
    --muted2: rgba(17, 24, 39, 0.58);
    --border: rgba(17, 24, 39, 0.12);
    --shadow: rgba(17, 24, 39, 0.10);
    --glass-0: rgba(255, 255, 255, 0.56);
    --glass-1: rgba(255, 255, 255, 0.72);
    --glass-2: rgba(255, 255, 255, 0.86);
    --glass-3: rgba(255, 255, 255, 0.96);
    --line-soft: rgba(15, 23, 42, 0.10);
    --line-strong: rgba(15, 23, 42, 0.16);
    --ink-strong: rgba(15, 23, 42, 0.92);
    --ink-soft: rgba(51, 65, 85, 0.74);
    --panel-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    --device-shell:
      radial-gradient(900px 400px at 50% -10%, rgba(255, 255, 255, 0.96), transparent 58%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(226, 232, 240, 0.88));
    --device-shell-border: rgba(15, 23, 42, 0.12);
    --device-shell-inner-border: rgba(15, 23, 42, 0.08);
    --device-shadow:
      0 28px 68px rgba(15, 23, 42, 0.14),
      0 1px 0 rgba(255, 255, 255, 0.72) inset,
      0 -10px 20px rgba(148, 163, 184, 0.18) inset;
    --device-glare-opacity: 0.26;
  }
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  min-height: 100%;
  overflow-x: hidden;
  scroll-padding-top: 20px;
}

@media (prefers-reduced-motion: no-preference) {
  html:focus-within {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg0), var(--bg1));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

main [id] {
  scroll-margin-top: 20px;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page {
  position: relative;
  min-height: 100%;
  overflow-x: hidden;
}

@supports (overflow-x: clip) {
  .page {
    overflow-x: clip;
  }
}

.bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 800px at 10% 12%, rgba(239, 68, 68, 0.30), transparent 62%),
    radial-gradient(1000px 760px at 84% 18%, rgba(185, 28, 28, 0.22), transparent 60%),
    radial-gradient(900px 800px at 40% 92%, rgba(239, 68, 68, 0.10), transparent 70%);
  filter: saturate(1.05);
  transform: translate3d(0, 0, 0);
}

.wrap {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 26px 20px 52px;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 36px var(--shadow);
}

@media (max-width: 980px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding-bottom: 4px;
  }

  .nav a {
    white-space: nowrap;
  }

  .actions {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .topbar {
    padding: 12px 12px;
  }

  .btn {
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 13px;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-name {
  display: inline-block;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  position: relative;
  display: inline-block;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(60% 70% at 30% 20%, rgba(255, 255, 255, 0.20), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.42),
    0 2px 0 rgba(255, 255, 255, 0.08) inset;
  opacity: 0.9;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  image-rendering: auto;
}

.brand-veins,
.brand-gloss {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.brand-veins {
  display: none;
  opacity: 0.8;
  mix-blend-mode: screen;
  filter: saturate(1.2) contrast(1.15);
  background:
    radial-gradient(18px 18px at 22% 30%, rgba(239, 68, 68, 0.55), transparent 66%),
    radial-gradient(16px 16px at 64% 62%, rgba(239, 68, 68, 0.40), transparent 70%),
    linear-gradient(
      110deg,
      rgba(255,255,255,0.00) 0%,
      rgba(255,255,255,0.00) 38%,
      rgba(255,255,255,0.10) 48%,
      rgba(255,255,255,0.00) 58%,
      rgba(255,255,255,0.00) 100%
    ),
    repeating-linear-gradient(
      125deg,
      rgba(239, 68, 68, 0.00) 0px,
      rgba(239, 68, 68, 0.00) 9px,
      rgba(239, 68, 68, 0.26) 12px,
      rgba(239, 68, 68, 0.00) 18px
    );
  background-size: auto, auto, 220% 220%, 160% 160%;
  background-position: center, center, 0% 0%, 0% 0%;
}

.brand-gloss {
  opacity: 0.55;
  mix-blend-mode: screen;
  background:
    radial-gradient(40px 26px at 26% 18%, rgba(255, 255, 255, 0.28), transparent 68%),
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.22) 42%, transparent 72%);
  background-size: auto, 200% 200%;
  background-position: center, 0% 0%;
}

@supports ((-webkit-mask-image: url("icons/Icon-192.png")) or (mask-image: url("icons/Icon-192.png"))) {
  .brand-veins {
    display: block;
    -webkit-mask-image: url("icons/Icon-192.png");
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-image: url("icons/Icon-192.png");
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    mask-position: center;
  }
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
  color: var(--text);
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease, background 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  border-color: rgba(239, 68, 68, 0.55);
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(185, 28, 28, 0.95) 100%);
  color: white;
  box-shadow: 0 18px 42px rgba(185, 28, 28, 0.30);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
}

.btn:focus-visible,
.nav a:focus-visible,
.footer a:focus-visible {
  outline: 3px solid rgba(239, 68, 68, 0.55);
  outline-offset: 2px;
}

@media (hover: hover) {
  .mini-card,
  .feat,
  .step,
  .quote,
  .shot,
  .story-card {
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
    will-change: transform;
  }

  .mini-card:hover,
  .feat:hover,
  .step:hover,
  .quote:hover,
  .shot:hover,
  .story-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.38);
  }
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  margin-top: 18px;
  align-items: center;
}

.subscribe {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 36px var(--shadow);
}

.subscribe input {
  flex: 1 1 260px;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 700;
}

.subscribe input::placeholder {
  color: var(--muted2);
}

.subscribe input:focus-visible {
  outline: 3px solid rgba(239, 68, 68, 0.55);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

.hero-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 54px var(--shadow);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  user-select: none;
}

.title {
  font-size: 52px;
  line-height: 1.02;
  margin: 12px 0 12px;
  letter-spacing: -0.04em;
}

@media (max-width: 520px) {
  .title {
    font-size: 38px;
  }
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  align-items: center;
}

.micro {
  margin-top: 12px;
  color: var(--muted2);
  font-size: 13px;
  line-height: 1.55;
}

.proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 13px;
  user-select: none;
}

.visual {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 18px 54px var(--shadow);
  position: relative;
  overflow: hidden;
}

.visual::before {
  content: "";
  position: absolute;
  inset: -80px;
  background: radial-gradient(500px 420px at 80% 20%, rgba(239, 68, 68, 0.35), transparent 60%),
    radial-gradient(520px 420px at 20% 80%, rgba(185, 28, 28, 0.28), transparent 60%);
  filter: blur(2px);
  opacity: 0.9;
}

.phone {
  position: relative;
  margin: 0 auto;
  width: min(360px, 100%);
  aspect-ratio: 10 / 20;
  border-radius: 34px;
  padding: 12px;
  --screen-scale: 0.94;
  --screen-pos-y: 14%;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.40),
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 -14px 30px rgba(0, 0, 0, 0.22) inset;
  transform: translateZ(0);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 30px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.26) inset,
    0 18px 50px rgba(0, 0, 0, 0.22) inset;
}

.phone::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(900px 320px at 20% 16%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0%, transparent 35%, rgba(255, 255, 255, 0.03) 60%, transparent 100%);
  opacity: 0.5;
  mix-blend-mode: screen;
  transform: translateZ(0);
}

.screen {
  height: 100%;
  border-radius: 26px;
  background: radial-gradient(900px 600px at 50% 0%, rgba(239, 68, 68, 0.20), transparent 55%),
    linear-gradient(180deg, rgba(8, 10, 18, 1) 0%, rgba(8, 10, 18, 0.95) 55%, rgba(8, 10, 18, 0.90) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  overflow: hidden;
  position: relative;
}

.screen::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 112px;
  height: 22px;
  border-radius: 999px;
  background:
    radial-gradient(7px 7px at 28px 50%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06) 55%, transparent 62%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  opacity: 0.9;
  pointer-events: none;
  z-index: 3;
}

.screen-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% var(--screen-pos-y);
  transform: scale(var(--screen-scale));
  transform-origin: 50% 0%;
  backface-visibility: hidden;
  border-radius: 26px;
}

.screen-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 420px at 30% 20%, rgba(239, 68, 68, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, transparent 35%, rgba(0, 0, 0, 0.18) 100%);
}

/* --- App hero (CSFloat-like) ------------------------------------------- */

.hero.app-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --px: 0px;
  --py: 0px;
  --rx: 0deg;
  --ry: 0deg;
  --rx2: 0deg;
  --ry2: 0deg;
}

.hero.app-hero::before {
  z-index: 0;
}

.hero.app-hero > :not(.hero-3d-bg) {
  position: relative;
  z-index: 2;
}

.hero-3d-bg {
  position: absolute;
  inset: -120px -60px -120px -60px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-3d-scene {
  position: absolute;
  right: -140px;
  top: -90px;
  width: 840px;
  height: 720px;
  perspective: 1200px;
  transform: translate3d(calc(var(--px) * -0.35), calc(var(--py) * -0.25), 0);
  transform-style: preserve-3d;
}

.hero-3d-glow {
  position: absolute;
  inset: -60px;
  background:
    radial-gradient(520px 460px at 65% 45%, rgba(239, 68, 68, 0.22), transparent 62%),
    radial-gradient(520px 460px at 40% 70%, rgba(59, 130, 246, 0.12), transparent 60%);
  filter: blur(1px);
  opacity: 0.9;
  transform: translateZ(-40px);
}

.device3d {
  position: absolute;
  width: 320px;
  aspect-ratio: 10 / 20;
  border-radius: 44px;
  padding: 12px;
  transform-style: preserve-3d;
  background:
    radial-gradient(900px 400px at 50% -10%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 50px 130px rgba(0, 0, 0, 0.48),
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 -14px 30px rgba(0, 0, 0, 0.22) inset;
  will-change: transform;
}

.device3d::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 38px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.10));
  transform: translateZ(-18px);
  filter: blur(0.2px);
  opacity: 0.9;
}

.device3d::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(900px 360px at 20% 16%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0%, transparent 35%, rgba(255, 255, 255, 0.03) 60%, transparent 100%);
  opacity: 0.55;
  mix-blend-mode: screen;
  transform: translateZ(6px);
}

.device3d-screen {
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(900px 600px at 50% 0%, rgba(239, 68, 68, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(8, 10, 18, 1) 0%, rgba(8, 10, 18, 0.92) 60%, rgba(8, 10, 18, 0.90) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transform: translateZ(16px);
}

.device3d-screen::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%) translateZ(4px);
  width: 124px;
  height: 24px;
  border-radius: 999px;
  background:
    radial-gradient(7px 7px at 28px 50%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06) 55%, transparent 62%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
  opacity: 0.92;
  pointer-events: none;
  z-index: 3;
}

.device3d-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 18%;
  transform: scale(1.02);
  border-radius: 34px;
}

.device3d--front {
  right: 180px;
  top: 180px;
  transform:
    rotateX(var(--rx))
    rotateY(var(--ry))
    rotateZ(-10deg)
    translateZ(48px);
}

.device3d--back {
  right: 360px;
  top: 110px;
  width: 280px;
  opacity: 0.92;
  filter: saturate(0.95) contrast(1.02);
  transform:
    rotateX(var(--rx2))
    rotateY(var(--ry2))
    rotateZ(8deg)
    translateZ(-18px);
}

@media (max-width: 980px) {
  .hero-3d-bg {
    display: block;
    inset: -60px -12px -80px -12px;
    opacity: 0.45;
  }

  .hero-3d-scene {
    right: -160px;
    top: -160px;
    width: 560px;
    height: 560px;
    perspective: 980px;
    transform:
      translate3d(calc(var(--px) * -0.18), calc(var(--py) * -0.14), 0)
      scale(0.90);
  }

  .device3d {
    width: 250px;
    border-radius: 40px;
    padding: 10px;
  }

  .device3d-screen {
    border-radius: 30px;
  }

  .device3d--back {
    display: none;
  }

  .device3d--front {
    right: 210px;
    top: 260px;
    transform:
      rotateX(var(--rx))
      rotateY(var(--ry))
      rotateZ(-8deg)
      translateZ(22px);
  }
}

@media (max-width: 520px) {
  .hero-3d-bg {
    display: none;
  }

  .hero-3d-scene {
    right: -210px;
    top: -190px;
    width: 520px;
    height: 520px;
    transform:
      translate3d(calc(var(--px) * -0.14), calc(var(--py) * -0.10), 0)
      scale(0.86);
  }

  .hero-3d-glow {
    opacity: 0.75;
    filter: blur(2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bg,
  .hero.app-hero::before,
  .pill,
  .phone,
  .device3d {
    animation: none !important;
  }

  .brand-gloss,
  .brand-veins {
    animation: none !important;
  }
}

.hero.app-hero::before {
  content: "";
  position: absolute;
  inset: -120px -60px -120px -60px;
  pointer-events: none;
  background:
    radial-gradient(900px 650px at 70% 25%, rgba(59, 130, 246, 0.14), transparent 62%),
    radial-gradient(900px 650px at 25% 60%, rgba(239, 68, 68, 0.16), transparent 62%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 58px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 58px);
  opacity: 0.9;
  mask-image: radial-gradient(closest-side, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.0) 72%);
  transform: translate3d(0, 0, 0);
}

@media (prefers-color-scheme: light) {
  .hero.app-hero::before {
    background:
      radial-gradient(900px 650px at 70% 25%, rgba(59, 130, 246, 0.10), transparent 62%),
      radial-gradient(900px 650px at 25% 60%, rgba(239, 68, 68, 0.10), transparent 62%),
      repeating-linear-gradient(0deg, rgba(17, 24, 39, 0.06) 0 1px, transparent 1px 58px),
      repeating-linear-gradient(90deg, rgba(17, 24, 39, 0.06) 0 1px, transparent 1px 58px);
    opacity: 0.7;
  }
}

.app-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.app-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.app-icon img {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

.app-heading-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.app-heading-title .name {
  font-size: 34px;
}

.app-heading-title .tag {
  font-size: 14px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(59, 130, 246, 0.16);
  color: rgba(255, 255, 255, 0.92);
}

@media (prefers-color-scheme: light) {
  .app-heading-title .tag {
    background: rgba(59, 130, 246, 0.12);
    color: rgba(17, 24, 39, 0.92);
  }
}

.store-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease, background 140ms ease;
}

.store-btn:hover {
  transform: translateY(-1px);
}

.store-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.store-btn-android {
  border-color: rgba(34, 197, 94, 0.45);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.90), rgba(22, 163, 74, 0.88));
  color: white;
}

.store-btn-ios {
  border-color: rgba(59, 130, 246, 0.50);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.92), rgba(37, 99, 235, 0.90));
  color: white;
}

.store-btn[aria-disabled="true"] {
  opacity: 0.72;
  filter: saturate(0.8);
  pointer-events: none;
  cursor: not-allowed;
}

.store-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.store-fallback .btn {
  min-width: min(240px, 100%);
  justify-content: center;
}

.store-note {
  margin-top: 10px;
  color: var(--muted2);
  font-size: 13px;
}

.store-note a {
  color: inherit;
  text-decoration: underline;
}

.hero.app-hero .visual {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  transform: translate3d(var(--px), var(--py), 0);
  transition: transform 120ms ease;
  will-change: transform;
}

.hero.app-hero .visual::before {
  display: none;
}

.hero.app-hero .phone {
  width: min(420px, 96%);
  border-radius: 40px;
  transform: rotate(-12deg) translateY(-6px);
}

@media (max-width: 980px) {
  .hero.app-hero .phone {
    transform: rotate(-8deg);
  }
}

.screen-top {
  padding: 14px 14px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.cardlist {
  padding: 0 14px 14px;
  display: grid;
  gap: 10px;
}

.mini-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 12px;
}

.mini-card .h {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.90);
  letter-spacing: -0.02em;
}

.mini-card .p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.45;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.10);
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.10em;
}

.section {
  margin-top: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 16px 44px var(--shadow);
}

.carousel-viewport,
.hero-card,
.visual,
.pricing-grid,
.stats,
.compare-wrap,
.faq,
.footer {
  contain: layout paint;
}

.section h2 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.section p.lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

@media (max-width: 980px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

.stat {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border-radius: 18px;
  padding: 14px 14px;
}

.stat::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(520px 220px at 20% 18%, rgba(239, 68, 68, 0.18), transparent 60%);
  opacity: 0.85;
  pointer-events: none;
}

.stat .num {
  position: relative;
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.stat .lbl {
  position: relative;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.note-card {
  padding: 16px;
}

.note-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.70);
  font-size: 13px;
  line-height: 1.55;
}

.note-list li {
  margin: 6px 0;
}

@media (prefers-color-scheme: light) {
  .note-list {
    color: rgba(17, 24, 39, 0.72);
  }
}

@media (max-width: 980px) {
  .grid3 {
    grid-template-columns: 1fr;
  }
}

.feat {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 16px;
}

.feat h3 {
  margin: 0 0 6px;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.feat p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

/* --- Pricing ----------------------------------------------------------- */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
  align-items: stretch;
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.plan {
  position: relative;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 16px;
  overflow: hidden;
}

.plan::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  opacity: 0.0;
  background: radial-gradient(700px 260px at 15% 10%, rgba(239, 68, 68, 0.20), transparent 62%);
  transition: opacity 200ms ease;
}

.plan-top {
  display: grid;
  gap: 6px;
}

.plan-name {
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 16px;
}

.plan-price {
  font-weight: 950;
  letter-spacing: -0.03em;
  font-size: 26px;
}

.plan-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.plan-badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.45);
  background: rgba(59, 130, 246, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.02em;
}

@media (prefers-color-scheme: light) {
  .plan-badge {
    color: rgba(17, 24, 39, 0.92);
    background: rgba(59, 130, 246, 0.10);
  }
}

.chiprow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 900;
  font-size: 12px;
}

@media (prefers-color-scheme: light) {
  .chip {
    color: rgba(17, 24, 39, 0.90);
    background: rgba(17, 24, 39, 0.04);
    border-color: rgba(17, 24, 39, 0.12);
  }
}

.plan-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.plan-list li {
  margin: 8px 0;
}

.plan-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.plan-featured {
  border-color: rgba(239, 68, 68, 0.30);
  background:
    radial-gradient(900px 320px at 20% 12%, rgba(239, 68, 68, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
}

@media (hover: hover) {
  .plan:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.38);
  }
  .plan:hover::before {
    opacity: 1.0;
  }
}


.compare-title {
  margin-top: 18px;
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 16px;
}

.compare-wrap {
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.compare-wrap:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.55);
  outline-offset: 2px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.compare-table thead th {
  position: sticky;
  top: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
}

.compare-table th,
.compare-table td {
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: middle;
  text-align: left;
}

.compare-table tbody th {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.90);
  width: 52%;
}

.compare-table thead th {
  font-weight: 950;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
}

.compare-table thead th:nth-child(2),
.compare-table thead th:nth-child(3) {
  width: 24%;
}

@media (hover: hover) {
  .compare-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
  }
}

.yn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 950;
  font-size: 12px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  white-space: nowrap;
}

.yn::before {
  display: inline-block;
  width: 1.05em;
  text-align: center;
  font-weight: 950;
}

.yn.yes {
  border-color: rgba(34, 197, 94, 0.32);
  background: rgba(34, 197, 94, 0.10);
}

.yn.yes::before {
  content: "✓";
}

.yn.no {
  border-color: rgba(239, 68, 68, 0.30);
  background: rgba(239, 68, 68, 0.10);
}

.yn.no::before {
  content: "—";
}

.yn.partial {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.12);
}

.yn.partial::before {
  content: "◐";
}

@media (prefers-color-scheme: light) {
  .compare-wrap {
    background: rgba(17, 24, 39, 0.02);
  }

  .compare-table thead th {
    color: rgba(17, 24, 39, 0.92);
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.02));
  }

  .compare-table tbody th {
    color: rgba(17, 24, 39, 0.92);
  }

  .compare-table th,
  .compare-table td {
    border-bottom-color: rgba(17, 24, 39, 0.10);
  }

  .yn {
    border-color: rgba(17, 24, 39, 0.14);
    background: rgba(17, 24, 39, 0.04);
    color: rgba(17, 24, 39, 0.88);
  }
}

@media (max-width: 820px) {
  .compare-table {
    min-width: 640px;
  }
}

/* --- About ------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  margin-top: 6px;
  align-items: start;
}

@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-aside {
  display: grid;
  gap: 12px;
}

.about-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.about-list li {
  margin: 6px 0;
}

.contact-row {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  font-weight: 900;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
}

@media (prefers-color-scheme: light) {
  .contact-link {
    border-color: rgba(17, 24, 39, 0.12);
    background: rgba(17, 24, 39, 0.03);
  }
}

/* --- Our Story --------------------------------------------------------- */

.story-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 12px;
  margin-top: 6px;
  align-items: start;
}

@media (max-width: 980px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
}

.story-body p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.story-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.story-list li {
  margin: 6px 0;
}

.story-sign {
  margin-top: 14px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.90);
  letter-spacing: -0.01em;
}

@media (prefers-color-scheme: light) {
  .story-sign {
    color: rgba(17, 24, 39, 0.90);
  }
}

.story-aside {
  display: grid;
  gap: 12px;
}

.story-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.story-avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
  flex: 0 0 58px;
  animation: avatarFloat 6.5s ease-in-out infinite;
}

@keyframes avatarFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.story-name {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.story-role {
  margin-top: 4px;
  color: var(--muted2);
  font-size: 13px;
  line-height: 1.4;
}

.story-link {
  display: inline-flex;
  margin-top: 10px;
  font-weight: 900;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.90);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 2px;
}

.story-link:hover {
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

@media (prefers-color-scheme: light) {
  .story-link {
    color: rgba(17, 24, 39, 0.90);
    border-bottom-color: rgba(17, 24, 39, 0.25);
  }

  .story-link:hover {
    border-bottom-color: rgba(17, 24, 39, 0.55);
  }
}

@media (max-width: 980px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  display: flex;
  gap: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 16px;
}

.step .n {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.28);
  color: rgba(255, 255, 255, 0.90);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.step .t {
  font-weight: 900;
  letter-spacing: -0.01em;
}

.step .d {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

@media (max-width: 980px) {
  .quotes {
    grid-template-columns: 1fr;
  }
}

.quote {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 18px;
  padding: 16px;
}

.quote p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.quote .who {
  margin-top: 10px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.90);
  font-size: 13px;
}

.quote .sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted2);
}

.faq {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 12px 14px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.faq .a {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.carousel {
  margin-top: 14px;
}

.carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.carousel-controls {
  display: inline-flex;
  gap: 8px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.90);
  cursor: pointer;
  font-weight: 900;
  transition: transform 140ms ease, background 140ms ease;
}

.icon-btn:hover { transform: translateY(-1px); }
.icon-btn:active { transform: translateY(0); }
.icon-btn:focus-visible {
  outline: 3px solid rgba(239, 68, 68, 0.55);
  outline-offset: 2px;
}

.carousel-viewport {
  margin-top: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  scrollbar-gutter: stable;
}

.carousel-track {
  display: flex;
  gap: 12px;
  padding: 12px;
  width: max-content;
  min-width: 100%;
}

.carousel-viewport::-webkit-scrollbar { height: 10px; }
.carousel-viewport::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.shot {
  flex: 0 0 auto;
  width: min(300px, 78vw);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  position: relative;
  contain: layout paint;
}

.shot-phone {
  position: relative;
  margin: 10px 10px 0;
  border-radius: 20px;
  padding: 10px;
  background:
    radial-gradient(920px 420px at 50% -10%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.34),
    0 2px 0 rgba(255, 255, 255, 0.06) inset,
    0 -12px 24px rgba(0, 0, 0, 0.22) inset;
  overflow: hidden;
  contain: paint;
}

.shot-phone::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 16px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.22) inset;
  opacity: 0.95;
}

.shot-phone::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(520px 220px at 18% 14%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0%, transparent 38%, rgba(255, 255, 255, 0.04) 62%, transparent 100%);
  opacity: 0.42;
  mix-blend-mode: normal;
  transform: translate3d(-16px, 0, 0);
  transition: transform 220ms ease, opacity 220ms ease;
}


.shot-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 18px;
  border-radius: 999px;
  background:
    radial-gradient(6px 6px at 22px 50%, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.06) 55%, transparent 62%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.34));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.30);
  opacity: 0.9;
  z-index: 3;
  pointer-events: none;
}

.shot-phone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  transform-origin: 50% 0%;
  backface-visibility: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.26);
  transform: scale(1);
  image-rendering: auto;
  will-change: transform;
}

.shot-glass {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 300px at 30% 22%, rgba(239, 68, 68, 0.10), transparent 62%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, transparent 38%, rgba(0, 0, 0, 0.14) 100%);
}

/* Theme normalization keeps the glass hierarchy legible in both schemes. */
.topbar,
.subscribe,
.hero-card,
.kicker,
.pill,
.section,
.feat,
.step,
.quote,
.story-card,
.faq details,
.carousel-viewport,
.compare-wrap,
.shot,
.footer a,
.contact-link,
.btn,
.icon-btn,
.store-btn,
.plan,
.plan-featured,
.mini-card,
.yn {
  background: var(--glass-1);
  border-color: var(--line-soft);
}

.btn-ghost,
.nav a:hover,
.footer a:hover,
.contact-link:hover,
.story-link,
.subscribe input,
.shot figcaption {
  background: var(--glass-0);
  border-color: var(--line-soft);
}

.section,
.topbar,
.subscribe,
.hero-card,
.visual,
.plan,
.plan-featured,
.store-btn,
.shot,
.story-card,
.footer a,
.contact-link,
.compare-wrap,
.carousel-viewport {
  box-shadow: var(--panel-shadow);
}

.nav a:hover,
.footer a:hover,
.contact-link:hover,
.btn:hover,
.store-btn:hover,
.icon-btn:hover,
.shot:hover,
.feat:hover,
.step:hover,
.quote:hover,
.story-card:hover,
.plan:hover {
  background: var(--glass-2);
  border-color: var(--line-strong);
}

.mini-card .h,
.badge,
.screen-top,
.quote .who,
.story-sign,
.story-link,
.contact-link,
.compare-table tbody th,
.compare-table thead th,
.yn,
.store-btn,
.btn,
.icon-btn {
  color: var(--ink-strong);
}

.mini-card .p,
.note-list,
.story-role,
.store-note {
  color: var(--ink-soft);
}

.dot {
  background: var(--line-strong);
}

.phone,
.device3d,
.shot-phone {
  background: var(--device-shell);
  border-color: var(--device-shell-border);
  box-shadow: var(--device-shadow);
}

.phone::before,
.device3d::before,
.shot-phone::before {
  border-color: var(--device-shell-inner-border);
}

.phone::after,
.device3d::after,
.shot-phone::after {
  opacity: var(--device-glare-opacity);
}

@media (hover: hover) {
  .shot:hover .shot-phone::after {
    opacity: 0.52;
  }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .shot-phone::after {
    mix-blend-mode: screen;
    opacity: 0.38;
  }

  .shot:hover .shot-phone::after {
    opacity: 0.5;
  }
}

@media (hover: none), (pointer: coarse) {
  .shot-phone {
    box-shadow:
      0 16px 38px rgba(0, 0, 0, 0.28),
      0 2px 0 rgba(255, 255, 255, 0.05) inset;
  }

  .shot-phone img {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  }
}

@keyframes shotFloat {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -3px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.shot figcaption {
  padding: 10px 12px 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

@media (prefers-color-scheme: light) {
  .icon-btn { color: rgba(17, 24, 39, 0.90); }
  .carousel-viewport::-webkit-scrollbar-thumb { background: rgba(17, 24, 39, 0.16); }
}

html.is-scrolling .bg,
html.is-scrolling .pill,
html.is-scrolling .brand-veins,
html.is-scrolling .brand-gloss,
html.is-scrolling .phone,
html.is-scrolling .phone::after,
html.is-scrolling .hero.app-hero::before,
html.is-scrolling .shot,
html.is-scrolling .shot-phone::after,
html.is-scrolling .story-avatar,
html.is-scrolling .plan.plan-featured::before {
  animation-play-state: paused !important;
}

html.is-scrolling .hero.app-hero .visual {
  transition: none !important;
}

html.perf-touch .topbar,
html.perf-touch .subscribe,
html.perf-low .topbar,
html.perf-low .subscribe {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html.perf-touch .bg,
html.perf-low .bg {
  filter: none;
}

html.perf-touch .phone,
html.perf-low .phone,
html.perf-touch .story-avatar,
html.perf-low .story-avatar {
  animation-duration: 9s;
}

html.perf-touch .pill,
html.perf-low .pill,
html.perf-touch .brand-veins,
html.perf-low .brand-veins,
html.perf-touch .brand-gloss,
html.perf-low .brand-gloss,
html.perf-touch .phone::after,
html.perf-low .phone::after,
html.perf-touch .hero.app-hero::before,
html.perf-low .hero.app-hero::before,
html.perf-touch .shot,
html.perf-low .shot,
html.perf-touch .shot-phone::after,
html.perf-low .shot-phone::after {
  animation-play-state: paused;
}

.footer {
  margin-top: 16px;
  color: var(--muted2);
  font-size: 13px;
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.footer a {
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.footer a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.noscript {
  padding: 14px 16px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

@media (prefers-reduced-motion: reduce) {
  .bg,
  .hero.app-hero::before,
  .pill,
  .story-avatar,
  .phone,
  .hero.app-hero .phone,
  .shot {
    animation: none !important;
  }

  .hero.app-hero .visual {
    transition: none !important;
    transform: none !important;
  }

  .shot-phone::after {
    animation: none !important;
  }
}



/* ============================================================
   v=20260516-1  Modernization layer (idle motion, holo rim,
   pulsing halo, shimmer CTA, gradient mesh, deeper 3D)
   ============================================================ */

/* Pulsing multi-color halo behind the 3D scene.
   Gives "always alive" feel even with no pointer movement. */
.hero-3d-bg::before,
.hero-3d-bg::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  will-change: transform, opacity;
}
.hero-3d-bg::before {
  width: 560px; height: 560px;
  right: -40px; top: -120px;
  background: radial-gradient(closest-side, rgba(239,68,68,.55), rgba(239,68,68,0) 70%);
  opacity: .55;
}
.hero-3d-bg::after {
  width: 480px; height: 480px;
  right: 220px; top: 120px;
  background: radial-gradient(closest-side, rgba(59,130,246,.42), rgba(59,130,246,0) 70%);
  opacity: .42;
}
@media (prefers-color-scheme: light) {
  .hero-3d-bg::before { opacity: .28; }
  .hero-3d-bg::after  { opacity: .22; }
}

/* Conic ambient orb under the whole hero (subtle, static). */
.hero.app-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: -20% -20% auto auto;
  width: 70%; height: 80%;
  background:
    conic-gradient(from 140deg at 60% 40%,
      rgba(239,68,68,.18) 0deg,
      rgba(168,85,247,.10) 90deg,
      rgba(59,130,246,.10) 180deg,
      rgba(239,68,68,.18) 360deg);
  filter: blur(48px);
  opacity: .45;
  mix-blend-mode: screen;
  z-index: 0;
}
@media (prefers-color-scheme: light) {
  .hero.app-hero::after { opacity: .22; mix-blend-mode: multiply; }
}

/* Holographic chromatic rim on devices (purely cosmetic, very soft). */
.device3d::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.34), rgba(0,0,0,0.10)),
    conic-gradient(from 0deg,
      rgba(239,68,68,.35),
      rgba(168,85,247,.30),
      rgba(59,130,246,.30),
      rgba(34,197,94,.25),
      rgba(239,68,68,.35));
  background-blend-mode: overlay;
  opacity: .82;
}

/* Far-back ghost phone for layered depth (optional, no-op if not present). */
.device3d--ghost {
  position: absolute;
  width: 240px;
  aspect-ratio: 10 / 20;
  right: 480px; top: 60px;
  border-radius: 36px;
  background:
    radial-gradient(700px 320px at 50% -10%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 40px 110px rgba(0,0,0,.42);
  opacity: .55;
  filter: blur(.3px) saturate(.9);
  transform:
    rotateX(calc(var(--rx2, 0deg) * 0.6))
    rotateY(calc(var(--ry2, 0deg) * 0.6))
    rotateZ(14deg)
    translateZ(-90px);
}
@media (max-width: 980px) {
  .device3d--ghost { display: none; }
}

/* Shimmer sweep on primary CTA (modern micro-interaction). */
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 30%,
    rgba(255,255,255,.30) 50%,
    transparent 70%);
  transform: translateX(-120%);
  transition: transform 700ms ease;
  pointer-events: none;
  z-index: 1;
}
.btn-primary:hover::before { transform: translateX(120%); }
.btn-primary > * { position: relative; z-index: 2; }
.btn-primary:hover {
  filter: brightness(1.06) saturate(1.05);
  box-shadow: 0 22px 48px rgba(185,28,28,.42), 0 0 0 1px rgba(255,255,255,.10) inset;
}

/* Slightly richer card lift in dark mode. */
@media (hover: hover) and (prefers-color-scheme: dark) {
  .feat:hover, .mini-card:hover, .step:hover, .story-card:hover {
    box-shadow: 0 22px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(239,68,68,.12) inset;
  }
}

/* Reveal (single source — JS adds .is-in) */
.reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 560ms cubic-bezier(.2, .7, .2, 1),
    transform 560ms cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-3d-bg::before,
  .hero-3d-bg::after,
  .hero.app-hero::after,
  .device3d--front,
  .device3d--back,
  .device3d--ghost { animation: none !important; }
  .reveal,
  .reveal.is-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

html.is-scrolling .hero-3d-bg::before,
html.is-scrolling .hero-3d-bg::after,
html.is-scrolling .hero.app-hero::after,
html.is-scrolling .device3d--front,
html.is-scrolling .device3d--back,
html.is-scrolling .device3d--ghost {
  animation-play-state: paused !important;
}

html.is-scrolling .hemoai-site-bg,
html.is-hidden .hemoai-site-bg,
html.perf-touch .hemoai-site-bg,
html.perf-low .hemoai-site-bg {
  opacity: 0.42 !important;
  transform: none !important;
}

@media (prefers-color-scheme: light) {
  html.is-scrolling .hemoai-site-bg,
  html.is-hidden .hemoai-site-bg,
  html.perf-touch .hemoai-site-bg,
  html.perf-low .hemoai-site-bg {
    opacity: 0.12 !important;
  }
}

.reveal.is-in {
  will-change: auto;
}

/* ============================================================
   Consent banner (minimal, KVKK/GDPR aware, dismissable)
   ============================================================ */
.consent-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 9999;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(10, 13, 22, .92);
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 14px; line-height: 1.45;
  transform: translateY(20px); opacity: 0;
  transition: transform 360ms ease, opacity 360ms ease;
}
.consent-banner.is-visible { transform: translateY(0); opacity: 1; }
.consent-banner__text { flex: 1 1 320px; }
.consent-banner__text a { color: #fca5a5; text-decoration: underline; }
.consent-banner__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.consent-banner__btn {
  padding: 9px 14px; border-radius: 12px; font-weight: 700; font-size: 13px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06);
  color: inherit; cursor: pointer;
}
.consent-banner__btn--primary {
  background: linear-gradient(135deg, rgba(239,68,68,.95), rgba(185,28,28,.95));
  border-color: rgba(239,68,68,.6); color: white;
}
@media (prefers-color-scheme: light) {
  .consent-banner { background: rgba(255,255,255,.96); color: #0f172a; border-color: rgba(15,23,42,.10); }
  .consent-banner__text a { color: #b91c1c; }
}

/* ============================================================
   v=20260516-3  Performance pass: cut jank from compounding
   animations, large blurs, conic spins, and backdrop-filter.
   ============================================================ */

/* Reduce blur radii of the halo orbs (cheaper paint). */
.hero-3d-bg::before { filter: blur(36px); width: 460px; height: 460px; }
.hero-3d-bg::after  { filter: blur(36px); width: 380px; height: 380px; }

/* Static, multi-stop radial mesh under the hero (no rotation/pulse). */
.hero.app-hero::after {
  background:
    radial-gradient(60% 60% at 65% 35%, rgba(239,68,68,.18), transparent 60%),
    radial-gradient(55% 55% at 35% 65%, rgba(59,130,246,.12), transparent 65%),
    radial-gradient(45% 45% at 70% 75%, rgba(168,85,247,.10), transparent 70%) !important;
  filter: blur(28px) !important;
  mix-blend-mode: normal !important;
  opacity: .42 !important;
}

/* Touch / low-power devices: drop the most expensive halos entirely. */
html.perf-low .hero-3d-bg::before,
html.perf-low .hero-3d-bg::after,
html.perf-low .hero.app-hero::after { display: none; }

/* Consent banner: drop backdrop-filter on touch/low (composites every
   frame even when idle, hurts battery on low-end Androids). */
html.perf-touch .consent-banner,
html.perf-low   .consent-banner {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(10,13,22,.96);
}

/* Promote hero card and 3D scene to isolated layers so giant blurred
   halos do not invalidate other content during scroll. */
.hero-card { transform: translateZ(0); contain: layout paint; }
.hero-3d-scene { contain: layout paint; }
.device3d { contain: layout paint; }

/* When tab is hidden, pause every infinite animation (extra safety). */
html.is-hidden *, html.is-hidden *::before, html.is-hidden *::after {
  animation-play-state: paused !important;
}

/* ============================================================
   v=20260521-2  Calm pass: stop the constant light/reflection
   movement during scroll. Keeps the 3D hero (mouse parallax,
   depth, halos) but removes the looping shimmer/sweep effects.
   ============================================================ */

/* No more sweeping highlights or pulsing logos. */
.brand-veins,
.brand-gloss,
.phone::after,
.shot-phone::after,
.bg,
.hero.app-hero::before,
.hero.app-hero::after,
.hero-3d-bg::before,
.hero-3d-bg::after,
.device3d--front,
.device3d--back,
.device3d--ghost,
.plan-featured,
.story-avatar {
  animation: none !important;
}

/* Static glare on the phone (kept as a one-shot gradient, no loop). */
.phone::after { opacity: 0.42 !important; }
.shot-phone::after { opacity: 0.32 !important; }

/* CTA shimmer only on hover (no idle loop). */
.btn-primary::before { transition: transform 600ms ease; }

/* During scroll, soften lighting so nothing flickers in the viewport. */
html.is-scrolling .hero-3d-bg::before,
html.is-scrolling .hero-3d-bg::after,
html.is-scrolling .hero.app-hero::after {
  opacity: 0.32 !important;
  transition: opacity 240ms ease;
}
