/* =========================================================
   千牛揽收助手官网 - 增强版样式
   ========================================================= */

/* ========== CSS Variables ========== */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-overlay: rgba(15, 23, 42, 0.5);
  --bg-float: rgba(255, 255, 255, 0.75);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #64748b;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;

  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --border-hover: #cbd5e1;
  --border-accent: rgba(37, 99, 235, 0.3);

  --brand: #2563eb;                /* 统一品牌蓝（收敛自旧紫调色板）*/
  --brand-light: #3b82f6;
  --brand-lighter: #60a5fa;
  --brand-dark: #1d4ed8;
  --brand-darker: #1e3a8a;
  --brand-glow: rgba(37, 99, 235, 0.15);
  --brand-glow-strong: rgba(37, 99, 235, 0.3);

  --accent: #06b6d4;
  --accent-light: #22d3ee;
  --success: var(--color-success);  /* #22c55e，原 #22c55e */
  --warning: var(--color-warning);
  --danger: var(--color-danger);

  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-accent: linear-gradient(135deg, #f472b6 0%, #3b82f6 100%);
  --gradient-hero: linear-gradient(180deg, #f8fafc 0%, #eef2ff 50%, #f8fafc 100%);
  --gradient-success: linear-gradient(135deg, #22c55e 0%, #06b6d4 100%);
  --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.1), 0 4px 10px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.12), 0 8px 16px rgba(15, 23, 42, 0.08);
  --shadow-2xl: 0 30px 60px -15px rgba(15, 23, 42, 0.15);
  --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.2);
  --shadow-glow-strong: 0 0 50px rgba(59, 130, 246, 0.35);

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;
  --radius-3xl: 24px;
  --radius-full: 9999px;

  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 20px;
  --spacing-2xl: 28px;
  --spacing-3xl: 40px;
  --spacing-4xl: 60px;
  --spacing-5xl: 80px;
  --spacing-6xl: 100px;

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.3, 0.64, 1);
  --transition-smooth: 0.5s cubic-bezier(0.22, 1, 0.36, 1);

  --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --container-max: 1240px;
  --nav-height: 68px;
}

[data-theme="dark"] {
  --bg-primary: #0a0f1e;
  --bg-secondary: #111827;
  --bg-tertiary: #1e293b;
  --bg-card: #111827;
  --bg-card-hover: #1e293b;
  --bg-float: rgba(17, 24, 39, 0.8);

  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-tertiary: #94a3b8;
  --text-muted: #64748b;

  --border-color: #1e293b;
  --border-light: #111827;
  --border-hover: #334155;

  --brand-glow: rgba(37, 99, 235, 0.3);
  --brand-glow-strong: rgba(37, 99, 235, 0.5);

  --gradient-hero: linear-gradient(180deg, #0a0f1e 0%, #1e1b4b 50%, #0a0f1e 100%);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.6), 0 4px 10px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.7), 0 8px 16px rgba(0, 0, 0, 0.5);
  --shadow-2xl: 0 30px 60px -15px rgba(0, 0, 0, 0.8);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ========== Skip Link (Accessibility) ========== */
.skip-link {
  position: fixed;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 10px 24px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.3s;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  outline: none;
  box-shadow: 0 4px 20px var(--brand-glow-strong);
}

/* ========== Focus Styles (Accessibility) ========== */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Remove default focus for mouse users, keep for keyboard */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition-normal), color var(--transition-normal);
  position: relative;
}

/* Particle canvas */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Cursor glow */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  mix-blend-mode: screen;
}

[data-theme="dark"] .cursor-glow {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-3xl);
  position: relative;
  z-index: 2;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { 
  background: var(--border-color); 
  border-radius: 5px;
  transition: background var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

/* Selection */
::selection {
  background: rgba(59, 130, 246, 0.3);
  color: var(--text-primary);
}

/* ========== Scroll Progress Bar ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 1001;
  transition: width 0.05s linear;
  box-shadow: 0 0 10px var(--brand-glow-strong);
}

/* ========== Navigation ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-float);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  border-bottom-color: var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: none;
  margin: 0;
  padding: 0 24px;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-primary);
  position: relative;
  justify-self: start;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  color: white;
  box-shadow: 0 4px 14px var(--brand-glow);
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.nav-logo::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 40%,
    rgba(255,255,255,0.3) 50%,
    transparent 60%
  );
  animation: logoShine 3s ease-in-out infinite;
}

@keyframes logoShine {
  0%, 100% { transform: translateX(-100%) rotate(45deg); }
  50% { transform: translateX(100%) rotate(45deg); }
}

.nav-brand:hover .nav-logo {
  transform: scale(1.05) rotate(-5deg);
  box-shadow: 0 6px 20px var(--brand-glow-strong);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-3xl);
  font-size: 14px;
  font-weight: 500;
  justify-self: center;
}

.nav-links a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active { color: var(--brand); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  justify-self: end;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: all var(--transition-normal);
}

.menu-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.menu-toggle:hover span {
  background: var(--brand);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.theme-toggle, .lang-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition-fast);
  color: var(--text-secondary);
}

.theme-toggle:hover, .lang-toggle:hover {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-glow);
  transform: translateY(-1px);
}

.lang-toggle {
  width: auto;
  padding: 0 var(--spacing-md);
  font-size: 12px;
  font-weight: 600;
  gap: 4px;
}

.nav-cta {
  padding: 10px 20px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 14px var(--brand-glow);
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.25),
    transparent
  );
  transition: left 0.5s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--brand-glow-strong);
}

.nav-cta:hover::before { left: 100%; }

/* ========== Hero Section ========== */
.hero {
  padding: calc(var(--nav-height) + var(--spacing-5xl)) 0 var(--spacing-6xl);
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Light orb effects */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  pointer-events: none;
}

.hero-orb-1 {
  top: -120px;
  right: -80px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.5) 0%, transparent 70%);
  animation: float1 8s ease-in-out infinite;
}

