/* Senra static site styles (Chinese-only v1) */
:root{
  --bg: #0b1220;
  --bg2:#0e1a33;
  --card:#0f1b33cc;
  --stroke:#22345d;
  --text:#eaf0ff;
  --muted:#b8c4e6;
  --brand:#ff6b6b;     /* 主品牌色：与 App 保持一致 */
  --brand2:#7b61ff;    /* Pro 强化色（紫） */
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --radius: 16px;
  --max: 1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "SF Pro Display","SF Pro Text","PingFang SC","Hiragino Sans GB","Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  color:var(--text);
  background: var(--bg);
  line-height:1.6;
  position: relative;
}
/* Gradient layer: multi-stop radials reduce banding in production */
body::before{
  content:'';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(680px 400px at 8% 6%, rgba(78,205,196,.1) 0%, rgba(78,205,196,.05) 40%, transparent 58%),
    radial-gradient(600px 380px at 92% 12%, rgba(255,107,107,.1) 0%, rgba(255,107,107,.04) 38%, transparent 55%),
    radial-gradient(700px 500px at 50% 92%, rgba(98,155,255,.08) 0%, rgba(98,155,255,.03) 35%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  pointer-events: none;
}
/* Subtle noise overlay to break gradient banding (cross-browser) */
body::after{
  content:'';
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cfilter id='nb'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23nb)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}

.skip-link{
  position:absolute; left:-999px; top:12px;
  background:#fff; color:#000; padding:10px 12px; border-radius:10px;
}
.skip-link:focus{left:12px}

.topbar{
  position:sticky; top:0; z-index:20;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(11,18,32,.88), rgba(11,18,32,.62));
  border-bottom:1px solid rgba(34,52,93,.55);
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px;
  padding:14px 0;
  position: relative;
}
.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
  min-width: 140px;
}
.brand img{width:32px; height:32px}
.brand strong{font-weight:750; letter-spacing:.2px}
.nav{
  display:flex; align-items:center; gap:18px;
}
.nav a{
  text-decoration:none;
  color:var(--muted);
  padding:8px 10px;
  border-radius:12px;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.nav a:hover{color:var(--text); background:rgba(34,52,93,.35)}
.nav a[aria-current="page"]{
  color:var(--text);
  background: rgba(78,205,196,.18);
  border:1px solid rgba(78,205,196,.25);
}

.actions{display:flex; align-items:center; gap:12px}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  height:42px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid rgba(34,52,93,.7);
  background: rgba(15,27,51,.62);
  color:var(--text);
  text-decoration:none;
  cursor:pointer;
  transition: transform .15s ease, filter .15s ease, background .15s ease, border-color .15s ease;
  white-space:nowrap;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(78,205,196,.55)}
