:root {
  --blue: #31adef;
  --blue-end: #31ccef;
  --blue-deep: #0e1f26;
  --lime: #d9ff00;
  --coral: #ff6147;
  --ink: #0e1f26;
  --muted: #617375;
  --paper: #f7f7f7;
  --card: #ffffff;
  --line: rgba(14, 31, 38, 0.08);
  --shadow: 0 18px 40px rgba(20, 56, 51, 0.1);
  --radius: 18px;
  --max: 1080px;
  --nav: 64px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav);
  scroll-snap-type: y proximity;
}
html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Noto Sans", "Noto Sans TC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Arabic", "Noto Sans Devanagari", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, select { font: inherit; }
h1, h2, h3, p { overflow-wrap: anywhere; }

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(49, 173, 239, 0.2), transparent 60%),
    radial-gradient(700px 420px at 92% 8%, rgba(217, 255, 0, 0.22), transparent 55%),
    radial-gradient(640px 420px at 50% 100%, rgba(49, 204, 239, 0.12), transparent 60%);
}
.bg-orbs::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(16, 24, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 40, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 80%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  animation: drift 18s ease-in-out infinite;
}
.orb.a { width: 380px; height: 380px; background: rgba(49, 173, 239, 0.32); top: -90px; left: -70px; }
.orb.b { width: 320px; height: 320px; background: rgba(217, 255, 0, 0.32); top: 22%; right: -90px; animation-delay: -6s; }
.orb.c { width: 260px; height: 260px; background: rgba(49, 204, 239, 0.22); bottom: 6%; left: 28%; animation-delay: -11s; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(28px, -22px) scale(1.07); }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--nav);
  backdrop-filter: blur(18px);
  background: rgba(247, 247, 247, 0.94);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max);
  min-height: var(--nav);
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(49, 173, 239, 0.28);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.lang-wrap select {
  appearance: none;
  padding: 7px 30px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='%235b6578' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E") no-repeat right 11px center;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  border-radius: 12px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-end));
  color: #fff;
  box-shadow: 0 10px 24px rgba(49, 173, 239, 0.35);
}
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav) + 28px) 24px 48px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
}
.kicker {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(49, 173, 239, 0.12);
  color: #1a7aa8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.5; margin: 10px auto; }
h1 { font-size: clamp(22px, 2.6vw, 34px); max-width: 18em; font-weight: 750; }
h2 { font-size: clamp(20px, 2.1vw, 28px); max-width: 18em; }
h3 { font-size: 16px; }
.lead {
  max-width: 44em;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.hero-grid, .feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 56px;
  align-items: center;
}
.hero-copy, .copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 6px 0 14px;
}
.chips, .scenes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.chip, .scene {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  color: var(--muted);
}
.scene {
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.scene:hover {
  transform: translateY(-3px);
  border-color: rgba(49, 173, 239, 0.4);
  background: #f3fbff;
}

.phone {
  width: min(270px, 72vw);
  margin: 0 auto;
  padding: 11px;
  border-radius: 34px;
  background: linear-gradient(180deg, #1a2744, #0c1220);
  box-shadow: var(--shadow), 0 0 0 7px rgba(255, 255, 255, 0.55);
  animation: floaty 5.5s ease-in-out infinite;
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.18) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: shine 5.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine {
  0%, 55% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}
.phone img, .phone .mock, .phone .home-mock {
  border-radius: 24px;
  overflow: hidden;
  background: #f7f7f7;
}
.phone img { width: 100%; height: auto; }

.home-mock {
  background: #f7f7f7;
  padding: 12px 12px 14px;
  min-height: 0;
  text-align: left;
}
.home-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 10px;
}
.home-icons { display: flex; gap: 6px; }
.home-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(14, 31, 38, 0.04);
  position: relative;
}
.home-icon::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 3px;
  background: #0e1f26;
  opacity: 0.55;
}
.smart-card {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 8px;
  align-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-end));
  color: #fff;
  border-radius: 16px;
  padding: 12px 10px 12px 14px;
  min-height: 92px;
}
.smart-title { font-size: 14px; font-weight: 700; }
.smart-desc { font-size: 9px; color: #dbfff7; margin: 4px 0 8px; line-height: 1.35; }
.check-btn {
  display: inline-block;
  background: #fff;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
}
.broom-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 18px, rgba(255,255,255,0.95) 19px 21px, transparent 22px),
    rgba(255,255,255,0.35);
  position: relative;
}
.broom-ring::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 22px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%);
  background: #fff;
  clip-path: polygon(30% 0, 70% 0, 85% 38%, 100% 100%, 0 100%, 15% 38%);
  border-radius: 2px;
}
.overview-card, .cat-card, .row-card {
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  margin-top: 8px;
}
.ov-top, .cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}
.ov-body {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
  align-items: center;
}
.ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: conic-gradient(var(--coral) 0 62%, #e8ecef 62% 100%);
  display: grid;
  place-items: center;
}
.ring span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}
.ov-line { display: flex; justify-content: space-between; font-size: 9px; margin: 3px 0; }
.ov-line.used { color: var(--blue); }
.ov-line.free { color: var(--muted); }
.thumbs4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}
.thumbs4 .thumb { aspect-ratio: 1.15 / 1; border-radius: 8px; }
.chev {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #9aa6a8;
  border-bottom: 1.5px solid #9aa6a8;
  transform: rotate(-45deg);
}
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.feature-grid.reverse .copy { order: 2; }
.feature-grid.reverse .visual { order: 1; }
.points {
  list-style: none;
  padding: 0;
  margin: 14px auto 0;
  max-width: 36em;
  display: grid;
  gap: 8px;
}
.points li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(15, 23, 40, 0.04);
  transition: transform 0.2s, border-color 0.2s;
}
.points li:hover {
  transform: translateY(-3px);
  border-color: rgba(49, 173, 239, 0.4);
}
.note {
  margin: 14px auto 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(49, 173, 239, 0.08);
  color: var(--ink);
  font-size: 13px;
  max-width: 36em;
  line-height: 1.5;
}
.note strong { display: block; margin-bottom: 4px; }

