/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:         #F5F0E6;
  --bg-card:    #FAF7F0;
  --text:       #4A3829;
  --text-light: #8A7B6B;
  --green:      #6B8F6B;
  --green-dark: #5A7D5A;
  --green-light:#E8F0E8;
  --orange:     #D48A5A;
  --orange-light:#FDF0E6;
  --rose:       #C28C8C;
  --rose-light: #F5E8E8;
  --blue:       #738CA6;
  --blue-light: #E8EEF4;
  --border:     #D8D0C4;
  --shadow:     rgba(74, 56, 41, 0.08);
  --radius:     16px;
  --radius-lg:  24px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* 标题用宋体/衬线字体，营造复古感 */
h1 {
  font-family: 'Songti SC', 'STSong', 'SimSun', Georgia, serif;
  font-weight: 900;
  line-height: 1.25;
}
h2 {
  font-family: 'Songti SC', 'STSong', 'SimSun', Georgia, serif;
  font-weight: 700;
  line-height: 1.3;
}
h3, h4 {
  font-weight: 600;
  line-height: 1.4;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Animations ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,138,90,.4); }
  50%      { box-shadow: 0 0 0 20px rgba(212,138,90,0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245, 240, 230, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(216, 208, 196, 0.5);
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 20px var(--shadow); }
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'PingFang SC', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.nav-brand img {
  width: 36px; height: 36px;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: .9rem;
  color: var(--text-light);
  transition: color .2s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--green); }
.nav-cta {
  background: var(--green);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 500;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--green-dark); transform: scale(1.03); }

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 36px; height: 36px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  transition: all .25s;
  box-shadow: 0 4px 16px rgba(107,143,107,0.3);
}
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107,143,107,0.35);
}
.btn-primary svg { width: 20px; height: 20px; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  transition: all .25s;
}
.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

/* ===== Hero ===== */
.hero {
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(107,143,107,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,138,90,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-text h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--text);
}
.hero-text h1 .highlight {
  color: var(--green);
  position: relative;
}
.hero-text h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 8px;
  background: rgba(107,143,107,0.15);
  border-radius: 4px;
  z-index: -1;
}
.hero-tagline {
  font-family: 'PingFang SC', sans-serif;
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 32px;
  font-weight: 400;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-item .stat-num {
  font-family: 'PingFang SC', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
}
.stat-item .stat-label {
  font-size: .85rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* Phone mockup */
.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.phone-frame {
  width: 280px;
  height: 560px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.1) inset;
  position: relative;
  animation: float 6s ease-in-out infinite;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 28px;
  background: #1a1a1a;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-content {
  padding: 40px 16px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.phone-header {
  text-align: center;
  margin-bottom: 16px;
}
.phone-header h4 { font-size: .85rem; color: var(--text); }
.phone-header p { font-size: .65rem; color: var(--text-light); margin-top: 2px; }
.phone-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.mini-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
}
.mini-card-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}
.mini-card-text h5 { font-size: .7rem; font-weight: 600; color: var(--text); }
.mini-card-text p { font-size: .55rem; color: var(--text-light); }
.phone-ring {
  display: flex;
  justify-content: center;
  margin-top: auto;
  padding-bottom: 8px;
}
.mini-ring {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0%, var(--green) 65%, var(--border) 65%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-ring-inner {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .55rem;
  font-weight: 700;
  color: var(--green);
}

/* ===== Section Common ===== */
section { padding: 100px 0; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  color: var(--green);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.section-title {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.8;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-desc { margin: 0 auto; }

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
  border-color: transparent;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: opacity .3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card.green::before  { background: var(--green); }
.feature-card.orange::before { background: var(--orange); }
.feature-card.rose::before   { background: var(--rose); }
.feature-card.blue::before   { background: var(--blue); }

.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.feature-icon.green  { background: var(--green-light); color: var(--green); }
.feature-icon.orange { background: var(--orange-light); color: var(--orange); }
.feature-icon.rose   { background: var(--rose-light); color: var(--rose); }
.feature-icon.blue   { background: var(--blue-light); color: var(--blue); }

.feature-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-card p { font-size: .92rem; color: var(--text-light); line-height: 1.7; }

/* ===== AI Search Section ===== */
.ai-section { background: #fff; }
.ai-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ai-demo {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}
.ai-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px 20px 20px 4px;
  padding: 14px 20px;
  font-size: .95rem;
  max-width: 260px;
  margin-bottom: 16px;
}
.ai-bubble.user {
  background: var(--green-light);
  border-color: rgba(107,143,107,0.3);
  margin-left: auto;
  border-radius: 20px 20px 4px 20px;
}
.ai-mic {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 24px auto 0;
  cursor: pointer;
  animation: mic-pulse 2s infinite;
  transition: transform .2s;
}
.ai-mic:hover { transform: scale(1.08); }
.ai-mic svg { width: 32px; height: 32px; fill: #fff; }
.ai-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 24px;
}
.ai-result-thumb {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
}
.ai-result-thumb div { width: 100%; height: 100%; border-radius: 10px; }

.ai-text .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.ai-tag {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 500;
}
.ai-tag.t1 { background: var(--green-light); color: var(--green); }
.ai-tag.t2 { background: var(--orange-light); color: var(--orange); }
.ai-tag.t3 { background: var(--rose-light); color: var(--rose); }
.ai-tag.t4 { background: var(--blue-light); color: var(--blue); }

/* ===== Privacy Section ===== */
.privacy-section { background: var(--bg); }
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.privacy-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all .3s;
}
.privacy-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--shadow);
}
.privacy-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
}
.privacy-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.privacy-card p { font-size: .9rem; color: var(--text-light); line-height: 1.7; }