.hero-orb-2 {
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.4) 0%, transparent 70%);
  animation: float2 10s ease-in-out infinite;
}

.hero-orb-3 {
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.3) 0%, transparent 70%);
  animation: float3 12s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 30px) scale(1.08); }
  66% { transform: translate(20px, -20px) scale(0.95); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.92); }
}

@keyframes float3 {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50% { transform: translateX(-50%) translateY(-30px) scale(1.05); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: var(--spacing-3xl);
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); }
  50% { opacity: 0.7; transform: scale(1.2); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--spacing-xl);
  color: var(--text-primary);
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  filter: drop-shadow(0 2px 20px var(--brand-glow));
}

.hero-title .shimmer {
  position: relative;
  display: inline-block;
}

.hero-title .shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.5),
    transparent
  );
  animation: shimmer 3.5s ease-in-out infinite;
  -webkit-background-clip: text;
  background-clip: text;
}

@keyframes shimmer {
  0% { left: -100%; }
  60%, 100% { left: 100%; }
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto var(--spacing-3xl);
  line-height: 1.7;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  margin-bottom: var(--spacing-5xl);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.btn-primary {
  padding: 15px 32px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 8px 24px var(--brand-glow);
  transition: all var(--transition-bounce);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.3),
    transparent
  );
  transition: left 0.6s;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 36px var(--brand-glow-strong);
}

.btn-primary:hover::before { left: 100%; }

.btn-secondary {
  padding: 15px 32px;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition-bounce);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 6px 20px var(--brand-glow);
  transform: translateY(-3px) scale(1.02);
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-5xl);
  margin-bottom: var(--spacing-5xl);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-stat {
  text-align: center;
  position: relative;
}

.hero-stat::after {
  content: '';
  position: absolute;
  right: calc(-1 * var(--spacing-5xl) / 2);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

.hero-stat:last-child::after { display: none; }

.hero-stat-num {
  font-size: 40px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 8px;
  font-weight: 500;
}

/* Dashboard Preview */
.dashboard-preview {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl), 0 0 80px var(--brand-glow);
  position: relative;
  animation: fadeInUp 0.8s ease-out 0.5s both;
  transform: perspective(1200px) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.dashboard-preview:hover {
  transform: perspective(1200px) rotateX(0deg) translateY(-5px);
  box-shadow: var(--shadow-2xl), 0 20px 100px var(--brand-glow-strong);
}

.dashboard-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-2xl);
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0.5),
    rgba(6, 182, 212, 0.3),
    rgba(96, 165, 250, 0.5),
    rgba(59, 130, 246, 0.3)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: borderRotate 8s linear infinite;
  background-size: 300% 300%;
}

@keyframes borderRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.dash-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-dots {
  display: flex;
  gap: 7px;
}

.dash-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: transform var(--transition-fast);
}

.dash-dot.red { background: #ef4444; }
.dash-dot.yellow { background: #f59e0b; }
.dash-dot.green { background: #22c55e; }

.dash-dot:hover { transform: scale(1.2); }

.dash-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-left: 12px;
}

.dash-header-right {
  display: flex;
  gap: 6px;
}

.dash-tab {
  padding: 5px 14px;
  font-size: 12px;
  border-radius: var(--radius-sm);
  color: var(--text-tertiary);
  background: var(--bg-tertiary);
  font-weight: 500;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.dash-tab.active {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 2px 8px var(--brand-glow);
}

.dash-body {
  padding: 28px;
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.dash-stat-card {
  padding: 18px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.dash-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.dash-stat-card:hover::before { transform: scaleX(1); }

.dash-stat-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.dash-stat-label {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 10px;
  font-weight: 500;
}

.dash-stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.dash-stat-value.danger { color: var(--danger); }
.dash-stat-value.warning { color: var(--warning); }
.dash-stat-value.success { color: var(--success); }

.dash-stat-trend {
  font-size: 11px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.dash-stat-trend.up { color: var(--success); }
.dash-stat-trend.down { color: var(--danger); }

.dash-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px;
}

.dash-chart-card, .dash-list-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 20px;
  transition: all var(--transition-normal);
}

.dash-chart-card:hover, .dash-list-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.dash-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.dash-card-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* Bar chart */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 120px;
  padding-top: 10px;
}

.bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}

.bar {
  width: 100%;
  background: var(--gradient-primary);
  border-radius: 3px 3px 0 0;
  opacity: 0.6;
  transition: all 0.3s cubic-bezier(0.34, 1.3, 0.64, 1);
  min-height: 4px;
  position: relative;
  overflow: hidden;
}

.bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}

.bar-item:hover .bar {
  opacity: 1;
  transform: scaleY(1.08);
  transform-origin: bottom;
  box-shadow: 0 0 15px var(--brand-glow-strong);
}

.bar-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Pie chart */
.pie-chart {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: conic-gradient(
    #ef4444 0deg 90deg,
    #f59e0b 90deg 180deg,
    #22c55e 180deg 270deg,
    #3b82f6 270deg 360deg
  );
  position: relative;
  box-shadow: 0 0 30px var(--brand-glow);
  transition: transform var(--transition-bounce), box-shadow var(--transition-normal);
}

.pie-chart:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px var(--brand-glow-strong);
}

