:root {
  --bg: #f2f7ff;
  --surface: #ffffff;
  --text: #08122b;
  --muted: #516183;
  --line: rgba(20, 66, 190, 0.16);
  --blue: #0a66ff;
  --blue-deep: #0a46c2;
  --blue-soft: #8ec4ff;
  --glass: rgba(255, 255, 255, 0.66);
  --radius-lg: 1.35rem;
  --radius-md: 0.95rem;
  --shadow: 0 24px 56px rgba(12, 52, 142, 0.18);
  --section-max: 1140px;
  --header-h: 4.4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

.page-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 12%, rgba(10, 102, 255, 0.22), transparent 38%),
    radial-gradient(circle at 82% 8%, rgba(110, 185, 255, 0.28), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(83, 147, 255, 0.18), transparent 48%),
    linear-gradient(180deg, #f7fbff 0%, #eef5ff 100%);
}

.brand-logo {
  font-family: "Times New Roman", Times, serif;
  font-size: 2rem;
  letter-spacing: 0.02em;
}

.site-header {
  position: fixed;
  top: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 1rem), var(--section-max));
  height: var(--header-h);
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  background: var(--glass);
  z-index: 10;
}

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

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

.site-nav a,
.ghost-chip {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.76);
}

.ghost-chip {
  border: 1px solid var(--line);
  background: rgba(235, 245, 255, 0.6);
}

.ghost-chip:disabled {
  opacity: 0.68;
  cursor: not-allowed;
}

.lang-switcher {
  position: relative;
}

#language-select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.46rem 0.74rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #1b3c76;
  background: rgba(255, 255, 255, 0.77);
  cursor: pointer;
}

#language-select:focus-visible {
  outline: 2px solid rgba(10, 102, 255, 0.48);
  outline-offset: 2px;
}

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

main {
  overflow: hidden;
}

.hero {
  min-height: 100svh;
  padding: calc(var(--header-h) + 2rem) 1rem 2.75rem;
  width: min(100%, 1320px);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 34rem;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--blue-deep);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 7.8vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin-top: 1.05rem;
  color: var(--muted);
  max-width: 33ch;
  font-size: clamp(1rem, 2.8vw, 1.2rem);
}

.hero-actions {
  margin-top: 1.55rem;
}

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

.store-badge {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  border-radius: 0.75rem;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.store-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(7, 28, 73, 0.24);
}

.store-badge-img {
  display: block;
  height: 3.25rem;
  width: auto;
  max-width: min(13.9rem, 74vw);
}

.is-disabled {
  opacity: 0.84;
  filter: saturate(0.58);
  cursor: not-allowed;
}

.is-disabled:hover {
  transform: none;
  box-shadow: none;
}

.soon-chip {
  position: absolute;
  top: -0.48rem;
  right: -0.36rem;
  padding: 0.14rem 0.45rem;
  border-radius: 999px;
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #e7f1ff;
  color: #0b4dcb;
  border: 1px solid rgba(10, 102, 255, 0.35);
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.88rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease,
    color 180ms ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(130deg, var(--blue), #2a84ff);
  box-shadow: 0 10px 28px rgba(10, 102, 255, 0.38);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(10, 102, 255, 0.5);
}

.btn-secondary {
  color: #29477e;
  border: 1px solid rgba(20, 66, 190, 0.25);
  background: rgba(255, 255, 255, 0.84);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

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

.phone-stack {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 24rem;
}

.phone-screen {
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(236, 246, 255, 0.89));
  box-shadow: var(--shadow);
  padding: 1rem;
}

.phone-main {
  width: min(82vw, 20rem);
  z-index: 2;
}

.phone-side {
  position: absolute;
  width: min(57vw, 14rem);
  right: -0.8rem;
  bottom: -1.1rem;
  z-index: 1;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.dot {
  width: 0.52rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(130deg, #7cb8ff, #0a66ff);
}

.phone-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: #2b4f8e;
}

.phone-block {
  height: 3.25rem;
  border-radius: 0.8rem;
  background: linear-gradient(90deg, rgba(10, 102, 255, 0.16), rgba(10, 102, 255, 0.06));
}

.phone-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.66rem;
}

.block-lg {
  height: 5rem;
  margin-bottom: 0.66rem;
}

.block-md {
  margin-top: 0.66rem;
  height: 4.1rem;
}

.block-sm {
  margin-top: 0.66rem;
  height: 2.75rem;
}

.section {
  width: min(calc(100% - 2rem), var(--section-max));
  margin: 0 auto;
  padding: 4.25rem 0 0.75rem;
}

.section-title {
  max-width: 40rem;
}

h2 {
  font-size: clamp(1.58rem, 4.4vw, 2.7rem);
  line-height: 1.07;
  letter-spacing: -0.02em;
}

.feature-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1rem 1rem 1rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(17, 84, 209, 0.14);
}

