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

:root {
  --bg: #faf9f7;
  --bg2: #ffffff;
  --bg3: #f3f1ee;
  --border: #e5e2dc;
  --border-dark: #ccc9c2;
  --text: #1a1916;
  --text-2: #4a4844;
  --text-muted: #8c8a85;
  --accent: #e05c2a;
  --accent-hover: #c94e1f;
  --accent-dim: rgba(224,92,42,0.08);
  --success: #2a7a4b;
  --error: #c0392b;
  --radius: 10px;
  --radius-sm: 6px;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Nav ───────────────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 56px;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.3px;
}

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

.nav-link {
  color: var(--text-2);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--text); }

.nav-btn {
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--text-2);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.nav-btn:hover { border-color: var(--text); color: var(--text); }

/* ── Cookie Panel ──────────────────────────────────────────────────────────── */
.cookie-panel {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  animation: slideDown 0.2s ease;
}

.cookie-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px;
}

.cookie-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cookie-title {
  font-weight: 600;
  font-size: 0.9rem;
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 2px 6px;
  border-radius: 4px;
}
.close-btn:hover { background: var(--bg3); color: var(--text); }

.cookie-desc {
  font-size: 0.82rem;
  color: var(--text-2);
  margin-bottom: 10px;
  line-height: 1.6;
}
.cookie-desc a { color: var(--accent); text-decoration: none; }
.cookie-desc a:hover { text-decoration: underline; }

#cookieInput {
  display: block;
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: monospace;
  font-size: 0.78rem;
  padding: 10px 12px;
  height: 90px;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s;
  margin-bottom: 10px;
}
#cookieInput:focus { border-color: var(--accent); }

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-status {
  font-size: 0.8rem;
  color: var(--success);
  margin-left: auto;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  padding: 72px 24px 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}

.hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* ── Input ─────────────────────────────────────────────────────────────────── */
.input-section { max-width: 560px; margin: 0 auto; }

.input-wrap {
  display: flex;
  gap: 8px;
  background: var(--bg);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 5px 5px 5px 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

#urlInput {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  min-width: 0;
}
#urlInput::placeholder { color: var(--text-muted); }

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:active { transform: scale(0.97); }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border-dark);
  color: var(--text-2);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: var(--text); color: var(--text); }

/* ── Error ─────────────────────────────────────────────────────────────────── */
.error-msg {
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(192,57,43,0.06);
  border: 1px solid rgba(192,57,43,0.2);
  border-radius: var(--radius-sm);
  text-align: left;
  line-height: 1.5;
}

/* ── Container ─────────────────────────────────────────────────────────────── */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

/* ── Card ──────────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
  animation: fadeUp 0.25s ease;
}

/* Info card layout */
#infoCard {
  display: flex;
  gap: 0;
}

.card-media {
  position: relative;
  flex-shrink: 0;
  width: 200px;
}

#thumbnail {
  width: 200px;
  height: 130px;
  object-fit: cover;
  display: block;
  background: var(--bg3);
}

.platform-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-body {
  flex: 1;
  padding: 18px 20px;
  min-width: 0;
}

.video-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.video-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* ── Format List ───────────────────────────────────────────────────────────── */
.format-group { margin-bottom: 14px; }

.label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.format-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fmt-btn {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text-2);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s, color 0.12s;
}
.fmt-btn:hover { border-color: var(--accent); color: var(--accent); }
.fmt-btn.selected {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--accent);
  font-weight: 600;
}

/* ── Toggle ────────────────────────────────────────────────────────────────── */
.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-2);
  cursor: pointer;
  margin-bottom: 16px;
  user-select: none;
}
.toggle-row input { display: none; }

.toggle-track {
  width: 34px;
  height: 18px;
  background: var(--bg3);
  border: 1.5px solid var(--border-dark);
  border-radius: 9px;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}
.toggle-row input:checked + .toggle-track { background: var(--accent-dim); border-color: var(--accent); }
.toggle-row input:checked + .toggle-track .toggle-thumb { transform: translateX(16px); background: var(--accent); }

/* ── Download Button ───────────────────────────────────────────────────────── */
.btn-download {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn-download:hover { background: var(--accent-hover); }
.btn-download:active { transform: scale(0.98); }
.btn-download:disabled { opacity: 0.45; cursor: not-allowed; }

/* ── Progress ──────────────────────────────────────────────────────────────── */
.progress-card { padding: 20px 24px; }

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-2);
  margin-bottom: 12px;
}

.progress-pct { font-weight: 600; color: var(--text); }

.progress-track {
  height: 4px;
  background: var(--bg3);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  width: 0%;
  transition: width 0.4s ease;
}

/* ── Done ──────────────────────────────────────────────────────────────────── */
.done-card {
  padding: 36px 24px;
  text-align: center;
  border-color: #b7dfc8;
  background: #f4fbf7;
}

.done-check {
  width: 44px;
  height: 44px;
  background: rgba(42,122,75,0.12);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 12px;
}

.done-text {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-bottom: 16px;
}

/* ── AI Card ───────────────────────────────────────────────────────────────── */
.ai-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 16px;
  animation: fadeUp 0.25s ease;
}

.ai-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.ai-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-2);
}

.pro-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.btn-ai {
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  padding: 9px 20px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
  display: block;
  margin-bottom: 10px;
}
.btn-ai:hover { opacity: 0.8; }
.btn-ai:disabled { opacity: 0.4; cursor: not-allowed; }

