/* Konkurrenz-Scanner — Design-System. Schrift: Inter (selbst gehostet, DSGVO-sauber). */
@font-face {
  font-family: 'Inter';
  src: url('/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f7fb;
  --bg-raise: #ffffff;
  --card: #ffffff;
  --line: #e5e8f0;
  --line-strong: #d5d9e4;
  --fg: #14161f;
  --fg-soft: #3d4354;
  --muted: #697086;
  --accent: #3b5bdb;
  --accent-hover: #3150c4;
  --accent-soft: #edf1fe;
  --accent-fg: #ffffff;
  --ok-bg: #e5f5ea; --ok-fg: #17693a;
  --err-bg: #fdecec; --err-fg: #a02a2a;
  --warn-bg: #fdf3e2; --warn-fg: #8a5a12;
  --add: #17693a; --del: #a02a2a; --add-bg: #e5f5ea; --del-bg: #fdecec;
  --shadow-sm: 0 1px 2px rgba(20, 22, 31, .05), 0 1px 6px rgba(20, 22, 31, .04);
  --shadow-md: 0 2px 4px rgba(20, 22, 31, .05), 0 10px 32px rgba(20, 22, 31, .08);
  --hero-glow: radial-gradient(50% 60% at 50% 0%, rgba(59, 91, 219, .10), transparent 70%);
  --r: 12px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d0f16;
    --bg-raise: #131624;
    --card: #161a28;
    --line: #242a3d;
    --line-strong: #33395024;
    --line-strong: #333b52;
    --fg: #e9ebf2;
    --fg-soft: #c2c7d6;
    --muted: #8b92a8;
    --accent: #7e97ff;
    --accent-hover: #94a9ff;
    --accent-soft: #1d2440;
    --accent-fg: #0a0d1c;
    --ok-bg: #12301d; --ok-fg: #7fd39a;
    --err-bg: #391818; --err-fg: #ef9f9f;
    --warn-bg: #38290f; --warn-fg: #e5b567;
    --add: #7fd39a; --del: #ef9f9f; --add-bg: #12301d; --del-bg: #391818;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, .4), 0 12px 40px rgba(0, 0, 0, .5);
    --hero-glow: radial-gradient(50% 60% at 50% 0%, rgba(126, 151, 255, .13), transparent 70%);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;   /* die Orbit-Ebene ist 100vw breit — kein Seitenscroll dadurch */
  background: var(--bg);
  color: var(--fg);
  font: 400 15.5px/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  letter-spacing: -0.006em;
}

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem clamp(1rem, 4vw, 2.2rem);
  background: color-mix(in srgb, var(--bg-raise) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.logo {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em;
  text-decoration: none; color: var(--fg);
}
.logo svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
nav { display: flex; gap: .2rem; align-items: center; flex-wrap: wrap; }
nav a {
  color: var(--fg-soft); text-decoration: none; font-weight: 500; font-size: .92rem;
  padding: .42rem .75rem; border-radius: 8px;
}
nav a:hover { color: var(--fg); background: var(--accent-soft); }
nav a.btn { color: var(--accent-fg); }
nav a.btn:hover { background: var(--accent-hover); }

/* ---------- Layout ---------- */
main { max-width: 1000px; margin: 0 auto; padding: 1.6rem clamp(1rem, 4vw, 2rem) 4rem; }
footer {
  text-align: center; color: var(--muted); font-size: .88rem;
  padding: 2rem 1rem; border-top: 1px solid var(--line); margin-top: 2rem;
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--fg); }

h1 { font-size: 1.55rem; font-weight: 700; letter-spacing: -.025em; margin: 1.1rem 0 .8rem; }
h2 { font-size: 1.05rem; font-weight: 650; letter-spacing: -.015em; margin: 2rem 0 .7rem; }
p { margin: .5rem 0; }
a { color: var(--accent); }
code {
  font: .84em ui-monospace, 'Cascadia Code', monospace;
  background: var(--accent-soft); border-radius: 6px; padding: .1em .4em;
  word-break: break-all;
}

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.15rem 1.3rem;
  margin: .9rem 0;
  box-shadow: var(--shadow-sm);
}
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .9rem; }
.grid .card { margin: 0; }
.stat { text-align: left; padding: 1rem 1.2rem; }
.stat b { display: block; font-size: 1.85rem; font-weight: 700; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: .84rem; font-weight: 500; }