.mock {
  text-align: left;
  padding: 14px;
  min-height: 390px;
  background: #f7f7f7;
}
.mock-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 10px;
}
.toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.switch {
  width: 34px;
  height: 18px;
  border-radius: 99px;
  background: var(--blue);
  position: relative;
  flex-shrink: 0;
}
.switch::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  top: 2px;
  right: 2px;
}
.photo-row, .shot-row, .vid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 10px;
}
.thumb {
  aspect-ratio: 1;
  border-radius: 11px;
  position: relative;
  overflow: hidden;
}
.thumb.best::after {
  content: attr(data-best);
  position: absolute;
  left: 5px;
  bottom: 5px;
  background: var(--lime);
  color: #0e1f26;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 6px;
}
.check {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--blue);
}
.check.off { background: transparent; }
.t1 { background: linear-gradient(135deg, #b8e4e0, #6cb9ae); }
.t2 { background: linear-gradient(135deg, #cce1c1, #80ad77); }
.t3 { background: linear-gradient(135deg, #f4d8b7, #d89963); }
.t4 { background: linear-gradient(135deg, #d7d4e8, #8e88b5); }
.t5 { background: linear-gradient(135deg, #ffe4ec, #f5a3b8); }
.t6 { background: linear-gradient(135deg, #e8f6fd, #31adef); }
.group-label { font-size: 12px; font-weight: 700; margin: 6px 0 5px; }
.size { font-size: 11px; color: var(--muted); }
.clean-bar {
  margin-top: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-end));
  color: #fff;
  text-align: center;
  padding: 9px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 13px;
}
.vid-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 14px;
  padding: 8px;
  margin-bottom: 8px;
}
.vid-thumb {
  height: 48px;
  border-radius: 8px;
  position: relative;
}
.play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}
.play::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--blue);
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
}
.contact-card small { color: var(--muted); }
.local-pill {
  display: inline-block;
  margin-top: 8px;
  background: #ffe4ec;
  color: #9a3858;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 14px;
  border: 1px solid var(--line);
  min-height: 168px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.num {
  width: 32px;
  height: 32px;
  margin: 0 auto 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-end));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
}
.step p { color: var(--muted); margin: 6px 0 0; font-size: 13px; }

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.more-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px 14px;
  border: 1px solid var(--line);
  transition: transform 0.2s, box-shadow 0.2s;
}
.more-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.more-card p { color: var(--muted); margin: 8px 0 0; font-size: 13px; }

.download-box {
  background: linear-gradient(135deg, var(--blue), var(--blue-end));
  color: #fff;
  border-radius: 18px;
  padding: 40px 24px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.download-box::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -40px;
  border-radius: 50%;
  background: rgba(217, 255, 0, 0.28);
}
.download-box .lead { color: rgba(255, 255, 255, 0.9); position: relative; z-index: 1; }
.download-box h2, .download-box .cta-row { position: relative; z-index: 1; }
.download-box .btn-primary { background: #fff; color: var(--blue); box-shadow: none; border-radius: 12px; }
.download-box .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.footer {
  padding: 22px 24px 36px;
  color: var(--muted);
  font-size: 12px;
}
.footer a { color: var(--blue-deep); }

.policy {
  min-height: auto;
  height: auto;
  padding: 36px 24px 72px;
  text-align: left;
  scroll-snap-align: none;
}
.policy .wrap { max-width: 760px; }
.policy h1, .policy h2 { text-align: left; max-width: none; }
.policy p, .policy li { color: var(--muted); line-height: 1.5; }
.policy ul { padding-left: 1.2em; }

.reveal { opacity: 1; }
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.js .reveal.in {
  animation: rise 0.7s ease forwards;
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}

html[dir="rtl"] .policy { text-align: right; }
html[dir="rtl"] .policy h1, html[dir="rtl"] .policy h2 { text-align: right; }
html[dir="rtl"] .policy ul { padding-left: 0; padding-right: 1.2em; }
html[dir="rtl"] .chev { transform: rotate(135deg); }
html[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
html[dir="rtl"] .lang-wrap select {
  background-position: left 11px center;
  padding: 7px 12px 7px 30px;
}

@media (max-width: 900px) {
  html { scroll-snap-type: none; }
  .hero-grid, .feature-grid, .feature-grid.reverse, .steps, .more-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid.reverse .copy, .feature-grid.reverse .visual { order: unset; }
  .section {
    min-height: auto;
    height: auto;
    padding: 56px 18px;
    scroll-snap-align: none;
  }
  .nav-links a.hide-sm { display: none; }
  h1 { font-size: 22px; }
  h2 { font-size: 20px; }
  .mock { min-height: 340px; }
}

@media (max-height: 780px) and (min-width: 901px) {
  .section {
    min-height: auto;
    height: auto;
    padding: 72px 24px 40px;
  }
  .phone { width: 210px; }
  .mock { min-height: 320px; }
}
