/* ========================================
   销冠AI — SalesChampion AI
   Inspired by x-ip.ai dark-tech style
   ======================================== */

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

:root {
  --bg-primary: #08101a;
  --bg-secondary: #0c1826;
  --bg-card: #0f1f30;
  --text-primary: #f0f4f8;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-glow: rgba(99,102,241,.3);
  --accent-orange: #f59e0b;
  --accent-orange-glow: rgba(245,158,11,.25);
  --border: rgba(148,163,184,.08);
  --border-light: rgba(148,163,184,.15);
  --radius: 16px;
  --radius-lg: 24px;
  --font-sans: system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-cn: system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-cn);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(8,16,26,.85);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px clamp(18px,5vw,40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}

.logo-text {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.02em;
}

.logo-accent { color: var(--accent-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a:not(.nav-cta) {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-secondary);
  transition: color .2s;
  position: relative;
}

.nav-links a:not(.nav-cta):hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 999px;
  transition: box-shadow .3s, transform .2s;
}

.nav-cta:hover {
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all .3s;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(80px,14vw,140px) clamp(20px,5vw,40px) clamp(80px,12vw,120px);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .5;
}

.hero-glow-1 {
  top: -200px;
  right: -100px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
}

.hero-glow-2 {
  bottom: -300px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-orange-glow), transparent 70%);
}

.hero-glow-3 {
  top: 40%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,.08), transparent 60%);
}

.hero-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.18);
  background: rgba(148,163,184,.06);
  margin-bottom: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: .04em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.hero-title {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(40px,9vw,88px);
  line-height: 1.04;
  letter-spacing: -.03em;
}

.gradient-text {
  background: linear-gradient(135deg, #818cf8, #a78bfa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(16px,4vw,22px);
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 24px auto 0;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 36px;
  border-radius: 999px;
  transition: box-shadow .3s, transform .2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 17px;
  padding: 16px 36px;
  border-radius: 999px;
  transition: background .3s, transform .2s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-2px);
}

.hero-stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.stat-item {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(15,31,48,.5);
}

.stat-num {
  display: block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(22px,3.5vw,32px);
  background: linear-gradient(135deg, #818cf8, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ========================================
   Section Common
   ======================================== */
section {
  padding: clamp(70px,12vw,120px) clamp(20px,5vw,40px);
}

.section-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-light);
  text-align: center;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(30px,6.5vw,52px);
  letter-spacing: -.02em;
  text-align: center;
  line-height: 1.15;
}

.section-desc {
  font-size: clamp(16px,3.5vw,19px);
  color: var(--text-secondary);
  text-align: center;
  margin-top: 14px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Features
   ======================================== */
.features {
  background: var(--bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 50px auto 0;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color .3s, transform .3s;
}

.feature-card:hover {
  border-color: rgba(99,102,241,.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--icon-bg);
  color: var(--icon-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   How It Works
   ======================================== */
.how-it-works {
  background: var(--bg-primary);
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 1100px;
  margin: 50px auto 0;
  flex-wrap: wrap;
}

.step-card {
  flex: 1;
  min-width: 240px;
  max-width: 320px;
  padding: 36px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
  transition: border-color .3s, transform .3s;
}

.step-card:hover {
  border-color: rgba(99,102,241,.3);
  transform: translateY(-4px);
}

.step-number {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 42px;
  background: linear-gradient(135deg, var(--accent-light), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}

.step-card h3 {
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  color: var(--accent);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ========================================
   Testimonials
   ======================================== */
.testimonials {
  background: var(--bg-secondary);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 50px auto 0;
}

.testimonial-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}

.author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 15px;
}

.author-title {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,.15), transparent 65%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(40px,8vw,70px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(15,31,48,.8), rgba(12,24,38,.8));
  border: 1px solid var(--border);
}

.cta-content h2 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(28px,5vw,44px);
  letter-spacing: -.02em;
}

.cta-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-top: 14px;
}

.cta-content .btn-primary {
  margin-top: 28px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px clamp(20px,5vw,40px) 30px;
  background: var(--bg-primary);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 300px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color .2s;
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  max-width: 1280px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ========================================
   Product Page
   ======================================== */
.subpage-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(60px,10vw,100px) clamp(20px,5vw,40px);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.subpage-hero h1 {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(34px,7vw,60px);
  letter-spacing: -.02em;
  position: relative;
}

.subpage-hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 16px auto 0;
  position: relative;
}

/* ========================================
   Price Page
   ======================================== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 50px auto 0;
}

.price-card {
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
  transition: border-color .3s, transform .3s;
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  border-color: rgba(99,102,241,.3);
  transform: translateY(-4px);
}

.price-card.featured {
  border-color: var(--accent);
  position: relative;
  background: linear-gradient(135deg, rgba(99,102,241,.06), rgba(79,70,229,.04));
}

.price-card.featured::before {
  content: '最受欢迎';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

.price-name {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 6px;
}

.price-tag {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 42px;
  margin: 16px 0;
  background: linear-gradient(135deg, #818cf8, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-tag span {
  font-size: 16px;
  font-weight: 600;
  -webkit-text-fill-color: var(--text-secondary);
  color: var(--text-secondary);
}

.price-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.price-features {
  list-style: none;
  text-align: left;
  flex: 1;
  margin-bottom: 30px;
}

.price-features li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.price-features li::before {
  content: '✓';
  color: #34d399;
  font-weight: 700;
  font-size: 16px;
}

.price-card .btn-primary,
.price-card .btn-secondary {
  display: block;
  text-align: center;
  padding: 14px;
  font-size: 16px;
  width: 100%;
}

/* ========================================
   About Page
   ======================================== */
.about-content {
  max-width: 900px;
  margin: 40px auto 0;
}

.about-content p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 50px auto 0;
}

.about-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
}

.about-card .step-number {
  font-size: 36px;
  margin-bottom: 10px;
}

.about-card h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}

.about-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   Contact Page
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 50px auto 0;
}

.contact-info h3 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
}

.contact-info > p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-methods {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.contact-method-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.contact-method-label {
  font-size: 13px;
  color: var(--text-muted);
}

.contact-method-value {
  font-size: 15px;
  font-weight: 600;
  margin-top: 2px;
}

.contact-form {
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.contact-form h3 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(8,16,26,.5);
  color: var(--text-primary);
  font-family: var(--font-cn);
  font-size: 15px;
  transition: border-color .3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 16px;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content > * {
  animation: fadeInUp .7s ease-out forwards;
  opacity: 0;
}

.hero-badge { animation-delay: .1s; }
.hero-title { animation-delay: .2s; }
.hero-desc { animation-delay: .3s; }
.hero-actions { animation-delay: .4s; }
.hero-stats { animation-delay: .5s; }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .testimonial-grid { grid-template-columns: repeat(2,1fr); }
  .price-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .menu-toggle { display: flex; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; }
  .step-connector { transform: rotate(90deg); }
  .price-grid { grid-template-columns: 1fr; max-width: 400px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 30px; }
  .footer-links { gap: 30px; }
}