.pie-chart::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 65px;
  height: 65px;
  background: var(--bg-secondary);
  border-radius: 50%;
  transition: background var(--transition-normal);
}

.legend-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.legend-item:hover { background: var(--bg-tertiary); }

.legend-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-weight: 500;
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.legend-val {
  color: var(--text-tertiary);
  font-weight: 600;
}

/* ========== Feature Tags Strip ========== */
.feature-strip {
  padding: var(--spacing-3xl) 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-secondary);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.feature-strip-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all var(--transition-bounce);
  cursor: default;
}

.feature-tag:hover {
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 6px 20px var(--brand-glow);
  transform: translateY(-2px) scale(1.03);
}

.feature-tag-icon {
  font-size: 16px;
  transition: transform var(--transition-bounce);
}

.feature-tag:hover .feature-tag-icon {
  transform: scale(1.2) rotate(-10deg);
}

/* ========== Section Base ========== */
.section {
  padding: var(--spacing-6xl) 0;
  position: relative;
  z-index: 2;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-4xl);
}

.section-label {
  display: inline-block;
  padding: 7px 16px;
  background: var(--brand-glow);
  color: var(--brand-dark);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  text-transform: uppercase;
  letter-spacing: 1px;
}

[data-theme="dark"] .section-label {
  color: var(--brand-light);
}

.section-title {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.section-desc {
  font-size: 17px;
  color: var(--text-tertiary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== Features Grid ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.feature-card {
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    var(--brand-glow) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-accent);
}

.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: var(--spacing-xl);
  background: var(--brand-glow);
  transition: all var(--transition-bounce);
  position: relative;
  z-index: 1;
}

.feature-card:nth-child(2) .feature-icon { background: rgba(6, 182, 212, 0.15); }
.feature-card:nth-child(3) .feature-icon { background: rgba(34, 197, 94, 0.15); }
.feature-card:nth-child(4) .feature-icon { background: rgba(245, 158, 11, 0.15); }
.feature-card:nth-child(5) .feature-icon { background: rgba(244, 114, 182, 0.15); }
.feature-card:nth-child(6) .feature-icon { background: rgba(96, 165, 250, 0.15); }

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 24px var(--brand-glow);
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 1;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.feature-list {
  margin-top: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.feature-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.feature-list-item::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 12px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
}

/* ========== Feature Detail Section ========== */
.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-5xl);
  align-items: center;
  margin-bottom: var(--spacing-5xl);
}

.feature-detail:last-child { margin-bottom: 0; }

.feature-detail.reverse .detail-content { order: 2; }
.feature-detail.reverse .detail-visual { order: 1; }

.detail-label {
  display: inline-block;
  padding: 6px 14px;
  background: var(--brand-glow);
  color: var(--brand-dark);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[data-theme="dark"] .detail-label { color: var(--brand-light); }

.detail-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.detail-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--spacing-xl);
}

.detail-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-bullet {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.detail-bullet-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-dark);
  font-weight: 700;
}

[data-theme="dark"] .detail-bullet-icon { color: var(--brand-light); }

.detail-bullet-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.detail-bullet-text strong {
  color: var(--text-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.detail-visual {
  position: relative;
}

.detail-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-xl);
  position: relative;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.detail-mockup:hover {
  transform: translateY(-5px) scale(1.01);
}

.detail-mockup::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1.5px;
  background: var(--gradient-primary);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.25;
  pointer-events: none;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.mockup-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.mockup-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  font-weight: 600;
}

.mockup-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.mockup-row:hover {
  background: var(--bg-tertiary);
  transform: translateX(4px);
}

.mockup-row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-avatar {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.mockup-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.mockup-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.mockup-status {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.mockup-status.error { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.mockup-status.warning { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.mockup-status.success { background: rgba(34, 197, 94, 0.15); color: var(--success); }

/* Glow effect behind mockup */
.glow-behind {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: 85%;
  background: radial-gradient(ellipse, var(--brand-glow-strong) 0%, transparent 70%);
  filter: blur(50px);
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.12); }
}

/* ========== More Features Section ========== */
.more-features {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--spacing-lg);
}

.more-feature-card {
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-bounce);
}

