/* ============================================================
   Video Downloader Pro — 主样式表
   设计理念: 极简 · 清爽 · 轻量感
   ============================================================ */

/* ----- CSS Variables ----- */
:root {
  /* Colors */
  --bg-primary: #f7f7f9;
  --bg-secondary: #ffffff;
  --bg-card: rgba(0, 0, 0, 0.03);
  --bg-card-hover: rgba(0, 0, 0, 0.055);
  --border-subtle: rgba(0, 0, 0, 0.09);
  --border-active: rgba(0, 0, 0, 0.20);

  --text-primary: #111118;
  --text-secondary: #6b6b7b;
  --text-muted: #9a9aaa;

  --gradient-brand: linear-gradient(135deg, #1c1c28 0%, #2a2a3e 100%);
  --gradient-brand-reverse: linear-gradient(135deg, #2a2a3e 0%, #1c1c28 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.03) 0%, transparent 70%);

  --accent-purple: #2563eb;
  --accent-blue: #2563eb;
  --accent-cyan: #0ea5e9;
  --success: #059669;
  --warning: #d97706;
  --error: #dc2626;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --nav-height: 64px;

  /* Shadows */
  --shadow-glow-purple: 0 4px 24px rgba(0, 0, 0, 0.12);
  --shadow-glow-blue: 0 4px 24px rgba(37, 99, 235, 0.15);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----- Reset & Base ----- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

/* No ambient glow or grid texture on light theme */

/* ----- Container ----- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ----- Navigation ----- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(247, 247, 249, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  display: flex;
  align-items: center;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-logo .logo-icon {
  width: 34px;
  height: 34px;
  background: var(--text-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-purple);
}

.nav-cta.nav-login {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.8rem;
  padding: 6px 14px;
}

.nav-cta.nav-login:hover {
  border-color: var(--border-active);
  color: var(--text-primary);
  box-shadow: none;
  transform: none;
}

.nav-cta.nav-login.logged-in {
  background: rgba(5, 150, 105, 0.08);
  border-color: var(--success);
  color: var(--success);
}

/* Free downloads badge in nav */
.nav-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.nav-badge .count {
  font-weight: 700;
  color: var(--accent-cyan);
}

/* ----- Hero Section ----- */
.hero {
  padding: 96px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: #8a8a9a;
  font-weight: 400;
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ----- Floating Platform Hints ----- */
.platform-hint {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.platform-hint.hint-left {
  left: clamp(12px, 2.5vw, 60px);
  align-items: flex-start;
}

.platform-hint.hint-right {
  right: clamp(20px, 3vw, 60px);
  align-items: flex-end;
}

.hint-name {
  font-size: clamp(0.9rem, 1.5vw, 1.3rem);
  font-weight: 700;
  font-style: italic;
  color: var(--text-muted);
  opacity: 0.22;
  display: inline-block;
  letter-spacing: -0.01em;
  line-height: 1;
}

.hint-name.hint-small {
  font-size: clamp(0.7rem, 1.1vw, 0.95rem);
  opacity: 0.14;
}

.platform-hint.hint-left .hint-name:first-child {
  transform: rotate(-9deg) translateX(-4px);
}
.platform-hint.hint-left .hint-name.hint-small {
  transform: rotate(-6deg) translateX(6px);
}

.platform-hint.hint-right .hint-name:first-child {
  transform: rotate(9deg) translateX(4px);
}
.platform-hint.hint-right .hint-name.hint-small {
  transform: rotate(6deg) translateX(-6px);
}

@media (max-width: 768px) {
  .platform-hint { display: none; }
}

/* ----- URL Input Section ----- */
.url-section {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.url-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #3c3c4c;
  border: none;
  border-radius: var(--radius-full);
  padding: 8px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.12), 0 1px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.25s var(--ease-smooth);
}

.url-input-wrapper:focus-within {
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.16);
}

.url-input-wrapper.error {
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.35), 0 4px 32px rgba(0, 0, 0, 0.12);
  animation: shake 0.5s var(--ease-smooth);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.url-icon {
  display: none;
}

.url-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.97rem;
  font-family: var(--font-sans);
  padding: 12px 0 12px 18px;
  min-width: 0;
}

.url-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

/* Download button — wider pill inside the dark input */
.btn-download {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 92px;
  height: 46px;
  border-radius: var(--radius-full);
  border: none;
  background: #5a5a6e;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.btn-download:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.btn-download:active {
  transform: scale(0.96);
}

.btn-download:active {
  transform: translateY(0) scale(0.98);
}

.btn-download:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-download .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-download.loading .spinner { display: block; }
.btn-download.loading .btn-text { display: none; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

.url-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.hint-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* ----- Progress Panel (Hidden by default) ----- */
.progress-panel {
  max-width: 600px;
  margin: 0 auto;
  display: none;
}

.progress-panel.active {
  display: block;
  animation: fadeSlideUp 0.4s var(--ease-smooth);
}

.progress-panel.active.collapsed .progress-card {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.progress-panel.active.collapsed .progress-header,
.progress-panel.active.collapsed .progress-bar-track,
.progress-panel.active.collapsed .progress-status {
  display: none;
}
.progress-panel.active.collapsed .download-complete {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 0;
  animation: none;
}
.progress-panel.active.collapsed .complete-icon { font-size: 1rem; }
.progress-panel.active.collapsed .complete-text { font-size: 0.875rem; margin: 0; }
.progress-panel.active.collapsed .complete-sub { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.progress-panel.active.collapsed #btnSave { display: none !important; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.progress-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.progress-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.progress-percentage {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.progress-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: width 0.5s var(--ease-smooth);
  position: relative;
}

.progress-bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.progress-status {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.progress-status .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* Download complete state */
.progress-card.complete .progress-bar-fill {
  background: var(--success);
}
.progress-card.complete .progress-bar-fill::after {
  display: none;
}

.download-complete {
  display: none;
  text-align: center;
  padding: 12px 0;
}

.download-complete.active {
  display: block;
  animation: fadeSlideUp 0.4s var(--ease-smooth);
}

.download-complete .complete-icon {
  font-size: 3rem;
  margin-bottom: 8px;
  animation: popIn 0.5s var(--ease-spring);
}

@keyframes popIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.download-complete .complete-text {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.download-complete .complete-sub {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.btn-save {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--success);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  text-decoration: none;
}

.btn-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

/* ----- Stats Bar ----- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin: 60px 0;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

/* ----- How It Works ----- */
.how-section {
  padding: 80px 0;
}

.section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 48px;
}

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

.step-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  transition: all 0.3s var(--ease-smooth);
  position: relative;
}

.step-card:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--text-primary);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.step-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ----- Free Tier Status ----- */
.free-tier-section {
  padding: 60px 0;
  text-align: center;
}

.free-tier-card {
  display: inline-block;
  padding: 32px 48px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.free-tier-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.free-tier-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.free-tier-count {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.free-tier-total {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 600;
}

.free-tier-bar {
  width: 200px;
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto 8px;
}

.free-tier-bar-fill {
  height: 100%;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: width 0.4s var(--ease-smooth);
}

.free-tier-bar-fill.used-up {
  background: var(--warning);
}

.free-tier-bar-fill.all-used {
  background: var(--error);
}

.free-tier-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.free-tier-text.warning {
  color: var(--warning);
}

/* ----- Donation Section ----- */
.donate-section {
  padding: 80px 0;
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.donate-card {
  padding: 32px 20px;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-card);
  text-align: center;
  transition: all 0.3s var(--ease-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.donate-card:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.donate-card.popular {
  position: relative;
  border-color: var(--text-primary);
  background: #ffffff;
  border-width: 2px;
}

.donate-card.popular::before {
  content: '❤️ Most Popular';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.donate-emoji { font-size: 2.4rem; margin-bottom: 12px; }
.donate-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.donate-label { font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }
.donate-desc { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.5; }

.btn-donate {
  display: inline-block;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-subtle);
  background: transparent;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  text-decoration: none;
  text-align: center;
}

.btn-donate:hover {
  border-color: var(--border-active);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.btn-donate.primary {
  background: var(--text-primary);
  color: #fff;
  border: none;
}

.btn-donate.primary:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  background: #2a2a3a;
}

.donate-footnote {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 28px;
}

/* ----- Trust Section ----- */
.trust-section {
  padding: 40px 0 80px;
  text-align: center;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-badge .tb-icon {
  font-size: 1.2rem;
  color: var(--success);
}

/* ----- FAQ ----- */
.faq-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-subtle);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0;
  cursor: pointer;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 1rem;
}

.faq-arrow {
  transition: transform 0.3s var(--ease-smooth);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-smooth), padding 0.35s var(--ease-smooth);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding-top: 12px;
}

/* ----- CTA Banner ----- */
.cta-banner {
  padding: 80px 0;
  text-align: center;
}

.cta-banner-inner {
  padding: 60px 40px;
  border-radius: var(--radius-xl);
  background: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.cta-banner-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-banner-inner > * {
  position: relative;
  z-index: 1;
}

.cta-banner-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.cta-banner-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.btn-cta-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: var(--radius-full);
  background: #fff;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s var(--ease-smooth);
}

.btn-cta-large:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ----- Footer ----- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
  max-width: 680px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

.footer-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 8px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* ----- Paywall Modal ----- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s var(--ease-smooth);
}

.modal-overlay.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  animation: modalSlideIn 0.4s var(--ease-spring);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

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

.btn-pricing {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-full);
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  text-decoration: none;
  text-align: center;
}
.btn-pricing.primary {
  background: var(--text-primary);
  color: #fff;
}
.btn-pricing.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.modal .btn-pricing {
  margin-bottom: 8px;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  margin-top: 12px;
  text-decoration: underline;
}

/* ----- Toast ----- */
.toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 300;
  opacity: 0;
  transition: all 0.3s var(--ease-smooth);
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(4px);
}

.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--error); }
.toast.warning { border-color: var(--warning); }

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .nav-badge { display: none; }
  .steps { grid-template-columns: 1fr; }
  .donate-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .stat-item { text-align: center; }
  .hero { padding: 72px 0 40px; }
  .url-input-wrapper { padding: 8px; }
  .url-label { font-size: 0.95rem; }
  .cta-banner-inner { padding: 40px 24px; }
  .platforms { gap: 8px; }
  .platform-badge { padding: 6px 12px; font-size: 0.8rem; }
  .hero-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
}

/* ----- Hidden utility ----- */
.hidden { display: none !important; }
