:root {
  --bg-top: #dde8ff;
  --bg-mid: #efe6ff;
  --bg-bot: #ffe9f1;
  --surface: #ffffff;
  --surface-soft: #f5f7fd;
  --text: #1e2340;
  --muted: #5e668c;
  --pink: #d6336c;
  --pink-bright: #ff5f96;
  --pink-edge: #9c1b4a;
  --blue: #4d7bef;
  --blue-edge: #2f55c4;
  --green: #2fc987;
  --amber: #f59f00;
  --line: #e4e8f6;
  --shadow: 0 18px 44px rgba(30, 35, 64, 0.10);
  --shadow-lg: 0 24px 60px rgba(30, 35, 64, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 52%, var(--bg-bot) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  min-height: 100vh;
}

a {
  color: var(--blue);
  text-underline-offset: 3px;
}

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

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(228, 232, 246, 0.85);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

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

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(77, 123, 239, 0.28);
}

.brand-sub {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
  padding: 8px 13px;
  border-radius: 11px;
  transition: all 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pink);
  background: rgba(214, 51, 108, 0.09);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}

.lang-switch a {
  text-decoration: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 11px;
  border-radius: 999px;
  line-height: 1;
  transition: all 0.18s ease;
}

.lang-switch a.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink-bright), var(--pink));
  box-shadow: 0 4px 10px rgba(214, 51, 108, 0.28);
}

/* Main Layout */
main {
  padding: 40px 0 72px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 32px;
  box-shadow: var(--shadow);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--pink);
  background: rgba(214, 51, 108, 0.10);
  border: 1px solid rgba(214, 51, 108, 0.20);
  padding: 6px 12px;
  border-radius: 999px;
  width: fit-content;
}

.badge.blue {
  color: var(--blue-edge);
  background: rgba(77, 123, 239, 0.12);
  border-color: rgba(77, 123, 239, 0.24);
}

h1 {
  margin: 16px 0 12px;
  font-size: clamp(34px, 4.3vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
}

.text-gradient {
  background: linear-gradient(135deg, var(--pink) 0%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 17.5px;
  max-width: 60ch;
}

/* Tile Evolution Strip */
.tile-evo {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  width: fit-content;
  flex-wrap: wrap;
}

.tile-evo img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  transition: transform 0.2s ease;
}

.tile-evo img:hover {
  transform: translateY(-3px) scale(1.06);
}

.tile-evo .arrow {
  font-weight: 800;
  color: var(--muted);
  font-size: 14px;
}

.tile-evo .evo-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-left: 6px;
}

/* CTA Buttons (Candy 3D Style) */
.cta-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15.5px;
  border-radius: 14px;
  padding: 12px 20px;
  border: 2px solid transparent;
  transition: all 0.16s ease;
  cursor: pointer;
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(180deg, #ff5f96 0%, #d6336c 100%);
  border-bottom: 4px solid var(--pink-edge);
  box-shadow: 0 10px 22px rgba(214, 51, 108, 0.28);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(214, 51, 108, 0.35);
}

.button.secondary {
  color: #ffffff;
  background: linear-gradient(180deg, #7fa6ff 0%, #4d7bef 100%);
  border-bottom: 4px solid var(--blue-edge);
  box-shadow: 0 10px 22px rgba(77, 123, 239, 0.24);
}

.button.secondary:hover {
  transform: translateY(-2px);
}

.button.ghost {
  color: var(--blue-edge);
  background: var(--surface-soft);
  border-color: #cbd6f5;
  border-bottom-width: 3px;
}

.button.ghost:hover {
  background: #eef3ff;
  transform: translateY(-1px);
}

/* Metrics */
.metrics {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.metric {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 12px 13px;
}

.metric strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.metric span {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 600;
}

/* Phone Mockup Showcase */
.hero-phone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px 22px;
}

.phone-frame {
  width: min(300px, 78vw);
  background: #1e2340;
  border-radius: 40px;
  padding: 11px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.16);
  position: relative;
}

.phone-notch {
  width: 88px;
  height: 18px;
  background: #1e2340;
  border-radius: 999px;
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.phone-screen {
  border-radius: 30px;
  overflow: hidden;
  background: var(--bg-mid);
  aspect-ratio: 9 / 16;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.screen-tabs {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.screen-tab {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.screen-tab:hover,
.screen-tab.active {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}

/* Sections */
.section {
  margin-top: 32px;
}

.section-header {
  margin-bottom: 18px;
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.015em;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 16.5px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 16px;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(30, 35, 64, 0.05);
}

.card h2,
.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--text);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card p + p {
  margin-top: 10px;
}

.kicker {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.icon-pill {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  margin-bottom: 12px;
}

/* Gallery Grid */
.shot-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 10px 26px rgba(30, 35, 64, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shot-card img {
  border-radius: 14px;
  border: 1px solid var(--line);
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.shot-card figcaption {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}

.shot-card small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}

/* Lists & Timelines */
.list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.list li {
  margin: 8px 0;
}

.list li strong {
  color: var(--text);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: flex-start;
}

.step {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink-bright), var(--blue));
  box-shadow: 0 6px 14px rgba(77, 123, 239, 0.25);
}

/* FAQ Details */
details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 14px 18px;
  box-shadow: 0 6px 18px rgba(30, 35, 64, 0.04);
}

details + details {
  margin-top: 10px;
}

summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 16px;
  color: var(--text);
}

summary + p,
summary + ul {
  margin-top: 10px;
  margin-bottom: 0;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

/* Legal Document Layout */
.legal-stack {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(228, 232, 246, 0.9);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  padding: 26px 0 36px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.footer-links a,
.footer-icp {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s ease;
}

.footer-links a:hover,
.footer-icp:hover {
  color: var(--pink);
}

.footer-divider {
  margin: 0 8px;
  color: var(--line);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .metrics,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .metrics,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .nav {
    padding: 10px 0;
  }
}
