/* ===== Soulvid Global Styles ===== */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #1a1a26;
  --bg-card-hover: #22223a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b8;
  --text-muted: #606078;
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #3b82f6 50%, #06b6d4 100%);
  --accent-gradient-warm: linear-gradient(135deg, #ec4899 0%, #f97316 50%, #eab308 100%);
  --border: #1e1e30;
  --border-light: #2a2a40;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Inter', -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3rem; letter-spacing: -0.03em; }
h2 { font-size: 2.25rem; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

/* ===== Gradient Text ===== */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-warm {
  background: var(--accent-gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--text-secondary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 16px;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.0625rem;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

/* ===== Header / Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.375rem;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-card);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn:hover {
  border-color: var(--border-light);
  color: var(--text-primary);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: all 0.2s;
}

.theme-toggle:hover {
  border-color: var(--border-light);
  color: var(--text-primary);
}

/* Mobile nav */
.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 16px;
    gap: 4px;
  }
  .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
}

/* ===== Page Layout ===== */
.page {
  min-height: 100vh;
  padding-top: 80px;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Hero Section (Login Wall) ===== */
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 80px);
  align-items: center;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
}

.hero-left {
  max-width: 440px;
}

.hero-emoji {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
}

.hero-title {
  font-size: 2.75rem;
  margin-bottom: 12px;
  line-height: 1.15;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 36px;
}

/* Login form */
.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.login-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.tab-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 500;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper input {
  width: 100%;
  padding: 12px 16px;
  padding-left: 56px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s;
}

.input-wrapper input:focus {
  border-color: var(--accent);
}

.country-code {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  border-right: 1px solid var(--border-light);
  padding-right: 12px;
}

.verify-row {
  display: flex;
  gap: 10px;
}

.verify-row .input-wrapper { flex: 1; }

.code-btn {
  padding: 0 20px;
  border-radius: 10px;
  background: var(--accent-gradient);
  border: none;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.code-btn:hover:not(:disabled) {
  opacity: 0.9;
}

.code-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.login-submit {
  margin-top: 8px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.social-login {
  display: flex;
  gap: 10px;
}

.social-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-primary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.social-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
}

.login-footer {
  margin-top: 16px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.login-footer a {
  color: var(--accent-light);
  text-decoration: none;
}

.login-footer a:hover {
  text-decoration: underline;
}

/* Hero right - agent cards */
.hero-right {
  position: relative;
}

.agent-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
}

.agent-showcase-image {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.agent-showcase-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(124,58,237,0.3) 0%, transparent 70%);
}

.agent-showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(transparent, var(--bg-secondary) 50%);
}

.agent-showcase-overlay h3 {
  font-size: 1.375rem;
  margin-bottom: 6px;
}

.agent-showcase-overlay p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.agent-tagline {
  text-align: center;
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: 1rem;
}

.agent-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 20px;
}

.agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.agent-card:hover,
.agent-card.active {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.agent-card .agent-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.agent-card h4 {
  font-size: 0.8125rem;
  margin-bottom: 4px;
}

.agent-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 24px 16px;
  }
  .hero-left {
    max-width: 100%;
    order: 2;
  }
  .hero-right {
    order: 1;
  }
  .agent-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Section Common ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* ===== Feature Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--accent);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-glow);
}

.pricing-card.featured::before {
  content: '推荐';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.pricing-amount {
  font-size: 2.75rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-period {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ===== Blog ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: var(--border-light);
}

.blog-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-body {
  padding: 24px;
}

.blog-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.blog-body h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

.blog-body p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

@media (max-width: 576px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.15); }
  50% { box-shadow: 0 0 40px rgba(124, 58, 237, 0.3); }
}

.animate-in {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ===== Page Header ===== */
.page-header {
  text-align: center;
  padding: 60px 0 40px;
}

.page-header h1 {
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--accent-gradient);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.cta-banner > * {
  position: relative;
}

.cta-banner h2 {
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 1.125rem;
  margin-bottom: 28px;
  opacity: 0.9;
}

.cta-banner .btn {
  background: #fff;
  color: #7c3aed;
  font-weight: 700;
}

.cta-banner .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
  .cta-banner {
    padding: 40px 24px;
  }
}

/* ===== Workflow Steps ===== */
.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.workflow-step {
  text-align: center;
  position: relative;
}

.workflow-step::after {
  content: '→';
  position: absolute;
  right: -20px;
  top: 28px;
  color: var(--text-muted);
  font-size: 1.25rem;
}

.workflow-step:last-child::after {
  display: none;
}

.workflow-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-weight: 700;
  font-size: 1.25rem;
}

.workflow-step h3 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.workflow-step p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

@media (max-width: 900px) {
  .workflow {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-step::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .workflow {
    grid-template-columns: 1fr;
  }
}

/* ===== Blog Article ===== */
.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  margin-bottom: 32px;
  transition: color 0.2s;
}

