/* === 基础 === */
* { box-sizing: border-box; }

body {
  font-family: -apple-system, 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', 'Inter', sans-serif;
  scroll-behavior: smooth;
}

/* === 导航栏 === */
#navbar {
  background: transparent;
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.07);
}
#navbar.scrolled .nav-text { color: #1e40af !important; }
#navbar.scrolled .nav-link:hover { color: #3b82f6 !important; }

.nav-text {
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.3s;
}
.nav-link {
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: #3b82f6;
  transition: width 0.25s;
  border-radius: 2px;
}
.nav-link:hover::after { width: 100%; }

.logo-icon {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 2px 8px rgba(59,130,246,0.5);
}

/* === Hero === */
.hero-bg {
  background: linear-gradient(135deg, #0f2460 0%, #1d4ed8 50%, #3b82f6 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.deco-1 {
  width: 700px; height: 700px;
  top: -300px; right: -200px;
  background: radial-gradient(circle, rgba(255,255,255,0.07), transparent 70%);
}
.deco-2 {
  width: 400px; height: 400px;
  bottom: -150px; left: -100px;
  background: radial-gradient(circle, rgba(59,130,246,0.15), transparent 70%);
}
.deco-3 {
  width: 250px; height: 250px;
  top: 40%; right: 8%;
  background: radial-gradient(circle, rgba(251,191,36,0.12), transparent 70%);
}

.hero-highlight {
  color: #fbbf24;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 100px;
}

/* === 按钮 === */
.btn-primary {
  background: #ffffff;
  color: #1d4ed8;
  font-weight: 700;
  box-shadow: 0 4px 24px rgba(255,255,255,0.2);
  transition: all 0.25s;
}
.btn-primary:hover {
  background: #eff6ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.3);
}
.btn-outline {
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
  transition: all 0.25s;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

/* === 手机 Mockup === */
.phone-mockup {
  position: relative;
  width: 260px;
}
.phone-shell {
  background: #1a1a2e;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.08),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  animation: phoneFloat 4s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.phone-notch {
  width: 80px; height: 20px;
  background: #0d0d1a;
  border-radius: 0 0 12px 12px;
  margin: 0 auto 8px;
}
.phone-screen {
  background: #f8fafc;
  border-radius: 28px;
  overflow: hidden;
  min-height: 400px;
}
.phone-home-bar {
  width: 80px; height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  margin: 8px auto 0;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 8px;
  background: white;
}
.app-topbar-left { display: flex; align-items: center; gap: 6px; }

.app-banner {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  margin: 0 10px 10px;
  border-radius: 14px;
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.app-banner-icon {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  opacity: 0.8;
}

.app-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 0 10px 10px;
}
.app-shortcut { text-align: center; }
.shortcut-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 4px;
  font-size: 16px;
}
.shortcut-label { font-size: 9px; color: #6b7280; }

.app-section-title {
  font-size: 11px;
  font-weight: 700;
  color: #374151;
  padding: 0 14px 6px;
}
.app-order-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  margin: 0 10px 6px;
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.order-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* 浮动徽章 */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border-radius: 12px;
  padding: 8px 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  animation: badgeFloat 3s ease-in-out infinite;
}
.float-badge-1 {
  left: -40px; top: 80px;
  animation-delay: 0s;
}
.float-badge-2 {
  right: -20px; bottom: 100px;
  animation-delay: 1.5s;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* === 数据条 === */
.stat-item { position: relative; }
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%;
  height: 60%;
  width: 1px;
  background: #e5e7eb;
}
@media (max-width: 768px) {
  .stat-item + .stat-item::before { display: none; }
}

.stat-number {
  display: inline;
  font-size: 2.25rem;
  font-weight: 900;
  color: #1d4ed8;
  line-height: 1;
}
.stat-suffix {
  display: inline;
  font-size: 1.5rem;
  font-weight: 900;
  color: #3b82f6;
}
.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 4px;
}

/* === 通用标题 === */
.section-label {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid #bfdbfe;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}
@media (min-width: 640px) {
  .section-title { font-size: 2.25rem; }
}
.section-sub {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.6;
}

/* === 服务卡片 === */
.service-card-large {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card-large:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(59,130,246,0.35);
}
.large-card-bg {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  border-radius: inherit;
}
.feature-tag-white {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: white;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.25);
}

/* === 流程 === */
.how-deco-1 {
  position: absolute;
  width: 600px; height: 600px;
  top: -200px; right: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.08), transparent 70%);
  pointer-events: none;
}
.how-step { padding: 20px; }
.how-step-num {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(59,130,246,0.08);
  line-height: 1;
  margin-bottom: -16px;
  font-family: 'Inter', sans-serif;
}

/* === 关于我们 === */
.about-card-bg {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 60%, #3b82f6 100%);
  box-shadow: 0 24px 60px rgba(29,78,216,0.35);
}
.about-deco-blob-1 {
  position: absolute;
  width: 300px; height: 300px;
  top: -100px; right: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
  pointer-events: none;
}
.about-deco-blob-2 {
  position: absolute;
  width: 200px; height: 200px;
  bottom: -60px; left: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251,191,36,0.2), transparent 70%);
  pointer-events: none;
}
.about-float-card {
  position: absolute;
  bottom: -20px; right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 12px;
  border: 1px solid #f3f4f6;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.about-feature-item:hover {
  border-color: #bfdbfe;
  box-shadow: 0 2px 8px rgba(59,130,246,0.08);
}
.about-feature-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* === CTA === */
.cta-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}
.cta-deco-1 {
  position: absolute;
  width: 500px; height: 500px;
  top: -200px; right: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 70%);
  pointer-events: none;
}
.cta-deco-2 {
  position: absolute;
  width: 300px; height: 300px;
  bottom: -100px; left: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251,191,36,0.1), transparent 70%);
  pointer-events: none;
}

/* === 入场动画 === */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === 响应式 === */
@media (max-width: 640px) {
  .hero-bg { min-height: 100svh; }
  .phone-mockup { display: none; }
}
