/* ============================================
   小友智享 - 移动端优先落地页样式
   ============================================ */

:root {
  --primary: #4F8EF7;
  --primary-light: #60A5FA;
  --secondary: #36D7B7;
  --accent: #FF8C42;
  --accent-hover: #FF7A2E;
  --bg-white: #ffffff;
  --bg-light: #F5F7FA;
  --bg-soft: #EEF2FF;
  --card-bg: #ffffff;
  --text-primary: #2D3748;
  --text-secondary: #718096;
  --text-light: #ffffff;
  --shadow-card: 0 4px 20px rgba(79, 142, 247, 0.08);
  --shadow-card-hover: 0 8px 30px rgba(79, 142, 247, 0.15);
  --radius-card: 20px;
  --radius-btn: 12px;
  --gradient-main: linear-gradient(135deg, #4F8EF7 0%, #36D7B7 100%);
  --gradient-accent: linear-gradient(135deg, #FF8C42 0%, #FFB347 100%);
  --gradient-hero: linear-gradient(160deg, #EEF2FF 0%, #E0F7FA 50%, #F0FFF4 100%);
  --font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul, ol { list-style: none; }

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

.section-title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(2deg); }
  66% { transform: translateY(-6px) rotate(-1deg); }
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(79, 142, 247, 0.06);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 36px;
  height: 36px;
  background: var(--gradient-main);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 18px;
}

.nav-brand-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition-base);
}

.nav-cta {
  padding: 8px 20px;
  background: var(--gradient-accent);
  color: white;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
}

.nav-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding: 100px 20px 60px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 142, 247, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -15%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(54, 215, 183, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(79, 142, 247, 0.08);
  border: 1px solid rgba(79, 142, 247, 0.15);
  border-radius: 50px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease-out;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #36D7B7;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 16px;
  animation: fadeUp 0.6s ease-out 0.1s both;
}

.hero h1 .highlight {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  animation: fadeUp 0.6s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeUp 0.6s ease-out 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--gradient-accent);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: 0 4px 20px rgba(255, 140, 66, 0.25);
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(255, 140, 66, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--bg-white);
  border: 1.5px solid rgba(79, 142, 247, 0.2);
  color: var(--primary);
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: var(--transition-base);
}

.btn-secondary:hover {
  background: var(--bg-soft);
  border-color: var(--primary);
  transform: scale(1.03);
}

.hero-subsidy {
  margin-top: 28px;
  padding: 14px 20px;
  background: rgba(54, 215, 183, 0.06);
  border: 1px solid rgba(54, 215, 183, 0.15);
  border-radius: 14px;
  color: var(--text-primary);
  font-size: 14px;
  animation: fadeUp 0.6s ease-out 0.4s both;
}

.hero-subsidy strong { color: #36D7B7; }

.hero-image {
  margin-top: 36px;
  animation: fadeUp 0.6s ease-out 0.5s both;
  position: relative;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(79, 142, 247, 0.12);
}

.stats {
  padding: 60px 0;
  background: var(--bg-white);
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 142, 247, 0.2), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-card);
  background: var(--bg-light);
  transition: var(--transition-base);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.materials {
  padding: 70px 0;
  background: var(--bg-light);
}

.materials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.material-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
  border: 1px solid rgba(79, 142, 247, 0.06);
}

.material-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(79, 142, 247, 0.15);
}

.material-card img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.material-card-info { padding: 20px; }

.material-card-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.material-card-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.advantages {
  padding: 70px 0;
  background: var(--bg-white);
}

.advantage-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.advantage-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--card-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
  border: 1px solid rgba(79, 142, 247, 0.05);
}

.advantage-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(79, 142, 247, 0.15);
}