.article-back:hover {
  color: var(--text-primary);
}

.article-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-light);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.article h1 {
  font-size: 2.25rem;
  margin-bottom: 12px;
  line-height: 1.3;
}

.article-hero {
  width: 100%;
  border-radius: var(--radius);
  margin: 8px 0 32px;
  object-fit: cover;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.article-meta {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.article-body h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.article-body h3 {
  font-size: 1.1875rem;
  margin-top: 28px;
  margin-bottom: 12px;
}

.article-body p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.85;
  margin-bottom: 20px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body strong {
  color: var(--text-primary);
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-secondary);
  font-style: italic;
}

.article-body code {
  background: var(--bg-card);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--accent-light);
}

.article-body .highlight-box {
  background: var(--accent-gradient);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0;
  color: #fff;
}

.article-body .highlight-box p {
  color: rgba(255,255,255,0.9);
}

.article-body .highlight-box strong {
  color: #fff;
}

.article-footer {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.article-share {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.article-share button {
  padding: 8px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.article-share button:hover {
  border-color: var(--border-light);
  color: var(--text-primary);
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.hidden { display: none !important; }

/* ===== Hero Section (New Landing Page) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: #7c3aed;
  top: -150px; left: -100px;
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: #3b82f6;
  top: 40%; right: -120px;
  animation-delay: 3s;
}
.hero-orb-3 {
  width: 350px; height: 350px;
  background: #06b6d4;
  bottom: -100px; left: 30%;
  animation-delay: 6s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  25% { transform: translate(30px,-20px) scale(1.05); }
  50% { transform: translate(-20px,20px) scale(0.95); }
  75% { transform: translate(15px,10px) scale(1.03); }
}

/* ── Hero Video Background ── */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.5) saturate(1.0);
  pointer-events: none;
}

/* Canvas overlay — particles on top of video + overlay */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Animated gradient backdrop (always visible) */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #0a0a1a 0%, #1a1040 30%, #0a1a30 60%, #0a0a1a 100%);
  background-size: 400% 400%;
  animation: heroBgShift 20s ease-in-out infinite;
}
@keyframes heroBgShift {
  0%, 100% { background-position: 0% 50%; }
  25%      { background-position: 100% 0%; }
  50%      { background-position: 100% 100%; }
  75%      { background-position: 0% 100%; }
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 15, 0.25) 0%,
    rgba(10, 10, 15, 0.5) 50%,
    rgba(10, 10, 15, 0.8) 100%
  );
  pointer-events: none;
}

/* ── Halftone dot overlay (漫画网点质感) ── */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 6px 6px;
  pointer-events: none;
}

/* ── Comic Speed Line Glow ── */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse at 50% 40%, rgba(124,58,237,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 30% 70%, rgba(59,130,246,0.04) 0%, transparent 55%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 20px;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  background: rgba(124,58,237,0.08);
  color: var(--accent-light);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 32px;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.1875rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}
.hero-stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.25rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-stats { gap: 32px; }
  .hero-stat-num { font-size: 1.5rem; }
}

/* ===== Mode Switch ===== */
.mode-section {
  padding: 16px 24px 0;
  text-align: center;
}

.mode-bar {
  display: inline-flex;
  background: var(--bg-card);
  border-radius: 100px;
  padding: 4px;
  border: 1px solid var(--border-light);
}

.mode-tab {
  padding: 10px 24px;
  border-radius: 100px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
}

.mode-tab.active,
.mode-tab:hover {
  background: var(--accent-gradient);
  color: #fff;
}

