:root {
  --bg: #faf9f7;
  --bg-alt: #f0ede8;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-secondary: #6b6560;
  --text-muted: #9b9590;
  --accent: #c4704b;
  --accent-light: #e8a882;
  --accent-bg: #fdf2ec;
  --border: #e5e0db;
  --border-light: #ece8e3;
  --code-bg: #f5f2ee;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.10);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --font: -apple-system, 'SF Pro Display', 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --mono: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  --max-w: 1200px;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

a { color: var(--accent); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: .8; }

code {
  font-family: var(--mono);
  font-size: .88em;
  background: var(--code-bg);
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--accent);
}

kbd {
  font-family: var(--mono);
  font-size: .82em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  padding: 2px 7px;
  border-radius: 5px;
  color: var(--text-secondary);
}

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,249,247,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--text); }
.logo-icon { font-size: 22px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); opacity: 1; }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 140px 24px 80px;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 800px 600px at 50% 0%, rgba(196,112,75,.08) 0%, transparent 70%),
    radial-gradient(ellipse 600px 400px at 80% 20%, rgba(232,168,130,.06) 0%, transparent 60%),
    radial-gradient(ellipse 500px 300px at 20% 30%, rgba(196,112,75,.04) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.badge {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .03em;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; margin-bottom: 56px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600;
  padding: 12px 28px;
  border-radius: 10px;
  border: none; cursor: pointer;
  transition: all var(--transition);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #b0603d; color: #fff; opacity: 1; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--text-muted); color: var(--text); opacity: 1; }
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: 12px; }

.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 32px;
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 800; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--text-muted); }
.stat-sep { width: 1px; height: 36px; background: var(--border); }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.section-desc { font-size: 17px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

/* ===== HIGHLIGHTS ===== */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .highlights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .highlights-grid { grid-template-columns: 1fr; } }
.hl-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}
.hl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-light); }
.hl-icon { font-size: 28px; margin-bottom: 14px; }
.hl-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.hl-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; margin: 0; }

/* ===== DUAL PANEL ===== */
.dual-panel {
  display: flex !important;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
}
.dual-panel > .dual-col {
  flex: 1;
  min-width: 0;
}
@media (max-width: 720px) {
  .dual-panel { flex-direction: column !important; gap: 32px; }
}

/* ===== COMPAT ===== */
.compat-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 8px;
}
.compat-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
}
.compat-item + .compat-item { border-top: 1px solid var(--border-light); }
.compat-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.compat-item strong { display: block; font-size: 15px; margin-bottom: 4px; }
.compat-item p { font-size: 14px; color: var(--text-secondary); margin: 0; }

/* ===== STEPS ===== */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; gap: 24px;
  padding: 28px 0;
  position: relative;
}
.step + .step { border-top: 1px solid var(--border-light); }
.step-num {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
  color: var(--accent);
  background: var(--accent-bg);
  border-radius: 12px;
}
.step-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step-body p { font-size: 15px; color: var(--text-secondary); }
.step-tip {
  margin-top: 12px;
  font-size: 13px;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.price-card {
  background: var(--surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.price-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.price-card.popular { border-color: var(--accent); }
.popular-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 3px 14px; border-radius: 100px;
}
.price-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.price-duration { font-size: 28px; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.price-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; }
.price-features {
  list-style: none; text-align: left;
  display: flex; flex-direction: column; gap: 8px;
}
.price-features li {
  font-size: 14px; color: var(--text-secondary);
  padding-left: 20px; position: relative;
}
.price-features li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--accent); font-weight: 700;
}

/* ===== USAGE ===== */
.usage-grid { display: none; }
.usage-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}
.usage-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.usage-card h4 { font-size: 16px; margin-bottom: 8px; }
.usage-card p { font-size: 14px; color: var(--text-secondary); margin: 0; }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 18px 24px;
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--transition);
}
.faq-item summary:hover { background: var(--bg); }
.faq-item summary::after {
  content: '+';
  font-size: 20px; font-weight: 300;
  color: var(--text-muted);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section { padding: 60px 0; }
.cta-card {
  text-align: center;
  background: linear-gradient(135deg, var(--accent-bg) 0%, #fef8f4 100%);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
}
.cta-card h2 { font-size: 28px; margin-bottom: 12px; }
.cta-card p { color: var(--text-secondary); margin-bottom: 28px; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 24px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-logo { font-weight: 700; font-size: 15px; color: var(--text); }
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content > * { animation: fadeInUp .7s ease both; }
.hero-content > :nth-child(2) { animation-delay: .1s; }
.hero-content > :nth-child(3) { animation-delay: .2s; }
.hero-content > :nth-child(4) { animation-delay: .3s; }
.hero-content > :nth-child(5) { animation-delay: .4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero { padding: 120px 20px 60px; }
  .hero-stats { gap: 20px; }
  .stat-num { font-size: 22px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .section { padding: 56px 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .step { flex-direction: column; gap: 12px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 16px; }
}
