/* getbajie.com – style.css (measured tokens, see design-source/pages/home.md) */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

:root {
  --primary: #3d6a4e;          /* fern – measured on the brand mirror's marketing design */
  --primary-dark: #2a4636;     /* moss-2 */
  --gold: #a8475a;             /* lotus-deep accent */
  --dark: #1e3428;             /* moss */
  --header-bg: rgba(238,241,231,.86);
  --bg: #eef1e7;              /* mist */
  --surface: #f8f9f3;         /* paper */
  --surface-2: #dfe7d8;       /* sage */
  --text: #1e3428;
  --text-strong: #1e3428;
  --text-muted: #4a5d50;      /* ink-soft */
  --green: #3d6a4e;
  --red: #a8475a;
  --border: rgba(30,52,40,.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px 22px 30px 20px;   /* measured "pebble" corners */
  --radius-xl: 32px;
  --shadow-card: 0 1px 2px rgba(30,52,40,.06), 0 8px 24px rgba(30,52,40,.06);
  --shadow-lg: 0 18px 44px rgba(30,52,40,.14);
  --transition: .2s ease;      /* measured button transition .2s */
  --ease: cubic-bezier(.2,.61,.42,.97);
  --dur-fast: .2s;
  --dur-md: .45s;
  --serif: "Noto Serif SC","Source Han Serif SC","Songti SC",STSong,"Songti TC",serif;
  --lotus: #eba9ac; --lotus-soft: #f6dada; --sand: #e6dcc6; --river: #4f7f7a;
  --space-xs: 8px; --space-sm: 16px; --space-md: 24px; --space-lg: 48px; --space-xl: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; max-width: 100%; } /* clip, NOT hidden: hidden breaks the sticky header (M9) */
body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif; font-size: 17px; line-height: 1.85; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin-top: 0; line-height: 1.25; }

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--header-bg);
  border-bottom: 2px solid var(--gold);
}
.nav {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  padding: 0 var(--space-sm);
  height: 64px; gap: var(--space-sm);
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.logo { height: 36px; width: auto; max-width: 160px; object-fit: contain; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: center;
}
.nav-links > li > a {
  color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-links > li > a:hover { color: #fff; background: rgba(255,255,255,.1); text-decoration: none; }

.nav-right {
  display: flex; align-items: center; gap: var(--space-sm);
  flex-shrink: 0; margin-left: auto;
}

/* mobile-only language row inside the menu; hidden on desktop */
.mobile-lang { display: none; }

/* ─── DROPDOWN / LANGUAGE SWITCHER ─── */
.dropdown { position: relative; }
.dropdown-panel {
  position: absolute; top: 100%; right: 0;
  margin-top: 0; padding-top: 8px;
  display: none; min-width: 160px; z-index: 1000;
}
.dropdown-panel-inner {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel { display: block; }
.dropdown-panel a {
  display: block; padding: 10px 16px;
  color: var(--text); font-size: 14px;
  transition: background var(--transition);
  white-space: nowrap;
}
.dropdown-panel a:hover { background: var(--surface); text-decoration: none; }

.lang-btn {
  background: none; border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.85); padding: 6px 12px;
  border-radius: var(--radius-sm); cursor: pointer;
  font-size: 13px; display: flex; align-items: center; gap: 6px;
  transition: border-color var(--transition);
}
.lang-btn:hover { border-color: rgba(255,255,255,.7); }
.lang-btn i { font-size: 11px; }

/* ─── CTA BUTTON ─── */
.btn-cta {
  background: var(--primary); color: #fff;
  padding: 10px 20px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap; display: inline-block;
}
.btn-cta:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-1px); }

.btn-cta-lg {
  background: var(--primary); color: #fff;
  padding: 16px 36px; border-radius: var(--radius-md);
  font-size: 18px; font-weight: 700;
  display: inline-block;
  transition: background var(--transition), transform var(--transition);
}
.btn-cta-lg:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-2px); }

.btn-outline {
  border: 2px solid var(--primary); color: var(--primary);
  padding: 10px 20px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600; display: inline-block;
  transition: all var(--transition);
}
.btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }

