:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --ink: #12141a;
  --muted: #6b7280;
  --line: rgba(18, 20, 26, 0.08);
  --accent: #5b8cff;
  --accent-2: #8b7cf6;
  --accent-soft: rgba(91, 140, 255, 0.12);
  --radius: 20px;
  --shadow: 0 18px 50px rgba(40, 60, 120, 0.12);
  --header-h: 72px;
  --font: "Outfit", "Noto Sans SC", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.container.narrow {
  width: min(760px, calc(100% - 40px));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  backdrop-filter: blur(16px);
  background: rgba(247, 248, 252, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.9);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
}

.nav-cta {
  color: #fff !important;
  background: var(--ink) !important;
}

.nav-cta:hover {
  opacity: 0.9;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--line);
}

.lang-btn {
  min-width: 36px;
  height: 30px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.lang-btn.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 72px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero-glow-a {
  width: 420px;
  height: 420px;
  right: 8%;
  top: 0;
  background: radial-gradient(circle, rgba(91, 140, 255, 0.35), transparent 70%);
}

.hero-glow-b {
  width: 360px;
  height: 360px;
  right: 22%;
  top: 180px;
  background: radial-gradient(circle, rgba(236, 140, 200, 0.28), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #3b6de0;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-desc {
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 600;
  transition: transform 0.15s, opacity 0.15s, background 0.15s;
}

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

.btn-dark {
  background: #111;
  color: #fff;
}

.btn-outline {
  border: 1.5px solid rgba(91, 140, 255, 0.55);
  color: #3b6de0;
  background: #fff;
}

.btn-outline:hover {
  background: var(--accent-soft);
}

.hero-hint {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Phone mock */
.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.phone-frame {
  width: 260px;
  height: 520px;
  border-radius: 40px;
  background: #111;
  padding: 12px;
  box-shadow: var(--shadow);
  position: relative;
}

.phone-main {
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}

.phone-back {
  position: absolute;
  width: 220px;
  height: 440px;
  right: 6%;
  top: 40px;
  transform: rotate(8deg);
  opacity: 0.9;
  z-index: 1;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  border-radius: 20px;
  background: #0a0a0a;
  z-index: 3;
}

.phone-screen {
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(165deg, #e8f0ff 0%, #f7e9f5 45%, #dde8ff 100%);
  padding: 36px 14px 16px;
  display: flex;
  flex-direction: column;
}

.phone-screen.muted {
  background: linear-gradient(160deg, #1a1f2e, #2a3148);
  padding: 28px 16px;
}

.screen-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 14px;
  opacity: 0.7;
}

.widget-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.w-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(40, 60, 120, 0.08);
}

.w-clock .w-time {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.w-clock .w-date {
  color: var(--muted);
  font-size: 0.8rem;
}

.w-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.w-pet {
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  min-height: 72px;
}

.w-battery {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 72px;
}

.bat-fill {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5b8cff, #a78bfa);
  width: 86%;
}

.w-music {
  display: flex;
  align-items: center;
  gap: 12px;
}

.music-art {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #5b8cff, #ec8cc8);
}

.w-music strong {
  display: block;
  font-size: 0.85rem;
}

.w-music small {
  color: var(--muted);
}

.dock {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.dock span {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff, #dbe6ff);
}

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

.mini-grid i {
  aspect-ratio: 1;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05));
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Stats */
.stats {
  padding: 8px 0 40px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(40, 60, 120, 0.05);
}

.stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
}

.laurel {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff7e0, #ffe8b8);
  font-size: 1rem;
}

.stat strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: #eef2fb;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0 auto;
  max-width: 36em;
  color: var(--muted);
}

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

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-visual {
  height: 150px;
  border-radius: 16px;
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
}

.pv-widgets {
  background: linear-gradient(135deg, #e8f0ff, #f6e9ff);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
}

.pv-chip {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
}

.pv-chip.c1 {
  grid-column: span 2;
}

.pv-theme {
  background: #f3f5fa;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 18px 12px 0;
}

.theme-phone {
  width: 54px;
  height: 110px;
  border-radius: 12px 12px 0 0;
}

.theme-phone.t1 {
  background: linear-gradient(180deg, #ffd6e7, #ffb4c8);
}
.theme-phone.t2 {
  background: linear-gradient(180deg, #cfe0ff, #9bb8ff);
  height: 124px;
}
.theme-phone.t3 {
  background: linear-gradient(180deg, #dff5e5, #9ed9b0);
}

.pv-icons {
  background: linear-gradient(160deg, #1d2233, #343c58);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 22px;
}

.pv-icons span {
  border-radius: 14px;
  background: linear-gradient(135deg, #7aa2ff, #c4b5fd);
}

.pv-icons span:nth-child(2) {
  background: linear-gradient(135deg, #f9a8d4, #fcd34d);
}
.pv-icons span:nth-child(3) {
  background: linear-gradient(135deg, #86efac, #67e8f9);
}
.pv-icons span:nth-child(4) {
  background: linear-gradient(135deg, #fda4af, #fb7185);
}
.pv-icons span:nth-child(5) {
  background: linear-gradient(135deg, #fdba74, #fbbf24);
}
.pv-icons span:nth-child(6) {
  background: linear-gradient(135deg, #a5b4fc, #818cf8);
}

.pv-wall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  background: #eef1f8;
}

.wall-a,
.wall-b {
  border-radius: 12px;
}

.wall-a {
  background: linear-gradient(160deg, #0f172a, #334155 40%, #f472b6);
}
.wall-b {
  background: linear-gradient(160deg, #0ea5e9, #22d3ee 40%, #fef08a);
}

.pv-island {
  background: #0b0d14;
  display: grid;
  place-items: center;
}

.island-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #151821;
  color: #fff;
  font-size: 0.85rem;
}

.island-bar i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b8cff, #ec8cc8);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

.pv-studio {
  background: radial-gradient(circle at 30% 30%, #cfe0ff, #f6e9ff 55%, #ffe4ef);
  display: grid;
  place-items: center;
}

.studio-orb {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: conic-gradient(from 90deg, #5b8cff, #a78bfa, #f9a8d4, #5b8cff);
  filter: blur(0.2px);
  box-shadow: 0 10px 30px rgba(91, 140, 255, 0.35);
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.product-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.text-link {
  color: #3b6de0;
  font-weight: 600;
  font-size: 0.92rem;
}

/* Showcase */
.showcase {
  padding: 40px 0 80px;
}

.showcase-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.shot {
  margin: 0;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 28px rgba(40, 60, 120, 0.12);
}

.shot figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  font-weight: 600;
}

.shot.s1 {
  background: linear-gradient(180deg, #ffe4ef, #ffb4c8 40%, #fecdd3);
}
.shot.s2 {
  background: linear-gradient(180deg, #f8fafc, #e2e8f0 50%, #cbd5e1);
}
.shot.s3 {
  background: linear-gradient(180deg, #1e3a8a, #312e81 55%, #0f172a);
}
.shot.s4 {
  background: linear-gradient(180deg, #ffedd5, #fdba74 45%, #fb923c);
}
.shot.s5 {
  background: linear-gradient(180deg, #dcfce7, #86efac 50%, #4ade80);
}
.shot.s6 {
  background: linear-gradient(180deg, #ede9fe, #a78bfa 45%, #7c3aed);
}

.center {
  text-align: center;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 4px 18px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  padding: 16px 0;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.2rem;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 16px;
  color: var(--muted);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: start;
}

.about-lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.about-points li {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.about-card {
  background: linear-gradient(160deg, #111827, #1f2937);
  color: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.about-card h3 {
  margin: 0 0 16px;
}

.about-card a {
  color: #c7d2fe;
}

.about-card .muted {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

/* Download */
.download {
  padding: 40px 0 90px;
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px;
  border-radius: 28px;
  background: linear-gradient(135deg, #eef3ff, #f8eef8);
  border: 1px solid var(--line);
}

.download h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.download p {
  margin: 0 0 20px;
  color: var(--muted);
}

.qr-box {
  width: 150px;
  text-align: center;
}

.qr-fake {
  width: 150px;
  height: 150px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 18px;
  margin-bottom: 10px;
}

.qr-fake div {
  border-radius: 8px;
  background: repeating-linear-gradient(
    45deg,
    #111,
    #111 4px,
    #fff 4px,
    #fff 8px
  );
}

.qr-fake div:nth-child(2) {
  background: #111;
  clip-path: inset(0 0 35% 35%);
}
.qr-fake div:nth-child(3) {
  background: #111;
  clip-path: inset(35% 35% 0 0);
}
.qr-fake div:nth-child(4) {
  background: repeating-linear-gradient(
    -45deg,
    #111,
    #111 3px,
    #fff 3px,
    #fff 7px
  );
}

.qr-box span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: #0f1218;
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}

.footer-brand {
  color: #fff;
  margin-bottom: 10px;
}

.footer-tag {
  color: rgba(255, 255, 255, 0.5);
  margin: 8px 0 0;
}

.site-footer h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.95rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 460px;
    order: -1;
  }

  .phone-back {
    right: 12%;
  }

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

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

  .showcase-track {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    margin: 0;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
  }

  .stats-row,
  .product-grid,
  .showcase-track,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .showcase-track {
    grid-auto-flow: column;
    grid-auto-columns: minmax(140px, 70%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .shot {
    scroll-snap-align: start;
  }

  .download-inner {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }

  .hero-actions {
    justify-content: center;
  }

  .phone-back {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-main,
  .island-bar i {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
