/* Public marketing site — extends aurora.css design tokens */
:root {
  --hero-gradient: linear-gradient(135deg, #eef4ff, #f8fafc 46%, #eefcf6);
  --hero-dark: linear-gradient(135deg, #0f172a 0%, #1a2744 50%, #0d3d3d 100%);
  --brand: #2563eb;
  --brand-soft: #dbeafe;
  --brand-dark: #1d4ed8;
  --green: #6ee7b7;
}
* { box-sizing: border-box }
html { background: var(--bg, #f6f7f9); scroll-behavior: smooth }
body { min-height: 100vh; margin: 0; background: var(--bg, #f6f7f9); color: #172033; font: 14px Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif; line-height: 1.45 }

/* ===== Top Nav ===== */
.site-nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 0 32px; height: 60px; border-bottom: 1px solid #e5e9f0; background: rgba(255,255,255,.88); backdrop-filter: blur(12px) }
.site-nav .logo { display: flex; align-items: center; gap: 8px; color: #172033; font-size: 20px; font-weight: 760; letter-spacing: -.06em; text-decoration: none }
.site-nav .logo b { color: #2563eb }
.site-nav .nav-links { display: flex; align-items: center; gap: 4px }
.site-nav .nav-links a { padding: 8px 14px; border-radius: 6px; color: #475467; text-decoration: none; font-size: 13px; transition: background .15s, color .15s }
.site-nav .nav-links a:hover { background: #f1f5f9; color: #172033 }
.site-nav .actions { display: flex; align-items: center; gap: 8px }
.site-nav .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 8px 16px; border-radius: 7px; font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; transition: all .15s }
.site-nav .btn-outline { border: 1px solid #d6dce6; background: #fff; color: #344054 }
.site-nav .btn-outline:hover { border-color: #b9c4d5 }
.site-nav .btn-primary { border: 1px solid #2563eb; background: #2563eb; color: #fff }
.site-nav .btn-primary:hover { background: #1d4ed8 }
.site-nav .lang-toggle { padding: 6px 10px; border: 1px solid #e5e9f0; border-radius: 6px; background: transparent; cursor: pointer; font-size: 12px; color: #697386 }
.mobile-menu-btn { display: none; border: 0; background: transparent; cursor: pointer; padding: 6px }
@media (max-width: 860px) {
  .site-nav { padding: 0 16px }
  .site-nav .nav-links { display: none }
  .mobile-menu-btn { display: block }
}

/* ===== Hero ===== */
.hero-section { padding: 72px 32px 64px; text-align: center; background: var(--hero-gradient) }
.hero-section.dark { background: var(--hero-dark); color: #fff }
.hero-badge { display: inline-block; margin-bottom: 16px; padding: 5px 14px; border: 1px solid #d7e5ff; border-radius: 99px; background: #eff6ff; color: #2563eb; font-size: 12px; font-weight: 600 }
.hero-section h1 { max-width: 800px; margin: 0 auto 16px; font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -.055em; line-height: 1.15 }
.hero-section p { max-width: 620px; margin: 0 auto 28px; color: #697386; font-size: 17px; line-height: 1.6 }
.hero-section.dark p { color: #94a3b8 }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap }
.hero-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 24px; border-radius: 8px; font-size: 15px; font-weight: 650; text-decoration: none; cursor: pointer; transition: all .15s }
.hero-btn-primary { border: 0; background: #2563eb; color: #fff }
.hero-btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(37,99,235,.28) }
.hero-btn-outline { border: 1px solid #d6dce6; background: #fff; color: #344054 }
.hero-btn-outline:hover { border-color: #b9c4d5; background: #f8fafc }
.hero-section.dark .hero-btn-outline { border-color: #334155; background: #1e293b; color: #e2e8f0 }

/* ===== Stats Bar ===== */
.stats-bar { display: flex; align-items: center; justify-content: center; gap: 48px; padding: 32px; border-bottom: 1px solid #e5e9f0; background: #fff; flex-wrap: wrap }
.stat-item { text-align: center }
.stat-value { font-size: 36px; font-weight: 800; letter-spacing: -.04em; color: #172033 }
.stat-label { margin-top: 4px; color: #697386; font-size: 13px }
@media (max-width: 640px) { .stats-bar { gap: 24px } .stat-value { font-size: 28px } }

/* ===== Sections ===== */
.section { padding: 64px 32px; max-width: 1200px; margin: 0 auto }
.section-header { text-align: center; margin-bottom: 48px }
.section-header h2 { margin: 0 0 10px; font-size: 30px; font-weight: 750; letter-spacing: -.045em }
.section-header p { max-width: 520px; margin: 0 auto; color: #697386; font-size: 16px; line-height: 1.55 }
.section-label { display: inline-block; margin-bottom: 10px; color: #2563eb; font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase }

/* ===== Feature Grid ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px }
.feature-card { padding: 28px; border: 1px solid #e5e9f0; border-radius: 12px; background: #fff; transition: box-shadow .15s, transform .15s }
.feature-card:hover { box-shadow: 0 8px 30px rgba(16,24,40,.08); transform: translateY(-2px) }
.feature-icon { display: grid; width: 44px; height: 44px; place-items: center; margin-bottom: 16px; border-radius: 10px; background: #eff6ff; font-size: 22px }
.feature-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 650 }
.feature-card p { margin: 0; color: #697386; font-size: 13px; line-height: 1.6 }

/* ===== Pricing Cards ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px }
.pricing-card { position: relative; padding: 28px 22px; border: 1px solid #e5e9f0; border-radius: 14px; background: #fff; text-align: center; transition: box-shadow .15s, border-color .15s }
.pricing-card:hover { box-shadow: 0 8px 28px rgba(16,24,40,.08) }
.pricing-card.featured { border-color: #2563eb; box-shadow: 0 4px 24px rgba(37,99,235,.12) }
.pricing-card .popular-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 3px 14px; border-radius: 99px; background: #2563eb; color: #fff; font-size: 11px; font-weight: 700 }
.pricing-card h3 { margin: 0 0 4px; font-size: 17px }
.pricing-card .price { margin: 16px 0 6px; font-size: 32px; font-weight: 800; letter-spacing: -.05em }
.pricing-card .price-unit { color: #697386; font-size: 13px }
.pricing-card .features { margin: 18px 0 22px; padding: 0; list-style: none; color: #475467; font-size: 13px; line-height: 2 }
.pricing-card .features li::before { content: "✓ "; color: #2563eb; font-weight: 700 }
.pricing-card .btn { display: block; width: 100%; padding: 10px; border: 1px solid #d6dce6; border-radius: 7px; background: #fff; color: #344054; font-weight: 650; text-decoration: none; cursor: pointer; transition: all .15s }
.pricing-card .btn-primary { border-color: #2563eb; background: #2563eb; color: #fff }
.pricing-card .btn:hover { opacity: .88 }

/* ===== Testimonials ===== */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px }
.testimonial-card { padding: 24px; border: 1px solid #e5e9f0; border-radius: 12px; background: #fff }
.testimonial-card .stars { color: #f59e0b; margin-bottom: 10px; font-size: 14px }
.testimonial-card p { margin: 0 0 14px; color: #475467; font-size: 13px; line-height: 1.65; font-style: italic }
.testimonial-author { display: flex; align-items: center; gap: 10px }
.testimonial-author .avatar { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #2563eb; color: #fff; font-weight: 700; font-size: 14px }
.testimonial-author strong { font-size: 13px }
.testimonial-author span { color: #697386; font-size: 11px }

/* ===== Trust Bar ===== */
.trust-bar { display: flex; align-items: center; justify-content: center; gap: 40px; padding: 32px; background: #fff; border-top: 1px solid #e5e9f0; flex-wrap: wrap; opacity: .7 }
.trust-bar span { color: #697386; font-size: 12px; font-weight: 600; letter-spacing: .08em }

/* ===== CTA Section ===== */
.cta-section { padding: 72px 32px; text-align: center; background: #2563eb; color: #fff }
.cta-section h2 { margin: 0 0 12px; font-size: 30px; font-weight: 750; letter-spacing: -.04em }
.cta-section p { max-width: 500px; margin: 0 auto 24px; opacity: .88; font-size: 16px; line-height: 1.55 }
.cta-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 28px; border: 2px solid #fff; border-radius: 8px; background: transparent; color: #fff; font-size: 15px; font-weight: 650; text-decoration: none; cursor: pointer; transition: all .15s }
.cta-btn:hover { background: #fff; color: #2563eb }
.cta-btn.alt { background: #fff; color: #2563eb }
.cta-btn.alt:hover { background: #eff6ff }

/* ===== Product Page ===== */
.product-hero { padding: 64px 32px; background: var(--hero-gradient) }
.product-hero .inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center }
.product-hero h1 { margin: 0 0 14px; font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.05em }
.product-hero p { margin: 0 0 20px; color: #475467; font-size: 16px; line-height: 1.6 }
.product-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none }
.product-specs li { display: flex; align-items: center; gap: 8px; color: #475467; font-size: 13px }
.product-specs li .check { color: #2563eb; font-weight: 700 }
.product-price-box { padding: 28px; border: 1px solid #e5e9f0; border-radius: 14px; background: #fff; text-align: center }
.product-price-box .big-price { font-size: 40px; font-weight: 800; letter-spacing: -.05em; color: #2563eb }
@media (max-width: 720px) {
  .product-hero .inner { grid-template-columns: 1fr }
}

/* ===== FAQ ===== */
.faq-list { max-width: 780px; margin: 0 auto }
.faq-item { margin-bottom: 12px; border: 1px solid #e5e9f0; border-radius: 10px; background: #fff; overflow: hidden }
.faq-q { width: 100%; padding: 18px 20px; border: 0; background: transparent; color: #172033; font-size: 15px; font-weight: 650; text-align: left; cursor: pointer; display: flex; align-items: center; justify-content: space-between }
.faq-q::after { content: "+"; font-size: 20px; color: #697386; transition: transform .2s }
.faq-item.open .faq-q::after { content: "−" }
.faq-a { display: none; padding: 0 20px 18px; color: #475467; font-size: 14px; line-height: 1.65 }
.faq-item.open .faq-a { display: block }

/* ===== Forms ===== */
.form-page { min-height: 100vh; display: grid; place-items: center; padding: 22px; background: var(--hero-gradient) }
.form-card { width: min(460px, 100%); padding: 34px; border: 1px solid #e5e9f0; border-radius: 16px; background: #fff; box-shadow: 0 18px 48px rgba(16,24,40,.09) }
.form-card h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.04em }
.form-card .sub { color: #697386; font-size: 13px; margin-bottom: 22px }
.form-card .field { margin-bottom: 16px }
.form-card .field label { display: block; margin-bottom: 6px; color: #475467; font-size: 12px; font-weight: 600 }
.form-card .field input { width: 100%; padding: 10px 12px; border: 1px solid #d6dce6; border-radius: 7px; font-size: 14px; transition: border-color .15s }
.form-card .field input:focus { border-color: #2563eb; outline: 3px solid #dbeafe }
.form-card .btn { width: 100%; padding: 11px; border: 0; border-radius: 8px; background: #2563eb; color: #fff; font-size: 15px; font-weight: 650; cursor: pointer; transition: background .15s }
.form-card .btn:hover { background: #1d4ed8 }
.form-card .alt-link { margin-top: 16px; text-align: center; color: #697386; font-size: 13px }
.form-card .alt-link a { color: #2563eb; font-weight: 650; text-decoration: none }
.form-card .notice { margin-bottom: 18px; padding: 10px 13px; border: 1px solid #fecaca; border-radius: 7px; background: #fff1f2; color: #b42318; font-size: 13px }
.form-card .notice.success { border-color: #bbf7d0; background: #f0fdf4; color: #047857 }
.form-card .notice[hidden] { display: none }

/* ===== Footer ===== */
.site-footer { padding: 48px 32px 32px; border-top: 1px solid #e5e9f0; background: #fff; color: #697386; font-size: 12px }
.site-footer .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; max-width: 1100px; margin: 0 auto 32px }
.site-footer h4 { margin: 0 0 14px; color: #172033; font-size: 13px; font-weight: 650 }
.site-footer a { display: block; margin-bottom: 8px; color: #697386; text-decoration: none }
.site-footer a:hover { color: #172033 }
.site-footer .copy { text-align: center; padding-top: 24px; border-top: 1px solid #f1f5f9 }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-section { padding: 48px 20px }
  .section { padding: 42px 20px }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto }
  .testimonial-grid { grid-template-columns: 1fr }
}

/* ===== Docs (code blocks) ===== */
pre { margin: 12px 0; padding: 16px; border: 1px solid #e5e9f0; border-radius: 8px; background: #f8fafc; overflow-x: auto; font: 13px ui-monospace, SFMono-Regular, Menlo, monospace; line-height: 1.6 }
code { font: 13px ui-monospace, SFMono-Regular, Menlo, monospace; background: #f1f5f9; padding: 2px 5px; border-radius: 3px }
pre code { background: transparent; padding: 0 }