.more-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.more-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 auto 12px;
  background: var(--brand-glow);
}

.more-feature-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.more-feature-desc {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* ========== Pricing / Tiers ========== */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  align-items: stretch;
}

.tier-card {
  padding: 36px 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  position: relative;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}

.tier-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-accent);
}

.tier-card.featured {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-lg);
  position: relative;
  transform: scale(1.03);
}

.tier-card.featured:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 0 1px var(--brand), var(--shadow-2xl), 0 0 60px var(--brand-glow);
}

.tier-card.featured::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-xl) + 2px);
  background: var(--gradient-primary);
  z-index: -1;
  filter: blur(15px);
  opacity: 0.4;
  animation: tierGlow 3s ease-in-out infinite;
}

@keyframes tierGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.5; }
}

.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--brand-glow);
}

.tier-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.tier-desc {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-xl);
}

.tier-price {
  margin-bottom: var(--spacing-xl);
}

.tier-price-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.tier-price-unit {
  font-size: 15px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.tier-features {
  list-style: none;
  margin-bottom: var(--spacing-2xl);
  flex: 1;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.tier-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
}

.tier-btn {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-bounce);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.tier-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--brand-glow);
}

.tier-btn.primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  box-shadow: 0 4px 14px var(--brand-glow);
  position: relative;
  overflow: hidden;
}

.tier-btn.primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.25),
    transparent
  );
  transition: left 0.5s;
}

.tier-btn.primary:hover {
  box-shadow: 0 8px 24px var(--brand-glow-strong);
  transform: translateY(-2px);
  color: white;
}

.tier-btn.primary:hover::before { left: 100%; }

/* ========== FAQ ========== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.faq-item.open {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: all var(--transition-normal);
  font-weight: 700;
}

.faq-item.open .faq-icon {
  background: var(--gradient-primary);
  color: white;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px var(--brand-glow);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ========== CTA Section ========== */
.cta-section {
  padding: var(--spacing-6xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0.95;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}

.cta-orb-1 {
  top: -120px;
  right: -120px;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.35);
  animation: float1 7s ease-in-out infinite;
}

.cta-orb-2 {
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(6, 182, 212, 0.6);
  animation: float2 9s ease-in-out infinite;
}

.cta-orb-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.2);
  animation: float3 11s ease-in-out infinite;
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
}

.cta-title {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-desc {
  font-size: 17px;
  opacity: 0.9;
  max-width: 540px;
  margin: 0 auto var(--spacing-3xl);
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-primary {
  padding: 16px 36px;
  background: white;
  color: var(--brand-dark);
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 700;
  transition: all var(--transition-bounce);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.cta-btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.cta-btn-secondary {
  padding: 16px 36px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-lg);
  font-size: 15px;
  font-weight: 600;
  transition: all var(--transition-bounce);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
}

.cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-3px) scale(1.03);
}

/* ========== Footer ========== */
.footer {
  padding: var(--spacing-4xl) 0 var(--spacing-3xl);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-3xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-brand-name {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-primary);
}

.footer-brand-desc {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-tertiary);
  transition: all var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--brand);
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ========== Scroll Reveal Animation ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), 
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in up animation for hero */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Marquee (for fun) ========== */
.marquee-section {
  padding: var(--spacing-xl) 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.marquee-track {
  display: flex;
  gap: var(--spacing-3xl);
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

.marquee-item .dot {
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 50%;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== Steps / How It Works ========== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-2xl);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--accent), var(--brand), transparent);
  opacity: 0.3;
}

.step-card {
  text-align: center;
  padding: var(--spacing-3xl) var(--spacing-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  position: relative;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-accent);
}

.step-card:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 8px 24px var(--brand-glow-strong);
}

.step-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 4px 14px var(--brand-glow);
  transition: all var(--transition-bounce);
}

.step-icon {
  font-size: 44px;
  margin-bottom: var(--spacing-lg);
  display: inline-block;
  transition: transform var(--transition-bounce);
}

.step-card:hover .step-icon {
  transform: scale(1.15) rotate(-5deg);
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.step-desc {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

/* ========== Back to Top Button ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 6px 20px var(--brand-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all var(--transition-bounce);
  z-index: 999;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 10px 30px var(--brand-glow-strong);
}

.back-to-top::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  opacity: 0;
  animation: backToTopPulse 2s ease-out infinite;
}

@keyframes backToTopPulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ========== Ripple Effect ========== */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleEffect 0.6s linear;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ========== Typewriter Effect ========== */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--brand);
  margin-left: 4px;
  vertical-align: middle;
  animation: typewriterBlink 0.8s ease-in-out infinite;
  border-radius: 2px;
}

@keyframes typewriterBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ========== Magnetic Button Glow ========== */
.magnetic-glow {
  position: relative;
}

.magnetic-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(45deg, var(--brand), var(--accent), var(--brand));
  background-size: 200% 200%;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-normal);
  animation: magneticGlowShift 3s ease infinite;
  filter: blur(8px);
}

.magnetic-glow:hover::after {
  opacity: 0.6;
}

