/* ==========================================================
   RawMark — style.css  (redesign)
   Dark aurora palette · indigo–violet gradient accent
   ========================================================== */

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

:root {
  /* backgrounds */
  --bg:        #07090f;
  --surface:   #0c1020;
  --surface2:  #111628;
  --surface3:  #171d30;

  /* borders */
  --border:        rgba(255,255,255,.07);
  --border-bright: rgba(255,255,255,.13);

  /* accent */
  --accent:    #6366f1;
  --accent2:   #8b5cf6;
  --accent-h:  #4f52d8;
  --accent-s:  #a5b4fc;
  --accent-glow: rgba(99,102,241,.22);

  /* text */
  --text:       #e8ecff;
  --text-muted: #5c6480;
  --text-sub:   #8892b0;

  /* states */
  --success: #10b981;
  --error:   #f43f5e;

  /* shape */
  --radius:    14px;
  --radius-sm: 8px;

  /* shadows */
  --shadow: 0 8px 48px rgba(0,0,0,.55);
  --glow:   0 0 48px rgba(99,102,241,.13);

  --trans: .18s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px; /* compensate sticky nav height */
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle background tint */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 45% at 5% -10%,  rgba(99,102,241,.07) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 95% 110%,  rgba(139,92,246,.05)  0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

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

/* ── Nav ─────────────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(7,9,15,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.025em;
  text-decoration: none;
}

.nav-logo:hover { text-decoration: none; }

.nav-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}

.nav-logo span {
  background: linear-gradient(135deg, #818cf8 20%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #fff;
  padding: .5rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  transition: opacity var(--trans), transform .12s ease;
}

.nav-cta:hover { opacity: .88; text-decoration: none; transform: translateY(-1px); }

/* ── Hero ────────────────────────────────────────────────── */
#hero {
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero-layout {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-demo {
  flex: 0 0 440px;
  max-width: 440px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(99,102,241,.1);
  border: 1px solid rgba(99,102,241,.28);
  color: var(--accent-s);
  font-size: .73rem;
  font-weight: 700;
  padding: .35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}


h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 1.2rem;
}

.highlight {
  background: linear-gradient(135deg, #818cf8 0%, #a78bfa 55%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--text-sub);
  max-width: 480px;
  margin: 0 0 1.6rem;
  line-height: 1.75;
}

/* Format pills row */
.format-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 2rem;
}

.format-pill {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  padding: .28rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--border-bright);
  color: var(--text-muted);
  background: var(--surface2);
  transition: border-color var(--trans), color var(--trans);
}

.format-pill:hover {
  border-color: rgba(99,102,241,.45);
  color: var(--accent-s);
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-note {
  font-size: .8rem;
  color: var(--text-muted);
}

/* ── Demo card ────────────────────────────────────────────── */
.demo-card {
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}


.demo-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 1rem;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}

.demo-filename {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  color: var(--text-muted);
}

.demo-badge-converted {
  font-size: .68rem;
  font-weight: 700;
  color: var(--success);
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.25);
  padding: .15rem .55rem;
  border-radius: 99px;
}

.demo-body {
  padding: 1.25rem 1.5rem 1.5rem;
  overflow-y: auto;
  max-height: 300px;
}

.demo-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: .76rem;
  line-height: 1.75;
  margin: 0;
  white-space: pre;
  overflow-x: auto;
}

.md-h1    { color: #c084fc; font-weight: 700; }
.md-h2    { color: #818cf8; font-weight: 600; }
.md-bold  { color: #e2e8f0; font-weight: 700; }
.md-table { color: #475569; }
.md-li    { color: var(--text-sub); }
.md-li-bullet { color: var(--accent); }

.demo-cursor {
  color: var(--accent-s);
  animation: blink .85s step-end infinite;
}

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

/* ── Sections ────────────────────────────────────────────── */
section { padding: 5rem 1rem; }

.container { max-width: 840px; margin: 0 auto; }

/* ── Tool section ────────────────────────────────────────── */
#tool { padding: 0 1rem 5.5rem; }

.tool-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow), var(--glow);
  position: relative;
  overflow: hidden;
}

/* top gradient line */
.tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(99,102,241,.55) 40%, rgba(139,92,246,.55) 60%, transparent 100%);
}

/* Checkout banners */
.checkout-banner {
  display: none;
  padding: .85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.checkout-banner.visible { display: block; }

#checkout-success {
  background: rgba(16,185,129,.08);
  border: 1px solid rgba(16,185,129,.22);
  color: var(--success);
}

/* Drop zone */
.drop-zone {
  border: 1.5px dashed rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 3.5rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--trans);
  background: var(--surface2);
  position: relative;
}

.drop-zone:hover,
.drop-zone:focus-visible {
  border-color: rgba(99,102,241,.5);
  background: rgba(99,102,241,.06);
  outline: none;
}

.drop-zone.dragover {
  border-color: var(--accent);
  background: rgba(99,102,241,.1);
  box-shadow: 0 0 32px rgba(99,102,241,.14) inset;
}

.drop-icon {
  font-size: 2.4rem;
  margin-bottom: .85rem;
  display: block;
}

.drop-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--text);
}

