:root {
  color-scheme: dark;
  --bg: #050714;
  --panel: rgba(255, 255, 255, 0.065);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f8ff;
  --muted: #a9afc3;
  --blue: #60a5fa;
  --purple: #c084fc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(37, 99, 235, .22), transparent 30rem),
    radial-gradient(circle at 82% 26%, rgba(147, 51, 234, .18), transparent 28rem),
    var(--bg);
}
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-size: 1.35rem; font-weight: 800; text-decoration: none; letter-spacing: -.04em; }
.brand span, .gradient-text {
  background: linear-gradient(90deg, var(--blue), #a5b4fc, var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; gap: 24px; color: var(--muted); font-size: .94rem; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: white; }
.hero { min-height: 650px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 60px; padding: 72px 0 110px; }
.eyebrow { color: #b8c7ff; text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 700; }
h1 { margin: 18px 0 22px; font-size: clamp(3.4rem, 8vw, 6.6rem); line-height: .93; letter-spacing: -.075em; }
.lead { max-width: 620px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.65; }
.actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.button { display: inline-flex; padding: 14px 20px; border-radius: 999px; text-decoration: none; font-weight: 750; background: linear-gradient(90deg, #2563eb, #9333ea); box-shadow: 0 16px 40px rgba(99, 102, 241, .28); }
.button.secondary { background: transparent; box-shadow: none; border: 1px solid var(--line); color: #d9dcE8; }
.visual { position: relative; min-height: 400px; display: grid; place-items: center; }
.orbit { position: absolute; width: min(410px, 82vw); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.orbit::before, .orbit::after { content: ""; position: absolute; inset: 18%; border: 1px solid rgba(255,255,255,.07); border-radius: 50%; }
.orbit::after { inset: 36%; }
.orbs { width: 100%; display: flex; justify-content: space-between; align-items: center; z-index: 1; }
.orb { width: clamp(82px, 11vw, 126px); aspect-ratio: 1; border-radius: 50%; animation: breathe 3.2s ease-in-out infinite; }
.orb.blue { background: radial-gradient(circle at 35% 30%, #bfdbfe, #3b82f6 45%, #1d4ed8); box-shadow: 0 0 64px 12px rgba(59,130,246,.45); }
.orb.purple { background: radial-gradient(circle at 35% 30%, #e9d5ff, #a855f7 45%, #6b21a8); box-shadow: 0 0 64px 12px rgba(168,85,247,.4); animation-delay: -1.6s; }
@keyframes breathe { 0%,100% { transform: scale(.9); opacity: .8; } 50% { transform: scale(1.08); opacity: 1; } }
.section { padding: 96px 0; border-top: 1px solid rgba(255,255,255,.07); }
.section h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 14px; letter-spacing: -.045em; }
.section-intro { color: var(--muted); line-height: 1.7; max-width: 650px; }
.cards { margin-top: 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: var(--panel); backdrop-filter: blur(14px); }
.card .number { color: #9daaff; font-size: .75rem; font-weight: 800; letter-spacing: .12em; }
.card h3 { margin: 14px 0 10px; font-size: 1.25rem; }
.card p, .legal p, .legal li { color: var(--muted); line-height: 1.7; }
.card ol, .plan-card ul { margin: 18px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.8; }
.menu-icon { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 22px; height: 22px; margin: 0 2px; vertical-align: middle; border-radius: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); }
.menu-icon span { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.card-link { display: inline-flex; gap: 6px; margin-top: 10px; color: #cbd4ff; font-weight: 750; text-decoration-color: rgba(165, 180, 252, .45); text-underline-offset: 4px; }
.card-link:hover { color: white; }
.demo-card { overflow: hidden; }
.mini-demo {
  position: relative;
  height: 148px;
  margin: 18px -8px 22px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 110%, rgba(99,102,241,.14), transparent 56%),
    rgba(1,3,12,.64);
}
.demo-orb, .custom-orb {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border-radius: 50%;
}
.demo-blue {
  left: 18%;
  background: radial-gradient(circle at 35% 30%, #bfdbfe, #3b82f6 45%, #1d4ed8);
  box-shadow: 0 0 28px 7px rgba(59,130,246,.4);
  animation: orb-left 4.4s ease-in-out infinite;
}
.demo-purple {
  right: 18%;
  background: radial-gradient(circle at 35% 30%, #e9d5ff, #a855f7 45%, #6b21a8);
  box-shadow: 0 0 28px 7px rgba(168,85,247,.38);
  animation: orb-right 4.4s ease-in-out infinite;
}
@keyframes orb-left {
  0%, 38%, 100% { opacity: 1; transform: scale(1); }
  48%, 72% { opacity: 0; transform: scale(.72); }
}
@keyframes orb-right {
  0%, 48% { opacity: 0; transform: scale(.72); }
  62%, 88% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(.72); }
}
.custom-orb {
  opacity: 0;
}
.custom-left { left: 22%; animation: customise-left 9.2s ease-in-out infinite; }
.custom-right { right: 22%; animation: customise-right 9.2s ease-in-out infinite; }
@keyframes customise-left {
  0%, 18% { opacity: 1; transform: scale(.78); background: radial-gradient(circle at 35% 30%, #bfdbfe, #3b82f6 45%, #1d4ed8); box-shadow: 0 0 26px 7px rgba(59,130,246,.4); }
  24%, 48% { opacity: 0; transform: scale(.62); }
  50%, 68% { opacity: 1; transform: scale(1.12); background: radial-gradient(circle at 35% 30%, #bbf7d0, #22c55e 45%, #15803d); box-shadow: 0 0 34px 9px rgba(34,197,94,.4); }
  74%, 98% { opacity: 0; transform: scale(.88); }
  100% { opacity: 1; transform: scale(.78); background: radial-gradient(circle at 35% 30%, #bfdbfe, #3b82f6 45%, #1d4ed8); box-shadow: 0 0 26px 7px rgba(59,130,246,.4); }
}
@keyframes customise-right {
  0%, 22% { opacity: 0; transform: scale(.75); }
  26%, 44% { opacity: 1; transform: scale(1.18); background: radial-gradient(circle at 35% 30%, #e9d5ff, #a855f7 45%, #6b21a8); box-shadow: 0 0 36px 9px rgba(168,85,247,.42); }
  50%, 72% { opacity: 0; transform: scale(.9); }
  76%, 94% { opacity: 1; transform: scale(.92); background: radial-gradient(circle at 35% 30%, #fed7aa, #f97316 45%, #c2410c); box-shadow: 0 0 30px 8px rgba(249,115,22,.38); }
  100% { opacity: 0; transform: scale(.75); }
}
.control-dots { position: absolute; left: 50%; bottom: 13px; display: flex; gap: 6px; transform: translateX(-50%); }
.control-dots i { display: block; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.25); }
.control-dots i:nth-child(1) { background: var(--blue); }
.control-dots i:nth-child(2) { background: var(--purple); }
.control-dots i:nth-child(3) { background: #4ade80; }
.control-dots i:nth-child(4) { background: #fb923c; }
.kids-demo { display: grid; place-items: center; }
.animal {
  position: absolute;
  font-size: 4rem;
  line-height: 1;
  opacity: 0;
  filter: drop-shadow(0 10px 18px rgba(99,102,241,.35));
  animation: animal-cycle 9.6s ease-in-out infinite;
}
.animal-left { left: 22%; }
.animal-right { right: 22%; }
.animal.dog { animation-delay: 2.4s; }
.animal.frog { animation-delay: 4.8s; }
.animal.owl { animation-delay: 7.2s; }
@keyframes animal-cycle {
  0% { opacity: 0; transform: translateY(14px) scale(.72) rotate(-10deg); }
  5%, 20% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
  25%, 100% { opacity: 0; transform: translateY(-10px) scale(.82) rotate(10deg); }
}
.install-cards { grid-template-columns: repeat(2, 1fr); }
.plans { margin-top: 38px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: stretch; }
.plan-card { display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: 28px; background: var(--panel); }
.plan-card.featured { border-color: rgba(167, 139, 250, .48); background: linear-gradient(145deg, rgba(37,99,235,.13), rgba(147,51,234,.13)); box-shadow: 0 24px 70px rgba(76,29,149,.17); }
.plan-card h3 { margin: 12px 0 8px; font-size: 1.6rem; }
.plan-card p { color: var(--muted); line-height: 1.6; }
.plan-card .button, .coming-soon { margin-top: auto; align-self: flex-start; }
.coming-soon { display: inline-flex; padding: 10px 14px; border-radius: 999px; background: rgba(167,139,250,.13); color: #d8ccff; font-weight: 750; }
.gentle-note { margin-top: 20px; padding: 22px 24px; border-radius: 20px; background: rgba(255,255,255,.045); color: var(--muted); line-height: 1.65; }
.gentle-note strong { color: white; }
.legal { max-width: 760px; padding: 58px 0 100px; }
.legal h1 { font-size: clamp(2.8rem, 7vw, 4.8rem); }
.legal h2 { margin-top: 42px; font-size: 1.25rem; }
.updated { color: #747b91; }
.footer { display: flex; justify-content: space-between; gap: 25px; padding: 30px 0 42px; border-top: 1px solid rgba(255,255,255,.08); color: #858ba0; font-size: .9rem; }
.footer-links { display: flex; gap: 20px; }
.footer a { text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb, .demo-orb, .custom-orb, .animal { animation: none; }
  .demo-orb { opacity: 1; transform: none; }
  .custom-orb { opacity: 1; transform: scale(.9); background: radial-gradient(circle at 35% 30%, #e9d5ff, #a855f7 45%, #6b21a8); box-shadow: 0 0 30px 8px rgba(168,85,247,.4); }
  .animal.cat, .animal.dog { opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .nav-links a:first-child { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; gap: 20px; }
  .visual { min-height: 300px; }
  .cards { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}
@media (max-width: 480px) {
  /* Even with the first link hidden above, brand + remaining links still
     don't fit a narrow phone width - wrap onto a second line instead of
     letting them collide/overflow past the edge of the screen. */
  .nav { flex-wrap: wrap; height: auto; row-gap: 10px; padding: 14px 0; }
  .nav-links { flex-wrap: wrap; gap: 12px 16px; font-size: .82rem; }
}
