
:root {
  --navy-900: #0e1a36;
  --navy-800: #16224a;
  --navy-700: #1f3163;
  --navy-600: #2a467e;
  --blue-500: #2f6fd8;
  --blue-400: #4f8af0;
  --blue-200: #c7dbff;
  --blue-50:  #eef3fb;
  --ink:      #0e1a36;
  --text:     #1d2a47;
  --muted:    #6b7896;
  --line:     #e2e8f3;
  --bg:       #f6f8fc;
  --white:    #ffffff;
  --radius:   16px;
  --shadow-sm: 0 1px 2px rgba(14,26,54,.06), 0 2px 8px rgba(14,26,54,.04);
  --shadow-md: 0 4px 14px rgba(14,26,54,.08), 0 12px 40px rgba(14,26,54,.06);
  --shadow-lg: 0 10px 40px rgba(14,26,54,.18);
  --max-w: 1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue",
               "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-500); text-decoration: none; }
a:hover { color: var(--blue-400); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-900);
  font-weight: 700;
  letter-spacing: .5px;
}
.brand .logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.brand .logo-mark svg { width: 18px; height: 18px; }
.brand .wordmark {
  font-size: 16px;
  line-height: 1;
}
.brand .wordmark small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 2px;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  background: transparent;
}
.nav a.active,
.nav a:hover {
  color: var(--navy-900);
  border-bottom-color: var(--blue-500);
}

.hamburger {
  display: none;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 10px;
}
.hamburger:hover { background: rgba(14,26,54,.06); }
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
body.nav-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .hamburger span:nth-child(2) { opacity: 0; }
body.nav-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(79,138,240,.22), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(47,111,216,.18), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  opacity: .5;
}
.hero .container {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #cfe0ff;
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-400);
  box-shadow: 0 0 12px var(--blue-400);
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -.5px;
  font-weight: 800;
}
.hero h1 .accent {
  background: linear-gradient(90deg, #9dc1ff, #ffffff 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 17px;
  color: #cfd9ee;
  margin: 0 0 28px;
  max-width: 540px;
}
.hero .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--blue-500);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-400); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-dark {
  background: var(--navy-800);
  color: #fff;
}
.btn-dark:hover { background: var(--blue-500); color: #fff; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}
.hero-visual .phone-stack {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
}
.hero-visual .phone-stack img {
  position: absolute;
  width: 56%;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08);
}
.hero-visual .phone-stack img:nth-child(1) {
  left: 0; top: 6%;
  transform: rotate(-6deg);
  z-index: 1;
}
.hero-visual .phone-stack img:nth-child(2) {
  left: 24%; top: 0;
  transform: rotate(2deg);
  z-index: 3;
  width: 60%;
}
.hero-visual .phone-stack img:nth-child(3) {
  right: 0; top: 12%;
  transform: rotate(8deg);
  z-index: 2;
}

.stats {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.stat {
  text-align: center;
}
.stat .n {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -.5px;
}
.stat .l {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

section { padding: 96px 0; }
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head .kicker {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--blue-500);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 14px;
  color: var(--navy-900);
  font-weight: 800;
  letter-spacing: -.3px;
}
.section-head p {
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}
.feature .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--navy-900);
}
.feature p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.showcase:last-child { margin-bottom: 0; }
.showcase.reverse { direction: rtl; }
.showcase.reverse > * { direction: ltr; }

.showcase .copy h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0 0 14px;
  letter-spacing: -.3px;
}
.showcase .copy .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 12px;
}
.showcase .copy p {
  color: var(--text);
  font-size: 16px;
  margin: 0 0 18px;
}
.showcase ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.showcase li {
  position: relative;
  padding: 6px 0 6px 28px;
  color: var(--text);
  font-size: 15px;
}
.showcase li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--blue-50);
  border: 2px solid var(--blue-500);
}

