:root {
  --bg-deep: #030712;
  --cyan: #2ee6ff;
  --cyan-soft: #7af0ff;
  --violet: #7b5cff;
  --blue: #3d7dff;
  --text: #eef5ff;
  --muted: #8fa3c2;
  --line: rgba(46, 230, 255, 0.16);
  --font-display: "Orbitron", sans-serif;
  --font-body: "Sora", sans-serif;
  --pad-x: max(1.1rem, env(safe-area-inset-left));
  --pad-r: max(1.1rem, env(safe-area-inset-right));
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
  line-height: 1.55;
  padding-bottom: env(safe-area-inset-bottom);
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Atmosphere */
.space {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 15% -5%, rgba(46, 230, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 15%, rgba(123, 92, 255, 0.2), transparent 50%),
    radial-gradient(ellipse 55% 40% at 50% 100%, rgba(30, 90, 200, 0.22), transparent 55%),
    linear-gradient(165deg, #02040c 0%, #071228 48%, #0a0820 100%);
}

#stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: drift 20s ease-in-out infinite;
  will-change: transform;
}

.orb-a {
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  top: -18%;
  left: -18%;
  background: rgba(46, 230, 255, 0.2);
}

.orb-b {
  width: min(440px, 60vw);
  height: min(440px, 60vw);
  top: 22%;
  right: -20%;
  background: rgba(123, 92, 255, 0.22);
  animation-delay: -7s;
}

.orb-c {
  width: min(360px, 50vw);
  height: min(360px, 50vw);
  bottom: 0;
  left: 28%;
  background: rgba(40, 110, 255, 0.16);
  animation-delay: -12s;
}

.grid-fade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 230, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 230, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 50% at 50% 20%, black, transparent 72%);
  animation: gridPulse 9s ease-in-out infinite;
}

.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(0, 0, 0, 0.08) 3px,
    rgba(0, 0, 0, 0.08) 4px
  );
  opacity: 0.25;
  mix-blend-mode: multiply;
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4%, 5%, 0) scale(1.07); }
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.72; }
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding:
    max(0.85rem, env(safe-area-inset-top))
    var(--pad-r)
    0.85rem
    var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.82), rgba(3, 7, 18, 0.55));
  border-bottom: 1px solid transparent;
  background-clip: padding-box;
}