.mode-desc {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ===== Sections Common ===== */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* ===== AI Tools Grid ===== */
.tools-section {
  padding: 80px 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.tool-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 0;
}

.tool-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.tool-card:hover::before {
  opacity: 0.04;
}

.tool-card > * {
  position: relative;
  z-index: 1;
}

.tool-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.tool-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.tool-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.tool-link {
  font-size: 0.8125rem;
  color: var(--accent-light);
  font-weight: 600;
  transition: color 0.2s;
}

.tool-card:hover .tool-link {
  color: #fff;
}

.tools-footer {
  text-align: center;
}

.text-link {
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
}
.text-link:hover { color: #fff; }

@media (max-width: 768px) {
  .tools-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Studio Section ===== */
.studio-section {
  padding: 80px 0;
}

.studio-section-alt {
  background: var(--bg-secondary);
}

.studio-block {
  padding: 60px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.studio-badge {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 100px;
  background: rgba(124,58,237,0.12);
  color: var(--accent-light);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

.studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.studio-reverse {
  direction: rtl;
}
.studio-reverse > * {
  direction: ltr;
}

.studio-text h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.studio-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.studio-features {
  list-style: none;
  margin-bottom: 32px;
}

.studio-features li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.studio-features li:last-child {
  border-bottom: none;
}

.studio-check {
  color: #10b981;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.studio-features li div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.studio-features li strong {
  font-size: 0.9375rem;
}

.studio-features li span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.studio-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== Studio Mockup ===== */
.studio-mockup {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.mockup-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  padding: 12px;
  aspect-ratio: 16/10;
}

.mockup-panel-1 {
  grid-row: span 2;
  background: linear-gradient(135deg, #7c3aed22, #3b82f622);
  border-radius: 8px;
  border: 1px dashed var(--border-light);
  position: relative;
  overflow: hidden;
}
.mockup-panel-1::after {
  content: '🎨';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.mockup-panel-2 {
  background: linear-gradient(135deg, #ec489922, #f9731622);
  border-radius: 8px;
  border: 1px dashed var(--border-light);
  position: relative;
}
.mockup-panel-2::after {
  content: '✍️';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.mockup-panel-3 {
  background: linear-gradient(135deg, #06b6d422, #10b98122);
  border-radius: 8px;
  border: 1px dashed var(--border-light);
  position: relative;
}
.mockup-panel-3::after {
  content: '🎬';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.mockup-agent-list {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  overflow-x: auto;
}

.mockup-agent {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  white-space: nowrap;
  animation: agentFadeIn 0.5s ease-out both;
  animation-delay: var(--delay);
}

@keyframes agentFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.mockup-avatar {
  font-size: 1rem;
}

.mockup-status {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}
.mockup-status.active {
  background: #10b981;
  box-shadow: 0 0 6px #10b98188;
  animation: pulse 2s ease-in-out infinite;
}

/* ===== Serial Mockup ===== */
.serial-mockup {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.serial-episode {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s;
}
.serial-episode:hover {
  transform: translateX(4px);
}

.serial-thumb {
  width: 56px; height: 56px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

.serial-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.serial-info strong {
  font-size: 0.9375rem;
}
.serial-info span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ===== Serial Cards ===== */
.serial-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.serial-card {
  padding: 16px;
  background: var(--bg-primary);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.serial-card h4 {
  font-size: 0.875rem;
  margin-bottom: 6px;
  color: var(--accent-light);
}

.serial-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .studio-block { padding: 32px 20px; }
  .studio-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .studio-text h2 { font-size: 1.75rem; }
  .serial-cards { grid-template-columns: 1fr; }
}

/* ===== Cinema Section ===== */
.cinema-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.cinema-block {
  text-align: center;
}

.cinema-label {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 100px;
  background: rgba(236,72,153,0.1);
  color: #ec4899;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.cinema-block h2 {
  font-size: 2.25rem;
  margin-bottom: 16px;
}

.cinema-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.cinema-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cinema-card {
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.25s;
  text-align: left;
}

.cinema-card:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-glow);
}

.cinema-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.cinema-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 8px;
}

.cinema-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .cinema-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== Agent Showcase Carousel ===== */
.agent-showcase {
  padding: 80px 0;
  overflow: hidden;
}

.agent-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.agent-track {
  display: flex;
  transition: transform 0.4s ease;
}

.agent-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 12px;
}

.agent-card-lg {
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 360px;
  width: 100%;
  transition: all 0.3s;
}

.agent-card-lg:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.agent-avatar-lg {
  font-size: 4rem;
  margin-bottom: 20px;
}

.agent-card-lg h3 {
  font-size: 1.375rem;
  margin-bottom: 8px;
}

.agent-role {
  display: block;
  font-size: 0.875rem;
  color: var(--accent-light);
  font-weight: 500;
  margin-bottom: 14px;
}

.agent-card-lg p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.carousel-btn:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--bg-card-hover);
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.carousel-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ===== Archive Section ===== */
.archive-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.archive-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
}

.archive-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.archive-cover {
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.archive-preview {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.archive-genre {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.3);
  padding: 2px 10px;
  border-radius: 100px;
}

.archive-info {
  padding: 16px;
}

.archive-info h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.archive-info p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.archive-author {
  font-size: 0.75rem;
  color: var(--accent-light);
}

.archive-footer {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .archive-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .archive-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 100px 0;
}

.cta-block {
  text-align: center;
  padding: 72px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.08;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}

.cta-block > * {
  position: relative;
  z-index: 1;
}

.cta-block h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-block p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.8;
}

.cta-actions {
  margin-bottom: 20px;
}

.cta-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: 12px;
}

.footer-col h4 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Login Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.hidden { display: none; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  max-width: 440px;
  width: 100%;
  position: relative;
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
}
.modal-close:hover { color: #fff; background: var(--bg-card-hover); }

.modal-header {
  text-align: center;
  margin-bottom: 28px;
}
.modal-header h2 { font-size: 1.75rem; margin-bottom: 8px; }
.modal-header p { color: var(--text-muted); font-size: 0.9375rem; }

.modal-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.modal-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9375rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  font-family: var(--font-sans);
}
.modal-tab.active {
  color: #fff;
  border-bottom-color: var(--accent);
}
.modal-tab:hover { color: var(--text-secondary); }

.modal-form label {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  margin-top: 16px;
}

.modal-form label:first-child { margin-top: 0; }

.input-group {
  display: flex;
  gap: 8px;
}

.input-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  flex-shrink: 0;
}

.input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  outline: none;
  transition: border-color 0.2s;
}
.input:focus { border-color: var(--accent); }

.code-btn {
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent-light);
  font-size: 0.8125rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  font-family: var(--font-sans);
}
.code-btn:hover {
  background: rgba(124,58,237,0.1);
}

.btn-full {
  width: 100%;
  margin-top: 24px;
  justify-content: center;
  padding: 12px;
}

.modal-alt {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.modal-alt span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}
.modal-social {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-btn {
  padding: 8px 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
}
.social-btn:hover { border-color: var(--border-light); color: #fff; }

.modal-legal {
  text-align: center;
  margin-top: 16px;
  font-size: 0.75rem;
}
.modal-legal a {
  color: var(--text-muted);
  text-decoration: none;
}
.modal-legal a:hover { color: var(--text-secondary); }

/* ===== Announcement Banner ===== */
.announcement-banner {
  background: var(--accent-gradient);
  padding: 10px 0;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.announcement-content {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.announcement-content strong {
  font-weight: 700;
}
.announcement-link {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
  font-weight: 600;
  white-space: nowrap;
}
.announcement-link:hover {
  color: #fff;
}
.announcement-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.announcement-close:hover {
  background: rgba(255,255,255,0.3);
}

/* Push nav down when banner is visible */
.announcement-banner ~ .nav {
  top: 40px;
}

/* ===== Footer Social ===== */
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.social-link:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--bg-card-hover);
}

/* ===== About Page ===== */
.about-hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  text-align: center;
}
.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.about-hero-content {
  position: relative;
  z-index: 1;
}
.about-badge {
  display: inline-block;
  padding: 5px 18px;
  border-radius: 100px;
  background: rgba(124,58,237,0.1);
  color: var(--accent-light);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.about-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.25;
}
.about-hero-desc {
  font-size: 1.1875rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .about-hero h1 { font-size: 2rem; }
  .about-hero { padding: 140px 0 60px; }
}

.about-section {
  padding: 80px 0;
}
.about-section-alt {
  background: var(--bg-secondary);
}
.about-block {
  max-width: 720px;
  margin: 0 auto;
}
.about-label {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 100px;
  background: rgba(124,58,237,0.1);
  color: var(--accent-light);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.about-block h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}
.about-block p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 18px;
}
.about-block p strong {
  color: var(--text-primary);
}

/* About Points */
.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.about-point {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.25s;
}
.about-point:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}
.about-point-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.about-point h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.about-point p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .about-points { grid-template-columns: 1fr; }
}

/* About Flow */
.about-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.flow-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
}
.flow-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
}
.flow-arrow {
  color: var(--text-muted);
  font-size: 1.25rem;
  font-weight: 700;
}

