/* 聪明猴小程序商城官网 - 浅色主题 */
:root {
  --color-bg: #F7F8FA;
  --color-white: #FFFFFF;
  --color-primary: #FF8C00;
  --color-primary-light: #FFF4E6;
  --color-primary-hover: #E67E00;
  --color-text: #1A1A2E;
  --color-text-secondary: #666666;
  --color-text-muted: #999999;
  --color-border: #E8ECF0;
  --color-price: #FF4757;
  --color-shadow: rgba(0, 0, 0, 0.06);
  --color-shadow-hover: rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --container-width: 1200px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--color-bg);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: var(--container-width);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  height: 42px;
  width: auto;
}

.logo-text {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  margin-left: 64px;
  gap: 36px;
}

.nav-item {
  font-size: 15px;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-item:hover {
  color: var(--color-primary);
}

.nav-cta {
  margin-left: auto;
  padding: 8px 24px;
  background: linear-gradient(135deg, #FFB347 0%, #FF8C00 100%);
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.35);
}

.header-spacer {
  height: var(--header-height);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  background: linear-gradient(160deg, #FFFAF5 0%, #FFF8EE 40%, #F7F8FA 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}

.hero-blob--1 {
  width: 400px;
  height: 400px;
  background: #FFD699;
  top: -100px;
  right: -80px;
}

.hero-blob--2 {
  width: 300px;
  height: 300px;
  background: #FFB347;
  bottom: -60px;
  left: -60px;
  opacity: 0.3;
}

.hero-blob--3 {
  width: 200px;
  height: 200px;
  background: #A29BFE;
  top: 40%;
  left: 45%;
  opacity: 0.15;
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-white);
  border: 1px solid rgba(255, 140, 0, 0.25);
  border-radius: 20px;
  font-size: 13px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--color-text);
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #FFB347, #FF8C00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #FFB347, #FF8C00);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.35);
}

.btn-outline {
  background: var(--color-white);
  color: var(--color-primary);
  border: 1.5px solid rgba(255, 140, 0, 0.4);
}

.btn-outline:hover {
  background: var(--color-primary-light);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  flex-shrink: 0;
}

.stat-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  text-align: center;
  box-shadow: 0 4px 20px var(--color-shadow);
  transition: transform 0.25s;
}

.stat-card:hover {
  transform: translateY(-3px);
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 6px;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 10px;
}

.section-sub {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Feature Cards */
.features-section {
  background: var(--color-white);
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card-v2 {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid transparent;
}

.feature-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--color-shadow-hover);
  border-color: var(--color-border);
  background: var(--color-white);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  color: #fff;
}

.feature-card-v2 h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--color-text);
}

.feature-card-v2 p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  cursor: default;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--color-shadow);
}

.category-emoji {
  display: block;
  font-size: 32px;
  margin-bottom: 10px;
}

.category-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

/* Steps */
.steps-section {
  background: var(--color-white);
}

.steps-row {
  display: flex;
  gap: 0;
  position: relative;
}

.steps-row::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, #FFD699, #FF8C00, #FFD699);
  z-index: 0;
}

.step-item {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #FFB347, #FF8C00);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255, 140, 0, 0.3);
  border: 4px solid var(--color-white);
}

.step-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
}

.step-item p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Advantages */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-item {
  display: flex;
  gap: 14px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 2px 12px var(--color-shadow);
  transition: transform 0.25s;
}

.advantage-item:hover {
  transform: translateY(-2px);
}

.advantage-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFB347, #FF8C00);
  flex-shrink: 0;
  margin-top: 6px;
}

.advantage-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
}

.advantage-item p {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Quick Links */
.links-section {
  background: var(--color-white);
}

.link-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  cursor: pointer;
  transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
  border: 1px solid transparent;
}

.link-card:hover {
  transform: translateX(4px);
  background: var(--color-white);
  box-shadow: 0 4px 20px var(--color-shadow);
  border-color: var(--color-border);
}

.link-card-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.link-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}

.link-card p {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 0;
}

.link-arrow {
  margin-left: auto;
  font-size: 20px;
  color: var(--color-primary);
  opacity: 0;
  transition: opacity 0.2s;
}

.link-card:hover .link-arrow {
  opacity: 1;
}

/* CTA */
.cta-section {
  padding: 0 0 64px;
}

.cta-box {
  background: linear-gradient(135deg, #FFB347 0%, #FF8C00 50%, #E67E00 100%);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  text-align: center;
  color: #fff;
  box-shadow: 0 8px 32px rgba(255, 140, 0, 0.25);
}

.cta-box h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 10px;
}

.cta-box > p {
  font-size: 15px;
  opacity: 0.9;
  margin: 0 0 28px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.btn-white {
  background: #fff;
  color: var(--color-primary);
  font-weight: 600;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Footer */
.site-footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.footer-main {
  display: flex;
  padding: 56px 0 40px;
  gap: 64px;
}

.footer-brand {
  flex: 1;
  max-width: 280px;
}

.footer-brand-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 16px 0 0;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 20px;
}

.footer-item {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-phone {
  color: var(--color-primary);
}

.footer-phone:hover {
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
}

.modal-box {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px 40px;
  text-align: center;
  cursor: default;
  box-shadow: 0 8px 32px var(--color-shadow-hover);
  min-width: 320px;
}

.modal-box h3 {
  margin: 0 0 16px;
  font-size: 20px;
}

.modal-box p {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.modal-box a {
  color: var(--color-primary);
}

.modal-close {
  margin-top: 20px;
  padding: 8px 32px;
  background: linear-gradient(135deg, #FFB347, #FF8C00);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
}