/* ─── HAMBURGER ─── */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: #fff; font-size: 22px; padding: 6px;
  order: 99;
}

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, #12122a 0%, #1e2a5e 60%, #0d3b82 100%);
  color: #fff; text-align: center;
  padding: var(--space-xl) var(--space-sm);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('/assets/images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.12;
}
.hero-inner { position: relative; max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,199,44,.15); border: 1px solid rgba(255,199,44,.4);
  color: var(--gold); padding: 6px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 600; margin-bottom: var(--space-md);
}
.hero h1 { font-size: clamp(28px, 5vw, 52px); font-weight: 800; margin-bottom: var(--space-sm); color: #fff; }
.hero p { font-size: clamp(16px, 2.5vw, 20px); color: rgba(255,255,255,.82); margin-bottom: var(--space-lg); max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-cta-group { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }
.hero-price { margin-top: var(--space-md); font-size: 14px; color: rgba(255,255,255,.6); }

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: var(--space-md) var(--space-sm);
}
.trust-bar-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-lg); flex-wrap: wrap;
}
.trust-item { text-align: center; }
.trust-num {
  font-size: 28px; font-weight: 800; color: var(--primary);
  display: block; line-height: 1;
}
.trust-label {
  font-size: 12px; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: .5px; margin-top: 6px; display: block;
}
.trust-divider { width: 1px; height: 40px; background: var(--border); }

/* ─── SECTIONS ─── */
.section { padding: var(--space-xl) var(--space-sm); }
.section-alt { background: var(--surface); }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--primary); margin-bottom: var(--space-xs);
}
.section-title { font-size: clamp(24px, 4vw, 40px); font-weight: 800; margin-bottom: var(--space-sm); }
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 600px; margin-bottom: var(--space-lg); }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ─── FEATURE GRID ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}
.feature-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-md);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: var(--space-sm); color: var(--primary);
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* ─── SPLIT ROW ─── */
.split-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-lg); align-items: center;
}
.split-row.reverse { direction: rtl; }
.split-row.reverse > * { direction: ltr; }
.split-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-image img { width: 100%; height: 320px; object-fit: cover; }
.split-content .section-title { font-size: clamp(22px, 3vw, 34px); }
.check-list { margin: var(--space-sm) 0 var(--space-md); }
.check-list li { padding: 8px 0; display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check-list li::before { content: '\2713'; color: var(--green); font-weight: 700; font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* ─── PRICING ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}
.pricing-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--space-md);
  position: relative; transition: box-shadow var(--transition);
}
.pricing-card.popular {
  border-color: var(--primary); border-width: 2px;
  box-shadow: 0 0 0 4px rgba(0,111,207,.08);
}
.pricing-card:hover { box-shadow: var(--shadow-card); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; padding: 4px 16px;
  border-radius: 100px; font-size: 12px; font-weight: 700;
  white-space: nowrap;
}
.pricing-name { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: var(--space-xs); }
.pricing-price { font-size: 42px; font-weight: 800; color: var(--text); line-height: 1; }
.pricing-price sup { font-size: 22px; vertical-align: top; margin-top: 8px; display: inline-block; }
.pricing-period { font-size: 14px; color: var(--text-muted); margin-bottom: var(--space-sm); margin-top: 6px; }
.pricing-divider { height: 1px; background: var(--border); margin: var(--space-sm) 0; }
.pricing-features li { padding: 6px 0; display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.pricing-features li::before { content: '\2713'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.pricing-features li.no::before { content: '\2715'; color: var(--border); }
.pricing-cta { width: 100%; padding: 13px; border-radius: var(--radius-md); font-size: 15px; font-weight: 700; cursor: pointer; margin-top: var(--space-sm); display: block; text-align: center; transition: all var(--transition); background: var(--primary); color: #fff; border: none; }
.pricing-cta:hover { background: var(--primary-dark); text-decoration: none; }
.pricing-card.popular .pricing-cta { background: var(--primary); }

/* ─── IMAGE STRIP ─── */
.image-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-sm);
}
.image-strip-item { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; }
.image-strip-item img { width: 100%; height: 100%; object-fit: cover; }

/* ─── AWARDS ─── */
.awards-row {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-lg); flex-wrap: wrap;
}
.award-item { text-align: center; }
.award-icon { font-size: 40px; color: var(--gold); margin-bottom: 8px; }
.award-title { font-size: 14px; font-weight: 700; }
.award-sub { font-size: 12px; color: var(--text-muted); }