.top::after {
  content: "";
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-r);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent);
  opacity: 0.45;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.brand-mark {
  font-weight: 800;
  font-size: 1.05rem;
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-name {
  font-weight: 500;
  font-size: 1.05rem;
}

.nav-apps {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.nav-apps:hover,
.nav-apps:focus-visible {
  color: var(--cyan-soft);
  border-color: rgba(46, 230, 255, 0.45);
  background: rgba(46, 230, 255, 0.06);
  outline: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100dvh - 4.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem var(--pad-r) 4.5rem var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  width: 100%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.phone-aura {
  position: absolute;
  width: 78%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 230, 255, 0.28), rgba(123, 92, 255, 0.12) 45%, transparent 70%);
  filter: blur(28px);
  animation: heroPulse 6s ease-in-out infinite;
  pointer-events: none;
}

.hero-phone {
  position: relative;
  width: min(100%, 420px);
  height: auto;
  max-height: min(78vh, 640px);
  object-fit: contain;
  filter: drop-shadow(0 28px 60px rgba(0, 0, 0, 0.55));
  animation: floatPhone 6s ease-in-out infinite;
  mix-blend-mode: lighten;
}

@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes heroPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero-glow {
  position: absolute;
  width: min(420px, 90vw);
  height: min(420px, 90vw);
  top: 8%;
  left: 18%;
  background: radial-gradient(circle, rgba(46, 230, 255, 0.14), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
  animation: heroPulse 6s ease-in-out infinite;
}

.brand-hero {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 12vw, 5.6rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin-bottom: 1.35rem;
  background: linear-gradient(115deg, #fff 8%, var(--cyan) 42%, var(--violet) 92%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 36px rgba(46, 230, 255, 0.28));
  animation: brandShine 8s ease-in-out infinite;
}

@keyframes brandShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 4.4vw, 2.1rem);
  line-height: 1.38;
  letter-spacing: 0.01em;
  max-width: 16ch;
  perspective: 600px;
}

.headline .line {
  display: block;
  margin-bottom: 0.3rem;
}

.headline .word {
  display: inline-block;
  margin-right: 0.32em;
  opacity: 0;
  transform: translateY(1em) rotateX(-45deg);
  filter: blur(8px);
  animation: wordIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.headline .accent {
  color: var(--cyan-soft);
  text-shadow: 0 0 28px rgba(46, 230, 255, 0.5);
}

.headline .glow {
  background: linear-gradient(90deg, var(--cyan), #b39bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.headline .solve {
  margin-top: 0.55rem;
  font-size: 0.92em;
}

@keyframes wordIn {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
    filter: blur(0);
  }
}

.sub {
  margin-top: 1.5rem;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(0.92rem, 2.6vw, 1.08rem);
  font-weight: 300;
}

.cta {
  display: flex;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.9rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 550;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn.primary {
  background: linear-gradient(120deg, #1ad4ef 0%, #4f7bff 55%, #7b5cff 100%);
  background-size: 180% 180%;
  color: #041018;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 14px 40px rgba(46, 230, 255, 0.28);
  animation: ctaShift 7s ease infinite;
}

.btn.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 3.8s ease-in-out infinite;
}

.btn-arrow {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

.btn.primary:hover,
.btn.primary:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 18px 48px rgba(46, 230, 255, 0.4);
  outline: none;
}

@keyframes ctaShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes sheen {
  0%, 60% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  width: 22px;
  height: 34px;
  border: 1px solid rgba(46, 230, 255, 0.35);
  border-radius: 14px;
  display: grid;
  place-items: start center;
  padding-top: 6px;
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: cueBounce 1.6s ease-in-out infinite;
}

@keyframes cueBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.35; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

.hero-visual[data-reveal] {
  transition-delay: 0.18s;
}

.sub[data-reveal] { transition-delay: 0.12s; }
.cta[data-reveal] { transition-delay: 0.22s; }
.scroll-cue[data-reveal] { transition-delay: 0.4s; }

/* Apps */
.apps {
  padding: 3.5rem var(--pad-r) 4.5rem var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.55rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.55rem;
}

.section-head p:last-child {
  color: var(--muted);
  max-width: 30rem;
  font-size: 0.95rem;
}

.app-block {
  margin-bottom: 3.5rem;
  padding: 1.35rem 0 2.75rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.app-block::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -1px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--cyan), var(--violet), transparent);
  opacity: 0.55;
}

.app-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.app-intro {
  display: grid;
  grid-template-columns: minmax(0, 200px) 1fr;
  gap: clamp(1.25rem, 3.5vw, 3rem);
  align-items: center;
  margin-bottom: 1.75rem;
}

.app-visual {
  position: relative;
  width: min(190px, 58vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-inline: auto;
}

.app-visual img {
  width: 70%;
  height: 70%;
  object-fit: cover;
  border-radius: 22%;
  position: relative;
  z-index: 2;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 18px 50px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(46, 230, 255, 0.28);
  animation: floatIcon 5.5s ease-in-out infinite;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(46, 230, 255, 0.22);
  animation: spinRing 16s linear infinite;
}

.ring-1 {
  inset: 6%;
  border-style: dashed;
  border-color: rgba(123, 92, 255, 0.4);
}

.ring-2 {
  inset: -8%;
  border-color: rgba(46, 230, 255, 0.14);
  animation-direction: reverse;
  animation-duration: 24s;
}

.ring-3 {
  inset: 18%;
  border-color: rgba(125, 200, 255, 0.12);
  animation-duration: 10s;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes spinRing {
  to { transform: rotate(360deg); }
}

.app-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.55rem;
}

.app-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.app-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.app-copy .lede {
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 1.1rem;
  font-size: 0.94rem;
}

.features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
}

.features li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--text);
  font-size: 0.9rem;
}