/* About CTA */
.about-cta {
  padding: 80px 0 100px;
}

/* ===== Legal Page (Terms / Privacy) ===== */
.legal-page {
  padding-top: 140px;
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 0 80px;
}
.legal-section {
  margin-bottom: 40px;
}
.legal-section h2 {
  font-size: 1.375rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.legal-section h3 {
  font-size: 1.0625rem;
  margin: 20px 0 10px;
  color: var(--text-secondary);
}
.legal-section p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-section ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-section ul li {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 6px;
}
.legal-section a {
  color: var(--accent-light);
  text-decoration: none;
}
.legal-section a:hover {
  text-decoration: underline;
}

/* ===== Archive Modal ===== */
.modal-archive {
  max-width: 520px;
  text-align: center;
}

.archive-modal-cover {
  width: 100%;
  height: 180px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.archive-modal-cover > div {
  font-size: 4rem;
}

.modal-archive h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.modal-archive p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.archive-modal-meta {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.8125rem;
}

.archive-modal-meta span:first-child {
  padding: 3px 12px;
  border-radius: 100px;
  background: rgba(124,58,237,0.12);
  color: var(--accent-light);
  font-weight: 600;
}

.archive-modal-meta span:last-child {
  color: var(--text-muted);
}

.archive-modal-stats {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  padding: 12px;
  background: var(--bg-primary);
  border-radius: var(--radius);
}

/* ===== Helpers ===== */
/* Legacy carousel compat (kept minimal) */
.btn-block { width: 100%; justify-content: center; }

/* Mode panel visibility */
.mode-panel.hidden { display: none !important; }

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 28px rgba(124, 58, 237, 0.6);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}
