:root {
  --bg-base: #f2f8ff;
  --bg-surface: rgba(255, 255, 255, 0.72);
  --bg-surface-strong: rgba(255, 255, 255, 0.82);
  --stroke: rgba(255, 255, 255, 0.6);
  --text: #171d2c;
  --muted: #5f7187;
  --blue: #007ae0;
  --blue-bright: #2eb0ff;
  --shadow: 0 30px 70px rgba(28, 73, 125, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Helvetica Neue",
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 14%, rgba(46, 176, 255, 0.22), transparent 21rem),
    radial-gradient(circle at 18% 84%, rgba(0, 122, 224, 0.16), transparent 24rem),
    radial-gradient(circle at 28% 18%, rgba(46, 176, 255, 0.16), transparent 18rem),
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.45), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.4), transparent 32%),
    linear-gradient(135deg, #f4f9ff 0%, #eaf5ff 44%, #f7fbff 100%);
}

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

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

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.hero,
.features {
  border: 1px solid var(--stroke);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 4vw, 54px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.hero-arrow {
  position: absolute;
  left: -110px;
  top: -80px;
  width: clamp(480px, 58vw, 820px);
  pointer-events: none;
  user-select: none;
  opacity: 0.18;
  z-index: 0;
  contain: layout paint;
  isolation: isolate;
}

.hero-arrow::before {
  content: "";
  position: absolute;
  left: 15%;
  top: 14%;
  width: 54%;
  height: 54%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 176, 255, 0.13) 0%, rgba(46, 176, 255, 0.06) 42%, transparent 72%);
  transform: translate3d(0, 0, 0);
}

.hero-arrow img {
  width: 100%;
  height: auto;
  transform-origin: 50% 52%;
  animation: hero-arrow-sway 7s ease-in-out infinite;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.brand-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(20, 77, 142, 0.16);
}

.brand-label,
.brand-subtitle,
.intro,
.feature-card p {
  margin: 0;
}

.brand-label {
  font-size: 1rem;
  font-weight: 800;
}

.brand-subtitle {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 10.5ch;
  font-size: clamp(2.3rem, 5.7vw, 4.35rem);
  line-height: 0.95;
}