.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.badge-link {
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.badge-link:hover,
.badge-link:focus-visible {
  transform: translateY(-2px);
  opacity: 0.94;
  outline: none;
}

.badge-link img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.badge-link img[src*="googleplay"] {
  height: 48px;
}

.platform-note {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.45rem 0.75rem;
  border: 1px dashed rgba(143, 163, 194, 0.35);
  border-radius: 999px;
}

.shot-wrap {
  position: relative;
}

.shot-hint {
  display: none;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.shot-rail {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.35rem 0 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(46, 230, 255, 0.35) transparent;
}

.shot-rail::-webkit-scrollbar {
  height: 4px;
}

.shot-rail::-webkit-scrollbar-thumb {
  background: rgba(46, 230, 255, 0.35);
  border-radius: 4px;
}

.shot-rail img {
  flex: 0 0 auto;
  width: min(176px, 38vw);
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 16px;
  scroll-snap-align: start;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 14px 36px rgba(0, 0, 0, 0.42);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
  .shot-rail img:hover {
    transform: translateY(-6px);
    box-shadow:
      0 0 0 1px rgba(46, 230, 255, 0.4),
      0 20px 48px rgba(0, 0, 0, 0.5);
  }
}

/* Footer */
.foot {
  padding: 1.75rem var(--pad-r) max(2rem, env(safe-area-inset-bottom)) var(--pad-x);
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--line);
}

.foot a {
  color: var(--cyan-soft);
}

/* ========== Mobile ========== */
@media (max-width: 800px) {
  :root {
    --pad-x: max(1rem, env(safe-area-inset-left));
    --pad-r: max(1rem, env(safe-area-inset-right));
  }

  .orb {
    filter: blur(56px);
    opacity: 0.85;
  }

  .scanlines {
    opacity: 0.15;
  }

  .hero {
    min-height: auto;
    justify-content: flex-start;
    padding-top: clamp(1.5rem, 6vh, 2.5rem);
    padding-bottom: 3.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-visual {
    max-width: min(280px, 72vw);
    margin: 0.5rem auto 0;
  }

  .hero-phone {
    width: 100%;
    max-height: min(48vh, 420px);
    animation-duration: 7s;
  }

  .phone-aura {
    width: 90%;
    height: 60%;
  }

  .hero-glow {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .brand-hero {
    font-size: clamp(2.45rem, 13vw, 3.6rem);
  }

  .headline {
    max-width: none;
    font-size: clamp(1.05rem, 5vw, 1.35rem);
  }

  .cta {
    width: 100%;
  }

  .btn.primary {
    width: 100%;
    max-width: 100%;
  }

  .scroll-cue {
    bottom: 0.85rem;
  }

  .apps {
    padding-top: 2.75rem;
    padding-bottom: 3rem;
  }

  .app-intro {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.1rem;
  }

  .app-visual {
    width: min(150px, 46vw);
  }

  .app-block::before {
    display: none;
  }

  .app-block {
    margin-bottom: 2.75rem;
    padding-bottom: 2.25rem;
  }

  .app-copy .lede,
  .features {
    margin-inline: auto;
    text-align: left;
  }

  .app-tag {
    justify-content: center;
  }

  .store-row {
    justify-content: center;
  }

  .badge-link img {
    height: 42px;
  }

  .badge-link img[src*="googleplay"] {
    height: 46px;
  }

  .shot-hint {
    display: block;
  }

  /* Edge-to-edge screenshot rail on mobile */
  .shot-wrap {
    margin-inline: calc(-1 * var(--pad-x));
  }

  .shot-hint {
    padding-left: var(--pad-x);
  }

  .shot-rail {
    padding-left: var(--pad-x);
    padding-right: var(--pad-r);
    gap: 0.65rem;
    scroll-padding-inline: var(--pad-x);
  }

  .shot-rail img {
    width: min(168px, 48vw);
    border-radius: 14px;
    scroll-snap-align: center;
  }
}

@media (max-width: 380px) {
  .brand-hero {
    font-size: 2.2rem;
  }

  .store-row {
    flex-direction: column;
    align-items: stretch;
  }

  .badge-link {
    justify-content: center;
  }

  .badge-link img {
    height: 46px;
  }

  .badge-link img[src*="googleplay"] {
    height: 50px;
  }
}

@media (min-width: 801px) {
  .top {
    padding-left: clamp(1.5rem, 4vw, 2.5rem);
    padding-right: clamp(1.5rem, 4vw, 2.5rem);
  }

  .hero,
  .apps,
  .foot {
    padding-left: clamp(1.5rem, 4vw, 2.5rem);
    padding-right: clamp(1.5rem, 4vw, 2.5rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .headline .word,
  [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