/* ─── FAQ ─── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: var(--space-sm) 0; font-size: 16px; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  color: var(--text);
}
.faq-q i { color: var(--primary); flex-shrink: 0; transition: transform var(--transition); }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 var(--space-sm); font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--dark); color: rgba(255,255,255,.7);
  padding: var(--space-xl) var(--space-sm) var(--space-md);
}
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg); margin-bottom: var(--space-xl);
}
.footer-brand .logo-footer { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: var(--space-sm); }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: var(--space-sm); text-transform: uppercase; letter-spacing: .5px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.7); font-size: 14px; transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1); padding-top: var(--space-sm);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; margin: 0; }
.social-links { display: flex; gap: 12px; }
.social-links a { color: rgba(255,255,255,.5); font-size: 18px; transition: color var(--transition); }
.social-links a:hover { color: #fff; text-decoration: none; }

/* ─── PLATFORM ICONS ─── */
.platform-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-md);
}
.platform-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-sm); text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.platform-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.platform-card i { font-size: 36px; color: var(--primary); margin-bottom: var(--space-sm); }
.platform-card span { font-size: 14px; font-weight: 600; display: block; }

/* ─── GUARANTEE BANNER ─── */
.guarantee-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; text-align: center;
  padding: var(--space-lg) var(--space-sm); border-radius: var(--radius-xl);
  margin: var(--space-lg) 0;
}
.guarantee-banner h2 { font-size: clamp(22px, 4vw, 36px); margin-bottom: var(--space-sm); color: #fff; }
.guarantee-banner p { font-size: 16px; color: rgba(255,255,255,.85); margin-bottom: var(--space-md); max-width: 560px; margin-left: auto; margin-right: auto; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: linear-gradient(135deg, #12122a 0%, #1e2a5e 100%);
  color: #fff; text-align: center;
  padding: 72px var(--space-sm) var(--space-xl);
}
.page-hero h1 { font-size: clamp(26px, 4vw, 44px); font-weight: 800; margin-bottom: var(--space-sm); color: #fff; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,.8); max-width: 600px; margin: 0 auto; }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
.contact-form { display: flex; flex-direction: column; gap: var(--space-sm); }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 14px; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
  padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-md);
  font-size: 15px; font-family: inherit; background: #fff;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--primary);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit {
  background: var(--primary); color: #fff; border: none; cursor: pointer;
  padding: 14px 32px; border-radius: var(--radius-md); font-size: 16px; font-weight: 700;
  transition: background var(--transition);
}
.form-submit:hover { background: var(--primary-dark); }

/* ─── PROSE (privacy/terms) ─── */
.prose { max-width: 800px; margin: 0 auto; font-size: 15px; line-height: 1.8; }
.prose h2 { font-size: 22px; margin-top: 40px; margin-bottom: 12px; }
.prose h3 { font-size: 17px; margin-top: 28px; }
.prose p { margin-bottom: 16px; color: var(--text-muted); }
.prose ul { margin: 12px 0 16px 24px; list-style: disc; }
.prose ul li { color: var(--text-muted); margin-bottom: 6px; }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  .nav { padding: 0 8px; }
  .nav-links {
    display: none;
    position: absolute; top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: center;
    height: auto; max-height: none;
    overflow: visible;
    background: var(--header-bg);
    box-shadow: 0 8px 16px rgba(0,0,0,.24);
    padding: 12px 0;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; text-align: center; }
  .nav-links > li > a { display: block; width: 100%; padding: 14px 0; font-size: 17px; }

  .nav-right .lang-switcher { display: none; }
  .nav-right .btn-cta { display: none; }
  .nav-toggle { display: block; }

  /* Lang switcher INSIDE mobile menu */
  .mobile-lang {
    display: flex; justify-content: center; gap: 16px;
    padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12);
    width: 100%;
  }
  .nav-links li.mobile-lang a {
    display: inline-block;
    width: auto;
    padding: 4px 10px;
    font-size: 15px;
    line-height: 1.4;
    white-space: nowrap;
    color: rgba(255,255,255,.75);
  }
  .nav-links li.mobile-lang a.active { color: var(--gold); font-weight: 700; }

  .split-row { grid-template-columns: 1fr; }
  .split-row.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-divider { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .image-strip { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .btn-cta-lg, .btn-cta, .hero-cta-group a {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: max-content;
    max-width: 90%;
  }
  .hero-cta-group { flex-direction: column; align-items: center; }

  .platform-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .awards-row { flex-direction: column; gap: var(--space-md); }
}

/* ─── UTILITY ─── */
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }
.tag {
  display: inline-block; background: var(--surface-2); color: var(--primary);
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: .5px;
}