.drop-sub {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.drop-formats {
  font-size: .72rem;
  color: var(--text-muted);
  margin-top: .85rem;
  letter-spacing: .04em;
}

#file-input { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1.35rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all var(--trans);
}

.btn:active { transform: scale(.97) !important; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: #fff;
}

.btn-primary:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--surface3);
  border: 1px solid var(--border-bright);
  color: var(--text-sub);
}

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

.btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Progress */
.progress-wrap { margin-top: 1.5rem; display: none; }
.progress-wrap.visible { display: block; }

.progress-label {
  font-size: .78rem;
  color: var(--text-sub);
  margin-bottom: .5rem;
  display: flex;
  justify-content: space-between;
}

.progress-bar-bg {
  height: 3px;
  background: var(--surface3);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 999px;
  width: 0%;
  transition: width .3s ease;
  box-shadow: 0 0 10px rgba(99,102,241,.6);
}

/* Conversion counter */
.conversion-counter {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.counter-dots { display: flex; gap: .35rem; }

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--surface3);
  border: 1px solid var(--border-bright);
  transition: all var(--trans);
}

.dot.used {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 6px rgba(99,102,241,.55);
}

/* Output */
.output-section { margin-top: 1.75rem; display: none; }
.output-section.visible { display: block; }

.output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem;
  flex-wrap: wrap;
  gap: .5rem;
}

.output-meta { font-size: .78rem; color: var(--text-muted); }
.output-meta strong { color: var(--text-sub); }

.output-actions { display: flex; gap: .5rem; align-items: center; }

.markdown-preview {
  width: 100%;
  min-height: 280px;
  max-height: 460px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  color: #a5b4fc;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: .8rem;
  line-height: 1.65;
  resize: vertical;
  outline: none;
  transition: border-color var(--trans);
}

.markdown-preview:focus { border-color: rgba(99,102,241,.4); }

/* Error */
.error-banner {
  display: none;
  margin-top: 1rem;
  padding: .85rem 1rem;
  background: rgba(244,63,94,.08);
  border: 1px solid rgba(244,63,94,.22);
  border-radius: var(--radius-sm);
  color: var(--error);
  font-size: .875rem;
  line-height: 1.4;
}

.error-banner.visible { display: flex; gap: .5rem; align-items: flex-start; }

.copy-feedback {
  font-size: .75rem;
  color: var(--success);
  opacity: 0;
  transition: opacity .3s ease;
  align-self: center;
}

.copy-feedback.show { opacity: 1; }

/* Batch output */
.batch-section { margin-top: 1.75rem; display: none; }
.batch-section.visible { display: block; }

.batch-result {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--surface2);
  border: 1px solid rgba(16,185,129,.2);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  flex-wrap: wrap;
}

.batch-icon { font-size: 2rem; flex-shrink: 0; }

.batch-text { flex: 1; min-width: 0; }

.batch-text p:first-child {
  font-weight: 600;
  color: var(--text);
  margin-bottom: .2rem;
}

.batch-sub { font-size: .82rem; color: var(--text-muted); }

/* ── Gate modal ──────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

.modal {
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.75rem 2.25rem;
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeUp .25s ease both;
}

.modal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.65), rgba(139,92,246,.65), transparent);
}

.modal-icon { font-size: 2.25rem; margin-bottom: 1rem; }

.modal h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .5rem;
  letter-spacing: -.015em;
}

.modal p {
  color: var(--text-sub);
  font-size: .9rem;
  margin-bottom: 1.75rem;
}

.plan-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin-bottom: 1.25rem;
}

.plan-card {
  background: var(--surface2);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 1.4rem 1rem;
  text-align: left;
  transition: all var(--trans);
}

.plan-card:hover { border-color: rgba(99,102,241,.4); transform: translateY(-2px); }

.plan-card .plan-name {
  font-size: .68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: .3rem;
}

.plan-card .plan-price {
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: .15rem;
  letter-spacing: -.02em;
}

.plan-card .plan-desc {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  line-height: 1.5;
}

.plan-card .btn { width: 100%; justify-content: center; font-size: .82rem; }

.plan-card.featured {
  border-color: rgba(99,102,241,.35);
  background: rgba(99,102,241,.07);
}

.plan-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .5rem;
}

.modal-dismiss {
  font-size: .8rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
  transition: color var(--trans);
}

.modal-dismiss:hover { color: var(--text-sub); }

/* ── Comparison section ──────────────────────────────────── */
#compare {
  padding: 5rem 1.5rem;
}

#compare h2 {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: .75rem;
}