@keyframes magneticGlowShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ========== Floating Animation Variants ========== */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes floatMedium {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes floatFast {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.03); }
}

/* ========== Glow Text Animation ========== */
.glow-text {
  animation: glowTextPulse 3s ease-in-out infinite;
}

@keyframes glowTextPulse {
  0%, 100% {
    text-shadow: 0 0 10px var(--brand-glow),
                 0 0 20px var(--brand-glow),
                 0 0 30px var(--brand-glow);
  }
  50% {
    text-shadow: 0 0 20px var(--brand-glow-strong),
                 0 0 40px var(--brand-glow-strong),
                 0 0 60px var(--brand-glow-strong);
  }
}

/* ========== Section Divider Glow ========== */
.section-glow-divider {
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--brand) 20%, 
    var(--accent) 50%, 
    var(--brand) 80%, 
    transparent 100%);
  opacity: 0.2;
  position: relative;
  z-index: 2;
}

.section-glow-divider::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 20px;
  background: radial-gradient(ellipse, var(--brand-glow-strong) 0%, transparent 70%);
  filter: blur(4px);
}

/* ========== Gradient Border Animation Card ========== */
.gradient-border {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    135deg,
    var(--brand),
    var(--accent),
    #f472b6,
    var(--brand)
  );
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: gradientBorderSpin 4s linear infinite;
  pointer-events: none;
}

@keyframes gradientBorderSpin {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ========== Parallax Hero Elements ========== */
.parallax-element {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* ========== User Button in Nav ========== */
.user-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-bounce);
  box-shadow: 0 2px 8px var(--brand-glow);
}

.user-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px var(--brand-glow-strong);
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

#loginBtn.nav-cta {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

#loginBtn.nav-cta:hover {
  color: var(--brand);
  border-color: var(--brand);
  background: var(--brand-glow);
}

/* ========== Auth Modal ========== */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: var(--spacing-xl);
}

.auth-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.auth-modal-overlay.open .auth-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.auth-modal {
  background: var(--bg-card);
  border-radius: var(--radius-2xl);
  width: 100%;
  max-width: 440px;
  padding: var(--spacing-3xl);
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
              0 0 60px var(--brand-glow);
  border: 1px solid var(--border-accent);
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-secondary);
  color: var(--text-tertiary);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  line-height: 1;
}

.auth-close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  transform: rotate(90deg);
}

.auth-tabs {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-2xl);
  background: var(--bg-secondary);
  padding: 4px;
  border-radius: var(--radius-lg);
}

.auth-tab {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.auth-tab.active {
  background: var(--bg-card);
  color: var(--brand);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
  animation: authFormFadeIn 0.3s ease;
}

@keyframes authFormFadeIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.auth-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-subtitle {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-xl);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xs);
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: all var(--transition-fast);
  font-family: inherit;
}

.form-input::placeholder {
  color: var(--text-tertiary);
  opacity: 0.6;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.form-input-wrap {
  position: relative;
}

.form-input-wrap .form-input {
  padding-right: 44px;
}

.form-toggle-pw {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  opacity: 0.6;
  transition: opacity var(--transition-fast);
}

.form-toggle-pw:hover {
  opacity: 1;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  font-size: 13px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--text-secondary);
  user-select: none;
}

.form-checkbox input {
  cursor: pointer;
  accent-color: var(--brand);
}

.form-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.form-link:hover {
  color: var(--brand-light);
}

.form-submit {
  width: 100%;
  padding: 13px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: inherit;
  box-shadow: 0 4px 14px var(--brand-glow);
  position: relative;
  overflow: hidden;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--brand-glow-strong);
}

.form-submit:active {
  transform: translateY(0);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-footer {
  text-align: center;
  margin-top: var(--spacing-lg);
  font-size: 13px;
  color: var(--text-tertiary);
}

.form-footer .form-link {
  margin-left: 4px;
}

.form-message {
  margin-top: var(--spacing-md);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  display: none;
}

.form-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.form-message.success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

/* ========== User Dropdown ========== */
.user-dropdown {
  position: fixed;
  top: 70px;
  right: var(--spacing-3xl);
  background: var(--bg-float);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  width: 260px;
  box-shadow: var(--shadow-2xl);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.96);
  transform-origin: top right;
  transition: all var(--transition-bounce);
  overflow: hidden;
}

.user-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.user-dropdown-header {
  padding: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  border-bottom: 1px solid var(--border-light);
}

.user-dropdown-header .user-avatar {
  width: 44px;
  height: 44px;
  font-size: 16px;
  flex-shrink: 0;
}

.user-dropdown-info {
  min-width: 0;
  flex: 1;
}

.user-dropdown-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-dropdown-email {
  font-size: 12px;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.user-dropdown-menu {
  padding: var(--spacing-sm);
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.user-dropdown-item:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.user-dropdown-item.logout {
  color: #ef4444;
}

.user-dropdown-item.logout:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* ========== User Center ========== */
.user-center-section {
  min-height: calc(100vh - var(--nav-height));
  padding-top: calc(var(--nav-height) + var(--spacing-2xl));
}

.user-center-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--spacing-2xl);
  align-items: start;
}