.intro {
  max-width: 42ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.badge-link {
  display: inline-flex;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.badge-link img {
  display: block;
}

.badge-note {
  display: inline-flex;
  align-items: center;
  min-height: 60px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

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

.phone-frame {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 0.49;
  padding: 8px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, #2b3440 0%, #151b22 38%, #0f1419 100%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    inset 0 -1px 10px rgba(0, 0, 0, 0.28),
    0 26px 45px rgba(23, 49, 80, 0.24);
}

.phone-speaker {
  position: absolute;
  top: 11px;
  left: 50%;
  width: 34%;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #0a0f13, #1b222a);
  z-index: 2;
}

.phone-screen {
  height: 100%;
  padding: 0;
  border-radius: 27px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 80% 18%, rgba(46, 176, 255, 0.22), transparent 24%),
    radial-gradient(circle at 20% 80%, rgba(0, 122, 224, 0.16), transparent 30%),
    linear-gradient(180deg, #0b1623 0%, #112338 50%, #0d1722 100%);
  color: #f5fbff;
}

.phone-screenshot {
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  max-width: none;
  margin: -12px;
  object-fit: cover;
  object-position: center top;
}

.phone-video {
  width: 104%;
  height: 104%;
  max-width: none;
  margin-left: -2%;
  margin-top: -10%;
  display: block;
  object-fit: contain;
  object-position: center top;
  background: #05080c;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
  padding: 20px;
  content-visibility: auto;
  contain-intrinsic-size: 420px;
}

.bottom-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
  margin-top: 52px;
  margin-bottom: 72px;
}

.bottom-cta .badge-link {
  opacity: 1;
  box-shadow: 0 18px 34px rgba(23, 49, 80, 0.12);
}

.bottom-cta .badge-link img {
  opacity: 1;
}

.feature-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: var(--bg-surface-strong);
  contain: layout paint;
}

.feature-media {
  position: relative;
  height: 140px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background:
    radial-gradient(circle at 82% 20%, rgba(46, 176, 255, 0.2), transparent 24%),
    linear-gradient(180deg, rgba(238, 247, 255, 0.9), rgba(224, 239, 255, 0.72));
}

.feature-media-live,
.feature-media-analysis,
.feature-media-watch {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.feature-media-live {
  background:
    radial-gradient(circle at 76% 20%, rgba(94, 208, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #111b2b 0%, #0b1220 62%, #070c15 100%);
  border-color: rgba(83, 109, 145, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -20px 30px rgba(0, 0, 0, 0.2);
}

.feature-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.feature-card h2 {
  font-size: 1.28rem;
  line-height: 1.15;
}

.feature-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

.live-readout {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 54px;
  height: 34px;
}

.live-degree {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: start end;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  opacity: 0;
}

.live-degree-1 {
  animation: live-degree-1 4.6s linear infinite alternate;
}

.live-degree-2 {
  animation: live-degree-2 4.6s linear infinite alternate;
}

.live-degree-3 {
  animation: live-degree-3 4.6s linear infinite alternate;
}

.live-degree-4 {
  animation: live-degree-4 4.6s linear infinite alternate;
}

.live-degree-5 {
  animation: live-degree-5 4.6s linear infinite alternate;
}

.live-degree-6 {
  animation: live-degree-6 4.6s linear infinite alternate;
}

.live-degree-7 {
  animation: live-degree-7 4.6s linear infinite alternate;
}

.media-track {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 62px;
  height: 30px;
}

.media-track-line,
.media-track-dot {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.media-track-line {
  left: 0;
  right: 0;
  height: 16px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(188, 124, 76, 0.86) 0 50%, rgba(87, 168, 97, 0.88) 50% 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.18);
}

.media-track-line::before {
  content: "";
  position: absolute;
  left: calc(50% - 2px);
  top: -2px;
  bottom: -2px;
  width: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.media-track-dot {
  left: calc(50% - 10px);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f07d42;
  box-shadow:
    0 0 0 3px rgba(240, 125, 66, 0.24),
    0 0 18px rgba(240, 125, 66, 0.32);
  animation: live-dot-shift 4.6s ease-in-out infinite alternate,
    live-dot-color 4.6s linear infinite alternate;
}

.media-track::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 34px;
  height: 10px;
  background:
    radial-gradient(circle, rgba(111, 122, 150, 0.72) 0 5px, transparent 6px) left center / 12% 10px repeat-x;
  opacity: 0.95;
}

.live-status {
  position: absolute;
  left: 14px;
  top: 14px;
  height: 20px;
}

.live-phase {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.98rem;
  font-weight: 780;
  letter-spacing: -0.02em;
  opacity: 0;
}

.live-phase-header {
  color: rgba(240, 185, 150, 0.98);
  animation: live-phase-header 4.6s linear infinite alternate;
}

.live-phase-lift {
  color: rgba(157, 243, 166, 0.98);
  animation: live-phase-lift 4.6s linear infinite alternate;
}

.feature-media-analysis {
  padding: 14px;
  background:
    radial-gradient(circle at 78% 14%, rgba(94, 208, 255, 0.14), transparent 24%),
    linear-gradient(180deg, #121d2b 0%, #0b1320 58%, #09101a 100%);
  border-color: rgba(83, 109, 145, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -20px 30px rgba(0, 0, 0, 0.2);
}

.analysis-surface {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  bottom: 14px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(14, 24, 39, 0.96), rgba(11, 18, 30, 0.9));
  background-size: 18px 18px, 18px 18px, auto;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.analysis-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 72%, rgba(89, 183, 255, 0.18) 0 10px, transparent 11px),
    radial-gradient(circle at 56% 38%, rgba(243, 160, 98, 0.18) 0 10px, transparent 11px),
    radial-gradient(circle at 86% 30%, rgba(121, 227, 139, 0.18) 0 10px, transparent 11px);
}

.analysis-route {
  position: absolute;
  height: 4px;
  border-radius: 999px;
  transform-origin: left center;
  z-index: 1;
}

.analysis-route-blue {
  background: #59b7ff;
  box-shadow: 0 0 12px rgba(89, 183, 255, 0.24);
}

.analysis-route-orange {
  background: #f3a062;
  box-shadow: 0 0 12px rgba(243, 160, 98, 0.2);
}

.analysis-route-green {
  background: #79e38b;
  box-shadow: 0 0 12px rgba(121, 227, 139, 0.2);
}

.analysis-route-a {
  left: 10%;
  top: 70%;
  width: 20%;
  transform: rotate(-26deg);
}

.analysis-route-b {
  left: 28%;
  top: 60%;
  width: 17%;
  transform: rotate(-38deg);
}

.analysis-route-c {
  left: 42%;
  top: 46%;
  width: 12%;
  transform: rotate(-6deg);
}

.analysis-route-d {
  left: 52%;
  top: 46%;
  width: 12%;
  transform: rotate(28deg);
}

.analysis-route-e {
  left: 62%;
  top: 56%;
  width: 15%;
  transform: rotate(-18deg);
}

.analysis-route-f {
  left: 74%;
  top: 50%;
  width: 13%;
  transform: rotate(-42deg);
}

.analysis-route-g {
  left: 18%;
  top: 36%;
  width: 18%;
  transform: rotate(34deg);
}

.analysis-route-h {
  left: 34%;
  top: 34%;
  width: 19%;
  transform: rotate(8deg);
}

.analysis-route-i {
  left: 50%;
  top: 28%;
  width: 26%;
  transform: rotate(-22deg);
}

.analysis-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  z-index: 2;
}

.analysis-node-start {
  left: 9%;
  top: 69%;
  background: #59b7ff;
  box-shadow: 0 0 0 3px rgba(89, 183, 255, 0.14);
}

.analysis-node-turn {
  left: 52%;
  top: 43%;
  background: #f3a062;
  box-shadow: 0 0 0 3px rgba(243, 160, 98, 0.14);
}

.analysis-node-finish {
  left: 87%;
  top: 41%;
  background: #79e38b;
  box-shadow: 0 0 0 3px rgba(121, 227, 139, 0.14);
}

.feature-media-watch {
  display: grid;
  place-items: center;
}

.watch-shell {
  position: relative;
  width: 96px;
  height: 112px;
  padding: 9px;
  border-radius: 28px;
  background: linear-gradient(180deg, #20262f 0%, #0e1318 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 18px 26px rgba(31, 72, 117, 0.16);
}

.watch-shell::before,
.watch-shell::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 44px;
  transform: translateX(-50%);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(0, 122, 224, 0.18), rgba(46, 176, 255, 0.1));
}

.watch-shell::before {
  top: -26px;
  height: 30px;
}

.watch-shell::after {
  bottom: -26px;
  height: 30px;
}

.watch-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, #64d96d 0%, #54c65d 100%);
}

.watch-message {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(9, 24, 14, 0.92);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}


@keyframes hero-arrow-sway {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(108deg);
  }
  50% {
    transform: translate3d(0, 0, 0) rotate(125deg);
  }
}

@keyframes live-dot-shift {
  0% {
    transform: translateY(-50%) translateX(-72px);
  }
  16% {
    transform: translateY(-50%) translateX(-48px);
  }
  32% {
    transform: translateY(-50%) translateX(-24px);
  }
  48% {
    transform: translateY(-50%) translateX(0);
  }
  64% {
    transform: translateY(-50%) translateX(24px);
  }
  80% {
    transform: translateY(-50%) translateX(48px);
  }
  100% {
    transform: translateY(-50%) translateX(72px);
  }
}

@keyframes live-dot-color {
  0%, 48% {
    background: #f07d42;
    box-shadow:
      0 0 0 3px rgba(240, 125, 66, 0.24),
      0 0 18px rgba(240, 125, 66, 0.32);
  }
  52%, 100% {
    background: #66e46f;
    box-shadow:
      0 0 0 3px rgba(102, 228, 111, 0.24),
      0 0 18px rgba(102, 228, 111, 0.32);
  }
}

@keyframes live-phase-header {
  0%, 48% {
    opacity: 1;
  }
  52%, 100% {
    opacity: 0;
  }
}

@keyframes live-phase-lift {
  0%, 48% {
    opacity: 0;
  }
  52%, 100% {
    opacity: 1;
  }
}

@keyframes live-degree-1 {
  0%, 10% { opacity: 1; }
  14%, 100% { opacity: 0; }
}

@keyframes live-degree-2 {
  0%, 10% { opacity: 0; }
  14%, 24% { opacity: 1; }
  28%, 100% { opacity: 0; }
}

@keyframes live-degree-3 {
  0%, 24% { opacity: 0; }
  28%, 38% { opacity: 1; }
  42%, 100% { opacity: 0; }
}

@keyframes live-degree-4 {
  0%, 38% { opacity: 0; }
  42%, 58% { opacity: 1; }
  62%, 100% { opacity: 0; }
}

@keyframes live-degree-5 {
  0%, 58% { opacity: 0; }
  62%, 72% { opacity: 1; }
  76%, 100% { opacity: 0; }
}

@keyframes live-degree-6 {
  0%, 72% { opacity: 0; }
  76%, 86% { opacity: 1; }
  90%, 100% { opacity: 0; }
}

@keyframes live-degree-7 {
  0%, 86% { opacity: 0; }
  90%, 100% { opacity: 1; }
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .hero,
  .features {
    background: var(--bg-surface);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-arrow img {
    animation: none;
    transform: rotate(116deg);
  }

  .phone-video {
    transform: none;
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  h1 {
    max-width: none;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .hero-arrow {
    left: -80px;
    top: 10px;
    width: clamp(420px, 82vw, 620px);
    opacity: 0.15;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 20px, 1120px);
    padding-top: 20px;
  }

  .hero,
  .features {
    border-radius: 26px;
  }

  .hero {
    gap: 22px;
    padding: 22px 18px;
  }

  .hero-arrow {
    left: 50%;
    top: 28px;
    width: 420px;
    transform: translateX(-50%);
    opacity: 0.12;
  }

  h1 {
    font-size: clamp(2.15rem, 12vw, 3.3rem);
  }

  .intro {
    font-size: 1rem;
  }

  .brand {
    margin-bottom: 20px;
  }

  .badge-link {
    flex: 0 0 auto;
  }

  .cta-row {
    margin-top: 22px;
    margin-bottom: 18px;
  }

  .hero-visual {
    justify-content: center;
  }

  .phone-frame {
    width: min(100%, 288px);
    padding: 7px;
    border-radius: 30px;
  }

  .phone-screen {
    border-radius: 23px;
  }

  .phone-screenshot {
    width: calc(100% + 18px);
    height: calc(100% + 18px);
    margin: -9px;
  }

  .phone-video {
    width: 103%;
    height: 103%;
    margin-left: -1.5%;
    margin-top: -3%;
    object-fit: contain;
  }

  .main-number {
    font-size: 2.6rem;
  }

  .features {
    padding: 14px;
    gap: 14px;
  }

  .bottom-cta {
    margin-top: 34px;
    margin-bottom: 56px;
  }

  .feature-card {
    padding: 18px;
  }

  .feature-media {
    height: 126px;
  }
}
