/* ═══════════════════════════════════════════════════════
   起源ERP — Global Design System
   Style: Light SaaS · Montserrat · Amber+Navy
   ═══════════════════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Design Tokens ─── */
:root {
  --primary:       #fcaf3b;
  --primary-dark:  #e89a20;
  --primary-light: #fff4e0;
  --dark:          #1a2945;
  --dark-2:        #2d3f5c;
  --blue:          #2563eb;
  --blue-light:    #eff6ff;
  --text:          #374151;
  --text-2:        #6b7280;
  --text-3:        #9ca3af;
  --border:        #e5e7eb;
  --bg-alt:        #f8fafc;
  --bg-card:       #ffffff;
  --shadow-sm:     0 1px 4px rgba(0,0,0,.08);
  --shadow-md:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 32px rgba(0,0,0,.12);
  --radius:        8px;
  --radius-lg:     14px;
  --max-w:         1200px;
}

/* ─── Container ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

/* ─── Typography ─── */
h1, h2, h3, h4, h5 { color: var(--dark); font-weight: 900; line-height: 1.25; }
h1 { font-size: clamp(32px, 5vw, 54px); }
h2 { font-size: clamp(24px, 3vw, 36px); }
h3 { font-size: 22px; font-weight: 700; }
h4 { font-size: 17px; font-weight: 700; }
p { margin-bottom: 0; }
.section-label {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--primary-dark); background: var(--primary-light);
  padding: 4px 14px; border-radius: 20px; margin-bottom: 14px;
}
.section-title { margin-bottom: 12px; }
.section-sub { color: var(--text-2); font-size: 16px; max-width: 600px; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .section-sub { margin: 0 auto; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 14px;
  padding: 12px 28px; border-radius: var(--radius); border: none;
  cursor: pointer; transition: all .2s; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #000; box-shadow: 0 2px 8px rgba(252,175,59,.35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-2); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--dark); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-light); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #1d4ed8; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-orange { background: var(--primary); color: #000; font-weight: 700; }
.btn-orange:hover { background: var(--primary-dark); }

/* ─── Navigation ─── */
.nav {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav .container {
  height: 68px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 18px; color: var(--dark); }
.brand-mark { display: flex; align-items: center; gap: 8px; }
.brand-symbol {
  width: 34px; height: 34px; background: var(--primary); color: #000;
  font-weight: 900; font-size: 16px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.brand-name { font-size: 17px; font-weight: 900; color: var(--dark); }
.nav-logo-text { font-size: 17px; font-weight: 900; color: var(--dark); }
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-link { padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--text-2); border-radius: 6px; transition: color .15s, background .15s; }
.nav-link:hover { color: var(--dark); background: var(--bg-alt); }
.nav-link.active { color: var(--primary-dark); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* ─── Tags ─── */
.tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; border-radius: 20px; background: var(--primary-light); color: var(--primary-dark); }

/* ─── Hero ─── */
.hero {
  padding: 96px 0 80px;
  background: linear-gradient(160deg, #fffbf2 0%, #fff 60%, #f0f7ff 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(252,175,59,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner { display: flex; align-items: center; gap: 64px; }
.hero-text { flex: 1; min-width: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; background: var(--primary-light);
  border: 1px solid rgba(252,175,59,.4); border-radius: 20px;
  font-size: 12px; font-weight: 700; color: #b45309; margin-bottom: 24px;
}
.hero-badge-dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; }
.hero-title { margin-bottom: 20px; }
.hero-title .highlight { color: var(--primary-dark); }
.hero-desc { font-size: 17px; color: var(--text-2); line-height: 1.8; margin-bottom: 36px; max-width: 500px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stat-num { font-size: 28px; font-weight: 900; color: var(--dark); }
.hero-stat-label { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.hero-visual { flex: 0 0 560px; }
.hero-banner-card {
  margin: 0;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(3,102,214,.16);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 26px 70px rgba(26,41,69,.18), 0 3px 12px rgba(26,41,69,.10);
}
.hero-banner-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-visual .mock-frame { display: none; }

/* ─── ERP Dashboard Mock ─── */
.erp-mock { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-lg), 0 0 0 3px rgba(252,175,59,.12); overflow: hidden; }
.erp-mock-bar { height: 36px; background: var(--bg-alt); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 14px; gap: 7px; }
.erp-mock-bar .dot { width: 10px; height: 10px; border-radius: 50%; }
.erp-mock-bar .dot:nth-child(1) { background: #ff5f57; }
.erp-mock-bar .dot:nth-child(2) { background: #febc2e; }
.erp-mock-bar .dot:nth-child(3) { background: #28c840; }
.erp-mock-inner { padding: 20px; }
.mock-row { display: flex; gap: 10px; margin-bottom: 12px; }
.mock-card { flex: 1; padding: 12px 14px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 8px; }
.mock-label { font-size: 10px; color: var(--text-3); margin-bottom: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.mock-val { font-size: 18px; font-weight: 900; color: var(--dark); }
.mock-sub { font-size: 10px; color: #059669; margin-top: 2px; font-weight: 600; }
.mock-sub.neg { color: #dc2626; }
.mock-sub.amber { color: #d97706; }
.mock-section-title { font-size: 11px; font-weight: 700; color: var(--text-3); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .05em; }
.mock-row-item { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-radius: 6px; background: var(--bg-alt); margin-bottom: 5px; font-size: 11px; border: 1px solid var(--border); }
.mock-id { color: var(--text-2); font-family: monospace; }
.mock-mkt { color: var(--text-3); }
.mock-amt { font-weight: 700; color: var(--dark); }
.mock-badge { font-size: 9px; padding: 2px 7px; border-radius: 10px; font-weight: 700; }
.badge-ok { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.badge-transit { background: var(--primary-light); color: #d97706; border: 1px solid rgba(252,175,59,.3); }
.badge-pending { background: #eff6ff; color: var(--blue); border: 1px solid #bfdbfe; }

/* ─── Hero Mock Frame (browser/laptop chrome) ─── */
.mock-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(26,41,69,.22), 0 4px 12px rgba(26,41,69,.12);
  border: 1.5px solid #2d3f5c;
  background: #1a2945;
}
.mock-frame-top {
  height: 36px;
  background: #1a2945;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 10px;
  border-bottom: 1px solid #2d3f5c;
}
.mock-frame-dots { display: flex; gap: 6px; }
.mfd { width: 10px; height: 10px; border-radius: 50%; }
.mfd-r { background: #ff5f57; }
.mfd-y { background: #febc2e; }
.mfd-g { background: #28c840; }
.mock-frame-addr {
  flex: 1; background: #2d3f5c; border-radius: 4px;
  height: 20px; font-size: 10px;
  color: rgba(255,255,255,.4); display: flex; align-items: center; padding: 0 8px;
  font-family: monospace;
}
.mock-frame-body {
  display: flex;
  background: #f8fafc;
  min-height: 320px;
}
/* 侧边导航 */
.mock-sidebar {
  width: 44px;
  background: #1a2945;
  display: flex; flex-direction: column;
  align-items: center; padding: 12px 0; gap: 10px;
}
.mock-sidebar-logo {
  width: 28px; height: 28px;
  background: var(--primary); color: #000;
  border-radius: 6px; font-weight: 900; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.mock-nav-item {
  width: 32px; height: 32px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.35);
  transition: background .15s;
}
.mock-nav-item.mock-nav-active {
  background: rgba(252,175,59,.2);
  color: var(--primary);
}
/* 主内容 */
.mock-main { flex: 1; padding: 16px; min-width: 0; }
.mock-page-title {
  font-size: 13px; font-weight: 700; color: #1a2945;
  margin-bottom: 12px;
}
.mock-kpi-row { display: flex; gap: 8px; margin-bottom: 14px; }
.mock-kpi {
  flex: 1; padding: 10px 12px; border-radius: 8px;
  border: 1px solid;
}
.mock-kpi-a { background: #eff6ff; border-color: #bfdbfe; }
.mock-kpi-b { background: #ecfdf5; border-color: #a7f3d0; }
.mock-kpi-c { background: #fff4e0; border-color: rgba(252,175,59,.4); }
.mock-kpi-label { font-size: 9px; color: #6b7280; font-weight: 600; text-transform: uppercase; margin-bottom: 3px; }
.mock-kpi-val { font-size: 16px; font-weight: 900; color: #1a2945; }
.mock-kpi-trend { font-size: 9px; margin-top: 2px; font-weight: 600; }
.mock-kpi-trend.up { color: #059669; }
.mock-kpi-trend.ok { color: #2563eb; }
.mock-table-title { font-size: 11px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.mock-table { border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; background: #fff; }
.mock-tr {
  display: grid; grid-template-columns: 2fr 0.8fr 0.9fr 0.9fr;
  padding: 7px 10px; font-size: 10px;
  border-bottom: 1px solid #f3f4f6;
  align-items: center; gap: 4px;
}
.mock-tr:last-child { border-bottom: none; }
.mock-thead { background: #f8fafc; font-weight: 700; color: #9ca3af; font-size: 9px; text-transform: uppercase; }
.mock-mono { font-family: monospace; color: #374151; font-size: 9.5px; }
.mock-bold { font-weight: 700; color: #1a2945; }
.mock-tag {
  display: inline-block; font-size: 8.5px; font-weight: 700;
  padding: 2px 6px; border-radius: 10px;
}
.tag-ok { background: #ecfdf5; color: #059669; }
.tag-transit { background: #fff4e0; color: #d97706; }
.tag-pending { background: #eff6ff; color: #2563eb; }

/* ─── Stats Bar ─── */
.stats-bar { background: var(--dark); padding: 32px 0; }
.stats-bar .container { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 24px; }
.stat-item { text-align: center; }
.stat-num { font-size: 32px; font-weight: 900; color: var(--primary); }
.stat-label { font-size: 13px; color: rgba(255,255,255,.55); margin-top: 2px; }

/* ─── Feature Cards ─── */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; transition: box-shadow .25s, border-color .25s, transform .25s; }
.feat-card:hover { box-shadow: var(--shadow-md); border-color: rgba(252,175,59,.4); transform: translateY(-3px); }
.feat-icon { width: 52px; height: 52px; background: var(--primary-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feat-card h3 { margin-bottom: 10px; font-size: 18px; }
.feat-card p { color: var(--text-2); font-size: 14px; line-height: 1.7; }
.feat-roles { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 16px; }
.feat-role { font-size: 10px; font-weight: 700; background: var(--blue-light); color: var(--blue); border: 1px solid #bfdbfe; padding: 2px 8px; border-radius: 10px; }

/* ─── Solution Tabs ─── */
.tabs-wrap { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 48px; }
.tab-btn { padding: 9px 22px; font-size: 14px; font-weight: 700; color: var(--text-2); background: transparent; border: 1.5px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: all .2s; font-family: inherit; }
.tab-btn:hover { color: var(--dark); border-color: var(--primary); }
.tab-btn.active { color: #000; background: var(--primary); border-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: flex; }
.tab-layout { display: flex; align-items: flex-start; gap: 64px; }
.tab-text { flex: 1; }
.tab-text h3 { font-size: 26px; margin-bottom: 14px; }
.tab-text p { color: var(--text-2); font-size: 15px; line-height: 1.9; }
.tab-text ul { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.tab-text li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-2); }
.tab-text li .check { width: 18px; height: 18px; flex-shrink: 0; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #d97706; font-size: 10px; font-weight: 900; margin-top: 2px; }
.tab-visual { flex: 0 0 420px; }
.sol-mock { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.sol-mock-bar { height: 30px; background: var(--bg-alt); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 12px; gap: 6px; }
.sol-mock-bar span { width: 8px; height: 8px; border-radius: 50%; }
.sol-mock-bar span:nth-child(1) { background: rgba(255,95,87,.5); }
.sol-mock-bar span:nth-child(2) { background: rgba(254,188,46,.5); }
.sol-mock-bar span:nth-child(3) { background: rgba(40,200,64,.5); }
.sol-mock-inner { padding: 18px; }

/* ─── Pricing ─── */
.price-cards { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.price-card { flex: 1; min-width: 260px; max-width: 340px; background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px; display: flex; flex-direction: column; position: relative; transition: box-shadow .25s, border-color .25s, transform .25s; }
.price-card:hover { box-shadow: var(--shadow-md); border-color: rgba(252,175,59,.4); transform: translateY(-4px); }
.price-card.featured { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(252,175,59,.15), var(--shadow-md); }
.price-card.featured:hover { transform: translateY(-6px); }
.price-badge-pop { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #000; font-size: 11px; font-weight: 900; padding: 4px 16px; border-radius: 20px; white-space: nowrap; }
.price-name { font-size: 20px; font-weight: 900; color: var(--dark); margin-bottom: 6px; }
.price-desc { font-size: 13px; color: var(--text-3); margin-bottom: 24px; }
.price-val { font-size: 38px; font-weight: 900; color: var(--dark); margin-bottom: 6px; }
.price-val i { font-style: normal; font-size: 15px; color: var(--text-3); font-weight: 400; }
.price-features { flex: 1; margin-bottom: 28px; }
.price-features li { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.price-features li:last-child { border-bottom: none; }
.price-features li span:first-child { color: var(--text-2); }
.price-features .pv-yes { color: #059669; font-weight: 700; font-size: 14px; }
.price-features .pv-no { color: var(--text-3); }
.price-cta { display: flex; align-items: center; justify-content: center; padding: 13px; border-radius: var(--radius); font-size: 14px; font-weight: 700; transition: all .2s; text-decoration: none; font-family: inherit; cursor: pointer; border: none; }
.price-cta.outline { border: 1.5px solid var(--border); color: var(--dark); background: transparent; }
.price-cta.outline:hover { border-color: var(--primary); background: var(--primary-light); }
.price-cta.solid { background: var(--primary); color: #000; }
.price-cta.solid:hover { background: var(--primary-dark); }

/* ─── CTA Banner ─── */
.cta-banner { background: var(--dark); padding: 72px 0; text-align: center; }
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,.6); margin-bottom: 32px; font-size: 16px; }

/* ─── Footer ─── */
.footer { background: var(--dark); border-top: 1px solid rgba(255,255,255,.08); padding: 56px 0 0; }
.footer-inner { display: flex; gap: 64px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
/* Legacy: some pages put footer-brand/cols directly in .container without .footer-inner */
.footer > .container > .footer-brand { flex: 0 0 240px; }
.footer > .container { display: flex; gap: 64px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand { flex: 0 0 240px; }
.footer-logo-text { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 12px; }
.footer-logo.brand-mark .brand-symbol { background: var(--primary); color: #000; }
.footer-logo.brand-mark .brand-name { color: #fff; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.7; }
.footer-cols { display: flex; gap: 48px; flex: 1; flex-wrap: wrap; }
.footer-col-title { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copyright { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,.3); transition: color .2s; }
.footer-bottom-links a:hover { color: var(--primary); }

/* ─── Policy / Legal ─── */
.policy-hero { background: var(--dark); padding: 64px 0; text-align: center; }
.policy-hero-title { color: #fff; font-size: 40px; margin-bottom: 10px; }
.policy-hero-sub { color: rgba(255,255,255,.5); font-size: 14px; }
.policy-body { padding: 64px 0; }
.policy-body .container { display: flex; gap: 48px; align-items: flex-start; }
.policy-toc { flex: 0 0 220px; position: sticky; top: 88px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.policy-toc-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 14px; }
.policy-toc a { display: block; font-size: 13px; color: var(--text-2); padding: 5px 0; border-bottom: 1px solid var(--border); transition: color .15s; }
.policy-toc a:last-child { border-bottom: none; }
.policy-toc a:hover { color: var(--primary-dark); }
.policy-content { flex: 1; min-width: 0; }
.policy-content h2 { font-size: 22px; margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--primary-light); }
.policy-content p { margin-bottom: 14px; color: var(--text); line-height: 1.8; }
.policy-content ul { margin: 10px 0 14px 20px; list-style: disc; }
.policy-content ul li { margin-bottom: 6px; color: var(--text); line-height: 1.7; }
.policy-content table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 14px; }
.policy-content table th { background: var(--dark); color: #fff; padding: 10px 14px; text-align: left; font-weight: 700; }
.policy-content table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.policy-content table tr:nth-child(even) td { background: var(--bg-alt); }
.policy-content strong { color: var(--dark); }
.policy-content a { color: var(--blue); text-decoration: underline; }

/* ─── Contact ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.contact-info-card { background: var(--dark); border-radius: var(--radius-lg); padding: 40px 36px; color: #fff; }
.contact-info-title { font-size: 22px; color: #fff; margin-bottom: 8px; }
.contact-info-sub { font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 28px; }
.contact-info-items { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-info-icon { width: 38px; height: 38px; flex-shrink: 0; background: rgba(255,255,255,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.contact-info-label { font-size: 11px; color: rgba(255,255,255,.4); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.contact-info-val { font-size: 14px; color: rgba(255,255,255,.85); }
.contact-form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 36px; box-shadow: var(--shadow-sm); }
.contact-form-title { font-size: 22px; margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: var(--dark); }
.form-input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: inherit; font-size: 14px; color: var(--text); background: #fff; transition: border-color .15s; }
.form-input:focus { outline: none; border-color: var(--primary); }
textarea.form-input { min-height: 120px; resize: vertical; }
.btn-submit { width: 100%; padding: 14px; background: var(--primary); color: #000; font-family: inherit; font-size: 15px; font-weight: 700; border: none; border-radius: var(--radius); cursor: pointer; transition: background .2s; }
.btn-submit:hover { background: var(--primary-dark); }
.contact-success { text-align: center; padding: 32px; }

/* ─── Auth ─── */
.auth-page { min-height: 100vh; background: linear-gradient(135deg, #fffbf2 0%, #fff 50%, #f0f7ff 100%); display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 48px 44px; width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); }
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-title { font-size: 26px; text-align: center; margin-bottom: 6px; }
.auth-sub { font-size: 14px; color: var(--text-3); text-align: center; margin-bottom: 32px; }
.auth-divider { text-align: center; font-size: 13px; color: var(--text-3); margin: 20px 0; position: relative; }
.auth-divider::before, .auth-divider::after { content: ''; position: absolute; top: 50%; width: 42%; height: 1px; background: var(--border); }
.auth-divider::before { left: 0; } .auth-divider::after { right: 0; }
.auth-links { text-align: center; font-size: 13px; color: var(--text-3); margin-top: 20px; }
.auth-links a { color: var(--blue); font-weight: 700; }
.auth-footer { text-align: center; font-size: 12px; color: var(--text-3); margin-top: 24px; }
.auth-footer a { color: var(--text-3); }

/* ─── Features page ─── */
.feat-section { padding: 72px 0; border-bottom: 1px solid var(--border); }
.feat-section:last-of-type { border-bottom: none; }
.feat-layout { display: flex; align-items: flex-start; gap: 64px; }
.feat-layout.reverse { flex-direction: row-reverse; }
.feat-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary-dark); background: var(--primary-light); padding: 4px 12px; border-radius: 20px; display: inline-block; margin-bottom: 14px; }
.feat-title { font-size: 28px; margin-bottom: 14px; }
.feat-desc { font-size: 15px; color: var(--text-2); line-height: 1.8; margin-bottom: 20px; }
.feat-bullets { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.feat-bullet { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-2); }
.feat-bullet-icon { width: 18px; height: 18px; flex-shrink: 0; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #d97706; font-weight: 900; font-size: 10px; margin-top: 2px; }
.feat-mock { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.feat-mock-bar { height: 28px; background: var(--bg-alt); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 12px; gap: 5px; }
.feat-mock-bar span { width: 8px; height: 8px; border-radius: 50%; }
.feat-mock-bar span:nth-child(1) { background: rgba(255,95,87,.5); }
.feat-mock-bar span:nth-child(2) { background: rgba(254,188,46,.5); }
.feat-mock-bar span:nth-child(3) { background: rgba(40,200,64,.5); }
.feat-mock-inner { padding: 16px; }

/* ─── Pricing page ─── */
.pricing-hero { background: var(--dark); padding: 60px 0; text-align: center; }
.pricing-hero h1 { color: #fff; margin-bottom: 10px; }
.pricing-hero p { color: rgba(255,255,255,.5); font-size: 16px; }
.pricing-compare { overflow-x: auto; margin-top: 60px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th { background: var(--dark); color: #fff; padding: 14px 16px; text-align: center; font-weight: 700; }
.compare-table th:first-child { text-align: left; background: var(--dark-2); }
.compare-table td { padding: 10px 16px; border-bottom: 1px solid var(--border); text-align: center; }
.compare-table td:first-child { text-align: left; color: var(--text-2); font-weight: 600; }
.compare-table tr.cat-row td { background: var(--bg-alt); font-weight: 700; color: var(--dark); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.compare-table .check { color: #059669; font-weight: 900; font-size: 16px; }
.compare-table .cross { color: var(--text-3); }
.compare-table .popular-col { background: rgba(252,175,59,.05); }
.pricing-faq { padding: 64px 0; background: var(--bg-alt); }
.faq-grid { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q { font-size: 15px; font-weight: 700; color: var(--dark); padding: 18px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; }
.faq-q:hover { color: var(--primary-dark); }
.faq-a-inner { padding: 0 20px 18px; font-size: 14px; color: var(--text-2); line-height: 1.7; display: none; }
.faq-item.open .faq-a-inner { display: block; }
.faq-item.open .faq-q { color: var(--primary-dark); }

/* ─── OAuth ─── */
.oauth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); padding: 40px 20px; }
.oauth-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 56px 44px; width: 100%; max-width: 480px; text-align: center; box-shadow: var(--shadow-lg); }
.oauth-icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 24px; display: flex; align-items: center; justify-content: center; }
.oauth-icon.success { background: #ecfdf5; }
.oauth-icon.error { background: #fef2f2; }
.oauth-card h1 { font-size: 26px; margin-bottom: 12px; }
.oauth-card p { color: var(--text-2); margin-bottom: 28px; }

/* ─── Pricing page (pricing.html classes) ─── */
:root { --orange-end: var(--primary); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 960px) { .price-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.price-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(252,175,59,.15), var(--shadow-md);
  position: relative;
}
.price-badge {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary); color: #000;
  font-size: 11px; font-weight: 900;
  padding: 4px 16px; border-radius: 20px; white-space: nowrap;
}
.price-use { font-size: 13px; color: var(--text-3); margin-bottom: 16px; }
.price-amount { font-size: 32px; font-weight: 900; color: var(--dark); margin-bottom: 4px; }
.price-divider { height: 1px; background: var(--border); margin: 20px 0; }
.price-features { display: flex; flex-direction: column; gap: 2px; margin-bottom: 24px; }
.price-feature {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 0; border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.price-feature:last-child { border-bottom: none; }
.check-icon { font-size: 13px; font-weight: 900; flex-shrink: 0; width: 16px; text-align: center; }
.check-icon.green { color: #059669; }
.check-icon.gray { color: var(--text-3); }
.price-feature-label { flex: 1; color: var(--text-2); }
.price-feature-val { font-size: 12px; color: var(--dark); font-weight: 600; text-align: right; }
.btn-blue {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 14px;
  padding: 13px 24px; border-radius: var(--radius); border: none;
  cursor: pointer; transition: background .2s; font-family: inherit; text-decoration: none;
}
.btn-blue:hover { background: #1d4ed8; }
/* faq-list / faq-a wrapper used in pricing.html */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-a { overflow: hidden; }
.faq-a .faq-a-inner { display: none; }
.faq-a.open .faq-a-inner { display: block; }
.faq-q.open { color: var(--primary-dark); }

/* ─── Policy pages — single column (no sidebar) ─── */
.policy-body-simple { padding: 64px 0; }
.policy-body-simple .container { max-width: 860px; }
.policy-body-simple .policy-content h2 { font-size: 22px; margin: 36px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--primary-light); }
.policy-body-simple .policy-content p { margin-bottom: 14px; color: var(--text); line-height: 1.8; }
.policy-body-simple .policy-content ul { margin: 10px 0 14px 20px; list-style: disc; }
.policy-body-simple .policy-content ul li { margin-bottom: 6px; color: var(--text); line-height: 1.7; }
.policy-body-simple .policy-content table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: 14px; }
.policy-body-simple .policy-content table th { background: var(--dark); color: #fff; padding: 10px 14px; text-align: left; font-weight: 700; }
.policy-body-simple .policy-content table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.policy-body-simple .policy-content table tr:nth-child(even) td { background: var(--bg-alt); }
.policy-body-simple .policy-content strong { color: var(--dark); }
.policy-body-simple .policy-content a { color: var(--blue); text-decoration: underline; }
/* Inline TOC for policy pages */
.policy-toc-inline {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px 24px;
  margin-bottom: 40px; display: flex; flex-wrap: wrap; gap: 6px 16px;
}
.policy-toc-inline-title { width: 100%; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); margin-bottom: 8px; }
.policy-toc-inline a { font-size: 13px; color: var(--blue); white-space: nowrap; }
.policy-toc-inline a:hover { text-decoration: underline; }

/* ─── Auth helpers (login/register) ─── */
.auth-form { display: flex; flex-direction: column; gap: 0; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap .form-input { padding-left: 38px; }
.input-prefix { position: absolute; left: 12px; color: var(--text-3); display: flex; }
.input-suffix { position: absolute; right: 12px; color: var(--text-3); cursor: pointer; display: flex; }
.form-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 13px; }
.form-check { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); cursor: pointer; }
.form-link { font-size: 13px; color: var(--blue); font-weight: 600; }
.auth-switch { text-align: center; font-size: 13px; color: var(--text-3); margin-top: 20px; }
.auth-switch a { color: var(--blue); font-weight: 700; }
.auth-terms { text-align: center; font-size: 11px; color: var(--text-3); margin-top: 12px; }
.auth-terms a { color: var(--text-3); text-decoration: underline; }

/* ─── Legacy variable aliases (compat with old pages) ─── */
:root {
  --text-1:  var(--dark);
  --bg-2:    var(--bg-alt);
  --bg-3:    #f3f4f6;
  --orange:  var(--primary-dark);
  --shadow-card: var(--shadow-md);
  --radius-xl: var(--radius-lg);
}
/* cta-section used in features.html */
.cta-section { background: var(--dark); padding: 72px 0; text-align: center; }
.cta-title { color: #fff; font-size: 32px; margin-bottom: 14px; }
.cta-sub { color: rgba(255,255,255,.6); margin-bottom: 32px; font-size: 16px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: 15px 36px; font-size: 16px; border-radius: var(--radius); font-weight: 700; display: inline-flex; align-items: center; text-decoration: none; transition: all .2s; cursor: pointer; border: none; font-family: inherit; }
/* footer-contact in features.html */
.footer-contact { margin-top: 14px; }
.footer-contact a { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-contact a:hover { color: var(--primary); }
.footer-contact-icon { width: 14px; height: 14px; stroke: currentColor; fill: none; }

/* ─── Utilities ─── */
.text-center { text-align: center; }
.yes { color: #059669; font-weight: 700; font-size: 14px; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { flex: 0 0 430px; }
  .nav-link { padding: 6px 9px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .hero { padding: 64px 0 48px; }
  .hero-inner, .tab-layout, .feat-layout, .feat-layout.reverse { flex-direction: column; }
  .hero-visual, .tab-visual { flex: none; width: 100%; }
  .hero-banner-card { aspect-ratio: 4 / 3; }
  .feat-grid { grid-template-columns: 1fr; }
  .price-cards { flex-direction: column; align-items: stretch; }
  .price-card { max-width: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav .container {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding-top: 12px;
    padding-bottom: 10px;
  }
  .nav-logo { flex: 0 0 auto; }
  .nav-actions { gap: 8px; margin-left: auto; }
  .nav-actions .btn-orange { display: none; }
  .nav-menu {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 2px;
  }
  .nav-link { padding: 4px 6px; font-size: 11px; }
  .btn-sm { padding: 7px 12px; font-size: 12px; }
  .hero-text { width: 100%; }
  .hero-desc { max-width: none; }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    width: 100%;
  }
  .hero-stat-num { font-size: 24px; }
  .policy-body .container { flex-direction: column; }
  .policy-toc { position: static; flex: none; width: 100%; }
  .footer-inner { flex-direction: column; gap: 32px; }
}