/* Sidebar */
.uc-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  position: sticky;
  top: calc(var(--nav-height) + var(--spacing-lg));
}

.uc-sidebar-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: var(--spacing-md);
}

.uc-sidebar-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--brand-glow);
}

.uc-sidebar-info {
  min-width: 0;
  flex: 1;
}

.uc-sidebar-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.uc-sidebar-email {
  font-size: 12px;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.uc-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.uc-nav-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 11px 14px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
}

.uc-nav-item:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.uc-nav-item.active {
  background: var(--brand-glow);
  color: var(--brand);
  font-weight: 600;
}

.uc-nav-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.uc-nav-badge {
  margin-left: auto;
  background: var(--gradient-primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}

.uc-nav-dot {
  margin-left: auto;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  display: none;
}

.uc-nav-dot.has-unread {
  display: block;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0); }
}

/* Content */
.uc-content {
  min-width: 0;
}

.uc-tab-content {
  display: none;
  animation: ucFadeIn 0.3s ease;
}

.uc-tab-content.active {
  display: block;
}

@keyframes ucFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.uc-tab-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xl);
}

/* Stats Grid */
.uc-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.uc-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  transition: all var(--transition-normal);
}

.uc-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-accent);
}

.uc-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--brand-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.uc-stat-info {
  min-width: 0;
  flex: 1;
}

.uc-stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.uc-stat-label {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* Card */
.uc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.uc-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-lg) var(--spacing-xl);
  border-bottom: 1px solid var(--border-light);
}

.uc-card-header h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.uc-card-body {
  padding: var(--spacing-lg) var(--spacing-xl);
}

.uc-link {
  color: var(--brand);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.uc-link:hover {
  color: var(--brand-light);
}

.uc-muted {
  font-size: 12px;
  color: var(--text-tertiary);
}

.uc-optional {
  font-weight: 400;
  color: var(--text-tertiary);
}

/* Empty State */
.uc-empty {
  text-align: center;
  padding: var(--spacing-3xl) var(--spacing-xl);
  color: var(--text-tertiary);
  font-size: 14px;
}

/* Activity List */
.uc-activity-list {
  display: none;
}

.uc-activity-list.has-items {
  display: block;
}

.uc-activity-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.uc-activity-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.uc-activity-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.uc-activity-content {
  flex: 1;
  min-width: 0;
}

.uc-activity-title {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.uc-activity-time {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.uc-activity-points {
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.uc-activity-points.earn { color: #22c55e; }
.uc-activity-points.spend { color: #ef4444; }

/* Points Page */
.uc-points-header {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.uc-points-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.uc-points-header::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: 10%;
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.uc-points-display {
  position: relative;
  z-index: 1;
}

.uc-points-num {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.uc-points-label {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 6px;
}

.uc-points-header .btn-primary {
  background: white;
  color: var(--brand);
  position: relative;
  z-index: 1;
}

.uc-points-header .btn-primary:hover {
  background: rgba(255,255,255,0.9);
  color: var(--brand);
}

/* Records List */
.uc-records-list {
  display: flex;
  flex-direction: column;
}

.uc-record-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.uc-record-item:last-child {
  border-bottom: none;
}

.uc-record-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.uc-record-icon.earn { background: rgba(34, 197, 94, 0.1); }
.uc-record-icon.spend { background: rgba(239, 68, 68, 0.1); }

.uc-record-info {
  flex: 1;
  min-width: 0;
}

.uc-record-title {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.uc-record-time {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 3px;
}

.uc-record-points {
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}

.uc-record-points.earn { color: #22c55e; }
.uc-record-points.spend { color: #ef4444; }

/* Checkin Card */
.uc-checkin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--spacing-xl);
  position: relative;
  overflow: hidden;
}

.uc-checkin-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
}

.uc-checkin-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.uc-checkin-streak {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.uc-checkin-num {
  font-size: 48px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.uc-checkin-unit {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-secondary);
}

.uc-checkin-desc {
  font-size: 14px;
  color: var(--text-tertiary);
}

.uc-checkin-right {
  text-align: center;
}

.uc-checkin-btn {
  padding: 14px 36px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-family: inherit;
  box-shadow: 0 4px 14px var(--brand-glow);
}

.uc-checkin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--brand-glow-strong);
}

.uc-checkin-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.uc-checkin-next {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 10px;
}

/* Week Grid */
.uc-week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--spacing-md);
}

.uc-week-item {
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-sm);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.uc-week-item.highlight {
  background: var(--brand-glow);
  border: 1px solid var(--border-accent);
}

.uc-week-day {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.uc-week-reward {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand);
}

/* Mall Grid */
.uc-mall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.uc-mall-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
}

.uc-mall-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-accent);
}

.uc-mall-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto var(--spacing-md);
}

/* 自定义商品图标 */
.uc-icon-shop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--brand), #60a5fa);
  border-radius: var(--radius-md);
  color: white;
}

