/* Vemo official site — single shared stylesheet, no external dependencies */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --ink: #1a2330;
  --ink-soft: #57657a;
  --line: #e3e8ee;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --accent: #0f172a;
  --ok: #16a34a;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(16, 24, 40, .08), 0 1px 2px rgba(16, 24, 40, .04);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ===== header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 1.25rem; color: var(--ink);
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .95rem; font-weight: 800;
}
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--ink-soft); font-size: .95rem; }
.nav a:hover { color: var(--brand); }

/* ===== buttons ===== */
.btn {
  display: inline-block; padding: 10px 22px; border-radius: 8px;
  font-weight: 600; font-size: .95rem; border: 1px solid transparent;
  cursor: pointer; transition: background .15s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ===== hero ===== */
.hero { padding: 80px 0 60px; text-align: center; }
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.2; letter-spacing: -.02em; }
.hero p.lead {
  color: var(--ink-soft); font-size: 1.15rem;
  max-width: 640px; margin: 18px auto 30px;
}
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .note { margin-top: 14px; color: var(--ink-soft); font-size: .88rem; }

/* keyboard key visual */
.kbd {
  display: inline-block; padding: 2px 8px; border-radius: 6px;
  border: 1px solid var(--line); border-bottom-width: 2px;
  background: var(--bg-soft); font-size: .85em; font-weight: 600;
  color: var(--ink);
}

/* ===== sections ===== */
.section { padding: 64px 0; }
.section.alt { background: var(--bg-soft); }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 1.7rem; letter-spacing: -.01em; }
.section-title p { color: var(--ink-soft); margin-top: 8px; }

/* features */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.feature .icon { font-size: 1.5rem; margin-bottom: 10px; display: block; }
.feature h3 { font-size: 1.02rem; margin-bottom: 6px; }
.feature p { color: var(--ink-soft); font-size: .92rem; }
.feature .tag {
  display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px;
  background: #ecfdf5; color: var(--ok); font-size: .72rem; font-weight: 700;
  vertical-align: middle;
}

/* screenshots */
.shot-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.shot {
  border: 1px dashed #b9c4d0; border-radius: var(--radius);
  background: #fff; min-height: 170px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--ink-soft); font-size: .9rem; padding: 20px; text-align: center;
}
.shot strong { color: var(--ink); margin-bottom: 6px; }

/* pricing */
.price-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px; max-width: 780px; margin: 0 auto;
}
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 28px; box-shadow: var(--shadow);
}
.price-card.pro { border: 2px solid var(--brand); position: relative; }
.price-card.pro .badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700;
  padding: 3px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 1.1rem; }
.price-card .amount { font-size: 2.2rem; font-weight: 800; margin: 12px 0 4px; }
.price-card .amount small { font-size: .95rem; font-weight: 500; color: var(--ink-soft); }
.price-card ul { list-style: none; margin: 18px 0 24px; }
.price-card li {
  padding: 7px 0 7px 26px; position: relative;
  color: var(--ink-soft); font-size: .93rem;
  border-bottom: 1px dashed var(--line);
}
.price-card li:last-child { border-bottom: none; }
.price-card li::before {
  content: "✓"; position: absolute; left: 4px; color: var(--ok); font-weight: 700;
}
.price-card li.no::before { content: "—"; color: #b9c4d0; }

/* PayPal button slot */
.paypal-slot {
  margin-top: 8px; padding: 18px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-soft); text-align: center;
}
.paypal-note { margin-top: 10px; color: var(--ink-soft); font-size: .8rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.step .num {
  width: 30px; height: 30px; border-radius: 999px; background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 10px;
}
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: .92rem; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 18px; margin-bottom: 10px;
}
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--ink-soft); font-size: .94rem; }

/* contact */
.contact-card {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 40px 30px; box-shadow: var(--shadow);
}
.contact-card .icon { font-size: 2rem; }
.contact-card h2 { margin: 10px 0 8px; }
.contact-card p { color: var(--ink-soft); }
.contact-card .mail { font-size: 1.15rem; font-weight: 700; margin-top: 14px; display: block; }

/* ===== legal pages ===== */
.legal { max-width: 780px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { font-size: 1.9rem; margin-bottom: 8px; }
.legal .updated { color: var(--ink-soft); font-size: .88rem; margin-bottom: 34px; }
.legal h2 { font-size: 1.2rem; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); font-size: .96rem; }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal .back-link { margin-bottom: 26px; display: inline-block; font-size: .9rem; }

/* ===== footer ===== */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 36px 0; }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center;
}
.site-footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); font-size: .9rem; }
.site-footer a:hover { color: var(--brand); }
.site-footer .copy { color: var(--ink-soft); font-size: .85rem; }

@media (max-width: 640px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding: 56px 0 40px; }
}

/* ===== bilingual: show/hide by html[data-lang] ===== */
/* lang.js 在 <head> 里同步设置 data-lang，首屏即生效，不会闪错语言 */
html[data-lang="zh"] [data-lang="en"] { display: none !important; }
html[data-lang="en"] [data-lang="zh"] { display: none !important; }

/* ===== header right side: nav + lang switch ===== */
.header-right { display: flex; align-items: center; gap: 16px; }

.lang-switch {
  display: flex; border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; flex-shrink: 0;
}
.lang-switch button {
  border: none; background: #fff; color: var(--ink-soft);
  padding: 5px 12px; font-size: .85rem; cursor: pointer; line-height: 1.5;
}
.lang-switch button + button { border-left: 1px solid var(--line); }
.lang-switch button.active { background: var(--brand); color: #fff; font-weight: 700; }
.lang-switch button:not(.active):hover { color: var(--brand); }

/* ===== product cards (home page) ===== */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px; max-width: 820px; margin: 0 auto;
}
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 26px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
}
.product-card .thumb {
  width: 52px; height: 52px; border-radius: 12px; background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 14px;
}
.logo-mark.big { width: 36px; height: 36px; border-radius: 9px; font-size: 1.2rem; }
.product-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.product-card .desc { color: var(--ink-soft); font-size: .93rem; margin-bottom: 14px; }
.product-card .price-line { margin-bottom: 10px; }
.product-card .price-line .amount { font-size: 1.5rem; font-weight: 800; }
.product-card .price-line .amount small { font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
.product-card ul.mini { list-style: none; margin: 0 0 20px; }
.product-card ul.mini li {
  padding: 5px 0 5px 22px; position: relative;
  color: var(--ink-soft); font-size: .88rem;
}
.product-card ul.mini li::before {
  content: "✓"; position: absolute; left: 4px; color: var(--ok); font-weight: 700;
}
.product-card .btn { margin-top: auto; }
.product-card.coming-soon {
  border-style: dashed; border-color: #b9c4d0; box-shadow: none;
  align-items: center; text-align: center; justify-content: center;
}
