:root {
  --ink: #f6f7fb;
  --ink-soft: #a9b1c2;
  --navy: #07101f;
  --navy-soft: #0d1a2f;
  --blue: #6fa8ff;
  --violet: #a68cff;
  --mint: #6de6d0;
  --gold: #e7b56b;
  --paper: #f4f2ed;
  --paper-strong: #ffffff;
  --text: #122036;
  --text-soft: #607086;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 28px 80px rgba(3, 11, 25, 0.24);
  --radius: 28px;
  --content: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--navy);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--navy);
  background: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--navy);
}

.backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(1.06);
  animation: breathe 28s ease-in-out infinite alternate;
}

.backdrop__glow,
.backdrop__veil,
.backdrop__grain {
  position: absolute;
  inset: 0;
}

.backdrop__glow {
  background: radial-gradient(circle at 50% 28%, rgba(255, 191, 102, 0.23), transparent 28%);
  mix-blend-mode: screen;
}

.backdrop__veil {
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.76) 0%, rgba(5, 9, 18, 0.14) 38%, rgba(5, 9, 18, 0.72) 100%),
    radial-gradient(circle at 50% 48%, transparent 0%, rgba(5, 9, 18, 0.42) 74%);
}

.backdrop__grain {
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.lake-ripples {
  position: absolute;
  z-index: 1;
  top: 62%;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 92%, transparent 100%);
}

.lake-ripple-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  filter: blur(0.18px);
}

@keyframes breathe {
  from { transform: scale(1.06); }
  to { transform: scale(1.13) translateY(-1.2%); }
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px max(24px, calc((100vw - 1180px) / 2));
  transition: background 0.35s ease, border-color 0.35s ease, padding 0.35s ease;
}

.site-header.is-scrolled {
  padding-top: 13px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 13, 26, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  display: block;
  border-radius: 23%;
  box-shadow: 0 10px 28px rgba(8, 25, 55, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.site-nav .nav-cta {
  padding: 10px 17px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 130px 24px 92px;
  text-align: center;
}

.hero__content {
  width: min(920px, 100%);
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: #6d7b8d;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 9.5vw, 7.8rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(100deg, #fff 0%, #b5c9ff 38%, #af96ff 66%, #75ead6 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero__lead {
  width: min(670px, 100%);
  margin: 30px auto 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 2vw, 1.17rem);
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: #07101f;
  background: #fff;
  box-shadow: 0 18px 45px rgba(3, 10, 24, 0.25);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.trust-list {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 34px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  list-style: none;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-list span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(109, 230, 208, 0.7);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  width: 24px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 7px;
  border-radius: 3px;
  background: #fff;
  animation: scroll 1.8s ease-in-out infinite;
}

@keyframes scroll {
  0%, 100% { opacity: 0.35; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 13px); }
}

.section {
  position: relative;
  padding: 118px 24px;
}

.section--light,
.section--privacy {
  color: var(--text);
  background: var(--paper);
}

.section--dark {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(111, 168, 255, 0.1), transparent 34%),
    #08111f;
}