/* ---------- Formulare ---------- */
label { display: block; margin: .9rem 0 .3rem; font-weight: 600; font-size: .86rem; color: var(--fg-soft); }
input, select, textarea {
  width: 100%; padding: .58rem .75rem;
  border: 1px solid var(--line-strong); border-radius: 9px;
  background: var(--bg-raise); color: var(--fg); font: inherit;
  transition: border-color .12s, box-shadow .12s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
label.check { display: flex; gap: .55rem; align-items: center; font-weight: 500; color: var(--fg); }
label.check input { width: auto; accent-color: var(--accent); }

button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  background: var(--accent); color: var(--accent-fg);
  border: 0; border-radius: 9px; padding: .55rem 1.15rem;
  font: inherit; font-weight: 600; font-size: .92rem;
  cursor: pointer; text-decoration: none;
  transition: background .12s, transform .06s, box-shadow .12s;
  box-shadow: var(--shadow-sm);
}
button:hover, .btn:hover { background: var(--accent-hover); }
button:active, .btn:active { transform: translateY(1px); }
button:disabled { opacity: .5; cursor: not-allowed; }
button.secondary {
  background: var(--bg-raise); color: var(--fg); border: 1px solid var(--line-strong);
}
button.secondary:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
button.danger { background: transparent; color: var(--err-fg); border: 1px solid var(--line-strong); box-shadow: none; }
button.danger:hover { background: var(--err-bg); border-color: var(--err-fg); }
button.linklike { background: none; color: var(--fg-soft); padding: .42rem .75rem; font-weight: 500; box-shadow: none; border-radius: 8px; }
button.linklike:hover { color: var(--fg); background: var(--accent-soft); }
form.inline { display: inline; }

/* ---------- Meldungen ---------- */
.flash { padding: .75rem 1.05rem; border-radius: 10px; margin: 0 0 1.1rem; font-weight: 500; font-size: .93rem; border: 1px solid transparent; }
.flash.ok { background: var(--ok-bg); color: var(--ok-fg); border-color: color-mix(in srgb, var(--ok-fg) 25%, transparent); }
.flash.err { background: var(--err-bg); color: var(--err-fg); border-color: color-mix(in srgb, var(--err-fg) 25%, transparent); }

/* ---------- Tabellen ---------- */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .6rem .65rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: .74rem; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
tbody tr:hover, table tr:hover td { background: color-mix(in srgb, var(--accent-soft) 45%, transparent); }
td a { text-decoration: none; font-weight: 550; color: var(--fg); }
td a:hover { color: var(--accent); }

.muted { color: var(--muted); }
.small { font-size: .84rem; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .16rem .6rem; border-radius: 99px;
  font-size: .76rem; font-weight: 600; letter-spacing: .01em;
  border: 1px solid var(--line); background: var(--bg-raise); color: var(--fg-soft);
  white-space: nowrap;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: none; }
