/* ============================================================
   简单发票 — 官网主页样式
   ============================================================ */

:root {
  /* Brand */
  --blue: #009ED2;
  --blue-700: #0782AC;
  --blue-600: #0A93C2;
  --cyan: #06B6D4;
  --sky: #E0F7FF;
  --sky-2: #F0FBFF;

  /* Functional accents */
  --green: #10B981;
  --amber: #F59E0B;
  --purple: #8B5CF6;
  --red: #EF4444;

  /* Text */
  --ink: #0F172A;
  --slate: #475569;
  --mute: #94A3B8;

  /* Surfaces */
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --border: #E5E7EB;
  --border-soft: #EEF1F4;
  --navy: #0B1220;
  --navy-2: #111A2B;

  /* Radii */
  --r-card: 14px;
  --r-sm: 10px;
  --r-btn: 11px;
  --r-pill: 999px;

  /* Shadow — restrained */
  --sh-sm: 0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.05);
  --sh-md: 0 4px 16px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
  --sh-lg: 0 24px 60px -24px rgba(15,23,42,.22), 0 8px 24px -12px rgba(15,23,42,.10);

  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font); font-size: 15px; font-weight: 600;
  padding: 12px 20px; border-radius: var(--r-btn);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(0,158,210,.55);
}
.btn-primary:hover { background: var(--blue-600); box-shadow: 0 10px 22px -8px rgba(0,158,210,.6); }
.btn-ghost {
  background: #fff; color: var(--ink); border-color: var(--border);
}
.btn-ghost:hover { border-color: #cdd5dd; background: #fcfdfe; }
.btn-dark { background: #fff; color: var(--ink); }
.btn-dark:hover { background: #eef6fb; }
.btn svg { width: 18px; height: 18px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,250,252,.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(255,255,255,.9); }
.nav-inner { display: flex; align-items: center; height: 64px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand .logo {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(150deg, var(--blue), var(--cyan));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 10px -3px rgba(0,158,210,.5);
}
.brand .logo svg { width: 18px; height: 18px; }
.nav-links { display: flex; gap: 26px; margin-left: 8px; }
.nav-links a { color: var(--slate); font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* ---------- Section scaffolding ---------- */
section { position: relative; }
.sec-pad { padding: 92px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--blue); text-transform: none;
  background: var(--sky); border: 1px solid #C6EFFB;
  padding: 6px 13px; border-radius: var(--r-pill);
}
.sec-head { max-width: 640px; }
.sec-head.center { margin: 0 auto; text-align: center; }
h2.sec-title {
  font-size: 38px; line-height: 1.18; font-weight: 700;
  letter-spacing: -.02em; margin: 18px 0 14px; color: var(--ink);
  text-wrap: balance;
}
.sec-sub { font-size: 17px; color: var(--slate); margin: 0; text-wrap: pretty; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: 70px 0 80px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0,0.92fr) minmax(0,1.08fr);
  gap: 56px; align-items: center;
}
.hero-eyebrow { margin-bottom: 22px; }
.hero h1 {
  font-size: 60px; line-height: 1.05; font-weight: 800;
  letter-spacing: -.03em; margin: 0 0 18px; color: var(--ink);
}
.hero h1 .accent { color: var(--blue); }
.hero-lead {
  font-size: 19px; line-height: 1.45; color: var(--ink);
  font-weight: 600; margin: 0 0 14px; letter-spacing: -.01em;
}
.hero-desc { font-size: 16.5px; color: var(--slate); margin: 0 0 30px; max-width: 520px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 22px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; font-size: 15px; padding: 8px 4px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }
.trust-line {
  display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center;
  font-size: 13.5px; color: var(--mute); font-weight: 500;
}
.trust-line .dot { width: 4px; height: 4px; border-radius: 50%; background: #CBD5E1; }
.trust-line .ti { display: inline-flex; align-items: center; gap: 7px; }
.trust-line .ti svg { width: 15px; height: 15px; color: var(--green); }

/* Hero visual */
.hero-visual { position: relative; }
.hero-glow {
  position: absolute; inset: -8% -12% -12% -6%;
  background: radial-gradient(60% 55% at 70% 35%, rgba(0,158,210,.16), transparent 70%),
              radial-gradient(50% 50% at 30% 80%, rgba(6,182,212,.10), transparent 70%);
  filter: blur(6px); z-index: 0;
}

/* ============================================================
   APP MOCKUP (dashboard)
   ============================================================ */
.app-window {
  position: relative; z-index: 1;
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--sh-lg); overflow: hidden;
}
.app-titlebar {
  height: 38px; display: flex; align-items: center; gap: 8px;
  padding: 0 14px; border-bottom: 1px solid var(--border-soft);
  background: linear-gradient(#fff,#FBFCFD);
}
.tl-dots { display: flex; gap: 7px; }
.tl-dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.tl-dots i:nth-child(1){ background:#FF5F57; } .tl-dots i:nth-child(2){ background:#FEBC2E; } .tl-dots i:nth-child(3){ background:#28C840; }
.tl-title { font-size: 12.5px; color: var(--mute); font-weight: 600; margin-left: 6px; }
.app-body { display: grid; grid-template-columns: 132px 1fr; }

/* sidebar */
.app-side { background: #FAFBFC; border-right: 1px solid var(--border-soft); padding: 14px 10px; }
.side-brand { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; padding: 4px 6px 14px; }
.side-brand i { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(150deg,var(--blue),var(--cyan)); display: inline-block; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--slate); padding: 8px 9px; border-radius: 8px; font-weight: 500; }
.side-nav a svg { width: 15px; height: 15px; opacity: .8; }
.side-nav a.active { background: var(--sky); color: var(--blue); font-weight: 600; }
.side-nav a.active svg { opacity: 1; }

/* main */
.app-main { padding: 16px 18px 20px; background: #fff; }
.app-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.app-bar h4 { margin: 0; font-size: 15px; font-weight: 700; }
.app-tabs { display: flex; gap: 4px; background: var(--bg); padding: 3px; border-radius: 9px; border: 1px solid var(--border-soft); }
.app-tabs button {
  font-family: var(--font); font-size: 11.5px; font-weight: 600; color: var(--mute);
  border: 0; background: transparent; padding: 5px 10px; border-radius: 7px; cursor: pointer;
  transition: all .15s;
}
.app-tabs button.on { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }

.kpi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.kpi {
  border: 1px solid var(--border-soft); border-radius: 12px; padding: 12px; background: #fff;
}
.kpi .k-label { font-size: 11px; color: var(--mute); font-weight: 600; display:flex; align-items:center; gap:5px; }
.kpi .k-label i { width:7px; height:7px; border-radius:2px; display:inline-block; }
.kpi .k-val { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; color: var(--ink); }
.kpi .k-val small { font-size: 13px; font-weight: 700; color: var(--mute); margin-right: 1px; }
.kpi .k-delta { font-size: 11px; font-weight: 600; margin-top: 3px; display:flex; align-items:center; gap:4px; }
.kpi .k-delta.up { color: var(--green); } .kpi .k-delta.down { color: var(--red); }

.chart-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }
.panel { border: 1px solid var(--border-soft); border-radius: 12px; padding: 13px 14px; }
.panel-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.panel-h span { font-size: 12px; font-weight: 700; }
.panel-h em { font-size: 10.5px; color: var(--mute); font-style: normal; }

/* trend chart */
.trend { width: 100%; height: 96px; display: block; }
/* donut legend */
.donut-wrap { display: flex; align-items: center; gap: 12px; }
.donut { width: 84px; height: 84px; flex: none; }
.legend { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.legend li { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--slate); list-style: none; }
.legend ul { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.legend .sw { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.legend .pct { margin-left: auto; font-weight: 700; color: var(--ink); }

/* recent list */
.recent { margin-top: 12px; border: 1px solid var(--border-soft); border-radius: 12px; overflow: hidden; }
.recent-h { padding: 10px 13px; font-size: 12px; font-weight: 700; border-bottom: 1px solid var(--border-soft); display:flex; justify-content:space-between; align-items:center; }
.recent-h a { font-size: 11px; color: var(--blue); font-weight: 600; }
.r-row { display: grid; grid-template-columns: 22px 1fr auto auto; gap: 10px; align-items: center; padding: 9px 13px; border-top: 1px solid var(--border-soft); }
.r-row:first-of-type { border-top: 0; }
.r-ico { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; }
.r-ico svg { width: 13px; height: 13px; }
.r-name { font-size: 12px; font-weight: 600; color: var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.r-sub { font-size: 10.5px; color: var(--mute); }
.r-amt { font-size: 12.5px; font-weight: 700; }
.r-tag { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 6px; }

/* floating toast over mockup */
.toast {
  position: absolute; z-index: 3; background: #fff; border: 1px solid var(--border);
  border-radius: 12px; box-shadow: var(--sh-lg); padding: 11px 14px;
  display: flex; align-items: center; gap: 11px;
}
.toast .tg { width: 34px; height: 34px; border-radius: 9px; background: rgba(16,185,129,.12); display:grid; place-items:center; color: var(--green); flex:none; }
.toast .tg svg { width: 19px; height: 19px; }
.toast .tt { font-size: 13px; font-weight: 700; }
.toast .ts { font-size: 11px; color: var(--mute); }
.toast.t1 { top: -22px; right: 18px; animation: floaty 5s ease-in-out infinite; }
.toast.t2 { bottom: -24px; left: -26px; animation: floaty 5.6s ease-in-out infinite .6s; }
@keyframes floaty { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-7px); } }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.trust-cell { display: flex; gap: 14px; padding: 30px 26px; align-items: flex-start; }
.trust-cell + .trust-cell { border-left: 1px solid var(--border-soft); }
.trust-cell .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.trust-cell .ic svg { width: 22px; height: 22px; }
.trust-cell h3 { margin: 2px 0 5px; font-size: 16px; font-weight: 700; }
.trust-cell p { margin: 0; font-size: 14px; color: var(--slate); }

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: var(--bg); }
/* hero feature (识别) — big showcase */
.feat-showcase {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 48px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  padding: 44px; box-shadow: var(--sh-md); margin-bottom: 26px;
}
.feat-showcase.rev { grid-template-columns: 1.08fr 0.92fr; }
.feat-showcase.rev .fs-text { order: 2; }
.fs-tag { font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 12px; display:flex; align-items:center; gap:8px; }
.fs-tag .n { width: 26px; height: 26px; border-radius: 8px; background: var(--sky); display: grid; place-items: center; font-size: 13px; }
.feat-showcase h3 { font-size: 27px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 12px; }
.feat-showcase p.fs-lead { font-size: 16px; color: var(--slate); margin: 0 0 20px; text-wrap: pretty; }
.fs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.fs-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink); align-items: flex-start; }
.fs-list li svg { width: 18px; height: 18px; color: var(--blue); flex: none; margin-top: 1px; }

/* small feature grid */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feat-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 26px 24px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
}
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: #d9dee4; }
.feat-card .fic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.feat-card .fic svg { width: 23px; height: 23px; }
.feat-card h4 { margin: 0 0 7px; font-size: 17.5px; font-weight: 700; }
.feat-card .quote { font-size: 13px; color: var(--blue); font-weight: 600; margin: 0 0 10px; }
.feat-card p { margin: 0; font-size: 14px; color: var(--slate); }

/* tint helpers */
.t-blue { background: var(--sky); color: var(--blue); }
.t-green { background: rgba(16,185,129,.1); color: var(--green); }
.t-amber { background: rgba(245,158,11,.12); color: var(--amber); }
.t-purple { background: rgba(139,92,246,.12); color: var(--purple); }
.t-cyan { background: rgba(6,182,212,.12); color: var(--cyan); }
.t-red { background: rgba(239,68,68,.1); color: var(--red); }

/* ---- recognition mockup (drag pdf) ---- */
.recog {
  background: var(--bg); border: 1px solid var(--border-soft); border-radius: 16px; padding: 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch;
}
.drop {
  border: 1.5px dashed #B9D9E8; border-radius: 12px; background: var(--sky-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 22px 14px; gap: 10px; color: var(--blue);
}
.drop .pdf { width: 44px; height: 54px; position: relative; }
.drop b { font-size: 13.5px; color: var(--ink); }
.drop span { font-size: 11.5px; color: var(--mute); }
.extract { background: #fff; border: 1px solid var(--border-soft); border-radius: 12px; padding: 13px 14px; }
.extract .eh { font-size: 11px; font-weight: 700; color: var(--green); display:flex; align-items:center; gap:6px; margin-bottom: 10px; }
.extract .eh svg { width: 14px; height: 14px; }
.field { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--border-soft); font-size: 11.5px; }
.field:last-child { border-bottom: 0; }
.field .fl { color: var(--mute); font-weight: 500; }
.field .fv { color: var(--ink); font-weight: 700; }
.field .fv.hl { color: var(--blue); }

/* ============================================================
   WORKFLOW
   ============================================================ */
.flow { background: #fff; }
.flow-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 44px; }
.flow-step { padding: 0 22px; position: relative; }
.flow-step + .flow-step::before {
  content: ""; position: absolute; left: 0; top: 26px; width: 1px; height: calc(100% - 26px);
}
.flow-num {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sky); color: var(--blue); font-size: 21px; font-weight: 800; margin-bottom: 18px;
  position: relative;
}
.flow-num::after {
  content: ""; position: absolute; right: -100%; top: 50%; width: calc(100% - 0px); height: 2px;
  background: repeating-linear-gradient(90deg, #CBE9F6 0 6px, transparent 6px 12px);
  transform: translateY(-50%);
}
.flow-step:last-child .flow-num::after { display: none; }
.flow-step h4 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.flow-step p { margin: 0; font-size: 14px; color: var(--slate); padding-right: 18px; }

/* ============================================================
   SECURITY (dark)
   ============================================================ */
.security { background: var(--navy); color: #fff; overflow: hidden; }
.security::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(50% 60% at 80% 10%, rgba(6,182,212,.16), transparent 60%),
              radial-gradient(40% 50% at 10% 90%, rgba(0,158,210,.14), transparent 60%);
}
.sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.security .eyebrow { background: rgba(6,182,212,.14); border-color: rgba(6,182,212,.3); color: #6FE3F5; }
.security h2 { font-size: 36px; font-weight: 700; letter-spacing: -.02em; margin: 18px 0 16px; line-height: 1.18; }
.security p.lead { font-size: 17px; color: #AEBED2; margin: 0 0 26px; text-wrap: pretty; }
.sec-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sec-points li { display: flex; gap: 12px; align-items: flex-start; }
.sec-points .si { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: grid; place-items: center; flex: none; color: var(--cyan); }
.sec-points .si svg { width: 18px; height: 18px; }
.sec-points b { font-size: 15px; font-weight: 700; display: block; margin-bottom: 2px; }
.sec-points span { font-size: 13.5px; color: #93A4BA; }

/* device card */
.vault {
  background: linear-gradient(160deg,var(--navy-2),#0C1422);
  border: 1px solid rgba(255,255,255,.09); border-radius: 18px; padding: 26px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.6);
}
.vault-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.vault-top .vt { display:flex; align-items:center; gap:10px; font-size: 13.5px; font-weight: 700; }
.vault-top .vt i { width: 30px; height: 30px; border-radius: 8px; background: rgba(6,182,212,.16); display:grid; place-items:center; color: var(--cyan); }
.vault-top .vt i svg { width:16px; height:16px; }
.vault-badge { font-size: 11px; font-weight: 600; color: var(--green); background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.25); padding: 4px 10px; border-radius: var(--r-pill); display:flex; align-items:center; gap:6px; }
.vault-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.vault-rows { display: grid; gap: 9px; }
.vault-row { display: flex; align-items: center; gap: 11px; padding: 11px 13px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 11px; }
.vault-row .vi { width: 28px; height: 28px; border-radius: 7px; background: rgba(255,255,255,.06); display:grid; place-items:center; color:#7F93AB; flex:none; }
.vault-row .vi svg { width: 15px; height: 15px; }
.vault-row .vname { font-size: 12.5px; font-weight: 600; }
.vault-row .vmeta { font-size: 10.5px; color: #6B7C92; }
.vault-row .vlock { margin-left: auto; color: var(--cyan); opacity: .8; }
.vault-row .vlock svg { width: 14px; height: 14px; }
.vault-foot { margin-top: 18px; display:flex; align-items:center; gap: 9px; font-size: 12px; color: #7E90A6; }
.vault-foot svg { width: 15px; height: 15px; color: var(--cyan); }

/* ============================================================
   EXCEL
   ============================================================ */
.excel { background: var(--bg); }
.excel-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.excel-points { display: grid; gap: 16px; margin: 26px 0 0; }
.excel-pt { display: flex; gap: 13px; align-items: flex-start; }
.excel-pt .ei { width: 38px; height: 38px; border-radius: 10px; background: rgba(16,185,129,.1); color: var(--green); display:grid; place-items:center; flex:none; }
.excel-pt .ei svg { width: 19px; height: 19px; }
.excel-pt b { font-size: 15.5px; font-weight: 700; display:block; margin-bottom: 3px; }
.excel-pt p { margin: 0; font-size: 14px; color: var(--slate); }

/* spreadsheet mockup */
.sheet {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  box-shadow: var(--sh-lg); font-variant-numeric: tabular-nums;
}
.sheet-bar { height: 34px; background: #1E7E45; display: flex; align-items: center; gap: 8px; padding: 0 13px; color: #fff; }
.sheet-bar .xi { width: 18px; height: 18px; background: rgba(255,255,255,.18); border-radius: 4px; display:grid;place-items:center; font-size: 10px; font-weight: 800; }
.sheet-bar .xn { font-size: 12px; font-weight: 600; }
.sheet-bar .xt { margin-left: auto; font-size: 11px; opacity: .8; }
table.grid { width: 100%; border-collapse: collapse; font-size: 11.5px; }
table.grid th, table.grid td { padding: 7px 11px; text-align: left; border-bottom: 1px solid var(--border-soft); border-right: 1px solid var(--border-soft); }
table.grid thead th { background: #F1F5F9; color: var(--slate); font-weight: 700; font-size: 10.5px; }
table.grid td.col { color: var(--mute); background: #FAFBFC; font-weight: 600; text-align: center; width: 26px; }
table.grid .rgt { text-align: right; font-weight: 600; color: var(--ink); }
table.grid tr.sum td { background: #ECFDF3; font-weight: 800; color: #047857; border-top: 2px solid #A7F3D0; }
table.grid tr.sum td.formula { text-align: left; color: var(--green); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 10.5px; }
.formula-pill { position: relative; }
.cell-hl { outline: 2px solid var(--blue); outline-offset: -2px; background: var(--sky-2) !important; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--bg); }
.price-grid {
  max-width: 900px; margin: 42px auto 0;
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px;
}
.price-card {
  position: relative; background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; box-shadow: var(--sh-sm);
  display: flex; flex-direction: column; min-height: 470px;
}
.price-card.pro { border-color: #74D8F1; box-shadow: var(--sh-lg); }
.early {
  position: absolute; right: 20px; top: 18px;
  background: var(--blue); color: #fff; border-radius: var(--r-pill);
  padding: 5px 10px; font-size: 12px; font-weight: 800;
}
.plan-tag {
  display: inline-flex; align-items: center;
  color: var(--blue); background: var(--sky); border: 1px solid #C6EFFB;
  border-radius: var(--r-pill); padding: 5px 11px; font-size: 13px; font-weight: 800;
}
.price-num {
  margin-top: 18px; font-size: 46px; line-height: 1; font-weight: 800;
  letter-spacing: -.02em; color: var(--ink);
}
.price-num span { font-size: 15px; font-weight: 700; color: var(--mute); letter-spacing: 0; }
.price-top p { margin: 12px 0 0; color: var(--slate); font-size: 15px; }
.plan-list { margin: 24px 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-list li { display: flex; gap: 9px; align-items: flex-start; color: var(--slate); font-size: 14.5px; }
.plan-list li::before { content: "✓"; color: var(--green); font-weight: 900; flex: none; }
.plan-list li.no { color: var(--mute); }
.plan-list li.no::before { content: "–"; color: var(--mute); }
.price-card .btn { width: 100%; justify-content: center; }
.buy-note {
  max-width: 900px; margin: 18px auto 0; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start;
  color: var(--slate); font-size: 14.5px;
}
.buy-note b { color: var(--ink); white-space: nowrap; }

/* ============================================================
   DOWNLOAD
   ============================================================ */
.download { background: #fff; }
.dl-card-wrap { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; max-width: 760px; margin: 40px auto 0; }
.dl-card {
  border: 1px solid var(--border); border-radius: 16px; padding: 30px; text-align: center;
  transition: border-color .15s, box-shadow .15s, transform .15s; background: #fff;
}
.dl-card:hover { border-color: var(--blue); box-shadow: var(--sh-md); transform: translateY(-3px); }
.dl-os { width: 56px; height: 56px; margin: 0 auto 16px; display: grid; place-items: center; color: var(--ink); }
.dl-os svg { width: 42px; height: 42px; }
.dl-card h3 { margin: 0 0 4px; font-size: 19px; font-weight: 700; }
.dl-card .dmeta { font-size: 13px; color: var(--mute); margin: 0 0 18px; }
.dl-card .btn { width: 100%; justify-content: center; }
.dl-foot { text-align: center; margin-top: 24px; font-size: 13.5px; color: var(--mute); }
.btn.disabled {
  cursor: not-allowed; opacity: .72; background: #E2E8F0; color: #64748B;
  box-shadow: none;
}
.btn.disabled:hover { background: #E2E8F0; box-shadow: none; transform: none; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg); }
.faq-list { max-width: 760px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color .15s; }
.faq-item.open { border-color: #C6EFFB; }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--ink); list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q .chev { width: 20px; height: 20px; color: var(--mute); flex: none; transition: transform .2s; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); color: var(--blue); }
.faq-a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; }
.faq-item.open .faq-a { padding: 0 22px 20px; max-height: 240px; }
.faq-a p { margin: 0; font-size: 15px; color: var(--slate); line-height: 1.6; }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta-band { background: var(--bg); }
.cta-inner {
  background: linear-gradient(140deg, #042B3A, var(--navy));
  border-radius: 22px; padding: 54px 56px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.cta-inner::before { content:""; position:absolute; inset:0; background: radial-gradient(40% 80% at 85% 20%, rgba(6,182,212,.22), transparent 60%); }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; font-size: 30px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.02em; }
.cta-inner p { color: #AEBED2; font-size: 16px; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex: none; }

footer.foot { background: #fff; border-top: 1px solid var(--border); padding: 40px 0 30px; }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 280px; }
.foot-brand p { font-size: 13px; color: var(--mute); margin: 12px 0 0; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h5 { margin: 0 0 12px; font-size: 13px; font-weight: 700; color: var(--ink); }
.foot-col a { display: block; font-size: 13.5px; color: var(--slate); margin-bottom: 9px; transition: color .15s; }
.foot-col a:hover { color: var(--blue); }
.foot-bot { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border-soft); display:flex; justify-content:space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--mute); }

/* ============================================================
   REAL SCREENSHOTS — frames, logo, floating chips
   ============================================================ */
.brand-logo { height: 40px; width: auto; display: block; }
.foot-brand .brand-logo { height: 46px; }

.shot-wrap { position: relative; z-index: 1; }
.shot {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 28px 50px rgba(15,23,42,.16)) drop-shadow(0 8px 18px rgba(15,23,42,.08));
}
.security .shot { filter: drop-shadow(0 34px 60px rgba(0,0,0,.5)); }

.formula-chip {
  position: absolute; left: -16px; bottom: 26px; z-index: 4;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--sh-lg); padding: 11px 15px;
  display: flex; flex-direction: column; gap: 3px;
  animation: floaty 5.4s ease-in-out infinite .3s;
}
.formula-chip .fx { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; font-weight: 700; color: var(--green); letter-spacing: -.01em; }
.formula-chip .fxr { font-size: 11.5px; color: var(--mute); font-weight: 600; }
.formula-chip.dark { left: -16px; bottom: 30px; background: #0E1A2B; border-color: rgba(255,255,255,.12); box-shadow: 0 24px 50px -16px rgba(0,0,0,.7); }
.formula-chip.dark .fx { color: var(--cyan); display: flex; align-items: center; gap: 7px; }
.formula-chip.dark .fx::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(16,185,129,.18); }
.formula-chip.dark .fxr { color: #93A4BA; }

@media (max-width: 620px) {
  .formula-chip { display: none; }
  .brand-logo { height: 34px; }
}
@media (max-width: 980px) {
  .hero-grid, .sec-grid, .excel-grid, .feat-showcase, .feat-showcase.rev { grid-template-columns: 1fr; gap: 36px; }
  .feat-showcase.rev .fs-text { order: 0; }
  .hero h1 { font-size: 46px; }
  .feat-grid { grid-template-columns: repeat(2,1fr); }
  .flow-grid { grid-template-columns: repeat(2,1fr); gap: 32px 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-cell + .trust-cell { border-left: 0; border-top: 1px solid var(--border-soft); }
  .nav-links { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .hero h1 { font-size: 38px; }
  h2.sec-title { font-size: 30px; }
  .feat-grid, .dl-card-wrap, .price-grid { grid-template-columns: 1fr; }
  .price-card { min-height: auto; }
  .buy-note { flex-direction: column; gap: 4px; }
  .sec-pad { padding: 64px 0; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .toast { display: none; }
  .feat-showcase { padding: 26px; }
  .recog { grid-template-columns: 1fr; }
}