.section-heading,
.dashboard-preview,
.feature-grid,
.platform-grid,
.privacy-layout {
  width: var(--content);
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  max-width: 760px;
  margin-left: max(24px, calc((100vw - 1180px) / 2));
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.closing h2 {
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-heading > p:last-child {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.section-heading--center > p:last-child {
  margin-right: auto;
  margin-left: auto;
  color: var(--ink-soft);
}

.dashboard-preview {
  margin-top: 68px;
  padding: 25px;
  border: 1px solid rgba(18, 32, 54, 0.08);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.preview-topbar,
.preview-brand,
.preview-status {
  display: flex;
  align-items: center;
}

.preview-topbar {
  justify-content: space-between;
  padding: 2px 2px 22px;
}

.preview-brand {
  gap: 11px;
  font-weight: 750;
}

.preview-brand img {
  display: block;
  border-radius: 23%;
  box-shadow: 0 6px 18px rgba(8, 25, 55, 0.12);
}

.preview-status {
  gap: 8px;
  color: #65748a;
  font-size: 12px;
}

.preview-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27b88d;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-card {
  min-height: 160px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid rgba(18, 32, 54, 0.07);
  border-radius: 22px;
  background: var(--paper-strong);
}

.metric-card--wide {
  min-height: 290px;
  grid-column: 1 / -1;
  color: #f6f8fd;
  background: linear-gradient(145deg, #0e2749, #11223d 62%, #0d1830);
}

.metric-card p {
  margin: 0 0 10px;
  color: #708097;
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.metric-card--wide p {
  color: #91a2ba;
}

.metric-card strong {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.trend-line {
  height: 145px;
  margin: 28px -25px -25px;
}

.trend-line svg {
  width: 100%;
  height: 100%;
}

.trend-area {
  fill: url(#area);
}

.trend-stroke {
  fill: none;
  stroke: var(--mint);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.metric-rule {
  display: block;
  width: 78%;
  height: 7px;
  margin-top: 32px;
  border-radius: 999px;
}

.metric-rule--blue { background: linear-gradient(90deg, #6fa8ff, #a68cff); }
.metric-rule--gold { background: linear-gradient(90deg, #e7b56b, #df7f69); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.feature-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid rgba(18, 32, 54, 0.09);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.55);
}

.feature-index {
  color: #7b8ba1;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.feature-card h3 {
  margin: 62px 0 12px;
  font-size: 1.18rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
  margin-top: 58px;
}

.platform-card {
  min-height: 225px;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 25px;
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
  text-decoration: none;
}

.platform-card:nth-child(4) { grid-column: 2 / span 2; }
.platform-card--active {
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.platform-card--active:hover,
.platform-card--active:focus-visible {
  border-color: rgba(166, 140, 255, 0.55);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-5px);
}

.platform-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #c9d7f0;
  background: rgba(255, 255, 255, 0.07);
  font-size: 22px;
}

.platform-icon--android {
  color: #70e2a2;
}

.platform-copy {
  margin-top: 28px;
}

.platform-copy strong,
.platform-copy small {
  display: block;
}

.platform-copy strong {
  font-size: 1.1rem;
}

.platform-copy small {
  margin-top: 4px;
  color: #8998ae;
}

.status {
  margin-top: auto;
  color: #7e8ca2;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.status--ready { color: var(--mint); }
.status--progress { color: #f0bf78; }

.section--privacy {
  background: #e8edf1;
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 90px;
  align-items: start;
}

.privacy-layout .section-heading {
  width: auto;
  margin: 0;
}

.privacy-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  padding: 26px 0;
  border-top: 1px solid rgba(18, 32, 54, 0.12);
}

.privacy-list li:last-child {
  border-bottom: 1px solid rgba(18, 32, 54, 0.12);
}

.privacy-list > li > span {
  color: #8491a2;
  font-size: 12px;
  font-weight: 760;
}

.privacy-list strong {
  font-size: 1.07rem;
}

.privacy-list p {
  margin: 5px 0 0;
  color: var(--text-soft);
}

.closing {
  position: relative;
  display: grid;
  min-height: 620px;
  place-items: center;
  padding: 100px 24px;
  text-align: center;
  background: rgba(5, 10, 20, 0.58);
  backdrop-filter: blur(4px);
}

.closing__inner {
  width: min(900px, 100%);
}

.closing h2 {
  margin-bottom: 34px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: #050b16;
}

.site-footer p,
.icp-link {
  margin: 0;
  color: #6f7b8d;
  font-size: 11px;
}

.icp-link {
  justify-self: end;
  text-decoration: none;
}

.brand--footer {
  font-size: 15px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 2px solid #83b5ff;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  :root { --content: min(100%, calc(100vw - 36px)); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
  .platform-card,
  .platform-card:nth-child(4) { grid-column: auto; }
  .platform-card:last-child { grid-column: 1 / -1; }
  .privacy-layout { grid-template-columns: 1fr; gap: 52px; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer .brand,
  .icp-link { justify-self: center; }
}

@media (max-width: 720px) {
  .lake-ripples { top: 66%; }
  .site-header { padding: 16px 18px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 18px;
    left: 18px;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(6, 13, 26, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 13px 14px; }
  .site-nav .nav-cta { margin-top: 6px; text-align: center; }
  .hero { padding-right: 18px; padding-left: 18px; }
  .hero h1 { font-size: clamp(3.2rem, 17vw, 5.6rem); }
  .hero__actions { flex-direction: column; width: min(320px, 100%); margin-right: auto; margin-left: auto; }
  .trust-list { gap: 14px; flex-wrap: wrap; }
  .section { padding: 84px 18px; }
  .section-heading { margin-left: 0; }
  .dashboard-preview { margin-top: 45px; padding: 14px; border-radius: 24px; }
  .preview-grid { grid-template-columns: 1fr; }
  .metric-card--wide { min-height: 250px; grid-column: auto; }
  .feature-grid,
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card:last-child { grid-column: auto; }
  .feature-card { min-height: 220px; }
  .feature-card h3 { margin-top: 42px; }
  .privacy-layout { grid-template-columns: 1fr; }
  .closing { min-height: 540px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .lake-ripples { display: none; }
}