/* ─── CN mode: visible update date under the H1 (cn.bing freshness signal, §18) ─── */
time.updated { display: inline-block; margin: 0 0 var(--space-sm); font-size: 14px; opacity: .75; }
.hero time.updated { color: rgba(255,255,255,.8); }

/* ═══ COMMON-MISTAKE RULES (website-quality-standards.md §26, checked by qa_mistakes.py) ═══ */
/* M9 sticky header everywhere */
.site-header { position: sticky; top: 0; z-index: 1000; }
/* M3/M4/M8 nav dropdown (device/product pages grouped): hover-intent on desktop, tap-toggle on mobile */
.dropdown.open > .dropdown-panel { display: block; }
.nav-links .dropdown-panel { left: 0; right: auto; }
.dropdown-toggle {
  background: none; border: 0; cursor: pointer; font: inherit;
  color: rgba(255,255,255,.85); font-size: 14px; font-weight: 500; padding: 8px 12px;
}
.dropdown-toggle::after { content: " ▾"; font-size: .8em; }
/* footer column titles are not headings (keeps H1→H2→H3 order intact, M17) */
.footer-heading { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: var(--space-sm); text-transform: uppercase; letter-spacing: .5px; }
/* M14 device/product cards on the download hub */
.device-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--space-md); }
.device-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: var(--space-md); display: flex; flex-direction: column; gap: 10px; text-align: left;
}
.device-card .device-icon { font-size: 36px; width: 40px; height: 40px; line-height: 40px; color: var(--primary); } /* M22 one size */
.device-card h3 { margin: 0; font-size: 20px; }
.device-card h3 a { color: inherit; }
.device-card ul { margin: 0; padding-left: 18px; list-style: disc; }
.device-card li { font-size: 14px; color: var(--text-muted); margin: 2px 0; }
.device-card .btn-cta { margin-top: auto; align-self: flex-start; }
/* M13 payment methods, M24 comparison table, M19 bullet lists */
.payment-methods { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: var(--space-md); }
.payment-methods li { list-style: none; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 14px; font-weight: 600; background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { border-bottom: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.compare-table .highlight { background: var(--surface); font-weight: 700; }
.bullets { padding-left: 20px; list-style: disc; }
.bullets li { margin: 6px 0; }
.section-sub { max-width: 720px; margin: 0 auto var(--space-md); text-align: center; color: var(--text-muted); }

@media (max-width: 768px) {
  .nav { padding: 0 16px; }                                  /* M7 not flush to the edges */
  .nav-links .dropdown { width: 100%; text-align: center; }
  .nav-links .dropdown-toggle { width: 100%; padding: 14px 0; font-size: 17px; }
  .nav-links .dropdown-panel { position: static; padding-top: 0; min-width: 0; }
  .nav-links .dropdown:hover > .dropdown-panel,
  .nav-links .dropdown:focus-within > .dropdown-panel { display: none; }
  .nav-links .dropdown.open > .dropdown-panel { display: block; }     /* M4 open / M8 close on tap */
  .nav-links .dropdown-panel-inner { background: rgba(255,255,255,.06); border: 0; box-shadow: none; }
  .nav-links .dropdown-panel a { color: rgba(255,255,255,.85); text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }            /* M21 two footer columns */
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }            /* M21 stays two columns on phones */
}


/* ═══ getbajie theme layer – moss / mist / lotus, pebble radii, serif CJK headings ═══ */
body { letter-spacing: .01em; }
h1, h2, h3 { color: var(--text-strong); }
.bj-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.site-header { background: var(--header-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); box-shadow: none; }
.nav { height: 68px; }
.nav-links { justify-content: center; }
.nav-links > li > a, .dropdown-toggle { color: var(--text-muted); font-weight: 500; letter-spacing: .02em; border-radius: 999px; }
.nav-links > li > a:hover, .dropdown-toggle:hover { color: var(--text-strong); background: var(--surface-2); }
.nav-toggle { color: var(--text-strong); }
.logo { height: 36px; max-width: 190px; }
.btn-cta, .btn-cta-lg { background: var(--dark); color: var(--surface); border-radius: 26px 22px 28px 20px; padding: 10px 22px; font-weight: 600; letter-spacing: .04em; box-shadow: none; transition: background-color .2s, color .2s, transform .2s; }
.btn-cta:hover { background: #a8475a; text-decoration: none; transform: translateY(-2px); }
.btn-cta:active { transform: translateY(0) scale(.97); }
.btn-cta.btn-lg { padding: 15px 34px; font-size: 17px; }

/* hero: two columns, left-aligned copy + route diagram */
.bj-hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.bj-hero::before { content: ""; position: absolute; right: -120px; top: -80px; width: 640px; height: 640px; background: var(--sage, #dfe7d8); border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%; opacity: .75; }
.bj-hero::after { content: ""; position: absolute; left: -90px; bottom: -40px; width: 260px; height: 200px; background: var(--lotus-soft); border-radius: 44% 56% 40% 60% / 56% 42% 58% 44%; }
.bj-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.bj-badge, .bj-kicker { display: inline-block; font-size: 13px; letter-spacing: .12em; color: var(--primary-dark); background: var(--surface-2); padding: 4px 14px; border-radius: 999px; margin: 0 0 18px; }
.bj-hero h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(32px, 5vw, 56px); line-height: 1.2; margin: 0 0 8px; }
time.updated { color: var(--text-muted); opacity: 1; }
.bj-lead { font-size: 18px; color: var(--text-muted); max-width: 40em; margin: 0 0 28px; }
.bj-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.bj-ghost { padding: 13px 26px; border: 1px solid var(--dark); border-radius: 22px 26px 20px 28px; color: var(--dark); font-weight: 600; transition: background-color .2s, color .2s, transform .2s; }
.bj-ghost:hover { background: var(--dark); color: var(--surface); text-decoration: none; transform: translateY(-2px); }
.bj-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14px; color: var(--text-muted); }
.bj-facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lotus); margin-right: 8px; }
.bj-route { margin: 0; text-align: center; font-size: 13px; color: var(--text-muted); }
.bj-route-svg { width: 100%; height: auto; background: rgba(248,249,243,.7); border-radius: 44% 56% 40% 60% / 56% 42% 58% 44%; padding: 12px; }
.bj-route-path { animation: bj-dash 2.6s linear infinite; }
@keyframes bj-dash { to { stroke-dashoffset: -44; } }