.advantage-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.advantage-icon.speed { background: linear-gradient(135deg, #EEF2FF, #DBEAFE); }
.advantage-icon.safe { background: linear-gradient(135deg, #ECFDF5, #D1FAE5); }
.advantage-icon.clock { background: linear-gradient(135deg, #FFF7ED, #FED7AA); }
.advantage-icon.price { background: linear-gradient(135deg, #FDF2F8, #FBCFE8); }
.advantage-icon.service { background: linear-gradient(135deg, #EEF2FF, #E0E7FF); }
.advantage-icon.easy { background: linear-gradient(135deg, #F0FDF4, #DCFCE7); }

.advantage-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.advantage-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.process {
  padding: 70px 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 142, 247, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.process .section-title { color: var(--text-primary); }
.process .section-subtitle { color: var(--text-secondary); }

.process-timeline {
  position: relative;
  padding-left: 40px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), rgba(79, 142, 247, 0.15));
}

.process-step {
  position: relative;
  margin-bottom: 24px;
  padding: 20px 24px;
  background: var(--card-bg);
  border: 1px solid rgba(79, 142, 247, 0.08);
  border-radius: 16px;
  transition: var(--transition-base);
  box-shadow: var(--shadow-card);
}

.process-step:hover {
  border-color: rgba(79, 142, 247, 0.2);
  transform: translateX(4px);
}

.process-step:last-child { margin-bottom: 0; }

.process-step-number {
  position: absolute;
  left: -33px;
  top: 22px;
  width: 28px;
  height: 28px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: white;
  border: 3px solid var(--bg-light);
}

.process-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.process-step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq {
  padding: 70px 0;
  background: var(--bg-white);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(79, 142, 247, 0.04);
  border: 1px solid rgba(79, 142, 247, 0.06);
  transition: var(--transition-base);
}

.faq-item:hover { box-shadow: var(--shadow-card); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  cursor: pointer;
  gap: 12px;
  transition: var(--transition-base);
}

.faq-question:hover { background: rgba(79, 142, 247, 0.02); }

.faq-question h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-base);
}

.faq-item.active .faq-toggle {
  background: var(--primary);
  transform: rotate(180deg);
}

.faq-toggle svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-secondary);
  transition: var(--transition-base);
}

.faq-item.active .faq-toggle svg { stroke: white; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.cta {
  padding: 70px 0;
  background: var(--gradient-main);
  background-size: 200% 200%;
  animation: gradientFlow 20s ease infinite;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.cta h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 12px;
  position: relative;
}

.cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  position: relative;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.cta .btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cta .btn-primary:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cta .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.cta-contact {
  margin-top: 28px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  position: relative;
}

.cta-contact p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 4px;
}

.cta-contact p:last-child { margin-bottom: 0; }

.footer {
  padding: 40px 0 24px;
  background: var(--bg-light);
  color: var(--text-secondary);
}

.footer-content { text-align: center; }

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  background: var(--gradient-main);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 16px;
}

.footer-brand-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: var(--transition-base);
}

.footer-links a:hover { color: var(--primary); }

.footer-divider {
  height: 1px;
  background: rgba(79, 142, 247, 0.1);
  margin: 20px 0;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .container { padding: 0 32px; }
  .section-title { font-size: 36px; }
  .hero h1 { font-size: 44px; }
  .hero-desc { font-size: 18px; }
  .hero-actions { flex-direction: row; justify-content: center; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .stat-number { font-size: 40px; }
  .materials-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .advantage-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .process-timeline { padding-left: 50px; max-width: 700px; margin: 0 auto; }
  .faq-list { max-width: 700px; margin: 0 auto; }
  .cta h2 { font-size: 36px; }
  .cta-buttons { flex-direction: row; justify-content: center; }
  .footer-links { gap: 24px; }
}

@media (min-width: 1024px) {
  .section-title { font-size: 42px; }
  .hero h1 { font-size: 52px; }
  .hero { padding: 120px 20px 80px; }
  .hero-image img { max-width: 640px; }
  .materials-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .advantage-list { grid-template-columns: repeat(3, 1fr); }
  .stats { padding: 80px 0; }
  .advantages, .materials, .process, .faq, .cta { padding: 90px 0; }
}