.ai-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.ai-hint a { color: var(--accent); text-decoration: none; }
.ai-hint a:hover { text-decoration: underline; }

.ai-text {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.75;
  padding: 14px 16px;
  background: var(--bg3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

/* ── Steps Section ─────────────────────────────────────────────────────────── */
.steps-section {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 24px;
}

.steps-inner {
  max-width: 720px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 0 24px;
  text-align: center;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
  font-style: italic;
}

.step h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.step-divider {
  width: 1px;
  height: 80px;
  background: var(--border-dark);
  margin-top: 20px;
  flex-shrink: 0;
}

/* ── Pricing ───────────────────────────────────────────────────────────────── */
.pricing-section {
  padding: 80px 24px;
  background: var(--bg2);
}

.pricing-inner {
  max-width: 720px;
  margin: 0 auto;
}

.pricing-inner .section-title { margin-bottom: 8px; }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.plan {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  background: var(--bg);
}

.plan-pro {
  border-color: var(--accent);
  background: var(--bg2);
  box-shadow: 0 4px 24px rgba(224,92,42,0.1);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.plan-header { margin-bottom: 24px; }

.plan-name {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.plan-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
}

.plan-period {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-muted);
}

.plan-annual {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.plan-features {
  list-style: none;
  margin-bottom: 24px;
}

.feat {
  font-size: 0.85rem;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
}
.feat:last-child { border-bottom: none; }

.feat::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
}

.feat-yes::before {
  content: '✓';
  background: rgba(42,122,75,0.1);
  color: var(--success);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
}

.feat-no {
  color: var(--text-muted);
}
.feat-no::before {
  content: '–';
  background: var(--bg3);
  color: var(--text-muted);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.btn-plan-free {
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--border-dark);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 11px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.btn-plan-free:hover { border-color: var(--text); background: var(--bg3); }

.btn-plan-pro {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn-plan-pro:hover { background: var(--accent-hover); }
.btn-plan-pro:active { transform: scale(0.98); }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  background: var(--bg2);
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text);
}

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

.footer a { color: var(--accent); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ── Nav auth ──────────────────────────────────────────────────────────────── */
.nav-auth-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
}

.nav-email {
  font-size: 0.82rem;
  color: var(--text-2);
  font-weight: 500;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-plan-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-plan-free {
  background: var(--bg3);
  color: var(--text-muted);
  border: 1px solid var(--border-dark);
}

.nav-plan-pro {
  background: var(--accent);
  color: #fff;
}

/* ── Modal ─────────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.15s ease;
}

.modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: 100%;
  max-width: 400px;
  padding: 32px;
  position: relative;
  animation: fadeUp 0.2s ease;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1;
}
.modal-close:hover { background: var(--bg3); color: var(--text); }

.modal-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.modal-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}
.modal-tab:hover { color: var(--text); }
.modal-tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }

.modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.modal-body { display: block; }

/* ── Forms ─────────────────────────────────────────────────────────────────── */
.form-field { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-hint {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

.form-input {
  display: block;
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-input::placeholder { color: var(--text-muted); }

.form-error {
  font-size: 0.82rem;
  color: var(--error);
  background: rgba(192, 57, 43, 0.06);
  border: 1px solid rgba(192, 57, 43, 0.2);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 14px;
}

.btn-block {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 12px;
  font-size: 0.95rem;
}

.modal-switch {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 14px;
}

.link-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.link-btn:hover { opacity: 0.8; }

/* ── Upgrade panel ─────────────────────────────────────────────────────────── */
.upgrade-icon {
  font-size: 2rem;
  color: var(--accent);
  text-align: center;
  margin-bottom: 12px;
}

.upgrade-desc {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 20px;
  text-align: center;
}

/* ── Contact Nudge ─────────────────────────────────────────────────────────── */
.contact-nudge {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #b7dfc8;
  text-align: left;
}

.contact-nudge-text {
  font-size: 0.82rem;
  color: var(--text-2);
  margin-bottom: 10px;
}

.contact-nudge-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.contact-email-input {
  flex: 1;
  min-width: 180px;
  background: var(--bg2);
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 8px 12px;
  outline: none;
  transition: border-color 0.15s;
}
.contact-email-input:focus { border-color: var(--accent); }
.contact-email-input::placeholder { color: var(--text-muted); }

.btn-contact {
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.btn-contact:hover { opacity: 0.8; }

.contact-nudge-wechat {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 8px;
}
.contact-nudge-wechat strong {
  color: var(--text-2);
  font-family: monospace;
  background: var(--bg3);
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid var(--border);
}

.contact-nudge-sent {
  font-size: 0.82rem;
  color: var(--success);
  margin-top: 8px;
}

/* ── Utilities ─────────────────────────────────────────────────────────────── */
.hidden { display: none !important; }

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

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

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes progressPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ── Mobile ────────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav { padding: 0 16px; }
  .hero { padding: 48px 16px 40px; }
  .container { padding: 24px 16px 40px; }

  #infoCard { flex-direction: column; }
  .card-media { width: 100%; }
  #thumbnail { width: 100%; height: 200px; }

  .steps { flex-direction: column; gap: 24px; }
  .step-divider { display: none; }
  .step { padding: 0; text-align: left; display: flex; gap: 16px; align-items: flex-start; }
  .step-num { font-size: 1.8rem; margin-bottom: 0; flex-shrink: 0; }

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

  .footer-inner { flex-direction: column; text-align: center; }
}