/* page hero: left-aligned, serif title, soft pebble */
.bj-phero { padding: 64px 0 36px; position: relative; overflow: hidden; }
.bj-phero::after { content: ""; position: absolute; right: -80px; top: -60px; width: 380px; height: 300px; background: var(--sage); border-radius: 52% 48% 62% 38% / 40% 60% 40% 60%; opacity: .7; }
.bj-phero .bj-wrap { position: relative; z-index: 1; }
.bj-phero h1 { font-family: var(--serif); font-weight: 900; font-size: clamp(28px, 4.2vw, 46px); line-height: 1.25; max-width: 18em; margin: 0 0 8px; }

.bj-sec { padding: 84px 0; }
.bj-paper { background: var(--surface); border-radius: 60px 60px 0 0 / 28px 28px 0 0; }
.bj-sage { background: var(--surface-2); }
.bj-head { margin-bottom: 36px; max-width: 46em; }
.bj-h2 { font-family: var(--serif); font-weight: 900; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.3; margin: 0 0 10px; letter-spacing: .04em; }
.bj-sub { color: var(--text-muted); margin: 0; font-size: 17px; }

.bj-tablewrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: 28px 22px 30px 20px; box-shadow: var(--shadow-card); }
.bj-spec { width: 100%; border-collapse: collapse; min-width: 560px; }
.bj-spec th { text-align: left; font-size: 13px; letter-spacing: .1em; color: var(--text-muted); padding: 16px 22px; border-bottom: 1px solid var(--border); background: var(--surface); }
.bj-spec td { padding: 18px 22px; border-bottom: 1px solid var(--border); vertical-align: top; }
.bj-spec tr:last-child td { border-bottom: 0; }
.bj-spec td:first-child { font-family: var(--serif); font-weight: 900; white-space: nowrap; color: var(--primary-dark); }

