:root {
  --page-bg: #ffffff;
  --soft-bg: #f5f8ff;
  --surface: #ffffff;
  --surface-border: #e5ecfb;
  --text: #0b1437;
  --muted: #6b7694;
  --blue: #3375ff;
  --blue-deep: #1f5fe0;
  --blue-soft: #eff4ff;
  --green: #18a86b;
  --red: #d35a67;
  --shadow: 0 20px 55px rgba(35, 76, 160, 0.12);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--page-bg);
  font-family: "Manrope", sans-serif;
}

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

button,
a.button {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 42px 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229, 236, 251, 0.8);
}

.header-row,
.main-nav,
.header-actions,
.hero-actions,
.wallet-shortcuts,
.feature-table-head,
.feature-table-row,
.footer-row,
.footer-nav,
.stats-card,
.download-actions {
  display: flex;
  align-items: center;
}

.header-row,
.footer-row {
  justify-content: space-between;
  gap: 24px;
}

.header-row {
  min-height: 78px;
}

.header-actions {
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-name,
.hero h1,
.section-heading h2,
.section-copy h2,
.download-card h2 {
  font-family: "Sora", sans-serif;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--blue), #67a1ff);
  transform: rotate(16deg);
}

.main-nav,
.footer-nav {
  gap: 28px;
  color: var(--muted);
  font-weight: 600;
}

.main-nav a:hover,
.footer-nav a:hover,
.text-link:hover {
  color: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.button:hover,
.switcher-button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(51, 117, 255, 0.26);
}

.button-secondary {
  color: var(--blue);
  background: #ffffff;
  border-color: var(--surface-border);
}

.button-ghost {
  color: var(--blue);
  background: transparent;
  border-color: rgba(51, 117, 255, 0.16);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--surface-border);
  border-radius: 999px;
  background: #ffffff;
}

.language-button {
  min-width: 42px;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.language-button:hover {
  transform: translateY(-1px);
}

.language-button.is-active {
  color: var(--blue);
  background: var(--blue-soft);
}

.hero {
  padding-top: 66px;
}

.hero-grid,
.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 0.84rem;
}

.hero h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-text,
.section-copy p,
.section-heading p,
.download-card p,
.testimonial-card p,
.footer-copy,
.security-list p,
.preview-card p,
.feature-card p,
.shield-card p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 58ch;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-action-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 12px 26px 12px 18px;
  border: 1.5px solid #315dff;
  border-radius: 999px;
  background: #ffffff;
  color: #1842d8;
  box-shadow: 0 10px 24px rgba(49, 93, 255, 0.08);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.hero-action-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(49, 93, 255, 0.12);
}

.hero-action-icon {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 2px solid #315dff;
  border-radius: 7px;
}

.hero-action-icon-phone::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 8px;
  height: 2px;
  background: #315dff;
  border-radius: 999px;
  transform: translateX(-50%);
}

.hero-action-icon-desktop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 12px;
  height: 2px;
  background: #315dff;
  border-radius: 999px;
  transform: translateX(-50%);
}

.hero-action-text {
  display: block;
  max-width: 120px;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.1;
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.hero-media-glow {
  position: absolute;
  inset: 12% 8% auto;
  height: 68%;
  border-radius: 44px;
  background:
    radial-gradient(circle at 50% 50%, rgba(51, 117, 255, 0.22), transparent 58%),
    radial-gradient(circle at 50% 8%, rgba(129, 172, 255, 0.2), transparent 34%);
  filter: blur(18px);
}

.hero-media {
  position: relative;
  width: min(100%, 500px);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-shot {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  border-radius: 0;
}

.stats {
  padding-top: 8px;
}

.stats-card {
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(42, 77, 149, 0.07);
}

.stats-card article {
  flex: 1;
}

.stats-card span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.stats-card strong {
  display: block;
  margin-top: 7px;
  font-size: 1.45rem;
}

.section-copy h2,
.section-heading h2,
.download-card h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.section-copy p,
.section-heading p {
  margin: 16px 0 0;
  max-width: 62ch;
}

.text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--blue);
  font-weight: 800;
}