/* ===== How it Works ===== */
.how-section { background: #fff; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--orange), var(--rose), var(--blue));
  border-radius: 1px;
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'PingFang SC', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin: 0 auto 20px;
  position: relative;
}
.step:nth-child(1) .step-num { background: var(--green); }
.step:nth-child(2) .step-num { background: var(--orange); }
.step:nth-child(3) .step-num { background: var(--rose); }
.step:nth-child(4) .step-num { background: var(--blue); }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: .88rem; color: var(--text-light); line-height: 1.6; }

/* ===== Pricing ===== */
.pricing-section {
  background: linear-gradient(135deg, var(--green-light) 0%, #fff 50%, var(--orange-light) 100%);
}
.pricing-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 2px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-badge {
  position: absolute;
  top: 20px; right: -30px;
  background: var(--orange);
  color: #fff;
  padding: 4px 40px;
  font-size: .75rem;
  font-weight: 600;
  transform: rotate(45deg);
}
.pricing-card h2 { font-size: 1.8rem; margin-bottom: 8px; }
.pricing-card .price {
  font-family: 'PingFang SC', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--green);
  margin: 16px 0;
}
.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
}
.pricing-card .price-note {
  font-size: .9rem;
  color: var(--text-light);
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}
.pricing-features li {
  padding: 10px 0;
  font-size: .95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(216,208,196,0.5);
}
.pricing-features li:last-child { border: none; }
.pricing-features .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  flex-shrink: 0;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(107,143,107,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-size: 2.4rem; margin-bottom: 16px; }
.cta-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #000;
  color: #fff;
  padding: 14px 28px;
  border-radius: 14px;
  transition: all .25s;
}
.app-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.app-badge svg { width: 28px; height: 28px; fill: #fff; }
.app-badge-text small { font-size: .7rem; display: block; opacity: .8; }
.app-badge-text strong { font-size: 1.1rem; display: block; }

/* ===== Footer ===== */
.footer {
  background: #3D3025;
  color: rgba(255,255,255,0.6);
  padding: 60px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-brand img { width: 36px; height: 36px; border-radius: 8px; }
.footer-brand span {
  font-family: 'PingFang SC', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}
.footer-desc { font-size: .88rem; line-height: 1.7; max-width: 320px; }
.footer h4 {
  font-family: 'PingFang SC', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,0.5);
  transition: color .2s;
}
.footer-links a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--green); }

/* ===== Legal Pages ===== */
.legal-page {
  padding: 100px 0 60px;
}
.legal-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal-container h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}
.legal-updated {
  font-size: .88rem;
  color: var(--text-light);
  margin-bottom: 32px;
}
.legal-intro {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.legal-container section {
  padding: 32px 0 0;
}
.legal-container section + section {
  border-top: 1px solid var(--border);
  margin-top: 32px;
  padding-top: 32px;
}
.legal-container h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--green);
}
.legal-container h3 {
  font-size: 1.05rem;
  margin-top: 20px;
  margin-bottom: 10px;
}
.legal-container p {
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-container ul {
  padding-left: 24px;
  margin-bottom: 12px;
}
.legal-container li {
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 6px;
}
.legal-container a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-container a:hover {
  color: var(--green-dark);
}
.legal-container strong {
  color: var(--text);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-text h1 { font-size: 2.4rem; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-phone { order: -1; }
  .phone-frame { width: 240px; height: 480px; }
  .features-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .ai-inner { grid-template-columns: 1fr; gap: 40px; }
  .privacy-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 1.8rem; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(245,240,230,0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-toggle { display: flex; }
  .hero { padding: 120px 0 60px; }
  .hero-text h1 { font-size: 2rem; }
  section { padding: 64px 0; }
  .steps { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .pricing-card { padding: 32px 24px; }
}
