* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background: #0a0e1a;
  color: #e8ecf5;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; color: inherit; font-family: inherit; }
input, select { font-family: inherit; outline: none; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 165, 116, 0.15);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.logo-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #d4a574, #f97316);
  border-radius: 8px; color: #0a0e1a; font-size: 18px;
  box-shadow: 0 4px 16px rgba(212, 165, 116, 0.3);
}
.logo-text em { color: #d4a574; font-style: normal; font-weight: 600; }
.nav-desktop { display: flex; gap: 32px; }
.nav-desktop a { font-size: 15px; color: #b8c0d1; transition: color 0.2s; }
.nav-desktop a:hover { color: #d4a574; }
.nav-cta { padding: 10px 22px !important; font-size: 14px !important; }
.menu-toggle { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #e8ecf5; transition: 0.3s; }
.nav-mobile {
  display: none; flex-direction: column;
  padding: 20px 24px 32px;
  border-top: 1px solid rgba(212, 165, 116, 0.15);
  background: #0a0e1a;
}
.nav-mobile a { padding: 14px 0; font-size: 16px; color: #b8c0d1; border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-mobile.active { display: flex; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 10px; font-weight: 600; font-size: 15px;
  transition: all 0.2s; white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, #d4a574, #f97316);
  color: #0a0e1a; box-shadow: 0 8px 24px rgba(212, 165, 116, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(212, 165, 116, 0.35); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: rgba(255,255,255,0.05); color: #e8ecf5; border: 1px solid rgba(212, 165, 116, 0.3); }
.btn-ghost:hover { background: rgba(212, 165, 116, 0.1); border-color: #d4a574; }

.hero {
  position: relative; padding: 140px 0 100px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212, 165, 116, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 165, 116, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, transparent 70%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.4; }
.glow-1 { width: 500px; height: 500px; background: #d4a574; top: -100px; right: -100px; }
.glow-2 { width: 400px; height: 400px; background: #3b82f6; bottom: -100px; left: -100px; opacity: 0.2; }
.hero-content { position: relative; z-index: 1; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 20px;
  background: rgba(212, 165, 116, 0.1);
  border: 1px solid rgba(212, 165, 116, 0.3);
  font-size: 14px; color: #d4a574; margin-bottom: 28px;
}
.badge-dot { display: inline-block; width: 8px; height: 8px; background: #d4a574; border-radius: 50%; box-shadow: 0 0 12px #d4a574; }
.hero-title {
  font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1.15;
  margin-bottom: 24px; letter-spacing: -0.02em;
}
.gradient-text {
  background: linear-gradient(135deg, #d4a574 0%, #f97316 50%, #fbbf24 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(15px, 2vw, 19px); color: #b8c0d1;
  max-width: 720px; margin: 0 auto 40px; line-height: 1.8;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  color: #8b95a8; font-size: 14px; margin-bottom: 64px;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  max-width: 720px; margin: 0 auto;
  padding: 32px; border-radius: 16px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(212, 165, 116, 0.15);
}
.stat-num {
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 800;
  background: linear-gradient(135deg, #d4a574, #f97316);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { color: #8b95a8; font-size: 14px; margin-top: 4px; }

.section { padding: 100px 0; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; padding: 6px 14px; border-radius: 6px;
  background: rgba(212, 165, 116, 0.1); color: #d4a574;
  font-size: 13px; font-weight: 600; margin-bottom: 16px;
  border: 1px solid rgba(212, 165, 116, 0.2);
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 12px; letter-spacing: -0.02em; }
.section-head p { color: #8b95a8; font-size: 16px; }

.pain-section { background: linear-gradient(180deg, #0a0e1a, #0d1220); }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card {
  padding: 28px; border-radius: 14px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s;
}
.pain-card:hover { transform: translateY(-4px); border-color: rgba(212, 165, 116, 0.3); background: rgba(212, 165, 116, 0.05); }
.pain-card.highlight { border-color: rgba(212, 165, 116, 0.2); background: rgba(212, 165, 116, 0.04); }
.pain-icon { font-size: 36px; margin-bottom: 16px; }
.pain-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: #e8ecf5; }
.pain-card p { color: #8b95a8; font-size: 15px; line-height: 1.7; }

.scenarios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scenario-card {
  position: relative; padding: 36px 28px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(212, 165, 116, 0.15);
  transition: all 0.3s;
}
.scenario-card:hover { transform: translateY(-6px); border-color: rgba(212, 165, 116, 0.4); box-shadow: 0 20px 40px rgba(212, 165, 116, 0.1); }
.scenario-num {
  font-size: 48px; font-weight: 800;
  background: linear-gradient(135deg, #d4a574, #f97316);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  opacity: 0.3; margin-bottom: 12px;
}
.scenario-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.scenario-card p { color: #b8c0d1; font-size: 15px; margin-bottom: 20px; line-height: 1.7; }
.scenario-card ul li { padding: 8px 0 8px 24px; color: #8b95a8; font-size: 14px; position: relative; }
.scenario-card ul li::before { content: "✓"; position: absolute; left: 0; color: #d4a574; font-weight: 700; }

.tools-section { background: linear-gradient(180deg, #0d1220, #0a0e1a); }
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-card {
  padding: 28px; border-radius: 14px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer; transition: all 0.3s;
}
.tool-card:hover, .tool-card.active {
  transform: translateY(-4px); border-color: #d4a574;
  background: rgba(212, 165, 116, 0.08);
  box-shadow: 0 12px 32px rgba(212, 165, 116, 0.15);
}
.tool-icon { font-size: 40px; margin-bottom: 16px; }
.tool-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.tool-desc { color: #8b95a8; font-size: 14px; margin-bottom: 20px; line-height: 1.7; min-height: 44px; }
.tool-meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
}
.tool-meta span:first-child { color: #6b7591; }
.tool-meta span:last-child { color: #d4a574; font-weight: 600; }

.tool-tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; justify-content: center; }
.tool-tab {
  padding: 12px 22px; border-radius: 10px;
  background: rgba(255,255,255,0.04); color: #b8c0d1;
  font-size: 14px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.2s;
}
.tool-tab:hover { background: rgba(212, 165, 116, 0.08); color: #e8ecf5; }
.tool-tab.active { background: linear-gradient(135deg, #d4a574, #f97316); color: #0a0e1a; border-color: transparent; }
.tool-panel { display: none; }
.tool-panel.active { display: block; }

.demo-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
.demo-input, .demo-output {
  padding: 28px; border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(212, 165, 116, 0.2);
}
.demo-input h3 { font-size: 18px; margin-bottom: 20px; color: #d4a574; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: #8b95a8; margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group select {
  width: 100%; padding: 12px 14px;
  background: rgba(0,0,0,0.3); border: 1px solid rgba(212, 165, 116, 0.2);
  border-radius: 8px; color: #e8ecf5; font-size: 14px;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus { border-color: #d4a574; }

.quote-items { margin: 20px 0; padding: 16px; background: rgba(0,0,0,0.2); border-radius: 10px; }
.quote-items h4 { font-size: 14px; color: #d4a574; margin-bottom: 12px; }
.quote-item {
  display: grid; grid-template-columns: 2fr 60px 80px 80px 30px; gap: 8px;
  margin-bottom: 8px; align-items: center;
}
.quote-item input {
  padding: 8px 10px; font-size: 13px;
  background: rgba(0,0,0,0.4); border: 1px solid rgba(212, 165, 116, 0.15);
  border-radius: 6px; color: #e8ecf5;
}
.btn-remove { color: #f97316; font-size: 20px; font-weight: 700; padding: 4px; opacity: 0.6; }
.btn-remove:hover { opacity: 1; }
.btn-add-item {
  margin-top: 8px; padding: 8px 12px;
  background: rgba(212, 165, 116, 0.1); color: #d4a574;
  border: 1px dashed rgba(212, 165, 116, 0.3);
  border-radius: 6px; font-size: 13px; font-weight: 600; width: 100%;
}
.btn-add-item:hover { background: rgba(212, 165, 116, 0.2); }
.btn-generate { margin-top: 20px; }

.output-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.output-head h3 { font-size: 18px; color: #d4a574; }
.btn-copy {
  padding: 8px 16px; border-radius: 8px;
  background: rgba(212, 165, 116, 0.1); color: #d4a574;
  font-size: 13px; font-weight: 600;
  border: 1px solid rgba(212, 165, 116, 0.3);
}
.btn-copy:hover { background: rgba(212, 165, 116, 0.2); }
.btn-copy.copied { background: #22c55e; color: #fff; border-color: #22c55e; }

.output-content {
  padding: 24px; background: rgba(0,0,0,0.3);
  border-radius: 10px; min-height: 400px;
  font-size: 14px; line-height: 1.8; color: #d4e0f0;
  white-space: pre-wrap;
}
.output-placeholder { color: #6b7591; text-align: center; padding: 80px 20px; }

.quote-doc { font-size: 13px; }
.quote-doc .q-title {
  text-align: center; font-size: 20px; font-weight: 800;
  color: #d4a574; margin-bottom: 8px; padding-bottom: 12px;
  border-bottom: 2px solid #d4a574;
}
.quote-doc .q-subtitle {
  text-align: center; color: #8b95a8; font-size: 12px; margin-bottom: 24px;
}
.quote-doc .q-info {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 16px; background: rgba(212, 165, 116, 0.05);
  border-radius: 8px; margin-bottom: 20px; font-size: 13px;
}
.quote-doc .q-info div strong { color: #d4a574; }
.quote-doc table {
  width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 12px;
}
.quote-doc th {
  background: linear-gradient(135deg, #d4a574, #f97316);
  color: #0a0e1a; padding: 10px 8px; text-align: left; font-weight: 700;
}
.quote-doc th:first-child { border-top-left-radius: 6px; }
.quote-doc th:last-child { border-top-right-radius: 6px; }
.quote-doc td {
  padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #d4e0f0;
}
.quote-doc tr:last-child td { border-bottom: none; }
.quote-doc .q-total-row {
  background: rgba(212, 165, 116, 0.08);
  font-weight: 700;
}
.quote-doc .q-summary {
  text-align: right; padding: 16px;
  background: rgba(212, 165, 116, 0.08);
  border-radius: 8px; margin-bottom: 20px;
  border: 1px solid rgba(212, 165, 116, 0.2);
}
.quote-doc .q-summary div { margin: 6px 0; }
.quote-doc .q-summary .q-final {
  font-size: 20px; color: #f97316; font-weight: 800;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid rgba(212, 165, 116, 0.3);
}
.quote-doc .q-terms {
  padding: 16px; background: rgba(0,0,0,0.2);
  border-radius: 8px; font-size: 12px; color: #8b95a8;
  line-height: 1.8;
}
.quote-doc .q-terms strong { color: #d4a574; display: block; margin-bottom: 6px; font-size: 13px; }
.quote-doc .q-footer {
  margin-top: 20px; padding-top: 16px; border-top: 1px dashed rgba(212, 165, 116, 0.3);
  text-align: center; color: #8b95a8; font-size: 12px;
}

.category-section { background: linear-gradient(180deg, #0a0e1a, #0d1220); }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.category-card {
  padding: 24px 16px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  text-align: center; transition: all 0.3s;
}
.category-card:hover { transform: translateY(-4px); border-color: rgba(212, 165, 116, 0.3); background: rgba(212, 165, 116, 0.06); }
.cat-emoji { font-size: 32px; display: block; margin-bottom: 10px; }
.category-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.category-card p { color: #6b7591; font-size: 12px; }
.category-card.more { background: rgba(212, 165, 116, 0.05); border-color: rgba(212, 165, 116, 0.2); }

.workflow-section { background: linear-gradient(180deg, #0d1220, #0a0e1a); }
.workflow-steps {
  display: flex; align-items: stretch; gap: 12px;
  padding: 32px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.05), rgba(212, 165, 116, 0.02));
  border: 1px solid rgba(212, 165, 116, 0.15);
}
.step { flex: 1; text-align: center; padding: 20px; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800;
  background: linear-gradient(135deg, #d4a574, #f97316);
  color: #0a0e1a; border-radius: 50%;
  box-shadow: 0 8px 20px rgba(212, 165, 116, 0.25);
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: #8b95a8; font-size: 14px; }
.step-arrow { align-self: center; font-size: 24px; color: #d4a574; font-weight: 700; opacity: 0.5; }

.cta-section { padding: 80px 0; }
.cta-box {
  padding: 60px 40px; border-radius: 24px;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(249, 115, 22, 0.05));
  border: 1px solid rgba(212, 165, 116, 0.3);
  text-align: center;
}
.cta-box h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; margin-bottom: 12px; }
.cta-box p { color: #b8c0d1; font-size: 16px; margin-bottom: 32px; }

.footer {
  background: #070a14; border-top: 1px solid rgba(212, 165, 116, 0.1);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid; grid-template-columns: 1fr 2fr; gap: 48px;
  padding-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { color: #8b95a8; font-size: 14px; margin-top: 8px; }
.footer-slogan { color: #d4a574 !important; font-weight: 600; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-cols h4 { font-size: 15px; color: #e8ecf5; margin-bottom: 16px; font-weight: 700; }
.footer-cols a { display: block; padding: 6px 0; color: #6b7591; font-size: 14px; transition: color 0.2s; }
.footer-cols a:hover { color: #d4a574; }
.footer-bottom {
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center; color: #6b7591; font-size: 13px;
}

@media (max-width: 960px) {
  .pain-grid, .scenarios-grid, .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .demo-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .workflow-steps { flex-direction: column; padding: 20px; }
  .step-arrow { transform: rotate(90deg); }
}

@media (max-width: 640px) {
  .nav-desktop, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .section { padding: 60px 0; }
  .pain-grid, .scenarios-grid, .tools-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 110px 0 60px; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .quote-item { grid-template-columns: 1fr 1fr; }
  .quote-item > *:nth-child(1) { grid-column: 1 / -1; }
}