.compare-sub {
  text-align: center;
  color: var(--text-sub);
  font-size: .95rem;
  margin-bottom: 2.5rem;
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.compare-table th,
.compare-table td {
  padding: .85rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th {
  background: var(--surface2);
  font-weight: 700;
  color: var(--text);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(255,255,255,.02); }
.compare-table tbody td:first-child { color: var(--text-sub); }

.compare-table td.yes  { color: var(--success); font-weight: 600; }
.compare-table td.no   { color: var(--error);   font-weight: 600; }
.compare-table th.compare-us { color: var(--accent-s); }

.compare-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  padding: .1em .5em;
  border-radius: 99px;
  background: var(--surface3);
  color: var(--text-muted);
  margin-left: .35rem;
  vertical-align: middle;
  text-transform: none;
  letter-spacing: 0;
}

.compare-tag.accent {
  background: rgba(99,102,241,.18);
  color: var(--accent-s);
}

.tool-trust {
  text-align: center;
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 1.1rem;
  letter-spacing: .01em;
}

.tool-trust strong { color: var(--text-sub); font-weight: 600; }

/* ── How it works ────────────────────────────────────────── */
#how {
  padding: 5rem 1.5rem;
}

#how h2 {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 3rem;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 860px;
  margin: 0 auto;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}

.step-num {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,.08);
  line-height: 1;
  letter-spacing: -.05em;
  margin-bottom: .65rem;
  flex-shrink: 0;
}

.step-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.step-body p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.step-body code {
  font-family: 'JetBrains Mono', monospace;
  font-size: .82em;
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: .1em .4em;
  border-radius: 4px;
  color: var(--accent-s);
}

.step-arrow {
  color: var(--text-muted);
  font-size: 1.4rem;
  padding-top: .9rem;
  flex-shrink: 0;
  opacity: .4;
}

/* ── Why section ─────────────────────────────────────────── */
#why {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#why h2,
#faq h2 {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  letter-spacing: -.025em;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.why-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  transition: border-color var(--trans), transform var(--trans), box-shadow var(--trans);
  position: relative;
  overflow: hidden;
}


.why-card:hover {
  border-color: rgba(99,102,241,.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(99,102,241,.1);
}

.why-icon-wrap {
  font-size: 1.4rem;
  margin-bottom: .85rem;
  display: block;
}

.why-card h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .4rem;
  color: var(--text);
}

.why-card p {
  font-size: .845rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: .45rem; }

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--trans);
}

details:hover { border-color: var(--border-bright); }
details[open] { border-color: rgba(99,102,241,.3); }

summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text);
  user-select: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+';
  font-size: 1.1rem;
  color: var(--accent-s);
  flex-shrink: 0;
  transition: transform var(--trans);
}

details[open] summary::after { transform: rotate(45deg); }

.faq-answer {
  padding: .85rem 1.25rem 1.1rem;
  font-size: .875rem;
  color: var(--text-sub);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1rem;
  text-align: center;
  font-size: .82rem;
  color: var(--text-muted);
}

footer .footer-links {
  margin-top: .6rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

footer .footer-links a { color: var(--text-muted); }
footer .footer-links a:hover { color: var(--text-sub); text-decoration: none; }

/* ── Pricing section ─────────────────────────────────────── */
#pricing {
  padding: 5rem 1.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#pricing h2 {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: .5rem;
  letter-spacing: -.025em;
}

.pricing-sub {
  text-align: center;
  color: var(--text-sub);
  font-size: .95rem;
  margin-bottom: 2.75rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color var(--trans), transform var(--trans);
}

.pricing-card:hover {
  border-color: rgba(99,102,241,.35);
  transform: translateY(-3px);
}

.pricing-card--featured {
  border-color: rgba(99,102,241,.35);
  background: rgba(99,102,241,.07);
}

.pricing-tier {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: .6rem;
}

.pricing-price {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: .3rem;
}

.pricing-mo {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-sub);
}

.pricing-cycle {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.pricing-features li {
  font-size: .875rem;
  color: var(--text-sub);
  padding-left: 1.4rem;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

.pricing-note {
  text-align: center;
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 2rem;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

#hero .badge       { animation: fadeUp .45s ease both .05s; }
#hero h1           { animation: fadeUp .45s ease both .12s; }
#hero .subtitle    { animation: fadeUp .45s ease both .18s; }
#hero .format-pills{ animation: fadeUp .45s ease both .23s; }
#hero .btn         { animation: fadeUp .45s ease both .28s; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .hero-layout {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-demo { flex: none; width: 100%; max-width: 520px; }
  .subtitle { margin: 0 auto 1.6rem; }
  .format-pills { justify-content: center; }
  .hero-ctas { justify-content: center; }
  #hero { padding: 5rem 1.5rem 3rem; }
}

@media (max-width: 700px) {
  nav { padding: .85rem 1rem; }

  h1 { font-size: 2rem; }

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

  .plan-cards { grid-template-columns: 1fr; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .compare-table { font-size: .8rem; }
  .compare-table th, .compare-table td { padding: .65rem .75rem; }

  /* How it works: vertical on mobile */
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding: 0; }
  .step { padding: 0; width: 100%; max-width: 380px; }

  .output-header { flex-direction: column; align-items: flex-start; }

  .tool-card { padding: 1.35rem; }

  .drop-zone { padding: 2.5rem 1rem; }

  #hero { padding: 4.5rem 1rem 2.5rem; }

  section { padding: 3.5rem 1rem; }
}

@media (max-width: 480px) {
  #hero { padding: 3.5rem 1rem 2rem; }

  .output-actions { flex-wrap: wrap; }

  /* Full-width CTAs on small screens */
  #hero .btn { width: 100%; justify-content: center; }
}
