:root {
  --bg: #fbf2fc;
  --bg-soft: #f3e6f8;
  --bg-card: rgba(255, 255, 255, 0.82);
  --text: #333333;
  --muted: rgba(51, 51, 51, 0.62);
  --primary: #8921fe;
  --primary-light: #e979d9;
  --accent: #794cf7;
  --border: rgba(137, 33, 254, 0.12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at 8% 6%, rgba(233, 121, 217, 0.22), transparent 26rem),
    radial-gradient(circle at 88% 10%, rgba(121, 76, 247, 0.16), transparent 24rem),
    radial-gradient(circle at 50% 100%, rgba(233, 121, 217, 0.12), transparent 32rem),
    linear-gradient(180deg, #fdf6fe 0%, var(--bg) 38%, #f6ebfa 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(137, 33, 254, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 33, 254, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
}

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

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

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

.gradient-text {
  background: linear-gradient(95deg, var(--primary-light) 0%, var(--primary) 52%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(251, 242, 252, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(137, 33, 254, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(105deg, var(--primary-light) 0%, var(--accent) 100%);
  box-shadow: 0 14px 36px rgba(137, 33, 254, 0.28);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 70px 0 100px;
}

.hero::before {
  content: "";
  position: absolute;
  left: -10vw;
  top: 18%;
  width: 48vw;
  height: 48vw;
  border: 1px solid rgba(233, 121, 217, 0.22);
  border-radius: 46% 54% 42% 58%;
  transform: rotate(-16deg);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 72px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 20px;
  border-radius: 0 999px 999px 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero p {
  max-width: 610px;
  margin-bottom: 28px;
  font-size: 17px;
  color: var(--muted);
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.hero-meta span {
  position: relative;
  padding-left: 16px;
}

.hero-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.hero-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 620px;
  align-items: center;
  isolation: isolate;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background:
    conic-gradient(from 210deg, transparent, rgba(233, 121, 217, 0.35), rgba(121, 76, 247, 0.28), transparent 64%),
    radial-gradient(circle, rgba(255, 255, 255, 0.65), transparent 62%);
  filter: blur(1px);
  animation: spin-glow 18s linear infinite;
}

.orbit-label {
  position: absolute;
  top: 54px;
  right: 12%;
  z-index: 4;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  color: var(--primary);
  box-shadow: 0 12px 32px rgba(137, 33, 254, 0.12);
  transform: rotate(8deg);
}

.phone-frame {
  position: absolute;
  padding: 12px;
  border-radius: 36px;
  background: linear-gradient(145deg, #fff, rgba(251, 242, 252, 0.9));
  border: 1px solid rgba(137, 33, 254, 0.14);
  box-shadow: 0 28px 70px rgba(137, 33, 254, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.phone-frame img {
  border-radius: 28px;
}

.phone-frame-main {
  z-index: 3;
  width: min(62vw, 330px);
  transform: rotate(-4deg) translateY(8px);
}

.phone-frame-side {
  width: 230px;
  opacity: 0.95;
}

.phone-frame-left {
  z-index: 2;
  left: 0;
  bottom: 78px;
  transform: rotate(-16deg);
}

.phone-frame-right {
  z-index: 1;
  right: 0;
  top: 104px;
  transform: rotate(14deg);
}

.signal-strip {
  padding: 0 0 72px;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--border);
}

.signal-grid > div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
}

.signal-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--primary);
  font-size: 12px;
  letter-spacing: 0.22em;
}

.signal-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.signal-grid p {
  color: var(--muted);
  font-size: 14px;
}

.section {
  position: relative;
  padding: 92px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-head h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.04em;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-mosaic {
  grid-template-columns: 1.25fr 0.875fr 0.875fr;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 28px;
  border-radius: 30px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(251, 242, 252, 0.88)),
    radial-gradient(circle at 18% 12%, rgba(233, 121, 217, 0.14), transparent 15rem);
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(137, 33, 254, 0.06);
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 110px;
  height: 110px;
  border-radius: 34px;
  border: 1px solid rgba(137, 33, 254, 0.1);
  transform: rotate(18deg);
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.feature-card p {
  color: var(--muted);
  font-size: 15px;
}

.feature-large {
  min-height: 320px;
  padding: 36px;
}

.safety {
  background: linear-gradient(180deg, rgba(233, 121, 217, 0.08), transparent);
}

.safety-box {
  padding: 36px;
  border-radius: 36px;
  border: 1px solid rgba(233, 121, 217, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(251, 242, 252, 0.88)),
    radial-gradient(circle at 100% 0%, rgba(121, 76, 247, 0.1), transparent 20rem);
  box-shadow: 0 20px 48px rgba(137, 33, 254, 0.08);
}

.safety-box h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.safety-box p,
.safety-box li {
  color: var(--muted);
}

.safety-list {
  margin-top: 18px;
  padding-left: 18px;
}

.screenshots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.screenshot-wall {
  grid-auto-columns: minmax(210px, 250px);
  gap: 26px;
  padding: 32px 8vw 44px;
  margin: 0 calc((100vw - min(var(--max), calc(100vw - 40px))) / -2);
}

.screenshots img,
.screenshot-wall img {
  width: 100%;
  border-radius: 34px;
  border: 1px solid rgba(137, 33, 254, 0.1);
  scroll-snap-align: start;
  box-shadow: 0 20px 50px rgba(137, 33, 254, 0.14);
  transition: transform 0.25s ease;
}

.screenshot-wall img:nth-child(odd) {
  transform: translateY(28px) rotate(-3deg);
}

.screenshot-wall img:nth-child(even) {
  transform: translateY(-8px) rotate(3deg);
}

.screenshot-wall img:hover {
  transform: translateY(-18px) rotate(0deg) scale(1.02);
}

.download {
  text-align: center;
  padding: 88px 0;
  background: radial-gradient(circle at 50% 10%, rgba(233, 121, 217, 0.14), transparent 24rem);
}

.download-card {
  position: relative;
  overflow: hidden;
  padding: 48px 32px;
  border-radius: 42px;
  border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(251, 242, 252, 0.9)),
    radial-gradient(circle at 15% 20%, rgba(233, 121, 217, 0.12), transparent 18rem);
  box-shadow: 0 24px 60px rgba(137, 33, 254, 0.1);
}

.download-card::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(137, 33, 254, 0.12);
}

.download-card h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 42px);
}

.download-card p {
  margin-bottom: 28px;
  color: var(--muted);
}

.site-footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.42);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary);
}

.legal-page {
  padding: 56px 0 88px;
}

.legal-page h1 {
  margin-bottom: 8px;
  font-size: clamp(32px, 5vw, 48px);
}

.legal-meta {
  margin-bottom: 32px;
  color: var(--muted);
}

.legal-page h2 {
  margin: 36px 0 12px;
  font-size: 24px;
}

.legal-page h3 {
  margin: 24px 0 10px;
  font-size: 18px;
}

.legal-page p,
.legal-page li {
  margin-bottom: 12px;
  color: var(--muted);
}

.legal-page ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

@keyframes spin-glow {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .features,
  .feature-mosaic,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero-showcase {
    min-height: 560px;
  }

  .phone-frame-left {
    left: 4%;
  }

  .phone-frame-right {
    right: 4%;
  }
}

@media (max-width: 640px) {
  .hero-showcase {
    min-height: 500px;
  }

  .phone-frame-side {
    width: 180px;
  }

  .phone-frame-main {
    width: 260px;
  }

  .screenshot-wall {
    grid-auto-columns: minmax(180px, 70vw);
  }
}