.uc-icon-shop-num {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.uc-icon-shop-label {
  font-size: 10px;
  font-weight: 600;
  margin-top: 2px;
  opacity: 0.9;
}

.uc-icon-digital {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  border-radius: var(--radius-md);
  font-size: 26px;
}

.uc-icon-vip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: var(--radius-md);
  font-size: 26px;
}

.uc-icon-default {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  font-size: 26px;
}

.uc-mall-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.uc-mall-desc {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-md);
  line-height: 1.5;
  min-height: 36px;
}

.uc-mall-cost {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: var(--spacing-md);
}

.uc-mall-btn {
  width: 100%;
  padding: 8px 0;
  background: var(--brand-glow);
  color: var(--brand);
  border: none;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.uc-mall-btn:hover {
  background: var(--gradient-primary);
  color: white;
}

.uc-mall-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.uc-mall-stock {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 8px;
}

/* Shop Limit Info */
.uc-shop-limit-info {
  margin-bottom: var(--spacing-lg);
}

.uc-limit-card {
  background: linear-gradient(135deg, var(--brand-glow), rgba(236, 72, 153, 0.1));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.uc-limit-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.uc-limit-info {
  flex: 1;
}

.uc-limit-title {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.uc-limit-count {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
}

.uc-limit-count strong {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 28px;
}

.uc-limit-base {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 400;
  -webkit-text-fill-color: var(--text-tertiary);
}

.uc-limit-expire {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.5);
  padding: 2px 10px;
  border-radius: 100px;
}

/* Mall meta */
.uc-mall-meta {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  font-size: 11px;
  color: var(--text-tertiary);
}

.uc-mall-duration,
.uc-mall-sold {
  padding: 2px 8px;
  background: var(--bg-secondary);
  border-radius: 100px;
}

.uc-mall-cost-unit {
  font-size: 12px;
  font-weight: 500;
}

/* Modal */
.uc-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
}

.uc-modal {
  background: var(--bg-card);
  border-radius: var(--radius-2xl);
  width: 90%;
  max-width: 420px;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modalIn 0.2s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.uc-modal-header {
  padding: var(--spacing-xl);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.uc-modal-header h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.uc-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-secondary);
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.uc-modal-close:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.uc-modal-body {
  padding: var(--spacing-xl);
  flex: 1;
  overflow-y: auto;
}

.uc-modal-footer {
  padding: var(--spacing-lg) var(--spacing-xl);
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: var(--spacing-md);
  justify-content: flex-end;
}

.uc-btn {
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.uc-btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.uc-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.uc-btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.uc-btn-secondary:hover {
  background: var(--bg-tertiary);
}

/* Redeem confirm */
.uc-redeem-item {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
}

.uc-redeem-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.uc-redeem-info {
  flex: 1;
}

.uc-redeem-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.uc-redeem-desc {
  font-size: 12px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.uc-redeem-cost-info {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
}

.uc-redeem-cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.uc-redeem-cost {
  font-size: 18px;
  font-weight: 800;
  color: var(--brand);
}

/* Success modal */
.uc-modal-success .uc-modal-body {
  text-align: center;
  padding: var(--spacing-3xl) var(--spacing-xl);
}

.uc-success-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #22c55e, #059669);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  margin: 0 auto var(--spacing-lg);
}

.uc-modal-success h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.uc-success-title {
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-weight: 600;
}

.uc-success-points {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: var(--spacing-lg);
}

.uc-success-detail {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  text-align: left;
}

.uc-success-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
}

.uc-success-detail-row span {
  color: var(--text-secondary);
}

.uc-success-detail-row strong {
  color: var(--text-primary);
  font-weight: 700;
}

.uc-success-code {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
}

.uc-success-code-label {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.uc-success-code-value {
  background: var(--bg-card);
  border: 1px dashed var(--border-accent);
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 16px;
  font-weight: 700;
  font-family: "SF Mono", "Fira Code", Consolas, monospace;
  letter-spacing: 1px;
  color: var(--brand);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  text-align: center;
}

.uc-success-code-value:hover {
  background: var(--brand-glow);
}

.uc-copy-tip {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: var(--text-tertiary);
  font-weight: 500;
  font-family: inherit;
  letter-spacing: 0;
}

/* Records */
.uc-record-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--border-light);
}

.uc-record-item:last-child {
  border-bottom: none;
}

.uc-record-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.uc-record-info {
  flex: 1;
  min-width: 0;
}

.uc-record-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.uc-record-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  color: var(--text-tertiary);
}

.uc-record-benefit {
  color: var(--brand);
  font-weight: 500;
}

.uc-record-right {
  text-align: right;
  flex-shrink: 0;
}

.uc-record-points {
  font-size: 14px;
  font-weight: 700;
  color: var(--danger);
  margin-bottom: 4px;
}

.uc-record-status {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 500;
  display: inline-block;
}

.uc-record-status.pending {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}

.uc-record-status.delivered {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}

.uc-record-status.used {
  background: rgba(59, 130, 246, 0.15);
  color: var(--brand);
}

/* Notifications */
.uc-notif-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.uc-notif-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
  cursor: pointer;
}

.uc-notif-item:hover {
  background: var(--bg-hover);
}