.feature-icon {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  background: linear-gradient(140deg, rgba(10, 102, 255, 0.2), rgba(10, 102, 255, 0.08));
}

h3 {
  font-size: 1.04rem;
}

.feature-item p,
.login-copy,
.cta-panel p,
.shot p,
.preview-note {
  margin-top: 0.45rem;
  color: var(--muted);
}

.carousel {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.carousel-btn {
  width: 2.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: #234278;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(4px);
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 200ms ease, transform 200ms ease;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(17, 84, 209, 0.2);
  background: rgba(255, 255, 255, 0.63);
  backdrop-filter: blur(8px);
}

.carousel-track {
  display: flex;
  transition: transform 400ms ease;
}

.shot {
  min-width: 100%;
  padding: 1.45rem;
  min-height: 14.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(72, 147, 255, 0.16), rgba(10, 102, 255, 0.22)),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.6) 0,
      rgba(255, 255, 255, 0.6) 9px,
      rgba(206, 230, 255, 0.56) 9px,
      rgba(206, 230, 255, 0.56) 18px
    );
}

.shot-label {
  display: inline-block;
  width: fit-content;
  padding: 0.2rem 0.56rem;
  border-radius: 999px;
  background: rgba(11, 78, 201, 0.15);
  color: #0b3f9f;
  font-weight: 600;
  font-size: 0.78rem;
}

.carousel-dots {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}

.carousel-dots button {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(21, 71, 185, 0.25);
  cursor: pointer;
}

.carousel-dots button.active {
  background: var(--blue);
}

.web-login {
  padding-top: 5rem;
}

.login-card {
  max-width: 34rem;
  margin: 0 auto;
  padding: clamp(1.2rem, 5vw, 2rem);
  border: 1px solid rgba(17, 84, 209, 0.24);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.login-preview {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.55rem;
}

.login-preview label {
  font-size: 0.86rem;
  color: #244376;
  font-weight: 500;
}

.login-preview input {
  border-radius: 0.7rem;
  border: 1px solid rgba(17, 84, 209, 0.21);
  padding: 0.72rem 0.76rem;
  background: rgba(255, 255, 255, 0.81);
  color: #6d7c9b;
}

.login-preview .btn {
  margin-top: 0.55rem;
}

.preview-note {
  font-size: 0.86rem;
}

.cta {
  padding: 4.5rem 0 4rem;
}

.cta-panel {
  padding: clamp(1.2rem, 5vw, 2.4rem);
  border-radius: var(--radius-lg);
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.28), transparent 36%),
    linear-gradient(135deg, #0541af, #0a66ff 50%, #2b8dff);
}

.cta-panel .btn {
  margin-top: 1rem;
  background: #fff;
  color: #0c4ec7;
  box-shadow: none;
}

.cta-panel .btn:hover {
  transform: translateY(-1px);
  background: #eff6ff;
}

.store-badges--cta {
  margin-top: 1rem;
  justify-content: center;
}

.site-footer {
  border-top: 1px solid rgba(18, 86, 213, 0.18);
  padding: 1.7rem 1rem 2.4rem;
}

.footer-top {
  width: min(100%, var(--section-max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 0.68rem;
}

.footer-brand a,
.footer-links a,
.footer-note {
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 0.9rem;
}

.footer-note {
  width: min(100%, var(--section-max));
  margin: 0.9rem auto 0;
  font-size: 0.88rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (min-width: 760px) {
  .site-header {
    padding: 0 1.2rem;
  }

  .site-nav {
    gap: 0.55rem;
  }

  #language-select {
    min-width: 8.8rem;
  }

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

  .phone-side {
    right: -2rem;
    bottom: -1.4rem;
  }

  .feature-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 739px) {
  .site-nav a {
    display: none;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .ghost-chip {
    display: none;
  }

  #language-select {
    max-width: 8.1rem;
    font-size: 0.8rem;
    padding: 0.42rem 0.62rem;
  }

  .brand-logo {
    font-size: 1.7rem;
  }

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

  .carousel-btn {
    display: none;
  }

  .store-badge-img {
    height: 2.95rem;
    max-width: min(13.4rem, 82vw);
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
