/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #6C5CE7;
  --primary-light: #A29BFE;
  --secondary: #00CEC9;
  --accent: #FD79A8;
  --dark: #0F0E17;
  --dark-card: #1A1930;
  --text: #E4E3F1;
  --text-muted: #9B99B3;
  --gradient-hero: linear-gradient(135deg, #0F0E17 0%, #1A1046 40%, #2D1B69 70%, #0F0E17 100%);
  --gradient-primary: linear-gradient(135deg, #6C5CE7, #A29BFE);
  --gradient-accent: linear-gradient(135deg, #6C5CE7, #00CEC9);
  --gradient-warm: linear-gradient(135deg, #FD79A8, #FDCB6E);
  --radius: 16px;
  --radius-sm: 10px;
}
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 90px; }
body {
  font-family: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Utility ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; position: relative; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--primary-light);
  margin-bottom: 16px;
}
.section-label::before {
  content: ''; width: 28px; height: 2px;
  background: var(--gradient-primary); border-radius: 2px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700;
  line-height: 1.3; margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 560px; line-height: 1.8;
}
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; font-size: 1rem;
  font-weight: 600; border: none; cursor: pointer;
  transition: all 0.3s ease; font-family: inherit;
}
.btn-primary {
  background: var(--gradient-primary); color: #fff;
  box-shadow: 0 4px 24px rgba(108, 92, 231, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(108, 92, 231, 0.5);
}
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid rgba(255,255,255,0.15);
}
.btn-outline:hover {
  border-color: var(--primary-light);
  background: rgba(108, 92, 231, 0.08);
}

/* ===== Animated Background Orbs ===== */
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px);
  opacity: 0.3; pointer-events: none; z-index: 0;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: calc(100% - 48px); max-width: 1200px; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; border-radius: 60px;
  background: rgba(15, 14, 23, 0.7); backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  background: rgba(15, 14, 23, 0.92);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.2rem; font-weight: 700;
}
.nav-logo svg { width: 32px; height: 32px; }
.nav-logo-img {
  display: inline-block; width: 32px; height: 32px; flex-shrink: 0;
  background: url('../img/logostar.png') center/contain no-repeat;
  -webkit-user-drag: none; user-select: none; pointer-events: none;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-cta { display: none; gap: 12px; align-items: center; }
.nav-cta .btn { padding: 10px 24px; font-size: 0.85rem; }
.menu-toggle { display: none; background: none; border: none; color: #fff; cursor: pointer; }

/* ===== Starfield ===== */
.starfield {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--gradient-hero); position: relative; overflow: hidden;
  padding-top: 80px;
}
.hero .orb-1 {
  width: 500px; height: 500px; background: var(--primary);
  top: -100px; right: -100px;
}
.hero .orb-2 {
  width: 400px; height: 400px; background: var(--secondary);
  bottom: -50px; left: -100px; opacity: 0.15;
}
.hero .orb-3 {
  width: 300px; height: 300px; background: var(--accent);
  top: 50%; left: 40%; opacity: 0.1;
}
.hero-grid {
  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: 6px 16px 6px 6px; border-radius: 50px;
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(108, 92, 231, 0.25);
  font-size: 0.82rem; color: var(--primary-light);
  margin-bottom: 24px; font-weight: 500;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--secondary); animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900;
  line-height: 1.2; margin-bottom: 20px;
}
.hero p {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 480px; margin-bottom: 36px; line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06);
}
.hero-stat-value {
  font-size: 1.6rem; font-weight: 700;
}
.hero-stat-label {
  font-size: 0.8rem; color: var(--text-muted); margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  position: relative; display: flex;
  justify-content: center; align-items: center;
}
.hero-card-main {
  width: 100%; max-width: 440px;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 28px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  position: relative; z-index: 2;
}
.hero-card-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.hero-card-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient-primary);
  display: flex; align-items: center; justify-content: center;
}
.hero-card-avatar svg { width: 20px; height: 20px; }
.hero-card-name { font-weight: 600; font-size: 0.95rem; }
.hero-card-role { font-size: 0.75rem; color: var(--text-muted); }
.hero-chat-bubble {
  padding: 14px 18px; border-radius: 14px; margin-bottom: 12px;
  font-size: 0.9rem; line-height: 1.6;
}
.bubble-user {
  background: rgba(108, 92, 231, 0.15);
  border: 1px solid rgba(108, 92, 231, 0.2);
  margin-left: 40px; text-align: right;
}
.bubble-ai {
  background: rgba(0, 206, 201, 0.08);
  border: 1px solid rgba(0, 206, 201, 0.15);
  margin-right: 40px;
}
.typing-indicator {
  display: flex; gap: 4px; padding: 14px 18px;
}
.typing-indicator span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--secondary); opacity: 0.4;
  animation: typing 1.4s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.4; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