.platform-card,
.feature-table,
.feature-card,
.shield-card,
.preview-switcher,
.testimonial-card,
.download-card {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  background: #ffffff;
}

.platform-card {
  padding: 30px;
  box-shadow: 0 16px 40px rgba(40, 74, 145, 0.08);
}

.platform-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.platform-head span {
  color: var(--muted);
}

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

.platform-grid span,
.switcher-button {
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--text);
  font-weight: 700;
}

.platform-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.platform-metrics div {
  padding: 18px;
  border-radius: 18px;
  background: #f8faff;
}

.platform-metrics strong {
  display: block;
  font-size: 1.4rem;
}

.platform-metrics span {
  color: var(--muted);
}

.section-heading {
  max-width: 860px;
}

.feature-table {
  overflow: hidden;
  margin-top: 32px;
}

.feature-table-head,
.feature-table-row {
  padding: 18px 22px;
}

.feature-table-head {
  color: var(--muted);
  background: #f8faff;
  font-size: 0.92rem;
  font-weight: 700;
}

.feature-table-head span,
.feature-table-row > * {
  flex: 1;
}

.feature-table-row {
  border-top: 1px solid var(--surface-border);
}

.feature-table-row strong {
  font-size: 1rem;
}

.check {
  color: var(--blue);
  font-size: 1.2rem;
}

.muted-mark {
  color: #c5cfdf;
  font-size: 1.2rem;
}

.feature-cards,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.feature-card,
.testimonial-card {
  padding: 26px;
}

.feature-card h3,
.shield-card h3,
.preview-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.reverse-mobile {
  grid-template-columns: minmax(420px, 520px) minmax(0, 1fr);
}

.shield-card {
  padding: 34px;
  height: 100%;
  box-shadow: 0 16px 40px rgba(40, 74, 145, 0.08);
}

.shield-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 30%, #7eabff, transparent 34%),
    linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 20px 40px rgba(51, 117, 255, 0.28);
}

.security-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.security-list article {
  padding: 20px 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--surface-border);
}

.security-list strong {
  display: block;
  margin-bottom: 6px;
}

.preview-switcher {
  margin-top: 32px;
  padding: 26px;
}

.switcher-controls {
  display: inline-flex;
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  background: #f6f9ff;
}

.switcher-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.switcher-button.is-active {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(38, 74, 145, 0.12);
}

.preview-panel {
  display: none;
  margin-top: 22px;
}

.preview-panel.is-active {
  display: block;
}

.preview-card {
  min-height: 280px;
  padding: 34px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(82, 134, 255, 0.1), transparent 25%),
    #f8fbff;
  border: 1px solid var(--surface-border);
}

.download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  box-shadow: 0 18px 42px rgba(40, 74, 145, 0.08);
}

.download-card p {
  margin: 16px 0 0;
  max-width: 66ch;
}

.site-footer {
  padding: 18px 0 44px;
  background: #ffffff;
}

.footer-copy {
  max-width: 34ch;
}

.footer-brand {
  margin-bottom: 10px;
}

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

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

@media (max-width: 1100px) {
  .hero-grid,
  .split-layout,
  .reverse-mobile {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 10px;
  }

  .download-card,
  .footer-row,
  .stats-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-card article {
    width: 100%;
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .feature-cards,
  .testimonial-grid,
  .platform-metrics {
    grid-template-columns: 1fr;
  }

  .feature-table-head,
  .feature-table-row {
    gap: 10px;
    font-size: 0.92rem;
  }

  .download-actions,
  .hero-actions,
  .header-actions {
    width: 100%;
  }

  .hero-action-card {
    width: 100%;
    justify-content: flex-start;
  }

  .download-actions .button,
  .hero-actions .button,
  .header-actions .button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 30px 0;
  }

  .header-row {
    min-height: 72px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero h1,
  .section-copy h2,
  .section-heading h2,
  .download-card h2 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  .hero-media,
  .platform-card,
  .feature-card,
  .testimonial-card,
  .preview-switcher,
  .download-card,
  .shield-card {
    width: 100%;
  }

  .feature-table {
    overflow-x: auto;
  }

  .feature-table-head,
  .feature-table-row {
    min-width: 640px;
  }

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