/* ═══════════════════════════════════════════
   SEATax — Bright Theme Design System
   ═══════════════════════════════════════════ */

:root {
  --bg: #fafbff;
  --bg-warm: #f5f3ff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border: rgba(99, 102, 241, 0.08);
  --border-hover: rgba(99, 102, 241, 0.18);
  --text: #1e1b4b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --accent: #6366f1;
  --accent-2: #0ea5e9;
  --accent-3: #8b5cf6;
  --accent-4: #ec4899;
  --gradient-primary: linear-gradient(135deg, #6366f1, #06b6d4);
  --gradient-warm: linear-gradient(135deg, #8b5cf6, #ec4899);
  --gradient-success: linear-gradient(135deg, #10b981, #06b6d4);
  --gradient-hero: linear-gradient(160deg, #f5f3ff 0%, #eef2ff 30%, #e0f2fe 60%, #f0fdf4 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 3px rgba(99, 102, 241, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 20px rgba(99, 102, 241, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 12px 40px rgba(99, 102, 241, 0.1), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 24px 80px rgba(99, 102, 241, 0.12), 0 8px 24px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.08);
  --shadow-colored: 0 20px 60px rgba(99, 102, 241, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

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

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

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

::selection {
  background: rgba(99, 102, 241, 0.15);
  color: var(--text);
}

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

/* ═══════════════════════════════════════════
   Cursor Glow
   ═══════════════════════════════════════════ */

.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* ═══════════════════════════════════════════
   Noise Overlay
   ═══════════════════════════════════════════ */

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ═══════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: 0 1px 12px rgba(99, 102, 241, 0.05);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo-icon { width: 36px; height: 36px; }
.logo-icon svg { width: 100%; height: 100%; }

.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent);
  background: rgba(99, 102, 241, 0.06);
}

.nav-link.active {
  color: var(--accent);
  background: rgba(99, 102, 241, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px;
  gap: 0;
}

.lang-btn {
  position: relative;
  z-index: 1;
  padding: 6px 14px;
  border: none;
  background: none;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 100px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.lang-btn.active {
  color: #fff;
}

.lang-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  height: calc(100% - 6px);
  width: calc(50% - 3px);
  background: var(--gradient-primary);
  border-radius: 100px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.lang-switch[data-active="zh"] .lang-slider {
  transform: translateX(100%);
}

body[data-lang="zh"] {
  font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ═══════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25), 0 2px 4px rgba(99, 102, 241, 0.15);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35), 0 4px 8px rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-hover);
}

.btn-outline:hover {
  background: rgba(99, 102, 241, 0.04);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover { color: var(--accent); }

.btn-white {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.4);
}

.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius); }
.btn-full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════
   Hero Section
   ═══════════════════════════════════════════ */

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: orbFloat 20s ease-in-out infinite;
}

.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  top: -200px; left: -100px;
}

.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation-delay: -7s;
}

.hero-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.06) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

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

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

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text);
}

.title-line { display: block; }

.title-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  background: #fff;
  padding: 28px 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.stat { text-align: center; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent-2);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ═══════ Hero Visual / Dashboard Preview ═══════ */

.hero-visual {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  margin-top: 60px;
}

.dashboard-preview {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fafbff, #f8f9fc);
}

.preview-dots {
  display: flex;
  gap: 7px;
}

.preview-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
}

