/* Marketing site styles */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #f1f5f9;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --accent: #4f46e5;
  --accent-2: #7c3aed;
  --accent-soft: #eef2ff;
  --accent-text: #ffffff;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 30px 60px -20px rgba(30, 27, 75, .35);
  --radius: 14px;
  --font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d12;
    --surface: #12151c;
    --surface-2: #161a22;
    --surface-3: #1d222c;
    --border: #252b36;
    --border-strong: #343b48;
    --text: #e8eaf0;
    --text-2: #c2c8d4;
    --muted: #8a93a3;
    --accent: #818cf8;
    --accent-2: #a78bfa;
    --accent-soft: rgba(129, 140, 248, .14);
    --accent-text: #0b0d12;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .3);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; color: var(--text-2); }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(780px, 100% - 40px); margin: 0 auto; }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; white-space: nowrap; }
.btn:hover { background: var(--surface-3); }
.btn.primary { border: 0; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .7); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(79, 70, 229, .8); }
.btn.lg { height: 54px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn.sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 28px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; color: var(--text); text-decoration: none; letter-spacing: -.02em; }
.logo svg { width: 30px; height: 30px; color: var(--accent); }
.nav-links { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.pro-pill { display: none; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
html.is-pro .pro-pill { display: inline-block; }
html.is-pro .hide-pro { display: none !important; }
html:not(.is-pro) .show-pro { display: none !important; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -40% -10% auto; height: 760px; background: radial-gradient(closest-side, rgba(99, 102, 241, .20), transparent 70%), radial-gradient(closest-side at 70% 40%, rgba(167, 139, 250, .18), transparent 70%); pointer-events: none; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 13.5px; margin-bottom: 18px; }
.eyebrow svg { width: 16px; height: 16px; flex: none; }
.hero .lead { font-size: 1.2rem; color: var(--text-2); max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: 14px; }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; color: #16a34a; }

/* Drop zone */
.dropzone { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 340px; padding: 36px 28px; border-radius: 22px; background: var(--surface); border: 2px dashed var(--border-strong); box-shadow: var(--shadow-lg); text-align: center; transition: border-color .15s, background .15s; }
.dropzone.over { border-color: var(--accent); background: var(--accent-soft); }
.dropzone .dz-icon { width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.dropzone .dz-icon svg { width: 32px; height: 32px; }
.dropzone h2, .dropzone .dz-title { font-size: 1.35rem; margin: 0; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
.dropzone p { margin: 0; font-size: 14px; color: var(--muted); }

/* Sections */
section { padding: 84px 0; }
section.alt { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { font-size: 1.1rem; }

.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tool-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.tool-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.tool-card .ic { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.tool-card .ic svg { width: 21px; height: 21px; }
.tool-card b { display: block; color: var(--text); font-size: 15.5px; margin-bottom: 2px; }
.tool-card span { color: var(--muted); font-size: 14px; line-height: 1.45; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
.steps li { position: relative; padding: 26px 22px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; margin-bottom: 14px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 700; }
.steps h3 { margin-bottom: 6px; }
.steps p { margin: 0; font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.feature .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 12px; }
.feature .ic svg { width: 20px; height: 20px; }
.feature p { font-size: 15px; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; color: var(--text-2); }
.check-list svg { flex: none; width: 20px; height: 20px; color: #16a34a; margin-top: 3px; }
.panel { padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 22px; justify-content: center; }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.plan .tag { position: absolute; top: -13px; left: 30px; padding: 3px 12px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: 12.5px; font-weight: 700; }
.plan h3 { margin: 0; font-size: 1.25rem; }
.plan .price { display: flex; align-items: baseline; gap: 8px; }
.plan .price b { font-size: 3rem; letter-spacing: -.04em; line-height: 1; }
.plan .check-list { flex: 1; }
.plan .btn { width: 100%; }
.coins-note { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.coin-chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 13.5px; font-weight: 600; color: var(--text-2); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; }
.faq details p:last-child { margin: 0; }

/* CTA band */
.cta-band { padding: 64px 0; }
.cta-box { padding: 56px 32px; border-radius: 26px; text-align: center; color: #fff; background: radial-gradient(circle at 20% 0%, rgba(255,255,255,.18), transparent 50%), linear-gradient(135deg, #4338ca, #6d28d9); box-shadow: var(--shadow-lg); }
.cta-box h2 { color: #fff; }
.cta-box p { color: rgba(255,255,255,.85); font-size: 1.1rem; }
.cta-box .btn { background: #fff; color: #3730a3; border: 0; }
.cta-box .btn:hover { background: #eef2ff; }

/* Breadcrumbs & article */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { color: var(--text-2); padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.legal { padding: 56px 0 80px; }
.legal .updated, .guide .updated { color: var(--muted); font-size: 14px; }
.guide { padding: 56px 0 72px; }
.guide code { font: .92em ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--surface-3, rgba(127,127,127,.12)); padding: 1px 5px; border-radius: 4px; }
.guide-cta { margin-top: 36px; }

/* Grouped tools & guide cards */
.group-title { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 34px 0 14px; }
.group-title:first-of-type { margin-top: 0; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: inherit; transition: border-color .15s, transform .15s, box-shadow .15s; }
.guide-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.guide-card .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.guide-card .ic svg { width: 19px; height: 19px; }
.guide-card b { color: var(--text); font-size: 16px; line-height: 1.35; }
.guide-card span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.guide-card .meta { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface-2); padding: 56px 0 30px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.footer-grid h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--text-2); text-decoration: none; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13.5px; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 680px) {
  section { padding: 60px 0; }
  .hero { padding-top: 44px; }
  .steps, .features, .plans { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav { gap: 12px; }
  .nav-cta .btn.secondary { display: none; }
  .dropzone { min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
