:root {
  --bg: #070916;
  --bg-2: #0c1023;
  --card: rgba(18, 23, 49, 0.72);
  --card-strong: #12172f;
  --text: #f7f8ff;
  --muted: #a7aec6;
  --line: rgba(255, 255, 255, 0.09);
  --blue: #3f6dff;
  --purple: #7a5cff;
  --cyan: #35d3ff;
  --radius: 28px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(63, 109, 255, 0.14), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(122, 92, 255, 0.11), transparent 26%),
    linear-gradient(180deg, #070916 0%, #090d1d 55%, #070916 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.bg-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .16;
  pointer-events: none;
  z-index: -1;
}
.orb-one { background: #425dff; top: 90px; left: -160px; }
.orb-two { background: #714cff; right: -160px; top: 440px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 9, 22, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; border-radius: 12px; box-shadow: 0 8px 24px rgba(45, 77, 255, .24); }
.brand span { font-size: 1.06rem; }
.nav-links { display: flex; align-items: center; gap: 30px; color: #c7cce0; font-size: .94rem; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.1);
  padding: 11px 17px;
  border-radius: 13px;
}

.hero { padding: 92px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; min-height: 620px; gap: 68px; }
.eyebrow, .section-tag {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  font-weight: 800;
  color: #9fb1ff;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
.app-heading { display: flex; align-items: center; gap: 22px; }
.hero-icon { width: 106px; height: 106px; border-radius: 28px; box-shadow: 0 24px 58px rgba(34, 61, 201, .3); }
h1 { font-size: clamp(3.1rem, 7vw, 6.2rem); line-height: .92; letter-spacing: -.065em; margin: 0 0 9px; }
.hero-kicker { margin: 0; color: #d9dded; font-weight: 600; font-size: 1.02rem; }
.hero-text { max-width: 620px; font-size: 1.12rem; line-height: 1.78; color: var(--muted); margin: 30px 0 30px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.play-link { display: inline-block; transition: transform .2s ease, filter .2s ease; }
.play-link:hover { transform: translateY(-2px); filter: brightness(1.08); }
.play-link img { width: 216px; height: auto; margin: -14px -12px; }
.secondary-btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  font-weight: 700;
  color: #e8ebf5;
}
.mini-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 36px; max-width: 600px; }
.mini-meta div { padding: 15px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.025); }
.mini-meta strong, .mini-meta span { display: block; }
.mini-meta strong { font-size: .88rem; margin-bottom: 4px; }
.mini-meta span { font-size: .76rem; line-height: 1.35; color: var(--muted); }

.hero-showcase { position: relative; min-height: 580px; perspective: 1300px; }
.phone {
  position: absolute;
  overflow: hidden;
  border: 8px solid #12152a;
  border-radius: 40px;
  background: #12152a;
  box-shadow: var(--shadow);
}
.phone::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  pointer-events: none;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-front { width: 285px; height: 540px; right: 20px; top: 12px; transform: rotateY(-10deg) rotateZ(2deg); z-index: 3; }
.phone-back { width: 245px; height: 475px; left: 0; top: 82px; transform: rotateY(12deg) rotateZ(-5deg); opacity: .78; filter: saturate(.85) brightness(.78); }
.glow-card {
  position: absolute;
  right: 120px;
  bottom: -2px;
  z-index: 5;
  width: 245px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: rgba(14,18,39,.8);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 50px rgba(0,0,0,.3);
}
.glow-card strong, .glow-card small { display: block; }
.glow-card strong { font-size: .94rem; margin-bottom: 5px; }
.glow-card small { color: var(--muted); line-height: 1.45; }
.glow-card .dot { width: 9px; height: 9px; background: #68f0b1; border-radius: 50%; position: absolute; right: 16px; top: 17px; box-shadow: 0 0 14px rgba(104,240,177,.75); }

.section { padding: 96px 0; }
.section-heading { max-width: 690px; margin-bottom: 42px; }
.section-heading h2 { font-size: clamp(2.15rem, 5vw, 3.65rem); letter-spacing: -.045em; line-height: 1.06; margin: 12px 0 16px; }
.section-heading p { color: var(--muted); line-height: 1.7; margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  padding: 30px;
  min-height: 245px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.feature-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(135deg, rgba(63,109,255,.23), rgba(122,92,255,.14)); color: #b9c7ff; font-size: 1.45rem; border: 1px solid rgba(132,155,255,.16); }
.feature-card h3 { margin: 24px 0 11px; font-size: 1.12rem; }
.feature-card p { color: var(--muted); line-height: 1.65; margin: 0; }

.screenshots-section { background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,.005)); border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); }
.row-heading { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.row-heading > p { max-width: 410px; }
.screenshots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.shot-card {
  margin: 0;
  padding: 8px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  box-shadow: 0 16px 42px rgba(0,0,0,.24);
  overflow: hidden;
}
.shot-card:nth-child(2), .shot-card:nth-child(4) { margin-top: 32px; }
.shot-card img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 21px; background: #11152b; }

.cta-section { padding-top: 78px; }
.cta-card {
  border-radius: 30px;
  border: 1px solid rgba(132,155,255,.16);
  background: radial-gradient(circle at 20% 0%, rgba(63,109,255,.2), transparent 35%), linear-gradient(135deg, rgba(18,23,49,.95), rgba(10,13,30,.98));
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow);
}
.cta-copy { display: flex; align-items: center; gap: 23px; }
.cta-copy > img { width: 84px; height: 84px; border-radius: 22px; }
.cta-card h2 { margin: 8px 0 8px; font-size: clamp(1.8rem, 4vw, 2.65rem); letter-spacing: -.035em; }
.cta-card p { margin: 0; color: var(--muted); }
.play-link-small img { width: 190px; }

footer { padding: 28px 0 38px; }
.footer-wrap { border-top: 1px solid var(--line); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: .84rem; }
.footer-brand img { width: 34px; height: 34px; border-radius: 10px; }
.footer-brand span { color: #e7eaf5; }
.footer-wrap a:hover { color: #fff; }

@media (max-width: 980px) {
  .hero { padding-top: 65px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 44px; }
  .hero-copy { text-align: center; }
  .app-heading { justify-content: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .mini-meta { margin-left: auto; margin-right: auto; text-align: left; }
  .hero-showcase { width: min(530px, 100%); margin: 0 auto; min-height: 600px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .screenshots { grid-template-columns: repeat(2, 1fr); }
  .shot-card:nth-child(2), .shot-card:nth-child(4) { margin-top: 0; }
  .cta-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 26px, 1160px); }
  .site-header { position: relative; }
  .nav-wrap { min-height: 68px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 9px 13px; font-size: .86rem; }
  .brand img { width: 38px; height: 38px; }
  .hero { padding: 58px 0 38px; }
  .app-heading { gap: 15px; align-items: center; }
  .hero-icon { width: 76px; height: 76px; border-radius: 20px; }
  h1 { font-size: clamp(3rem, 15vw, 4.45rem); }
  .hero-kicker { font-size: .88rem; }
  .hero-text { font-size: 1rem; margin-top: 24px; }
  .mini-meta { grid-template-columns: 1fr; }
  .hero-showcase { min-height: 500px; }
  .phone-front { width: 235px; height: 450px; right: 5px; }
  .phone-back { width: 190px; height: 380px; top: 64px; left: 4px; }
  .glow-card { right: 24px; width: 220px; bottom: 0; }
  .section { padding: 72px 0; }
  .row-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .screenshots {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 2px 1px 18px;
    gap: 14px;
    scrollbar-width: none;
  }
  .screenshots::-webkit-scrollbar { display: none; }
  .shot-card { min-width: 76vw; scroll-snap-align: center; }
  .cta-card { padding: 28px 22px; }
  .cta-copy { align-items: flex-start; }
  .cta-copy > img { width: 65px; height: 65px; border-radius: 18px; }
  .footer-wrap { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