.badge-price .dot   { background: #e8590c; }
.badge-product .dot { background: var(--accent); }
.badge-job .dot     { background: #0ca678; }
.badge-page .dot    { background: #ae3ec9; }
.badge-keyword .dot { background: #f08c00; }
.badge-text .dot    { background: var(--muted); }
.badge-uptime .dot  { background: #e03131; }
.badge-ssl .dot     { background: #f59f00; }
.badge-seo .dot     { background: #7048e8; }
.badge-post .dot    { background: #1c7ed6; }

.status-active { color: var(--ok-fg); font-weight: 550; }
.status-paused { color: var(--muted); font-weight: 550; }
.status-nocredits, .status-error { color: var(--err-fg); font-weight: 550; }

/* ---------- Diff ---------- */
.diff {
  background: var(--bg-raise); border: 1px solid var(--line); border-radius: var(--r);
  padding: .9rem 1rem; overflow-x: auto;
  font: .84rem/1.65 ui-monospace, 'Cascadia Code', monospace;
  white-space: pre-wrap; word-break: break-word;
}
.diff .add { color: var(--add); background: var(--add-bg); display: block; border-radius: 4px; padding: 0 .35rem; }
.diff .del { color: var(--del); background: var(--del-bg); display: block; border-radius: 4px; padding: 0 .35rem; }
.summary-pre { white-space: pre-wrap; word-break: break-word; }
.pricechart { width: 100%; height: auto; color: var(--accent); }

/* ---------- Landing ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(3rem, 8vw, 5.5rem) 1rem 2.5rem;
}
.hero::before {
  content: ''; position: absolute; inset: -120px 0 0 0;
  background: var(--hero-glow); pointer-events: none;
}
.hero > :not(.orbits) { position: relative; z-index: 1; }

/* ============ Orbit-Himmel: drei Systeme, ovale Bahnen, rein CSS (CSP: kein Inline-JS) ============
   Sys A: dominantes System oben rechts mit Planetenkern + Radar-Pings.
   Sys B: schraeges Oval-System links. Sys C: riesige flache Bahn unten quer.
   Satelliten laufen per offset-path: border-box wirklich auf den Ellipsen entlang. */
.orbits {
  /* bricht aus der 1000px-Main aus und deckt die volle Viewportbreite ab */
  position: absolute; top: -140px; bottom: 0; left: 50%;
  width: 100vw; translate: -50% 0;
  overflow: hidden; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 58%, transparent 97%);
}
.sys { position: absolute; width: 0; height: 0; }
.sys-a { top: -6%;  right: -5%; }
.sys-b { top: 68%; left: 3%; }
.sys-c { top: 102%; left: 58%; }

.ob {
  position: absolute; left: 0; top: 0; translate: -50% -50%;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 50%;
}
.ob.dashed { border-style: dashed; }

/* Sys A — Mix aus Kreisen und gekippten Ellipsen */
.a1 { width: 440px; height: 440px; }
.a2 { width: 760px; height: 320px; rotate: -26deg;
      border-color: color-mix(in srgb, var(--accent) 38%, transparent); }
.a3 { width: 900px; height: 900px;
      border-color: color-mix(in srgb, var(--accent) 26%, transparent); }
.a4 { width: 1200px; height: 480px; rotate: 16deg;
      border-color: color-mix(in srgb, var(--accent) 22%, transparent); }
.a5 { width: 1400px; height: 1400px;
      border-color: color-mix(in srgb, var(--accent) 15%, transparent); }

/* Sys B — drei parallele Ovale, wie ein gekipptes Mini-Sonnensystem */
.b1 { width: 340px; height: 140px; rotate: -32deg;
      border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.b2 { width: 510px; height: 210px; rotate: -32deg;
      border-color: color-mix(in srgb, var(--accent) 22%, transparent); }
.b3 { width: 680px; height: 280px; rotate: -32deg;
      border-color: color-mix(in srgb, var(--accent) 14%, transparent); }

/* Sys C — eine einzige riesige, fast liegende Bahn */
.c1 { width: 1500px; height: 560px; rotate: -10deg;
      border-color: color-mix(in srgb, var(--accent) 10%, transparent); }

/* Sys D — sehr langgezogenes Oval von oben links, die Spitze liegt sichtbar
   im Screen (etwa bei der "no subscription"-Zeile) */
/* an der Seitenmitte verankert (Spitze = Mitte + 693px Halbachse), nicht an der
   Viewportbreite — sonst verrutscht die Spitze auf breiten Screens */
.sys-d { top: 175px; left: calc(50% - 690px); }
.d1 { width: 1600px; height: 420px; rotate: 30deg;
      border-color: color-mix(in srgb, var(--accent) 22%, transparent); }
/* Kepler-Feeling: an der sichtbaren Spitze (~25 % der Bahn ab Start oben mittig)
   am langsamsten, am fernen Ende am schnellsten */
.d1 .sat { animation: sat-kepler 44s infinite; }
@keyframes sat-kepler {
  0%   { offset-distance: 0%;   animation-timing-function: ease-out; }
  30%  { offset-distance: 25%;  animation-timing-function: ease-in;  }
  60%  { offset-distance: 50%;  animation-timing-function: ease-in;  }
  80%  { offset-distance: 75%;  animation-timing-function: ease-out; }
  100% { offset-distance: 100%; }
}

/* Satelliten: laufen auf der Bahnkante entlang */
.sat {
  position: absolute;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
  color: var(--accent);   /* Schweif-Farbe (currentColor im ::before) */
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent),
              0 0 18px 2px color-mix(in srgb, var(--accent) 55%, transparent);
  offset-path: border-box;
  offset-rotate: auto;    /* Element zeigt in Flugrichtung -> Schweif haengt hinten dran */
  animation: sat-travel 30s linear infinite;
}
/* Leuchtspur: die BAHN selbst ist hinter dem Kometen gefaerbt. Umsetzung als
   SVG-Strichsegment auf einer deckungsgleichen Ellipse: stroke-dashoffset ist
   wie offset-distance WEGLAENGEN-basiert — dadurch bleibt die Spur auch auf
   gestreckten Ellipsen exakt am Satelliten (der alte Conic-Bogen rotierte mit
   konstantem WINKEL und lief deshalb weg). pathLength=100 normiert alles auf
   Prozent. Gleiche Dauer + gleicher Delay wie der jeweilige Satellit. */
.ob svg.tp { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
/* Canvas-Schweife (orbit-trail.js): jeder Spurpunkt verblasst altersbasiert bis
   auf null statt hinten hart abzureissen. Laeuft das Script (.trailfx-on),
   uebernimmt das Canvas und die Dash-Segmente gehen aus — ohne JS bleiben sie
   als Fallback sichtbar. */
.orbits canvas.trailfx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.orbits.trailfx-on .tp { display: none; }
.tp ellipse {
  fill: none;
  stroke: color-mix(in srgb, var(--accent) 85%, transparent);
  stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 18 82;              /* 18 % der Bahn leuchten */
  filter: drop-shadow(0 0 3px color-mix(in srgb, var(--accent) 60%, transparent));
}
/* Phasen: Satellit startet oben Mitte (= 75 % ab SVG-Pfadstart bei 3 Uhr).
   Vorwaerts: Segment-VORDERkante klebt am Satelliten -> offset = 18 - (75 + Weg).
   Rueckwaerts laeuft der Satellit die Bahn andersrum -> offset = -(75 - Weg). */
@keyframes trail-fwd { from { stroke-dashoffset: -57; } to { stroke-dashoffset: -157; } }
@keyframes trail-rev { from { stroke-dashoffset: -75; } to { stroke-dashoffset: 25; } }
.a2 .tp ellipse { animation: trail-rev 24s linear infinite; animation-delay: -17s; stroke: color-mix(in srgb, #f08c00 80%, transparent); filter: drop-shadow(0 0 3px rgba(240,140,0,.5)); }
.a3 .tp ellipse { animation: trail-fwd 38s linear infinite; animation-delay: -20s; }
.b2 .tp ellipse { animation: trail-rev 32s linear infinite; animation-delay: -24s; }
/* d1: dieselben Kepler-Zeitpunkte + Easings wie sat-kepler, nur auf dashoffset
   uebersetzt (Weg 0/25/50/75/100 % -> offset 16-75-Weg) — Spur bremst und
   beschleunigt exakt mit dem Kometen. */
.d1 .tp ellipse {
  stroke-dasharray: 16 84;
  stroke: color-mix(in srgb, #0ca678 80%, transparent);
  filter: drop-shadow(0 0 3px rgba(12,166,120,.5));
  animation: trail-kepler 44s infinite; animation-delay: -6s;
}
@keyframes trail-kepler {
  0%   { stroke-dashoffset: -59;  animation-timing-function: ease-out; }
  30%  { stroke-dashoffset: -84;  animation-timing-function: ease-in;  }
  60%  { stroke-dashoffset: -109; animation-timing-function: ease-in;  }
  80%  { stroke-dashoffset: -134; animation-timing-function: ease-out; }
  100% { stroke-dashoffset: -159; }
}
/* Bei rueckwaerts laufenden Bahnen die Blickrichtung mitdrehen */
.a2 .sat, .a4 .sat, .b2 .sat { offset-rotate: reverse; }
@keyframes sat-travel { to { offset-distance: 100%; } }
@supports not (offset-path: border-box) { .sat { display: none; } }
.sat-lg  { width: 11px; height: 11px; }
.sat-sm  { width: 7px;  height: 7px; }
.sat-dim { opacity: .6; }
.sat-half { animation-delay: -15s; }
.sat-o { background: #f08c00; color: #f08c00;
  box-shadow: 0 0 0 4px rgba(240,140,0,.16), 0 0 16px 2px rgba(240,140,0,.5); }
.sat-g { background: #0ca678; color: #0ca678;
  box-shadow: 0 0 0 4px rgba(12,166,120,.16), 0 0 16px 2px rgba(12,166,120,.5); }
.sat-p { background: #ae3ec9; color: #ae3ec9;
  box-shadow: 0 0 0 4px rgba(174,62,201,.16), 0 0 16px 2px rgba(174,62,201,.5); }
/* Tempi je Bahn (aussen langsamer, teils gegenlaeufig).
   Negative Delays sind so gewaehlt, dass jeder Satellit BEIM LADEN bereits im
   sichtbaren Bogenabschnitt steht (Zentren liegen ausserhalb des Screens —
   ohne Delay laufen alle erst nach Sekunden ins Bild). */
.a1 .sat { animation-duration: 14s; animation-delay: -6s; }
.a2 .sat { animation-duration: 24s; animation-direction: reverse; animation-delay: -17s; }
.a3 .sat { animation-duration: 38s; animation-delay: -20s; }
.a3 .sat-half { animation-delay: -26s; }
.a4 .sat { animation-duration: 55s; animation-direction: reverse; animation-delay: -30s; }
.a5 .sat { animation-duration: 80s; animation-delay: -35s; }
.b1 .sat { animation-duration: 20s; animation-delay: -5s; }
.b2 .sat { animation-duration: 32s; animation-direction: reverse; animation-delay: -24s; }
.b3 .sat { animation-duration: 46s; animation-delay: -12s; }
.c1 .sat { animation-duration: 110s; animation-delay: -8s; }
.d1 .sat { animation-delay: -6s; }

/* Sterne: leises Funkeln */
.star {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 70%, var(--fg));
  opacity: .25;
  animation: star-twinkle 4.5s ease-in-out infinite;
}
.st1 { top: 18%; left: 12%; }
.st2 { top: 34%; left: 86%; animation-delay: -1.2s; }
.st3 { top: 62%; left: 7%;  animation-delay: -2.1s; width: 2px; height: 2px; }
.st4 { top: 10%; left: 56%; animation-delay: -3s;   width: 2px; height: 2px; }
.st5 { top: 50%; left: 94%; animation-delay: -1.8s; }
.st6 { top: 76%; left: 24%; animation-delay: -3.8s; width: 2px; height: 2px; }
.st7 { top: 6%;  left: 80%; animation-delay: -2.7s; width: 2px; height: 2px; }
.st8 { top: 42%; left: 45%; animation-delay: -.7s;  width: 2px; height: 2px; }
.st9 { top: 68%; left: 66%; animation-delay: -4.2s; }
@keyframes star-twinkle {
  0%, 100% { opacity: .15; transform: scale(1); }
  50%      { opacity: .55; transform: scale(1.35); }
}

@media (prefers-reduced-motion: reduce) {
  .sat, .tp ellipse, .star { animation: none; }
}
@media (max-width: 640px) {
  .a4, .a5, .b3, .sys-c { display: none; }
  .sys-a { right: -18%; top: -4%; }
  .sys-b { left: -10%; }
}
.eyebrow {
  display: inline-block; margin-bottom: 1.1rem;
  padding: .28rem .85rem; border-radius: 99px;
  background: var(--accent-soft); color: var(--accent);
  font-size: .8rem; font-weight: 650; letter-spacing: .02em;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  line-height: 1.14; letter-spacing: -.035em; font-weight: 750;
  max-width: 720px; margin: 0 auto .9rem;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .sub {
  font-size: 1.08rem; color: var(--muted);
  max-width: 590px; margin: 0 auto 1.8rem; line-height: 1.65;
}
.hero .cta-row { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.btn-lg { padding: .75rem 1.6rem; font-size: 1rem; border-radius: 11px; }
.hero .note { margin-top: .9rem; font-size: .84rem; color: var(--muted); }

/* Vorschau-Panel: nachgestellter Meldungs-Feed */
.preview {
  max-width: 620px; margin: 3rem auto 0;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-md);
  text-align: left; overflow: hidden;
}
.preview .bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .65rem 1rem; border-bottom: 1px solid var(--line);
  background: var(--bg-raise);
}
.preview .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); display: inline-block; }
.preview .bar span { margin-left: .4rem; font-size: .8rem; color: var(--muted); font-weight: 550; }
.preview ul { list-style: none; margin: 0; padding: .4rem 0; }
.preview li { display: flex; gap: .9rem; align-items: flex-start; padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); }
.preview li:last-child { border-bottom: 0; }
.preview b { display: block; font-size: .92rem; font-weight: 620; letter-spacing: -.01em; }
.preview .meta { font-size: .8rem; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1rem; margin: 3.2rem 0 1rem; }
.features .card { margin: 0; padding: 1.35rem 1.4rem; transition: transform .15s, box-shadow .15s, border-color .15s; }
.features .card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.features h2 { margin: .9rem 0 .35rem; font-size: 1rem; }
.features p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.ficon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
}
.ficon svg { width: 21px; height: 21px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.4rem 0 2.5rem; counter-reset: step; }
.steps .card { margin: 0; }
.steps .card::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: var(--accent-fg);
  font-weight: 700; font-size: .9rem; margin-bottom: .7rem;
}
.steps b { display: block; margin-bottom: .25rem; letter-spacing: -.01em; }
.steps p { margin: 0; color: var(--muted); font-size: .92rem; }

.section-title { text-align: center; font-size: 1.5rem; letter-spacing: -.025em; margin: 3.2rem 0 .4rem; }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 1.6rem; max-width: 520px; }

.price-tags { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 1.6rem 0; max-width: 760px; margin-inline: auto; }
.price-tags .card { margin: 0; text-align: center; padding: 1.6rem 1.2rem 1.4rem; }
.price-tags .card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); position: relative; }
.price-tags .tag-label { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-fg); font-size: .72rem; font-weight: 650; padding: .12rem .7rem; border-radius: 99px; letter-spacing: .03em; }
.price-tags .amount { font-size: 2rem; font-weight: 750; letter-spacing: -.03em; display: block; margin: .3rem 0 .1rem; }
.price-tags .cr { font-weight: 650; color: var(--fg-soft); }
.price-tags .per { color: var(--muted); font-size: .84rem; display: block; margin-bottom: 1rem; }

.rowactions { display: flex; gap: .55rem; flex-wrap: wrap; align-items: center; }

@media (max-width: 640px) {
  th.hide-m, td.hide-m { display: none; }
  .stat b { font-size: 1.5rem; }
}
.btn-ghost { background: var(--bg-raise); color: var(--fg); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }



