:root {
  --ink: #0b0b0f;
  --ink-2: #2c2c34;
  --muted: #5c5c68;
  --line: #e6e6ec;
  --bg: #ffffff;
  --bg-soft: #f3f5fa;
  --blue: #1a5cff;
  --blue-deep: #0d47e0;
  --blue-soft: #ebf0ff;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.1);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  display: none;
}

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

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

.container {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.glass,
.glass-strong {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.btn-nav {
  display: none;
  min-height: 40px;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  border-radius: 999px;
}

@media (min-width: 900px) {
  .btn-nav {
    display: inline-flex;
  }
  .site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .nav-pill {
    justify-self: center;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand__name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav-pill {
  display: none;
  align-items: center;
  gap: 1.5rem;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.nav-pill a {
  padding: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 0;
}

.nav-pill a:hover,
.nav-pill a.is-active {
  background: none;
  color: var(--ink);
  box-shadow: none;
}

.nav-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 1.25rem;
  right: 1.25rem;
  padding: 0.5rem;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

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

.mobile-nav a {
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  font-weight: 500;
}

.mobile-nav a:hover {
  background: var(--bg-soft);
}

@media (min-width: 900px) {
  .nav-pill {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* Hero — layered marketing composition */
.hero {
  position: relative;
  min-height: 78vh;
  padding: 4.5rem 0 3.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 60% at 78% 42%, rgba(26, 92, 255, 0.14), transparent 70%),
    radial-gradient(ellipse 40% 45% at 12% 80%, rgba(99, 140, 255, 0.08), transparent 65%),
    linear-gradient(180deg, #f7f8fc 0%, #eef1f8 100%);
  border-bottom: 0;
}

.hero::before {
  display: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero--rich {
  padding-bottom: 2rem;
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.hero__copy {
  max-width: 34rem;
}

.hero__copy .eyebrow {
  margin-bottom: 0.85rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 6vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero h1 .accent {
  color: var(--blue);
}

.hero__lead {
  margin: 0 0 1.75rem;
  max-width: 30rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.hero__avatars {
  display: flex;
}

.hero__avatars img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 2px solid #fff;
  margin-left: -10px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
  background: #fff;
}

.hero__avatars img:first-child {
  margin-left: 0;
}

.hero__trust p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.35;
}

.hero__trust strong {
  color: var(--ink);
  font-weight: 700;
}

.hero__stage {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__glow {
  position: absolute;
  width: min(380px, 85%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 92, 255, 0.18) 0%, rgba(180, 200, 255, 0.12) 45%, transparent 70%);
  z-index: 0;
}

.hero__phone {
  position: relative;
  z-index: 2;
  width: min(240px, 58vw);
  padding: 14px;
  border-radius: 36px;
  background: linear-gradient(160deg, #1a1a22 0%, #2a2a35 100%);
  box-shadow:
    0 30px 60px rgba(15, 23, 42, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  animation: floatY 5.5s ease-in-out infinite;
}

.hero__phone-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 340px;
  padding: 2rem 1.25rem;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    #0f1118;
  color: #fff;
  text-align: center;
}

.hero__phone-screen img {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.hero__phone-screen strong {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__phone-screen span {
  font-size: 0.85rem;
  color: #a8b0c4;
}

.float-card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1rem 1.1rem;
  animation: floatY 6s ease-in-out infinite;
}

.float-card--dl {
  top: 8%;
  left: 0;
  width: 168px;
  animation-delay: -1.2s;
}

.float-card--dl strong {
  display: block;
  font-size: 1.75rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0.15rem 0;
}

.float-card__label,
.float-card__meta {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.float-card__chart {
  width: 100%;
  height: 36px;
  margin-top: 0.55rem;
}

.float-card--stack {
  bottom: 12%;
  left: 2%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: max-content;
  max-width: 220px;
  animation-delay: -2.4s;
}

.float-stack {
  display: flex;
}

.float-stack img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 2px solid #fff;
  margin-left: -10px;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.12);
}

.float-stack img:first-child {
  margin-left: 0;
}

.float-card--stack p {
  margin: 0;
  display: grid;
  gap: 0.1rem;
}

.float-card--stack strong {
  font-size: 0.88rem;
  font-weight: 700;
}

.float-card--stack span {
  font-size: 0.72rem;
  color: var(--muted);
}

.float-card--rate {
  top: 18%;
  right: 0;
  width: 150px;
  animation-delay: -3.1s;
}

.float-card--rate .stars {
  color: #f5a524;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.float-card--rate strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.float-card--rate span {
  font-size: 0.75rem;
  color: var(--muted);
}

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

@media (max-width: 959px) {
  .hero__stage {
    min-height: 380px;
    margin-top: 0.5rem;
  }
  .float-card--dl { left: 4%; }
  .float-card--rate { right: 4%; }
}

@media (max-width: 560px) {
  .float-card--dl,
  .float-card--rate {
    display: none;
  }
  .float-card--stack {
    left: 50%;
    right: auto;
    bottom: 0;
    transform: translateX(-50%);
    animation: none;
  }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 50px;
  padding: 0.85rem 1.55rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(180deg, #3b75ff 0%, var(--blue) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 10px 24px rgba(26, 92, 255, 0.32);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #4a80ff 0%, var(--blue-deep) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 14px 28px rgba(13, 71, 224, 0.36);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.btn-ghost:hover {
  background: #fff;
  border-color: #cfcfd6;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

/* Marquee */
.marquee {
  width: 100%;
  margin: 0;
  overflow: hidden;
  padding: 0 0 2.5rem;
  background: transparent;
  border: 0;
  position: relative;
  z-index: 2;
}

.marquee--float .marquee__shell {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 1.05rem 0;
}

.marquee__track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 45s linear infinite;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.marquee__item img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.marquee__item strong {
  font-size: 0.875rem;
  font-weight: 600;
}

.marquee__item span span {
  color: var(--muted);
  font-size: 0.8rem;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-panel {
  padding: 0;
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section h2,
.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.05rem;
}

.grid-2 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .grid-2 {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: start;
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.stat {
  padding: 1.2rem 1.05rem;
  text-align: left;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.stat span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  padding: 1.5rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.card:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-color: #d8d8e0;
}

.card__icon {
  color: var(--blue);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  backdrop-filter: none;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: #c9dcff;
}

.apps-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .apps-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  backdrop-filter: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.app-card:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-color: #d8d8e0;
}

.app-card__top {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.app-card__top img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  box-shadow: none;
}

.app-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.2rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.tag--green {
  color: var(--blue);
}

.app-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.app-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  flex: 1;
}

.app-card a.play {
  width: fit-content;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--blue);
}

.page-hero {
  position: relative;
  padding: 4rem 0 2.25rem;
  background: var(--bg-soft) url("hero-bg.png") right center / cover no-repeat;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(244, 245, 248, 0.96) 0%,
    rgba(244, 245, 248, 0.85) 55%,
    rgba(244, 245, 248, 0.4) 100%
  );
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-inner,
.page-hero .glass-strong {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}

.form-card,
.info-card {
  padding: 1.35rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: none;
}

.form-card label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.35rem;
  letter-spacing: 0;
  text-transform: none;
}

.form-card input,
.form-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  margin-bottom: 0.9rem;
  background: #fff;
}

.form-card input:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.info-card + .info-card {
  margin-top: 0.85rem;
}

.info-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}

.info-card p,
.info-card a {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.site-footer {
  margin-top: 0;
  padding: 3rem 0 1.5rem;
  color: #aaa;
  background: #111;
  border-top: 0;
  backdrop-filter: none;
}

.site-footer a {
  color: #ddd;
}

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

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  }
}

.site-footer h4 {
  margin: 0 0 0.75rem;
  color: #888;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-brand strong {
  color: #fff;
  font-weight: 700;
}

.footer-copy {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #222;
  font-size: 0.8rem;
  color: #666;
}

.prose {
  max-width: 40rem;
  color: var(--ink-2);
}

.prose h2 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
  font-weight: 700;
}

.prose p {
  margin: 0 0 0.85rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: end;
}

.section--soft {
  background: var(--bg-soft);
}