.screens-frame {
  position: relative;
  background: linear-gradient(135deg, var(--blue-50), #ffffff);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.screens-frame .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.screens-frame img {
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.gallery a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.gallery img {
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  width: 100%;
}

.banner {
  margin-top: 24px;
  padding: 56px;
  background:
    radial-gradient(800px 300px at 80% -20%, rgba(79,138,240,.35), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--navy-700));
  color: #fff;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.banner h3 {
  font-size: 26px;
  margin: 0 0 6px;
  letter-spacing: -.3px;
}
.banner p { margin: 0; color: #cfd9ee; }

.page-head {
  background:
    radial-gradient(1000px 400px at 80% -20%, rgba(79,138,240,.25), transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  padding: 96px 0 64px;
}
.page-head h1 {
  font-size: clamp(32px, 4vw, 44px);
  margin: 0 0 12px;
  letter-spacing: -.4px;
  font-weight: 800;
}
.page-head p {
  color: #cfd9ee;
  font-size: 17px;
  max-width: 640px;
  margin: 0;
}
.page-head .crumbs {
  font-size: 13px;
  letter-spacing: 1.5px;
  color: #9fb3d9;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.dl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dl-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}
.dl-card .head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.dl-card .icon-wrap {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue-500);
  display: flex; align-items: center; justify-content: center;
}
.dl-card .icon-wrap svg { width: 26px; height: 26px; }
.dl-card h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: var(--navy-900);
}
.dl-card .meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .3px;
}
.dl-card .meta .pill {
  background: var(--blue-50);
  color: var(--blue-500);
  padding: 2px 8px;
  border-radius: 999px;
  margin-right: 6px;
  font-weight: 600;
}
.dl-card p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
}
.dl-card .foot {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 8px;
}
.dl-card .btn { padding: 10px 18px; font-size: 14px; }

.notice {
  background: #fff7e6;
  border: 1px solid #ffe2a3;
  color: #6a4b00;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 28px;
}
.notice strong { color: #6a4b00; }

.site-footer {
  background: var(--navy-900);
  color: #c8d3ec;
  padding: 48px 0 36px;
  margin-top: 64px;
}
.site-footer .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #8aa0c9; }
.site-footer nav a {
  color: #c8d3ec;
  margin-left: 24px;
  font-size: 14px;
}
.site-footer nav a:hover { color: #fff; }
.site-footer .copy {
  margin-top: 28px;
  font-size: 12px;
  color: #8aa0c9;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
}

.gallery-section { padding: 56px 0; }
.gallery-section + .gallery-section { padding-top: 0; }

.cat-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.cat-head h2 {
  font-size: 26px;
  margin: 0 0 4px;
  color: var(--navy-900);
  font-weight: 800;
  letter-spacing: -.2px;
}
.cat-head .kicker {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--blue-500);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 4px;
}
.cat-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 460px;
}
.cat-head .count {
  background: var(--blue-50);
  color: var(--blue-500);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  flex: 0 0 auto;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.photo-grid button {
  appearance: none;
  border: none;
  padding: 0;
  margin: 0;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: block;
  width: 100%;
}
.photo-grid button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-200);
}
.photo-grid img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  display: block;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 16, 36, .88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 32px;
  animation: lbFade .15s ease;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox .lb-close,
.lightbox .lb-prev,
.lightbox .lb-next {
  position: absolute;
  appearance: none;
  border: none;
  background: rgba(255,255,255,.1);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.lightbox .lb-close:hover,
.lightbox .lb-prev:hover,
.lightbox .lb-next:hover { background: rgba(255,255,255,.22); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #cfd9ee;
  font-size: 13px;
  letter-spacing: 1px;
}
@keyframes lbFade {
  from { opacity: 0; } to { opacity: 1; }
}

@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .hero-visual { min-height: 320px; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; gap: 28px; margin-bottom: 64px; }
  .showcase.reverse { direction: ltr; }
  .download-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .banner { padding: 36px; }

  .hamburger { display: flex; }
  .site-header .nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .18s ease, opacity .18s ease;
  }
  .site-header .nav a {
    padding: 14px 24px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .site-header .nav a:last-child { border-bottom: 0; }
  .site-header .nav a.active,
  .site-header .nav a:hover {
    border-bottom-color: var(--line);
    background: var(--blue-50);
    color: var(--navy-900);
  }
  body.nav-open .site-header .nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 720px) {
  .cat-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .stats .container { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .screens-frame .row { grid-template-columns: 1fr 1fr; }
  .screens-frame .row img:nth-child(3) { display: none; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lightbox { padding: 16px; }
  .lightbox .lb-prev, .lightbox .lb-next { width: 38px; height: 38px; }
}