.bj-mult { display: grid; gap: 14px; }
.bj-mrow { display: grid; grid-template-columns: 150px 1fr 1.3fr; gap: 20px; align-items: center; background: #fff; padding: 16px 22px; border-radius: 22px 28px 20px 26px; border: 1px solid var(--border); }
.bj-mlabel { font-family: var(--serif); font-weight: 900; }
.bj-bar { height: 14px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.bj-bar span { display: block; height: 100%; background: var(--primary); border-radius: 999px; transform-origin: left; animation: bj-grow 1s var(--ease) both; }
.bj-warn .bj-bar span { background: #a8475a; }
.bj-mrow p { margin: 0; font-size: 15px; color: var(--text-muted); }
@keyframes bj-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.bj-note { margin: 18px 0 0; font-size: 14px; color: var(--text-muted); }

.bj-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bj-tile { background: #fff; border: 1px solid var(--border); padding: 26px; grid-column: span 2; border-radius: 28px 22px 30px 20px; transition: transform .2s, box-shadow .2s; }
.bj-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bj-tile h3 { font-family: var(--serif); font-size: 20px; margin: 14px 0 8px; }
.bj-tile p { margin: 0; font-size: 15px; color: var(--text-muted); }
.bj-tile-big { grid-column: span 3; grid-row: span 2; background: var(--dark); color: var(--surface); border-color: var(--dark); display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; }
.bj-tile-big h3 { color: var(--surface); font-size: 26px; }
.bj-tile-big p { color: rgba(248,249,243,.78); font-size: 16px; }
.bj-tile-0 { grid-column: span 3; background: var(--sand); }
.bj-tile-1 { grid-column: span 3; background: var(--lotus-soft); }
.bj-ico { display: inline-grid; place-items: center; width: 46px; height: 46px; background: var(--surface-2); color: var(--primary-dark); border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%; }
.bj-tile-big .bj-ico { background: rgba(248,249,243,.14); color: var(--surface); }

.bj-scenes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bj-scene { padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: 44px 28px 36px 24px / 30px 28px 30px 24px; transition: transform .2s, box-shadow .2s; }
.bj-scene:nth-child(2) { background: var(--sage); } .bj-scene:nth-child(3) { background: var(--lotus-soft); } .bj-scene:nth-child(4) { background: var(--sand); }
.bj-scene:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow-card); }
.bj-scene-tag { font-size: 12px; letter-spacing: .14em; color: #a8475a; margin: 0 0 8px; }
.bj-scene h3 { font-family: var(--serif); font-size: 19px; margin: 0 0 8px; }
.bj-scene p { margin: 0; font-size: 15px; color: var(--text-muted); }

.bj-chiprow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0 0 18px; }
.bj-chiplabel { margin: 0; min-width: 90px; font-family: var(--serif); font-weight: 900; }
.bj-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.bj-chips li { padding: 6px 16px; background: #fff; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; }
.bj-chips.bj-rose li { background: var(--lotus-soft); border-color: transparent; }

.bj-steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; position: relative; }
.bj-steps li { position: relative; padding-top: 8px; }
.bj-steps li:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 64px; right: -20px; border-top: 2px dashed rgba(30,52,40,.25); }
.bj-stepno { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--dark); border-radius: 50%; background: var(--surface); font-family: var(--serif); font-weight: 900; margin-bottom: 14px; position: relative; z-index: 1; }
.bj-steps li:nth-child(2) .bj-stepno { background: var(--sand); } .bj-steps li:nth-child(3) .bj-stepno { background: var(--lotus-soft); }
.bj-steps h3 { font-family: var(--serif); font-size: 18px; margin: 0 0 6px; }
.bj-steps p { margin: 0; font-size: 15px; color: var(--text-muted); }

