:root {
  color-scheme: dark;
  --bg: #08090f;
  --bg-soft: #11121c;
  --panel: rgba(28, 28, 42, 0.86);
  --panel-strong: rgba(35, 34, 51, 0.94);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f5ff;
  --muted: #a5a0b7;
  --quiet: #716d82;
  --coral: #ff786e;
  --pink: #e65abe;
  --violet: #983cff;
  --blue: #5b7cff;
  --green: #40ded2;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 120, 110, 0.18), transparent 26rem),
    radial-gradient(circle at 82% 15%, rgba(152, 60, 255, 0.2), transparent 24rem),
    linear-gradient(180deg, #13131e 0%, var(--bg) 42%, #05060a 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

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

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

.site-shell {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 12px;
}

.brand,
.nav-links,
.hero-actions,
.trust-row,
.footer-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(10, 10, 18, 0.58);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  background:
    linear-gradient(145deg, rgba(255, 120, 110, 0.9), rgba(152, 60, 255, 0.86)),
    var(--panel);
  box-shadow: 0 0 34px rgba(152, 60, 255, 0.45);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
}

.nav-links {
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 10, 18, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.nav-links a {
  min-width: 64px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: 72px 0 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 14px;
  font-weight: 700;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 32px;
  color: #c8c3d6;
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
}

.primary-action {
  background: linear-gradient(135deg, var(--coral), var(--pink), var(--violet));
  box-shadow: 0 14px 44px rgba(230, 90, 190, 0.32);
}

.secondary-action {
  border: 1px solid var(--line);
  color: #e8e4f3;
  background: rgba(255, 255, 255, 0.055);
}

.trust-row {
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.045);
}

.hero-board {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(18, 18, 28, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-board::before {
  position: absolute;
  inset: 12px;
  content: "";
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  pointer-events: none;
}

.board-topline {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--quiet);
  font-size: 13px;
}

.note-card,
.metric-card,
.feature-card,
.phone-frame,
.privacy-band,
.ai-strip {
  border: 1px solid var(--line);
  background: var(--panel);
}

.note-card {
  position: relative;
  min-height: 250px;
  padding: 24px;
  border-radius: 24px;
  overflow: hidden;
}

.note-card::after {
  position: absolute;
  right: -54px;
  bottom: -62px;
  width: 180px;
  height: 180px;
  content: "";
  border: 1px solid rgba(152, 60, 255, 0.8);
  border-radius: 42% 58% 52% 48%;
  transform: rotate(22deg);
}

.card-status {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #efd9ff;
  font-size: 13px;
  font-weight: 800;
  background: rgba(152, 60, 255, 0.32);
}

.note-card h2 {
  max-width: 310px;
  margin-bottom: 16px;
  font-size: 30px;
  line-height: 1.18;
}

.note-card p {
  max-width: 310px;
  color: var(--muted);
  line-height: 1.7;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-row span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #d9ccff;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.09);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.metric-card {
  min-height: 92px;
  padding: 16px;
  border-radius: 18px;
}

.metric-card span,
.metric-card strong {
  display: block;
}

.metric-card span {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.metric-card strong {
  font-size: 28px;
}

.ai-strip {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 12px;
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 120, 110, 0.22), rgba(152, 60, 255, 0.2));
}

.spark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 22px var(--green);
}

.ai-strip strong {
  display: block;
  margin-bottom: 4px;
}

.ai-strip p {
  margin: 0;
  color: #cfc8dc;
  font-size: 13px;
}

.section {
  padding: 92px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading h2,
.privacy-band h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: 0;
}

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

.feature-card {
  min-height: 260px;
  padding: 24px;
  border-radius: 24px;
}

.feature-icon {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 32px;
  border-radius: 14px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(255, 120, 110, 0.9), rgba(152, 60, 255, 0.9));
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.screen-section {
  overflow: hidden;
}

.phone-gallery {
  display: grid;
  grid-template-columns: 1.18fr repeat(3, 0.82fr);
  gap: 18px;
  align-items: end;
}

.phone-frame {
  padding: 10px 10px 16px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 477 / 1059;
  object-fit: cover;
  border-radius: 22px;
  background: #0b0c13;
}

.phone-frame figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.phone-frame.is-main {
  transform: translateY(-20px);
}

.privacy-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
  padding: 42px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(64, 222, 210, 0.12), transparent 38%),
    rgba(25, 24, 36, 0.9);
}

.privacy-band p:last-child {
  margin: 0;
  color: #c6c0d2;
  font-size: 17px;
  line-height: 1.9;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 0 54px;
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  margin-bottom: 6px;
  color: var(--text);
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a {
  color: #cbc5d8;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

@media (max-width: 980px) {
  .site-shell {
    width: min(100% - 28px, 720px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
  }

  .hero-section,
  .privacy-band {
    grid-template-columns: 1fr;
  }

  .hero-section {
    gap: 34px;
    min-height: 0;
    padding-top: 44px;
  }

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

  .phone-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .phone-frame.is-main {
    transform: none;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(100% - 24px, 460px);
  }

  .nav-links a {
    min-width: 56px;
    padding-inline: 11px;
    font-size: 13px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-board {
    padding: 16px;
    border-radius: 24px;
  }

  .note-card {
    min-height: 230px;
  }

  .note-card h2 {
    font-size: 24px;
  }

  .mini-grid,
  .feature-grid,
  .phone-gallery {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .section {
    padding: 64px 0;
  }

  .privacy-band {
    padding: 28px;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