.btn.primary{
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  border-color: rgba(255,107,107,.55);
  color:#ffffff;
  font-weight:800;
}
.btn.primary:visited{color:#ffffff}
.btn.primary:hover{color:#ffffff; filter: brightness(.96)}
.btn.primary:active{color:#ffffff; transform: translateY(0)}
.btn.ghost{
  background: transparent;
  border-color: rgba(34,52,93,.7);
  color: var(--muted);
}
.icon{
  width:18px; height:18px; display:inline-block;
}

.menu-btn{
  display:none;
  width:44px; height:42px;
}
.menu-btn svg{width:20px;height:20px}

.show-sm{display:none}

.hero{
  padding:56px 0 26px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:26px;
  align-items:stretch;
}
.hero h1{
  margin:0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: .2px;
  line-height:1.12;
}
.hero p.lead{
  margin:0 0 12px;
  color:var(--muted);
  font-size: clamp(16px, 2vw, 18px);
}
.hero-note{
  margin:0 0 22px;
  color:var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.hero-badges{display:flex; gap:10px; flex-wrap:wrap; margin:0 0 22px}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(34,52,93,.6);
  background: rgba(15,27,51,.48);
  color:var(--muted);
  font-size:13px;
}
.badge b{color:var(--text)}

.hero-card{
  border:1px solid rgba(34,52,93,.7);
  background: linear-gradient(180deg, rgba(15,27,51,.72), rgba(15,27,51,.38));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-card-inner{padding:18px}
.mock{
  height: 270px;
  border-radius: 14px;
  border:1px dashed rgba(184,196,230,.35);
  background:
    radial-gradient(300px 160px at 20% 25%, rgba(78,205,196,.18), transparent 60%),
    radial-gradient(260px 160px at 75% 35%, rgba(255,107,107,.14), transparent 60%),
    linear-gradient(135deg, rgba(15,27,51,.45), rgba(15,27,51,.12));
  display:flex; align-items:center; justify-content:center;
  color: rgba(184,196,230,.70);
  text-align:center;
  padding:18px;
}
.mock strong{color:var(--text)}
.mock.screenshot{
  border-style: solid;
  padding: 0;
  overflow: hidden;
  background: rgba(15,27,51,.25);
}
.mock.screenshot{
  position: relative;
  height: auto;
  aspect-ratio: 1242 / 2688;
  max-height: 80vh;
  width: min(320px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.mock.screenshot .screenshot-viewport{
  width: 100%;
  height: 100%;
  position: relative;
}
.mock.screenshot .screenshot-slide{
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.985);
  transform-origin: center center;
  transition: opacity .45s cubic-bezier(0.22, 1, 0.36, 1), transform .45s cubic-bezier(0.22, 1, 0.36, 1);
  background: rgba(15,27,51,.15);
  will-change: opacity, transform;
  z-index: 1;
}
.mock.screenshot .screenshot-slide.is-active{
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}
.mock.screenshot .screenshot-slide img{
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.mock.screenshot .screenshot-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(34,52,93,.7);
  background: rgba(15,27,51,.55);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  user-select: none;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.mock.screenshot .screenshot-nav:hover{
  border-color: rgba(78,205,196,.55);
  transform: translateY(-50%) scale(1.03);
}
.mock.screenshot .screenshot-nav.prev{ left: 10px; }
.mock.screenshot .screenshot-nav.next{ right: 10px; }

.mock.screenshot .screenshot-dots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 5;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
.mock.screenshot .screenshot-dots .dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(184,196,230,.45);
  background: rgba(184,196,230,.18);
  padding: 0;
  cursor: pointer;
}
.mock.screenshot .screenshot-dots .dot.is-active{
  width: 18px;
  background: rgba(255,107,107,.45);
  border-color: rgba(255,107,107,.70);
}

@media (max-width: 760px){
  .mock.screenshot .screenshot-nav{
    width: 32px;
    height: 32px;
    border-radius: 12px;
    font-size: 18px;
    opacity: 0.92;
  }
  .mock.screenshot .screenshot-nav.prev{ left: 8px; }
  .mock.screenshot .screenshot-nav.next{ right: 8px; }
}
.hero-card .meta{
  padding:14px 18px 18px;
  border-top:1px solid rgba(34,52,93,.55);
  display:flex; gap:12px; flex-wrap:wrap; align-items:center; justify-content:space-between;
  color:var(--muted);
}

.section{padding:26px 0}
.section h2{
  margin:0 0 14px;
  font-size: 22px;
  letter-spacing:.2px;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.card{
  border:1px solid rgba(34,52,93,.7);
  background: rgba(15,27,51,.52);
  border-radius: var(--radius);
  padding:16px;
}
.card h3{margin:0 0 8px; font-size:16px}
.card p{margin:0; color:var(--muted)}
.card ul{margin:10px 0 0; padding-left:18px; color:var(--muted)}

.scenario-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:10px;
}
.scenario-list li{
  padding:12px 16px;
  border-radius: var(--radius);
  border:1px solid rgba(34,52,93,.6);
  background: rgba(15,27,51,.4);
  color:var(--muted);
}
.pro-benefits{
  list-style:none;
  margin:0 0 16px;
  padding:0;
}
.pro-benefits li{
  padding:6px 0;
  padding-left:1.2em;
  position:relative;
  color:var(--muted);
}
.pro-benefits li::before{
  content:'✓';
  position:absolute;
  left:0;
  color:var(--brand);
}
.pro-note{
  margin:0 0 20px;
  color:var(--muted);
  max-width: 42em;
}
.section.closing{ padding-bottom: 2rem; }

.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}

.content{
  padding:28px 0 56px;
}
.content h1{margin:0 0 6px; font-size:28px}
.content .subtitle{margin:0 0 18px; color:var(--muted)}
.content .paper{
  border:1px solid rgba(34,52,93,.7);
  background: rgba(15,27,51,.45);
  border-radius: var(--radius);
  padding:18px;
}
.content .paper h2{margin:22px 0 10px; font-size:18px}
.content .paper h2:first-of-type{margin-top:0}
.content .paper p, .content .paper li{color:var(--muted)}
.content .paper a{color: var(--brand)}
.content .paper a.btn{color: inherit}
.content .paper a.btn.primary{color:#ffffff}
.content .paper a.btn.primary:visited{color:#ffffff}
.content .paper a.btn.primary:hover{color:#ffffff}
.content .paper a.btn.primary:active{color:#ffffff}
.content .paper code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: .95em;
  color: #dbe7ff;
}
.hr{
  height:1px;
  background: rgba(34,52,93,.55);
  margin:18px 0;
}

.footer{
  padding:26px 0 40px;
  border-top:1px solid rgba(34,52,93,.55);
  color: var(--muted);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  align-items:start;
}
.footer a{color: var(--muted); text-decoration:none}
.footer a:hover{color: var(--text)}
.footer small{display:block; margin-top:8px}
.footer-links{display:flex; gap:14px; flex-wrap:wrap; justify-content:flex-end}

/* Pricing / conversion blocks */
.price-hero{
  border:1px solid rgba(34,52,93,.7);
  background: linear-gradient(180deg, rgba(15,27,51,.75), rgba(15,27,51,.40));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}
.price-hero .top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.price-title{margin:0; font-size:22px}
.price-amount{
  margin:6px 0 2px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight:900;
  letter-spacing:.2px;
}
.price-sub{margin:0; color:var(--muted)}
.note{margin:10px 0 0; color:var(--muted); font-size:13px}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,107,107,.25);
  background: rgba(255,107,107,.12);
  color: var(--text);
  font-size:13px;
}
.compare-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
.plan{
  border:1px solid rgba(34,52,93,.7);
  background: rgba(15,27,51,.52);
  border-radius: var(--radius);
  padding:16px;
}
.plan h3{margin:0 0 8px; font-size:16px}
.plan ul{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.plan.free{opacity:.95}
.plan.pro{
  border-color: rgba(255,107,107,.40);
  background: linear-gradient(135deg, rgba(255,107,107,.18), rgba(123,97,255,.16));
}
.plan .tag{margin-left:8px}

@media (max-width: 920px){
  .compare-grid{grid-template-columns: 1fr}
}

/* Responsive */
@media (max-width: 920px){
  .hero-grid{grid-template-columns: 1fr}
  .grid-3{grid-template-columns: 1fr}
  .two-col{grid-template-columns: 1fr}
  .footer-grid{grid-template-columns: 1fr}
  .footer-links{justify-content:flex-start}
}

@media (max-width: 760px){
  .brand{min-width:auto}
  .actions{gap:8px}
  .actions .btn.ghost{display:none}
  .nav{
    position:absolute;
    top:64px; left:0; right:0;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    padding:10px 14px 16px;
    border-bottom:1px solid rgba(34,52,93,.55);
    background: rgba(11,18,32,.96);
  }
  .nav.open{display:flex}
  .nav a{padding:12px 12px; border-radius:12px}
  .menu-btn{display:inline-flex}
}

@media (max-width: 420px){
  .hide-sm{display:none !important}
  .show-sm{display:inline !important}
}

/* Language switcher */
#lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-switcher-label {
  font-size: 12px;
  color: var(--muted);
}
.lang-switcher-select {
  background: rgba(34, 52, 93, 0.4);
  color: var(--text);
  border: 1px solid var(--stroke);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 13px;
  cursor: pointer;
}
.lang-switcher-select:hover,
.lang-switcher-select:focus {
  border-color: var(--brand);
  outline: none;
}
@media (max-width: 768px) {
  #lang-switcher { margin-left: auto; }
  .lang-switcher-label { display: none; }
}