.bj-qalist { max-width: 820px; display: grid; gap: 12px; }
.bj-qa { background: #fff; border: 1px solid var(--border); border-radius: 28px 22px 30px 20px; padding: 4px 24px; transition: background-color .25s; }
.bj-qa:hover { background: var(--surface); }
.bj-qa .faq-q { padding: 18px 36px 18px 0; font-size: 17px; font-weight: 600; position: relative; display: block; width: 100%; color: var(--text-strong); }
.bj-qa .faq-q::after { content: "+"; position: absolute; right: 0; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--surface-2); text-align: center; line-height: 26px; transition: transform .2s; }
.bj-qa.open .faq-q::after { content: "–"; background: var(--lotus-soft); }
.bj-qa .faq-a { color: var(--text-muted); }
.bj-qa.open .faq-a { animation: bj-fade .25s ease-out both; }

.bj-devlist { display: grid; gap: 14px; }
.bj-dev { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: 32px 24px 34px 22px; padding: 22px 26px; transition: transform .2s, box-shadow .2s; }
.bj-dev:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.bj-dev .device-icon { font-size: 36px; width: 40px; height: 40px; line-height: 40px; color: var(--primary-dark); }
.bj-devbody h3 { font-family: var(--serif); font-size: 21px; margin: 0 0 2px; }
.bj-devbody > p { margin: 0 0 6px; color: var(--text-muted); font-size: 15px; }
.bj-dev .bullets { margin: 0; font-size: 14px; color: var(--text-muted); }
.bj-dev .btn-cta { white-space: nowrap; }

