:root {
  --bg-0: #050b12;
  --bg-1: #081a2b;
  --bg-2: #10253a;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.16);
  --text: #ebf2fb;
  --text-soft: #b7c7dc;
  --accent: #2ed3a0;
  --accent-2: #f3c366;
  --danger: #f37d7d;
  --shadow-lg: 0 28px 60px rgba(2, 9, 18, 0.55);
  --radius-lg: 24px;
  --radius-md: 16px;
  --content-w: min(1180px, calc(100% - 2.4rem));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 540px at 10% -8%, rgba(46, 211, 160, 0.2), transparent 55%),
    radial-gradient(950px 520px at 90% 10%, rgba(243, 195, 102, 0.12), transparent 60%),
    linear-gradient(145deg, var(--bg-0), var(--bg-1) 44%, var(--bg-2));
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 999px;
  filter: blur(64px);
  pointer-events: none;
  z-index: -2;
}

body::before {
  top: -200px;
  right: -140px;
  background: rgba(46, 211, 160, 0.15);
  animation: driftA 14s ease-in-out infinite;
}

body::after {
  left: -170px;
  bottom: -240px;
  background: rgba(243, 195, 102, 0.12);
  animation: driftB 16s ease-in-out infinite;
}

@keyframes driftA {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-20px, 22px, 0);
  }
}

@keyframes driftB {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(28px, -24px, 0);
  }
}

.container {
  width: var(--content-w);
  margin: 0 auto;
}

h1,
h2,
h3,
h4 {
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.1;
  margin: 0 0 1rem;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 11, 18, 0.72);
  backdrop-filter: blur(12px);
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.56rem;
}

.brand-mark {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 18px rgba(46, 211, 160, 0.78);
}

.brand-text {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #ffffff;
}

.nav-cta {
  border: 1px solid rgba(46, 211, 160, 0.6);
  color: #032516 !important;
  background: linear-gradient(120deg, var(--accent), #7ff0cb);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  margin: 5px 0;
}

main {
  padding: 0 0 1rem;
}

.hero {
  padding: 5.2rem 0 2.6rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-2);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.9vw, 3.7rem);
  margin-bottom: 1rem;
}

.hero p {
  color: var(--text-soft);
  max-width: 60ch;
}

.button-row {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.72rem 1.18rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #032315;
  background: linear-gradient(120deg, var(--accent), #80f3ce);
}

.btn-secondary {
  border-color: var(--border);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.kpi-row {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.kpi {
  padding: 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.kpi strong {
  display: block;
  font-size: 1.22rem;
}

.kpi span {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.phone-stage {
  perspective: 1800px;
  display: grid;
  place-items: center;
  min-height: 640px;
}

.phone-wrap {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  width: 320px;
  height: 640px;
  position: relative;
  transform-style: preserve-3d;
  animation: phoneSway 9.2s ease-in-out infinite;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.25s ease;
}

@keyframes phoneSway {
  0%,
  100% {
    transform: rotateX(2deg) rotateY(-18deg) translateY(0);
  }
  25% {
    transform: rotateX(1deg) rotateY(-8deg) translateY(-8px);
  }
  50% {
    transform: rotateX(-1deg) rotateY(14deg) translateY(0);
  }
  75% {
    transform: rotateX(1deg) rotateY(6deg) translateY(-6px);
  }
}

.phone-back {
  position: absolute;
  inset: 0;
  border-radius: 42px;
  background: linear-gradient(155deg, #1d232c, #090d12);
  border: 2px solid #2f343d;
  transform: translateZ(-16px);
}

.phone-shell {
  position: absolute;
  inset: 0;
  border-radius: 42px;
  padding: 11px;
  background: linear-gradient(145deg, #121922, #05080d);
  border: 2px solid #404550;
  box-shadow: var(--shadow-lg);
  transform: translateZ(16px);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-camera {
  position: absolute;
  left: 50%;
  top: 13px;
  transform: translateX(-50%);
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #194a8e, #02080f 62%);
  z-index: 2;
}

.phone-side {
  position: absolute;
  top: 18px;
  bottom: 18px;
  width: 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, #444954, #1b1f29);
}

.phone-side.left {
  left: -6px;
  transform: rotateY(90deg) translateZ(0);
}

.phone-side.right {
  right: -6px;
  transform: rotateY(-90deg) translateZ(0);
}

.phone-glow {
  position: absolute;
  inset: auto -34px -24px;
  height: 80px;
  border-radius: 999px;
  filter: blur(24px);
  background: linear-gradient(90deg, rgba(46, 211, 160, 0.35), rgba(243, 195, 102, 0.2));
  z-index: -1;
}

.section {
  padding: 3.8rem 0;
}

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

.section-head h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 211, 160, 0.5);
}

.card p,
.card li,
.copy p {
  color: var(--text-soft);
}

.card ul {
  margin: 0.8rem 0 0;
  padding-left: 1rem;
}

.app-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 0.6rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #d8e5f7;
  background: rgba(255, 255, 255, 0.05);
}

.tile-link {
  margin-top: 1rem;
  display: inline-flex;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent);
}

.panel {
  border: 1px solid var(--border);
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-lg);
}

.timeline {
  display: grid;
  gap: 0.8rem;
}

.timeline-item {
  border-left: 2px solid rgba(46, 211, 160, 0.5);
  padding: 0.2rem 0 0.2rem 0.85rem;
}

.legal-shell {
  max-width: 860px;
  margin: 3.8rem auto;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.legal-shell h1 {
  margin-bottom: 0.4rem;
}

.legal-shell h2 {
  margin-top: 1.4rem;
  font-size: 1.1rem;
}

.legal-meta {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.legal-note {
  margin-top: 1.2rem;
  border-left: 4px solid var(--accent-2);
  border-radius: 8px;
  background: rgba(243, 195, 102, 0.12);
  padding: 0.8rem;
  color: #f3ebdc;
}

.site-footer {
  margin-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 11, 18, 0.54);
}

.footer-grid {
  padding: 1.8rem 0 1rem;
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 0.5rem;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: var(--text-soft);
  text-decoration: none;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.9rem 0 1.3rem;
}

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

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

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

  .phone-stage {
    min-height: auto;
    padding-top: 0.8rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 820px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem 1.2rem 1.2rem;
    background: rgba(5, 11, 18, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-cta {
    margin-top: 0.25rem;
  }

  .kpi-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --content-w: min(1180px, calc(100% - 1.2rem));
  }

  .hero {
    padding-top: 3.8rem;
  }

  .phone-wrap {
    width: 274px;
    height: 550px;
  }

  .section {
    padding: 3.1rem 0;
  }

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