/* =====================================================
   林佑清 iOS定制V 网站首页 - 现代化白色简约风格
   ===================================================== */

:root {
  --primary: #059669;
  --primary-light: #34d399;
  --gradient: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
  --text: #1f2937;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg: #ffffff;
  --surface: #ffffff;
  --border: #f3f4f6;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(5,150,105,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "SF Pro Display",
               "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

[v-cloak] { display: none !important; }

a { text-decoration: none; color: inherit; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 20px rgba(5,150,105,0.3);
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-ghost-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.2); }

.btn-large {
  padding: 14px 32px;
  font-size: 15px;
  border-radius: 14px;
}

/* ===== 顶部导航 ===== */
.top-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
}
.top-nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  padding: 12px 0;
}
.top-nav.scrolled .logo,
.top-nav.scrolled .nav-links a { color: var(--text); }
.top-nav.scrolled .logo i { background: var(--gradient); color: #fff; }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.logo i {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--primary); }

.nav-btns {
  display: flex;
  gap: 12px;
}

/* ===== Hero 区域 - 白色背景 ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 50%, #ffffff 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}
.orb-1 {
  width: 400px; height: 400px;
  background: #34d399;
  top: -100px; right: -100px;
  animation: float 8s ease-in-out infinite;
}
.orb-2 {
  width: 300px; height: 300px;
  background: #10b981;
  bottom: -80px; left: -80px;
  animation: float 10s ease-in-out infinite 2s;
}
.orb-3 {
  width: 200px; height: 200px;
  background: #a7f3d0;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
  animation: pulse 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.3; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(5,150,105,0.08);
  border: 1px solid rgba(5,150,105,0.15);
  border-radius: 999px;
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 24px;
  font-weight: 600;
}
.hero-badge i { color: var(--primary); }

.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.gradient-text {
  background: linear-gradient(135deg, #059669, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
}
.h-stat {
  text-align: center;
}
.h-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
}
.h-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-light);
  font-size: 20px;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== 通用区块标题 ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: #ecfdf5;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
}
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

/* ===== 功能介绍 ===== */
.features-section {
  padding: 120px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.feature-card {
  position: relative;
  background: var(--surface);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  animation: cardEnter 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
}
.feature-card:nth-child(1) { animation-delay: 0.04s; }
.feature-card:nth-child(2) { animation-delay: 0.08s; }
.feature-card:nth-child(3) { animation-delay: 0.12s; }
.feature-card:nth-child(4) { animation-delay: 0.16s; }
.feature-card:nth-child(5) { animation-delay: 0.20s; }
.feature-card:nth-child(6) { animation-delay: 0.24s; }
.feature-card:nth-child(7) { animation-delay: 0.28s; }
.feature-card:nth-child(8) { animation-delay: 0.32s; }

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(5,150,105,0.12), 0 0 0 1px rgba(5,150,105,0.08);
  border-color: rgba(5,150,105,0.15);
}

.feature-card .f-icon {
  position: relative;
  width: 60px; height: 60px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-card:hover .f-icon {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  transition: color 0.3s ease;
}
.feature-card:hover h3 {
  color: var(--primary);
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

@keyframes cardEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 平台数据 ===== */
.stats-section {
  position: relative;
  padding: 100px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  overflow: hidden;
}
.stats-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(5,150,105,0.08), transparent 70%);
  pointer-events: none;
}

.stats-grid {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  background: #fff;
  padding: 32px 20px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.stat-num {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, #059669, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== CTA / 关于 ===== */
.about-section {
  padding: 80px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.about-card {
  background: var(--gradient);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  filter: blur(40px);
}
.about-card::after {
  content: "";
  position: absolute;
  bottom: -40px; left: -40px;
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  filter: blur(40px);
}

.about-content {
  position: relative;
  z-index: 2;
}
.about-content h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}
.about-content p {
  font-size: 16px;
  opacity: 0.85;
  margin-bottom: 32px;
}

.about-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.about-btns .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.about-btns .btn-ghost {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}
.about-btns .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

/* ===== 底部 ===== */
.footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
  background: #fafafa;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.footer-brand i {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--primary); }
.footer-copy {
  font-size: 12px;
  color: var(--text-light);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero-title { font-size: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 32px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn-large { width: 100%; max-width: 280px; }
  .hero-stats { gap: 24px; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; max-width: 480px; }
  .feature-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 28px 20px;
    border-radius: 20px;
  }
  .feature-card .f-icon { width: 56px; height: 56px; font-size: 22px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .about-btns { flex-direction: column; align-items: center; }
  .about-btns .btn { width: 100%; max-width: 280px; }
  .section-title { font-size: 28px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 26px; }
  .hero-desc { font-size: 15px; }
  .stat-num { font-size: 32px; }
  .about-card { padding: 40px 24px; }
  .about-content h2 { font-size: 24px; }
}