.bj-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.bj-check { background: #fff; border: 1px solid var(--border); padding: 22px; border-radius: 24px 30px 22px 28px; border-top: 5px solid var(--lotus); }
.bj-check:nth-child(2n) { border-top-color: var(--river); }
.bj-check h3 { font-family: var(--serif); font-size: 18px; margin: 0 0 6px; }
.bj-check p { margin: 0; font-size: 15px; color: var(--text-muted); }

.bj-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.bj-plan { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 30px 22px 32px 20px; padding: 26px 22px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.bj-plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bj-plan.bj-hot { background: var(--dark); color: var(--surface); border-color: var(--dark); }
.bj-plan.bj-hot h3, .bj-plan.bj-hot .bj-price { color: var(--surface); }
.bj-plan.bj-hot .bj-who, .bj-plan.bj-hot .bj-per, .bj-plan.bj-hot li { color: rgba(248,249,243,.8); }
.bj-plan.bj-hot .btn-cta { background: var(--lotus); color: var(--dark); }
.bj-plantag { position: absolute; top: -12px; left: 22px; background: var(--lotus); color: var(--dark); font-size: 12px; padding: 3px 12px; border-radius: 999px; }
.bj-plan h3 { font-family: var(--serif); font-size: 20px; margin: 0 0 2px; }
.bj-who { margin: 0 0 14px; font-size: 13px; color: var(--text-muted); }
.bj-price { font-family: var(--serif); font-size: 26px; font-weight: 900; margin: 0; line-height: 1.3; }
.bj-per { margin: 0 0 12px; font-size: 13px; color: var(--text-muted); }
.bj-plan .bullets { font-size: 14px; color: var(--text-muted); flex: 1; }
.bj-plan .pricing-cta { margin-top: 16px; }
.bj-plan .btn-cta { display: block; text-align: center; }
.bj-versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bj-vs { background: #fff; border-radius: 36px 24px 32px 26px; padding: 28px; border: 1px solid var(--border); }
.bj-vs-b { background: var(--dark); color: var(--surface); } .bj-vs-b h3 { color: var(--surface); } .bj-vs-b p, .bj-vs-b li { color: rgba(248,249,243,.82); }
.bj-vs h3 { font-family: var(--serif); font-size: 22px; margin: 0 0 6px; } .bj-vs > p { margin: 0 0 10px; }
.bj-pay { justify-content: flex-start; margin-top: 0; }
.bj-pay li { background: #fff; border-radius: 999px; padding: 8px 20px; }
.bj-sec .container-text, .bj-sec p { max-width: 52em; }
.bj-sec > .bj-wrap > p { margin: 0 0 14px; }

.bj-band { padding: 28px 0 84px; }
.bj-band-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--primary); color: var(--surface); border-radius: 44px 32px 48px 30px; padding: 44px 48px; }
.bj-band .bj-h2 { color: var(--surface); margin: 0 0 6px; font-size: clamp(24px, 3vw, 34px); }
.bj-band p { margin: 0; color: rgba(248,249,243,.85); }
.bj-band .btn-cta { background: var(--surface); color: var(--dark); flex-shrink: 0; }
.bj-band .btn-cta:hover { background: var(--lotus); }

.site-footer { background: var(--dark); color: rgba(248,249,243,.72); border-top: 0; border-radius: 48px 48px 0 0 / 32px 32px 0 0; }
.footer-col h4, .footer-heading { color: var(--surface); text-transform: none; letter-spacing: .04em; font-size: 15px; }
.footer-col ul li a { color: rgba(248,249,243,.72); }
.footer-col ul li a:hover { color: #fff; }
.footer-brand p { color: rgba(248,249,243,.72); }
.logo-footer { filter: brightness(0) invert(1); opacity: .9; max-height: 36px; width: auto; }
.footer-bottom, .footer-bottom p { color: rgba(248,249,243,.6); border-top-color: rgba(248,249,243,.14); }

.bj-hero-copy { animation: bj-rise var(--dur-md) var(--ease) both; }
.bj-route { animation: bj-rise .7s var(--ease) .1s both; }
@keyframes bj-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes bj-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.nav-links.open, .dropdown-panel-inner { animation: bj-rise .2s var(--ease) both; }

@media (max-width: 960px) {
  .bj-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .bj-bento { grid-template-columns: 1fr 1fr; } .bj-tile, .bj-tile-big, .bj-tile-0, .bj-tile-1 { grid-column: span 2; grid-row: auto; min-height: 0; }
  .bj-scenes { grid-template-columns: 1fr 1fr; } .bj-plans { grid-template-columns: 1fr 1fr; }
  .bj-mrow { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 768px) {
  .nav-links { background: var(--surface); box-shadow: 0 12px 24px rgba(30,52,40,.14); border-top: 1px solid var(--border); }
  .nav-links .dropdown-panel-inner { background: var(--surface-2); }
  .nav-links .dropdown-panel a { color: var(--text); }
  .bj-hero { padding: 40px 0 32px; } .bj-phero { padding: 40px 0 20px; } .bj-sec { padding: 56px 0; }
  .bj-wrap { padding: 0 20px; }
  .bj-scenes, .bj-plans, .bj-versus { grid-template-columns: 1fr; }
  .bj-steps li:not(:last-child)::after { display: none; }
  .bj-dev { grid-template-columns: 44px 1fr; } .bj-dev .btn-cta { grid-column: 1 / -1; }
  .bj-band-in { flex-direction: column; text-align: center; padding: 32px 22px; }
  .bj-actions { flex-direction: column; align-items: center; } .bj-actions .btn-cta, .bj-ghost { width: max-content; max-width: 90%; text-align: center; }
  .bj-sec .bj-sub, .bj-lead { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.bj-steps, .bj-steps li { list-style: none; padding-left: 0; margin-top: 0; }
.bj-qalist { margin-left: 0; margin-right: 0; }
