@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #fafbfc;
  --bg-dark: #07080a;
  --card: #ffffff;
  --text: #0f172a;
  --text-2: #475569;
  --muted: #94a3b8;
  --red: #ff2442;
  --red-light: #ff6b81;
  --primary: #6366f1;
  --secondary: #0ea5e9;
  --accent: #14b8a6;
  --border: rgba(0,0,0,0.06);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ===== 导航 ===== */
.site-header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.site-header.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.06); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--red), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav { display: flex; gap: 4px; }

.main-nav a {
  text-decoration: none;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.main-nav a:hover { color: var(--text); background: rgba(255,36,66,0.06); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 18px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-canvas { position: absolute; inset: 0; overflow: hidden; }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  will-change: transform;
}

.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #ff2442, transparent 70%);
  top: -15%; left: -5%;
  animation: orb1 20s ease-in-out infinite;
}

.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #6366f1, transparent 70%);
  bottom: -10%; right: 5%;
  animation: orb2 25s ease-in-out infinite;
}

.hero-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #0ea5e9, transparent 70%);
  top: 30%; left: 40%;
  animation: orb3 18s ease-in-out infinite;
}

@keyframes orb1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 40px) scale(1.1); }
  66% { transform: translate(-40px, 80px) scale(0.9); }
}

@keyframes orb2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, -40px) scale(1.15); }
  66% { transform: translate(40px, -80px) scale(0.85); }
}

@keyframes orb3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -60px) scale(1.2); }
}

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

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}

.chip-dot {
  width: 8px; height: 8px;
  background: #34d399;
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(52,211,153,0.5);
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 24px;
}

.text-gradient {
  background: linear-gradient(135deg, #ff6b81 0%, #ff2442 30%, #a78bfa 70%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: grad-shift 6s ease-in-out infinite;
}

@keyframes grad-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-desc {
  color: rgba(255,255,255,0.55);
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
}

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

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.hs-item { text-align: center; }

.hs-item strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}

.hs-item span {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 14px;
  border: none;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.btn-primary {
  background: linear-gradient(135deg, #ff2442, #ff6b81);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,36,66,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 40px rgba(255,36,66,0.5);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
}

.btn-block { width: 100%; }

/* ===== Section ===== */
.section {
  padding: 100px 0;
}

.section-alt {
  background: linear-gradient(180deg, #fff5f7 0%, var(--bg) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  background: rgba(255,36,66,0.08);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-2);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Feature Grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--primary));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,36,66,0.15);
}

.feature-card:hover::before { opacity: 1; }

.fc-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.feature-card p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== Steps ===== */
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  flex: 1;
  max-width: 320px;
  transition: all 0.4s var(--ease);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--primary));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 20px rgba(255,36,66,0.3);
}

.step-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

.step-arrow {
  font-size: 32px;
  color: var(--muted);
  font-weight: 300;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s var(--ease);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
  border: 2px solid var(--red);
  transform: scale(1.03);
  z-index: 2;
  box-shadow: 0 20px 60px rgba(255,36,66,0.12);
}

.pricing-card.popular:hover {
  transform: scale(1.06) translateY(-8px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--red), var(--red-light));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 100px;
}

.pricing-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.price {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--red), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 16px 0 24px;
}

.price small { font-size: 24px; }

.price span { font-size: 16px; font-weight: 500; }

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
}

.pricing-card ul li {
  padding: 12px 0;
  color: var(--text-2);
  font-size: 15px;
  border-bottom: 1px solid var(--border);
  padding-left: 28px;
  position: relative;
}

.pricing-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}

.pricing-card ul li:last-child { border-bottom: none; }

.pricing-card .btn { width: 100%; }

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover { border-color: rgba(255,36,66,0.15); }

.faq-q {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-right: 48px;
}

.faq-q::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--muted);
  transition: transform 0.3s;
}

.faq-item.open .faq-q::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
  transition: all 0.3s ease;
}

.faq-item.open .faq-a {
  padding: 0 24px 20px;
  max-height: 200px;
}

/* ===== Contact Form ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 18px;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  font-size: 15px;
  font-family: var(--font);
  background: #fff;
  color: var(--text);
  transition: all 0.3s ease;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(255,36,66,0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-dark);
  color: #fff;
  padding: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 48px;
  padding: 64px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 12px;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 16px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--red-light); }

.footer-col p {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  margin: 0 0 6px;
}

.footer-bottom {
  text-align: center;
  padding: 24px 0;
  color: rgba(255,255,255,0.2);
  font-size: 13px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }

  .main-nav.open {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    z-index: 99;
  }

  .main-nav.open a {
    font-size: 16px;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
  }

  .hero h1 { font-size: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-8px); }
  .steps-grid { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .step-card { max-width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links-group { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding: 80px 0 60px; min-height: auto; }
  .hero h1 { font-size: 32px; letter-spacing: -1px; }
  .hero-desc { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 300px; }
  .hero-stats { gap: 24px; }
  .hs-item strong { font-size: 22px; }
  .section { padding: 72px 0; }
  .section-header h2 { font-size: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links-group { grid-template-columns: 1fr; }
}