.preview-dots span:nth-child(1) { background: #ef4444; }
.preview-dots span:nth-child(2) { background: #f59e0b; }
.preview-dots span:nth-child(3) { background: #10b981; }

.preview-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  flex: 1;
  text-align: center;
}

.preview-actions { display: flex; gap: 8px; }

.preview-pill {
  padding: 4px 12px;
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.preview-body {
  display: flex;
  min-height: 320px;
}

.preview-sidebar {
  width: 180px;
  padding: 16px 12px;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
  background: #fafbff;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.sidebar-item:hover {
  background: rgba(99, 102, 241, 0.04);
  color: var(--text-secondary);
}

.sidebar-item.active {
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent);
  font-weight: 600;
}

.sidebar-icon { font-size: 1rem; }

.preview-main {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.p-card {
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
}

.p-card-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.p-card-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.p-card-change {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  margin-top: 8px;
}

.p-card-change.positive { background: rgba(16, 185, 129, 0.1); color: #059669; }
.p-card-change.negative { background: rgba(99, 102, 241, 0.08); color: var(--accent); }

.preview-chart {
  flex: 1;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
}

.dot.revenue { background: var(--accent); }
.dot.expense { background: var(--accent-4); }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 100px;
}

.bar-group {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  text-align: center;
  position: relative;
}

.bar-group span {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  color: var(--text-muted);
}

.bar {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  animation: barGrow 1s ease-out forwards;
  transform-origin: bottom;
  transform: scaleY(0);
}

.bar-rev { background: var(--gradient-primary); }
.bar-exp { background: var(--gradient-warm); opacity: 0.4; }

@keyframes barGrow {
  to { transform: scaleY(1); }
}

/* ═══════════════════════════════════════════
   Logos Section
   ═══════════════════════════════════════════ */

.logos-section {
  padding: 60px 0;
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.logos-label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

.logos-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.logo-item {
  opacity: 0.3;
  transition: var(--transition);
  color: var(--text-secondary);
}

.logo-item:hover { opacity: 0.6; }
.logo-item svg { height: 28px; width: auto; }

/* ═══════════════════════════════════════════
   Section Common
   ═══════════════════════════════════════════ */

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   Features
   ═══════════════════════════════════════════ */

.features {
  padding: 120px 0;
  background: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.03) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: #fff;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
}

.feature-icon svg { width: 100%; height: 100%; }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   How It Works
   ═══════════════════════════════════════════ */

.how {
  padding: 120px 0;
  background: var(--bg);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.step.reverse .step-content { order: 2; }
.step.reverse .step-visual { order: 1; }

.step-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: absolute;
  top: -20px;
  left: 0;
  line-height: 1;
}

.step.reverse .step-number { left: auto; right: 0; }

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.step-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-visual {
  display: flex;
  justify-content: center;
}

/* Connect Animation */
.connect-animation {
  position: relative;
  width: 200px;
  height: 200px;
}

.connect-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-center {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.node-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25);
}

.node-logo.small {
  width: 40px;
  height: 40px;
  font-size: 0.75rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--text-secondary);
  animation: nodeFloat 3s ease-in-out infinite;
}

.node-1 { top: 10%; left: 10%; animation-delay: 0s; }
.node-2 { top: 10%; right: 10%; animation-delay: 0.5s; }
.node-3 { bottom: 10%; right: 10%; animation-delay: 1s; }
.node-4 { bottom: 10%; left: 10%; animation-delay: 1.5s; }

@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.connect-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.connect-lines line {
  animation: dashMove 3s linear infinite;
}

@keyframes dashMove {
  to { stroke-dashoffset: -20; }
}

/* Optimize Animation */
.optimize-animation {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}

.opt-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  animation: slideInRight 0.6s ease-out backwards;
  box-shadow: var(--shadow-sm);
}

.opt-item:nth-child(2) { animation-delay: 0.1s; }
.opt-item:nth-child(3) { animation-delay: 0.2s; }
.opt-item:nth-child(4) { animation-delay: 0.3s; }

.opt-item.highlight {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(6, 182, 212, 0.06));
  border-color: rgba(16, 185, 129, 0.2);
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.opt-icon { font-size: 1.2rem; }

.opt-text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.opt-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.opt-amount.savings {
  color: #059669;
  font-size: 1.1rem;
}

/* File Animation */
.file-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.file-progress { width: 100%; }

.file-bar {
  width: 100%;
  height: 8px;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 100px;
  overflow: hidden;
}

.file-fill {
  width: 100%;
  height: 100%;
  background: var(--gradient-success);
  border-radius: 100px;
  animation: fillBar 2s ease-out;
}

@keyframes fillBar {
  from { width: 0; }
}

.file-status {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: #059669;
  font-weight: 600;
}

.file-check svg {
  width: 80px;
  height: 80px;
}

.check-path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: drawCheck 0.8s 0.5s ease-out forwards;
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

.file-refund {
  font-size: 1rem;
  color: var(--text-secondary);
}

.file-refund strong {
  color: #059669;
  font-size: 1.2rem;
}

/* ═══════════════════════════════════════════
   Dashboard Showcase
   ═══════════════════════════════════════════ */

.dashboard-section {
  padding: 120px 0;
  background: #fff;
}

