/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand h2 {
  color: #2563eb;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #2563eb;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* 英雄区域 */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.highlight {
  color: #fbbf24;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #fbbf24;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: #fbbf24;
  color: #1f2937;
}

.btn-primary:hover {
  background: #f59e0b;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #667eea;
}

/* 手机模型 */
.hero-image {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 250px;
  height: 500px;
  background: #1f2937;
  border-radius: 30px;
  padding: 20px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coupon-card {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  width: 80%;
}

.coupon-header {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.coupon-amount {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.qr-code {
  width: 60px;
  height: 60px;
  background: white;
  margin: 0 auto 15px;
  border-radius: 8px;
}

.coupon-footer {
  font-size: 0.8rem;
}

/* 通用区域样式 */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1f2937;
}

.section-subtitle {
  font-size: 1.1rem;
  color:#6b7280;
  max-width: 600px;
  margin: 0 auto;
}
/*修改颜色代码*/
.section-title1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.section-subtitle1 {
  font-size: 1.1rem;
  color:#b1cbff;
  max-width: 600px;
  margin: 0 auto;
}






/* 产品特色 */
.features {
  background: #f9fafb;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f2937;
}

.feature-card p {
  color: #6b7280;
}

/* 为什么选择 */
.why-choose-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.reason-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.reason-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.reason-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.reason-content p {
  color: #6b7280;
}

.why-choose-visual {
  background: #f3f4f6;
  padding: 2rem;
  border-radius: 15px;
}

.income-comparison {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.income-bar {
  position: relative;
}

.income-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.income-progress {
  height: 30px;
  background: #e5e7eb;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.income-progress::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  border-radius: 15px;
}

.income-progress-enhanced::after {
  background: linear-gradient(90deg, #10b981, #059669);
}

/* 高情商话术 */
.speech-tips {
  background: #f9fafb;
}

.speech-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.speech-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid #3b82f6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.speech-scenario {
  font-weight: 600;
  color: #3b82f6;
  margin-bottom: 0.5rem;
}

.speech-content {
  color: #4b5563;
  font-style: italic;
}

/* 计算器区域 */
.calculator-section {
  background: linear-gradient(135deg, #1e3a8a, #3730a3);
  color: white;
}

.commission-rates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.rate-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.rate-card h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.rate-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 0.5rem;
}

.calculator {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.calculator-inputs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* 拖拽滑块样式 */
.slider-container {
  position: relative;
  margin-top: 10px;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  outline: none;
  cursor: pointer;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fbbf24;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fbbf24;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.slider::-moz-range-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  border: none;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 1rem;
}

/* 移除原来的input样式，因为现在使用滑块 */
.input-group input[type="range"] {
  width: 100%;
  margin: 0;
}

/* 更新计算器输入区域的网格布局 */
.calculator-inputs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .calculator-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.input-group input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #1f2937;
}

.calculator-results {
  text-align: center;
}

.result-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 16px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background: #fbbf24;
  color: #1f2937;
}

.result-display {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
}

.result-amount {
  font-size: 3rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 0.5rem;
}

.result-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

.calculator-note {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 优势对比 */
.advantages {
  background: #f9fafb;
}

.comparison-table {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.comparison-header,
.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

.comparison-header {
  background: #1f2937;
  color: white;
  font-weight: 600;
}

.comparison-row:nth-child(even) {
  background: #f9fafb;
}

.comparison-item {
  padding: 1rem;
  text-align: center;
  border-right: 1px solid #e5e7eb;
}

.comparison-item:last-child {
  border-right: none;
}

.comparison-item.advantage {
  background: #dcfce7;
  color: #166534;
  font-weight: 600;
}

/* 全场景返佣 */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.scenario-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.scenario-card:hover {
  transform: translateY(-5px);
}

.scenario-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.scenario-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.scenario-card p {
  color: #6b7280;
  font-size: 0.9rem;
}

/* 真实案例 */
.case-studies {
  background: #f9fafb;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.case-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.case-avatar {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
}

.case-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1f2937;
}

.case-stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.case-stat {
  background: #e0f2fe;
  color: #0369a1;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.case-card p {
  color: #6b7280;
  font-style: italic;
}

/* 联系我们 */
.contact {
  background: linear-gradient(135deg, #1f2937, #374151);
  color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.contact-icon {
  font-size: 2rem;
  color: #fbbf24;
}

.contact-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: #d1d5db;
}

.qr-codes {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.qr-code-item {
  text-align: center;
}

.qr-image {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* 页脚 */
.footer {
  background: #111827;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-info h3 {
  color: #fbbf24;
  margin-bottom: 0.5rem;
}

.footer-info p {
  color: #9ca3af;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fbbf24;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.disclaimer {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .why-choose-content {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .comparison-header,
  .comparison-row {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .comparison-item {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }

  .comparison-item:last-child {
    border-bottom: none;
  }

  .result-tabs {
    justify-content: center;
  }

  .tab-btn {
    font-size: 0.9rem;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .phone-mockup {
    width: 200px;
    height: 400px;
  }

  .qr-codes {
    flex-direction: column;
    align-items: center;
  }

  .case-stats {
    justify-content: center;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card,
.case-card,
.scenario-card {
  animation: fadeInUp 0.6s ease forwards;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}