.uc-notif-item.unread {
  background: var(--brand-glow);
}

.uc-notif-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  background: var(--bg-secondary);
}

.uc-notif-icon.success { background: rgba(34, 197, 94, 0.1); }
.uc-notif-icon.warning { background: rgba(245, 158, 11, 0.1); }
.uc-notif-icon.error { background: rgba(239, 68, 68, 0.1); }
.uc-notif-icon.info { background: rgba(59, 130, 246, 0.1); }

.uc-notif-content {
  flex: 1;
  min-width: 0;
}

.uc-notif-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.uc-notif-dot {
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 50%;
  flex-shrink: 0;
}

.uc-notif-item.read .uc-notif-dot {
  display: none;
}

.uc-notif-body {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  line-height: 1.5;
}

.uc-notif-time {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-top: 6px;
}

/* Forms */
.uc-form {
  max-width: 440px;
}

.uc-form-group {
  margin-bottom: var(--spacing-lg);
}

.uc-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
}

.uc-form-input,
.uc-form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: all var(--transition-fast);
  font-family: inherit;
}

.uc-form-textarea {
  resize: vertical;
  min-height: 120px;
}

.uc-form-input:focus,
.uc-form-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-glow);
}

.uc-form-types {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.uc-type-option {
  flex: 1;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.uc-type-option:has(input:checked) {
  border-color: var(--brand);
  background: var(--brand-glow);
  color: var(--brand);
  font-weight: 600;
}

.uc-type-option input {
  accent-color: var(--brand);
}

.uc-type-option:hover {
  border-color: var(--brand);
}

/* ========== Badge Pulse ========== */
.badge-pulse {
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 var(--brand-glow-strong);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(59, 130, 246, 0);
  }
}

/* ========== Shine sweep effect ========== */
.shine-sweep {
  position: relative;
  overflow: hidden;
}

.shine-sweep::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 30%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.2),
    transparent
  );
  transform: skewX(-20deg);
  animation: shineSweep 3.5s ease-in-out infinite;
}

@keyframes shineSweep {
  0% { left: -50%; }
  60%, 100% { left: 130%; }
}

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .container { padding: 0 var(--spacing-xl); }
  .nav-inner { 
    padding: 0 var(--spacing-xl); 
    grid-template-columns: 1fr auto;
  }

  .menu-toggle { display: flex; }
  
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-float);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
  }
  
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links a {
    padding: 14px var(--spacing-3xl);
    font-size: 15px;
    width: 100%;
  }
  
  .nav-links a::after { display: none; }
  .nav-links a.active { background: var(--brand-glow); }

  .features-grid { grid-template-columns: 1fr; }
  .more-features { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .steps-grid::before { display: none; }
  .tiers-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  
  /* User Center responsive */
  .user-center-wrap {
    grid-template-columns: 1fr;
  }
  
  .uc-sidebar {
    position: static;
    display: flex;
    flex-direction: column;
  }
  
  .uc-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
  
  .uc-nav-item {
    flex-direction: column;
    gap: 4px;
    padding: 10px 8px;
    font-size: 12px;
    text-align: center;
  }
  
  .uc-nav-icon {
    font-size: 20px;
  }
  
  .uc-nav-badge {
    position: absolute;
    top: 4px;
    right: 8px;
  }
  
  .uc-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .uc-mall-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .uc-week-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: var(--spacing-xs);
  }
  
  .uc-week-item {
    padding: var(--spacing-md) var(--spacing-xs);
  }
  
  .uc-week-reward {
    font-size: 13px;
  }
}
  .tier-card.featured { transform: none; }
  .tier-card.featured:hover { transform: translateY(-8px); }
  
  .feature-detail { grid-template-columns: 1fr; gap: var(--spacing-3xl); }
  .feature-detail.reverse .detail-content { order: 1; }
  .feature-detail.reverse .detail-visual { order: 2; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }

  .hero-stats { gap: var(--spacing-3xl); }
  .hero-stat::after { display: none; }
  
  .hero { min-height: auto; padding: calc(var(--nav-height) + var(--spacing-4xl)) 0 var(--spacing-4xl); }
}

@media (max-width: 640px) {
  .section { padding: var(--spacing-4xl) 0; }

  .feature-strip-inner { gap: var(--spacing-sm); }
  .feature-tag { padding: 7px 14px; font-size: 12px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--spacing-sm); text-align: center; }

  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dash-body { padding: 18px; }
  
  .hero-title { font-size: clamp(32px, 8vw, 42px); }
  .hero-subtitle { font-size: 15px; }
  .hero-stat-num { font-size: 32px; }
  .hero-stats { gap: var(--spacing-xl); }
  
  .more-features { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-md); }
  .more-feature-card { padding: 16px; }
  
  .back-to-top { width: 42px; height: 42px; bottom: 20px; right: 20px; font-size: 18px; }
}

@media (max-width: 480px) {
  .nav-actions .lang-toggle span:not(.lang-icon) { display: none; }
  .lang-toggle { padding: 0; width: 38px; justify-content: center; }
  .nav-cta { padding: 9px 14px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