.dashboard-showcase {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.showcase-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.showcase-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.showcase-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fafbff, #f8f9fc);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.showcase-header span { flex: 1; text-align: center; }

.showcase-body { padding: 24px; }

.showcase-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.showcase-greeting {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.showcase-greeting strong { color: var(--text); }

.showcase-deadline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.deadline-icon { font-size: 1rem; }

.deadline-badge {
  padding: 4px 12px;
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
}

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

.s-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.s-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.s-card-header h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.s-badge {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
}

.s-badge.in-progress { background: rgba(99, 102, 241, 0.08); color: var(--accent); }
.s-badge.warning { background: rgba(245, 158, 11, 0.1); color: #d97706; }

.progress-ring-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.progress-ring { width: 100%; height: 100%; transform: rotate(-90deg); }

.progress-ring-circle {
  transition: stroke-dashoffset 1.5s ease-out;
}

.ring-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.s-card-sub {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.income-breakdown {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.income-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.income-row.total {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  font-weight: 700;
  color: var(--text);
}

.income-source {
  display: flex;
  align-items: center;
  gap: 8px;
}

.income-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.income-dot.amazon { background: #f59e0b; }
.income-dot.ebay { background: #3b82f6; }
.income-dot.etsy { background: #ef4444; }

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

.alert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.alert-item:hover {
  background: rgba(99, 102, 241, 0.03);
  border-color: var(--border-hover);
}

.alert-icon { font-size: 1rem; }

/* ═══════════════════════════════════════════
   Testimonials
   ═══════════════════════════════════════════ */

.testimonials {
  padding: 120px 0;
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 36px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text);
}

.testimonial-author span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════
   Pricing
   ═══════════════════════════════════════════ */

.pricing {
  padding: 120px 0;
  background: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  padding: 40px 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
}

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

.pricing-card.featured {
  background: #fff;
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: var(--shadow-colored);
}

.pricing-card.featured:hover {
  box-shadow: 0 24px 80px rgba(99, 102, 241, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--text);
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */

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

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover { color: var(--accent); }

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron { transform: rotate(180deg); color: var(--accent); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════ */

.cta {
  padding: 80px 0 120px;
  background: #fff;
}

.cta-card {
  position: relative;
  padding: 80px 60px;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-xl);
  text-align: center;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 24px 60px rgba(99, 102, 241, 0.25);
}

.cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.cta-orb-1 {
  width: 400px; height: 400px;
  background: rgba(255, 255, 255, 0.1);
  top: -150px; left: -100px;
}

.cta-orb-2 {
  width: 300px; height: 300px;
  background: rgba(6, 182, 212, 0.15);
  bottom: -100px; right: -50px;
}

.cta-card h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}

.cta-card > p {
  position: relative;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.cta-actions { position: relative; margin-bottom: 16px; }

.cta-note {
  position: relative;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ═══════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════ */

.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 260px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 0;
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.06);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.footer-social a:hover {
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent);
}

/* ═══════════════════════════════════════════
   Reveal Animations
   ═══════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════ */

@media (max-width: 1024px) {
  .features-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid {
    grid-template-columns: 1fr 1fr;
  }

  .s-card-alerts {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-col:nth-child(n+4) {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions { display: none; }
  .mobile-menu-btn { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
  }

  .nav-actions.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 200px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 0 24px 16px;
  }

  .hero { padding: 120px 20px 60px; }

  .hero-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }

  .hero-stats { gap: 24px; padding: 24px; }

  .features-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step.reverse .step-content { order: 1; }
  .step.reverse .step-visual { order: 2; }

  .step-number { position: static; font-size: 3rem; margin-bottom: 8px; }

  .preview-body { flex-direction: column; }
  .preview-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
  .preview-cards { grid-template-columns: 1fr; }

  .showcase-grid { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: 1 / -1; }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .cta-card { padding: 48px 24px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .stat-divider { display: none; }
  .hero-stats { flex-direction: column; gap: 16px; }
}

/* ═══════════════════════════════════════════
   Invitation Code Modal
   ═══════════════════════════════════════════ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(30, 27, 75, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 40px 40px;
  box-shadow:
    0 24px 80px rgba(99, 102, 241, 0.15),
    0 0 0 1px var(--border);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(99, 102, 241, 0.06);
  color: var(--text);
}

.modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
}

.modal-icon svg { width: 100%; height: 100%; }

.modal-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-input-group {
  position: relative;
}

.modal-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border-hover);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg);
  text-align: center;
  letter-spacing: 0.08em;
  outline: none;
  transition: var(--transition);
}

.modal-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.modal-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.08);
}

.modal-input.shake {
  animation: shakeInput 0.5s ease;
}

@keyframes shakeInput {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-8px); }
  30% { transform: translateX(7px); }
  45% { transform: translateX(-6px); }
  60% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
  90% { transform: translateX(2px); }
}

.modal-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

.modal-input.success {
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.08);
}

.modal-error {
  font-size: 0.82rem;
  color: #ef4444;
  font-weight: 500;
  min-height: 20px;
  transition: var(--transition);
}

.modal-submit {
  margin-top: 4px;
}

.modal-submit.loading {
  pointer-events: none;
  opacity: 0.75;
}

.modal-footer {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.modal-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.modal-footer a:hover {
  text-decoration: underline;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .modal {
    padding: 36px 24px 28px;
  }
}