/* Floating badges around hero card */
.float-badge {
  position: absolute; padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--dark-card); border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem; font-weight: 500; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3); z-index: 3;
  display: flex; align-items: center; gap: 8px;
}
.float-badge svg { width: 16px; height: 16px; flex-shrink: 0; }
.float-1 { top: 20px; right: -30px; animation: float 6s ease-in-out infinite; }
.float-2 { bottom: 60px; left: -40px; animation: float 6s ease-in-out infinite 1s; }
.float-3 { bottom: -10px; right: 20px; animation: float 6s ease-in-out infinite 2s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===== Features ===== */
.features { background: var(--dark); }
.features-header { text-align: center; margin-bottom: 64px; }
.features-header .section-desc { margin: 0 auto; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius); padding: 36px 28px;
  transition: all 0.4s ease; cursor: pointer;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gradient-primary);
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(108, 92, 231, 0.2);
  box-shadow: 0 12px 40px rgba(108, 92, 231, 0.1);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; }
.fi-purple { background: rgba(108, 92, 231, 0.12); color: var(--primary-light); }
.fi-teal { background: rgba(0, 206, 201, 0.12); color: var(--secondary); }
.fi-pink { background: rgba(253, 121, 168, 0.12); color: var(--accent); }
.fi-yellow { background: rgba(253, 203, 110, 0.12); color: #FDCB6E; }
.fi-blue { background: rgba(116, 185, 255, 0.12); color: #74B9FF; }
.fi-green { background: rgba(85, 239, 196, 0.12); color: #55EFC4; }
.feature-card h3 {
  font-size: 1.15rem; font-weight: 600; margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.7;
}

/* ===== How It Works ===== */
.how-it-works {
  background: linear-gradient(180deg, var(--dark) 0%, #13122A 100%);
}
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 56px;
}
.step-card { text-align: center; position: relative; padding: 0 12px; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; margin: 0 auto 20px;
  background: var(--gradient-primary); color: #fff;
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.3);
}
.step-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }
.step-connector {
  position: absolute; top: 28px; left: calc(50% + 36px);
  width: calc(100% - 72px); height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0.3;
}
.step-card:last-child .step-connector { display: none; }

/* ===== Stats ===== */
.stats {
  background: linear-gradient(135deg, #1A1046, #2D1B69);
  position: relative; overflow: hidden;
  padding: 80px 0;
}
.stats .orb {
  width: 300px; height: 300px; background: var(--primary);
  top: -100px; right: 20%; opacity: 0.12;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  position: relative; z-index: 1;
}
.stat-item { text-align: center; }
.stat-value {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 900;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.9rem; color: var(--text-muted); }
.stat-bar {
  width: 40px; height: 3px; border-radius: 2px;
  background: var(--gradient-primary); margin: 12px auto 0;
}

/* ===== Legal Pages (Privacy / Terms) ===== */
.legal-topbar {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.legal-topbar .container {
  display: flex; align-items: center;
  padding-top: 20px; padding-bottom: 20px;
}
.legal-foot {
  text-align: center; padding: 28px 24px 40px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 0.8rem; color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.legal-foot a { color: var(--text-muted); }
.legal-foot a:hover { color: var(--primary-light); }
.legal {
  position: relative; overflow: hidden;
  padding: 56px 0 80px;
  background: linear-gradient(180deg, var(--dark) 0%, #13122A 100%);
}
.legal .orb {
  width: 360px; height: 360px; background: var(--primary);
  top: 60px; right: -90px; opacity: 0.12;
}
.legal-container {
  max-width: 880px; margin: 0 auto; padding: 0 24px;
  position: relative; z-index: 1;
}
.legal-header { text-align: center; margin-bottom: 44px; }
.legal-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700;
  line-height: 1.3; margin-bottom: 14px;
}
.legal-updated { font-size: 0.85rem; color: var(--text-muted); }
.legal-body {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 48px 46px;
}
.legal-body section { margin-bottom: 8px; }
.legal-body h2 {
  font-size: 1.15rem; font-weight: 600; color: var(--text);
  margin: 36px 0 14px; padding-left: 14px;
  border-left: 3px solid var(--primary);
}
.legal-body section:first-child h2 { margin-top: 0; }
.legal-body p {
  font-size: 0.95rem; line-height: 1.9; color: var(--text-muted);
  margin-bottom: 12px;
}
.legal-body .legal-lead { color: var(--text); margin-bottom: 22px; }
.legal-body ol, .legal-body ul { margin: 0 0 12px; padding-left: 22px; }
.legal-body li {
  font-size: 0.95rem; line-height: 1.9; color: var(--text-muted);
  margin-bottom: 8px;
}
@media (max-width: 768px) {
  .legal { padding: 120px 0 72px; }
  .legal-body { padding: 30px 22px; }
}

/* ===== Pricing ===== */
.pricing {
  background: linear-gradient(180deg, var(--dark) 0%, #13122A 100%);
  overflow: hidden;
}
.pricing-orb {
  width: 380px; height: 380px; background: var(--primary);
  top: -120px; left: 12%; opacity: 0.12;
}
.pricing-header { text-align: center; }
.pricing-header .section-desc { margin-left: auto; margin-right: auto; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 56px; align-items: start;
}
.pricing-card {
  position: relative;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 36px 28px 28px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.pricing-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; border-radius: var(--radius) var(--radius) 0 0;
  background: var(--gradient-primary);
  opacity: 0; transition: opacity 0.3s;
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 92, 231, 0.25);
  box-shadow: 0 24px 56px rgba(108, 92, 231, 0.12);
}
.pricing-card:hover::before { opacity: 1; }
.pricing-card-featured {
  border-color: rgba(108, 92, 231, 0.5);
}
.pricing-card-featured::before { opacity: 1; }
.pricing-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-primary); color: #fff;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 1px;
  padding: 5px 18px; border-radius: 50px;
  box-shadow: 0 6px 18px rgba(108, 92, 231, 0.4);
}
.pricing-name {
  font-size: 1.25rem; font-weight: 700; color: var(--text);
  margin-bottom: 14px;
}
.pricing-price {
  font-size: 2.6rem; font-weight: 900; line-height: 1; margin-bottom: 22px;
  background: var(--gradient-primary);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-currency { font-size: 1.3rem; font-weight: 700; margin-right: 2px; }
.pricing-period {
  font-size: 0.95rem; font-weight: 500; color: var(--text-muted);
  margin-left: 4px;
  -webkit-text-fill-color: var(--text-muted);
}
.pricing-btn {
  width: 100%; justify-content: center; margin-bottom: 4px;
}
.pricing-features {
  position: relative; text-align: left;
  max-height: 2200px; overflow: hidden;
  transition: max-height 0.45s ease;
}
.pricing-features.collapsed { max-height: 268px; }
.pricing-features.collapsed::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 56px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(26,25,48,0), var(--dark-card));
}
.pricing-features ul { list-style: none; margin: 22px 0 0; padding: 0; }
.pricing-features li {
  position: relative; padding: 7px 0 7px 26px;
  font-size: 0.88rem; line-height: 1.6; color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.pricing-features li:first-child { border-top: none; }
.pricing-features li::before {
  content: '✓'; position: absolute; left: 0; top: 7px;
  color: var(--secondary); font-weight: 700; font-size: 0.9rem;
}
.pricing-toggle {
  margin-top: 16px;
  background: transparent; border: 1px solid rgba(108, 92, 231, 0.3);
  color: var(--primary); cursor: pointer;
  font-family: inherit; font-size: 0.85rem; font-weight: 600;
  padding: 9px 20px; border-radius: 50px;
  transition: background 0.2s, border-color 0.2s;
}
.pricing-toggle:hover {
  background: rgba(108, 92, 231, 0.08);
  border-color: var(--primary);
}

/* ===== Testimonials - Sticky Stacking Cards ===== */
.testimonials {
  background: var(--dark);
  padding-top: 100px;
  padding-bottom: 40px;
}
.testimonials-header { text-align: center; margin-bottom: 56px; }
.testimonials-header .section-desc { margin: 0 auto; }

.testimonials-stack {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.testimonial-card-wrapper {
  position: sticky;
  top: 100px;
  margin-bottom: 40px;
}
.testimonial-card-wrapper:nth-child(1) { z-index: 1; }
.testimonial-card-wrapper:nth-child(2) { z-index: 2; top: 130px; }
.testimonial-card-wrapper:nth-child(3) { z-index: 3; top: 160px; }
.testimonial-card-wrapper:nth-child(4) { z-index: 4; top: 190px; }

.testimonial-card {
  background: rgba(26, 25, 48, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(108, 92, 231, 0.15);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform-origin: center top;
}

.testimonial-card-number {
  position: absolute;
  top: -20px;
  left: 36px;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.25), rgba(162, 155, 254, 0.08));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
}

.testimonial-stars {
  display: flex; gap: 2px; margin-bottom: 16px; color: #FDCB6E;
}
.testimonial-stars svg { width: 16px; height: 16px; }
.testimonial-text {
  font-size: 1rem; color: var(--text-muted);
  line-height: 1.9; margin-bottom: 28px; font-style: italic;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06);
}
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; color: #fff;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.95rem; }
.testimonial-school { font-size: 0.8rem; color: var(--text-muted); }

/* ===== CTA ===== */
.cta {
  background: var(--dark); padding: 100px 0;
}
.cta-box {
  background: linear-gradient(135deg, #1A1046 0%, #2D1B69 50%, #1A1046 100%);
  border-radius: 24px; padding: 72px 48px; text-align: center;
  position: relative; overflow: hidden;
  border: 1px solid rgba(108, 92, 231, 0.15);
}
.cta-box .orb {
  width: 250px; height: 250px;
}
.cta-box .orb-1 { background: var(--primary); top: -80px; left: -60px; }
.cta-box .orb-2 { background: var(--accent); bottom: -80px; right: -60px; opacity: 0.15; }
.cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700;
  margin-bottom: 16px; position: relative; z-index: 1;
}
.cta-box p {
  font-size: 1.05rem; color: var(--text-muted); max-width: 500px;
  margin: 0 auto 36px; position: relative; z-index: 1;
}
.cta-actions {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap; position: relative; z-index: 1;
}

/* ===== Footer ===== */
.footer {
  background: #0A0918; padding: 64px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.04);
  position: relative; overflow: hidden;
}
.footer-deco {
  position: absolute;
  opacity: 0.15;
  pointer-events: none;
  color: var(--primary-light);
}
.footer-deco svg {
  width: 100%; height: 100%;
}
.footer-deco-pencil {
  width: 120px; height: 120px;
  bottom: -15px; left: 20px;
  transform: rotate(15deg);
}
.footer-deco-note {
  width: 70px; height: 70px;
  top: -12px; left: 42%;
}
.footer-deco-ruler {
  width: 140px; height: 140px;
  top: 5px; right: 20px;
}
.footer-deco-bulb {
  width: 80px; height: 80px;
  bottom: 25px; right: 18%;
}
.footer-deco-book {
  width: 110px; height: 110px;
  top: 45%; left: 13%;
  transform: translateY(-50%);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 0.85rem; color: var(--text-muted);
  margin-top: 12px; line-height: 1.7; max-width: 280px;
}
.footer h4 {
  font-size: 0.85rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 20px; color: var(--text);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.85rem; color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 0.8rem; color: var(--text-muted);
}
.footer-beian {
  display: flex; gap: 24px;
  padding-top: 16px; margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 0.75rem; color: var(--text-muted);
}

/* ===== Scroll Animations ===== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.35s; }
.reveal-delay-5 { transition-delay: 0.4s; }
.reveal-delay-6 { transition-delay: 0.45s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 48px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .step-connector { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; max-width: 320px; margin: 56px auto 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .float-badge { display: none; }
  .hero-stats { flex-direction: column; gap: 20px; align-items: center; }
  .testimonial-card { padding: 28px 20px; }
  .testimonial-card-wrapper:nth-child(2) { top: 110px; }
  .testimonial-card-wrapper:nth-child(3) { top: 120px; }
  .testimonial-card-wrapper:nth-child(4) { top: 130px; }
}

/* ===== Mobile Drawer ===== */
/* 页面内容模糊 */
body.drawer-open > *:not(.mobile-drawer) {
  -webkit-filter: blur(4px);
  filter: blur(4px);
  transition: filter 0.3s ease;
}
body > *:not(.mobile-drawer) {
  transition: filter 0.3s ease;
}

.mobile-drawer-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(10, 10, 18, 0.6);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-drawer-overlay.open { opacity: 1; visibility: visible; }

.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(300px, 75vw); z-index: 1000;
  background: rgba(15, 15, 25, 0.45);
  -webkit-backdrop-filter: blur(32px) saturate(1.3);
  backdrop-filter: blur(32px) saturate(1.3);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 32px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }

.mobile-drawer-close {
  align-self: flex-end;
  background: none; border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer; padding: 4px;
  margin-bottom: 32px;
}
.mobile-drawer-close:hover { color: #fff; }

.mobile-drawer-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
}
.mobile-drawer-links a {
  display: block; padding: 18px 0;
  font-size: 1.1rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s;
}
.mobile-drawer-links a:hover { color: #fff; }

.mobile-drawer-cta {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 10px;
}
.mobile-drawer-cta .btn {
  padding: 8px 16px;
  font-size: 0.8rem;
}

/* ===== Prefers Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: opacity 0.3s ease; transform: none; }
  .float-1, .float-2, .float-3 { animation: none; }
  .typing-indicator span { animation: none; opacity: 0.6; }
  .hero-badge-dot { animation: none; }
  html { scroll-behavior: auto; }
}
