/*
Theme Name: 奇趣潮玩官网
Theme URI: https://www.qqcw.cn
Description: 奇趣潮玩品牌官网主题
Version: 1.0.0
Author: 奇趣潮玩
Template: twentytwentyfive
Text Domain: qqcw-theme
*/

/* ========== 全局样式重置 ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #FF6B35;
  --primary-dark: #E55A25;
  --secondary: #6C5CE7;
  --dark: #1a1a2e;
  --dark2: #16213e;
  --light: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --gradient: linear-gradient(135deg, #FF6B35 0%, #FF8E53 50%, #FFC947 100%);
  --shadow: 0 10px 40px rgba(0,0,0,0.1);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }

/* ========== 导航栏 ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0 40px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-brand span { font-size: 28px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 15px; font-weight: 500; color: var(--dark);
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--gradient); border-radius: 1px;
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 24px; border-radius: 50px;
  background: var(--gradient); color: var(--white) !important;
  font-weight: 600 !important; font-size: 14px !important;
  box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 25px rgba(255,107,53,0.4); }

/* ========== Hero 区域 ========== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 40px 80px;
  background: linear-gradient(160deg, #fff5f0 0%, #fff 30%, #f0f0ff 70%, #f5f0ff 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255,107,53,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(108,92,231,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 50px;
  background: rgba(255,107,53,0.1); color: var(--primary);
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero-badge::before { content: '🚀'; }
.hero h1 {
  font-size: 52px; font-weight: 900; line-height: 1.15;
  color: var(--dark); margin-bottom: 20px;
}
.hero h1 .highlight {
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 18px; color: var(--gray); line-height: 1.8;
  margin-bottom: 36px; max-width: 500px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 36px; border-radius: 50px;
  background: var(--gradient); color: var(--white);
  font-size: 16px; font-weight: 700; border: none; cursor: pointer;
  box-shadow: 0 8px 30px rgba(255,107,53,0.3);
  transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(255,107,53,0.4); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 36px; border-radius: 50px;
  background: var(--white); color: var(--dark);
  font-size: 16px; font-weight: 700;
  border: 2px solid var(--gray-light); cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.hero-visual {
  display: flex; justify-content: center; align-items: center;
}
.hero-card {
  width: 420px; background: var(--white); border-radius: 24px;
  box-shadow: var(--shadow-hover); padding: 40px;
  position: relative;
}
.hero-card::before {
  content: ''; position: absolute; inset: -3px;
  background: var(--gradient); border-radius: 26px; z-index: -1; opacity: 0.3;
}
.hero-card h3 { font-size: 20px; margin-bottom: 24px; color: var(--dark); }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hero-stat {
  padding: 20px; border-radius: 16px; background: var(--light);
  text-align: center;
}
.hero-stat .num { font-size: 32px; font-weight: 900; color: var(--primary); }
.hero-stat .label { font-size: 13px; color: var(--gray); margin-top: 4px; }

/* ========== 数据展示条 ========== */
.stats-bar {
  background: var(--dark); padding: 40px;
}
.stats-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.stat-item { text-align: center; color: var(--white); }
.stat-item .num { font-size: 42px; font-weight: 900; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-item .label { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ========== 服务板块 ========== */
.section { padding: 100px 40px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  background: rgba(255,107,53,0.1); color: var(--primary);
  font-size: 13px; font-weight: 600; margin-bottom: 12px;
}
.section-header h2 { font-size: 38px; font-weight: 900; color: var(--dark); }
.section-header p { font-size: 16px; color: var(--gray); margin-top: 12px; max-width: 600px; margin-left: auto; margin-right: auto; }

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.service-card {
  padding: 36px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--gray-light);
  transition: var(--transition); cursor: pointer;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient); transform: scaleX(0); transition: transform 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 20px;
}
.service-icon.orange { background: rgba(255,107,53,0.1); }
.service-icon.purple { background: rgba(108,92,231,0.1); }
.service-icon.blue { background: rgba(52,152,219,0.1); }
.service-icon.green { background: rgba(46,204,113,0.1); }
.service-icon.pink { background: rgba(255,107,172,0.1); }
.service-icon.yellow { background: rgba(255,201,71,0.2); }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.service-card p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ========== 特色区域 ========== */
.feature-section { background: var(--light); }
.feature-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.feature-content h2 { font-size: 36px; font-weight: 900; margin-bottom: 20px; }
.feature-content h2 .highlight {
  background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.feature-content > p { font-size: 16px; color: var(--gray); line-height: 1.8; margin-bottom: 32px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.feature-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-radius: 12px; background: var(--white);
  font-size: 15px; font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.feature-list li .icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(46,204,113,0.1); display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.feature-visual {
  display: flex; justify-content: center;
}
.feature-phone {
  width: 300px; height: 560px; background: var(--white);
  border-radius: 36px; box-shadow: var(--shadow-hover);
  padding: 16px; position: relative; overflow: hidden;
}
.feature-phone-screen {
  width: 100%; height: 100%; border-radius: 24px;
  background: linear-gradient(160deg, #fff5f0, #f0f0ff);
  display: flex; flex-direction: column; padding: 20px;
}
.phone-header {
  height: 60px; display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px; margin-bottom: 16px;
}
.phone-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; }
.phone-card {
  border-radius: 14px; padding: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--dark);
}
.phone-card:nth-child(1) { background: rgba(255,107,53,0.12); }
.phone-card:nth-child(2) { background: rgba(108,92,231,0.12); }
.phone-card:nth-child(3) { background: rgba(52,152,219,0.12); }
.phone-card:nth-child(4) { background: rgba(46,204,113,0.12); }
.phone-card .emoji { font-size: 28px; }

/* ========== CTA 区域 ========== */
.cta-section {
  background: var(--dark); padding: 100px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,107,53,0.15) 0%, transparent 70%);
}
.cta-section h2 {
  font-size: 40px; font-weight: 900; color: var(--white);
  margin-bottom: 16px; position: relative;
}
.cta-section p {
  font-size: 17px; color: rgba(255,255,255,0.6);
  margin-bottom: 36px; position: relative;
}
.cta-btns { display: flex; justify-content: center; gap: 16px; position: relative; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 40px; border-radius: 50px;
  background: var(--white); color: var(--dark);
  font-size: 16px; font-weight: 700; border: none; cursor: pointer;
  transition: var(--transition);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(255,255,255,0.2); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 40px; border-radius: 50px;
  background: transparent; color: var(--white);
  font-size: 16px; font-weight: 700;
  border: 2px solid rgba(255,255,255,0.2); cursor: pointer;
  transition: var(--transition);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); transform: translateY(-3px); }

/* ========== 页脚 ========== */
.footer {
  background: var(--dark2); padding: 60px 40px 30px; color: rgba(255,255,255,0.5);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand .logo {
  font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 12px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  max-width: 1200px; margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.footer-bottom a { color: var(--primary); }

/* ========== 动画 ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 100px 20px 60px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 36px; }
  .hero-desc { margin: 0 auto 30px; }
  .hero-btns { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-card { width: 100%; max-width: 360px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-visual { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 20px; }
  .cta-section h2 { font-size: 28px; }
}
