/* ============================================================
   AITRH — design system
   Dark hi-tech: electric violet + cyan, glass, glow
   ============================================================ */

:root {
  --bg: #05060f;
  --bg-2: #0a0c1c;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eceef8;
  --muted: #9aa1bc;
  --faint: #6b7190;
  --violet: #7c5cff;
  --violet-2: #a78bfa;
  --cyan: #22e6c8;
  --cyan-2: #67f0da;
  --pink: #f472b6;
  --amber: #fbbf24;
  --gradient: linear-gradient(100deg, #7c5cff 0%, #22e6c8 100%);
  --gradient-soft: linear-gradient(100deg, rgba(124, 92, 255, .18), rgba(34, 230, 200, .14));
  --glow-violet: 0 0 40px rgba(124, 92, 255, 0.35);
  --glow-cyan: 0 0 40px rgba(34, 230, 200, 0.25);
  --radius: 18px;
  --radius-sm: 12px;
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

::selection { background: rgba(124, 92, 255, .45); }

/* ---------- background fx ---------- */
.bg-fx {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 18% -5%, rgba(124, 92, 255, 0.16), transparent 60%),
    radial-gradient(ellipse 55% 40% at 85% 8%, rgba(34, 230, 200, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 55% at 50% 115%, rgba(124, 92, 255, 0.08), transparent 65%),
    var(--bg);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 30%, transparent 75%);
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- pruh „vše zdarma" ---------- */
.free-strip {
  position: relative; z-index: 101;
  background: var(--gradient); color: #06060f;
  font-size: 13.5px; font-weight: 600; text-align: center;
  padding: 8px 20px; letter-spacing: .01em;
}
.free-strip b { font-weight: 800; }

/* odznak zdarma */
.free-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 15px; border-radius: 999px;
  border: 1px solid rgba(34, 230, 200, .5); background: rgba(34, 230, 200, .1);
  color: var(--cyan-2); font-size: 13px; font-weight: 700;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 6, 15, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--gradient); box-shadow: var(--glow-violet); color: #fff; flex: none;
}
.logo-mark svg { width: 20px; height: 20px; }
.logo b { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

.main-nav { display: flex; gap: 4px; flex: 1; }
.main-nav a {
  padding: 8px 14px; border-radius: 10px; font-size: 14.5px; color: var(--muted);
  transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); background: var(--surface-2); }

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

.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; color: var(--text); font-size: 18px; line-height: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 12px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; transition: transform .18s, box-shadow .18s, background .18s, border-color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--gradient); color: #06060f; box-shadow: 0 4px 24px rgba(124, 92, 255, 0.4); }
.btn-primary:hover { box-shadow: 0 6px 32px rgba(124, 92, 255, 0.55); }

.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,0.28); }

.btn-outline-accent { background: transparent; border-color: rgba(34, 230, 200, 0.5); color: var(--cyan-2); }
.btn-outline-accent:hover { background: rgba(34, 230, 200, 0.08); box-shadow: var(--glow-cyan); }

.btn-sm { padding: 8px 16px; font-size: 13.5px; border-radius: 10px; }
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 72px; text-align: center; position: relative; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 18px; border-radius: 999px;
  border: 1px solid rgba(124, 92, 255, 0.4); background: rgba(124, 92, 255, 0.1);
  font-size: 13.5px; color: var(--violet-2); margin-bottom: 28px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.hero h1 { font-size: clamp(38px, 5.4vw, 64px); max-width: 950px; margin: 0 auto 22px; }
.grad-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-sub { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 720px; margin: 0 auto 40px; }

/* search */
.search-bar {
  display: flex; align-items: center; gap: 8px; max-width: 720px; margin: 0 auto 28px;
  padding: 8px 8px 8px 22px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: border-color .2s, box-shadow .2s;
}
.search-bar:focus-within { border-color: rgba(124, 92, 255, 0.65); box-shadow: 0 10px 50px rgba(0,0,0,.5), var(--glow-violet); }
.search-bar svg { flex: none; color: var(--faint); }
.search-bar input {
  flex: 1; background: none; border: none; outline: none; color: var(--text);
  font-size: 15.5px; font-family: inherit; min-width: 0;
}
.search-bar input::placeholder { color: var(--faint); }

.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats { display: flex; gap: clamp(32px, 6vw, 90px); justify-content: center; flex-wrap: wrap; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(28px, 3vw, 40px); background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 14px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 72px 0; }

/* band = plnobarevný pás, který sekci zřetelně oddělí od pozadí stránky */
.band {
  background: linear-gradient(180deg, #0d102290 0%, #0a0c1ae6 100%), #0a0c1a;
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 -24px 60px -30px rgba(0,0,0,.7), 0 24px 60px -30px rgba(0,0,0,.7);
}
.band + .band { border-top: none; }

/* vstupní rozcestník nad hero sekcí */
.entry-section { padding: 56px 0 64px; }
.entry-section .section-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.entry-section .path-card { padding: 36px 32px; }
.entry-section .path-card h3 { font-size: 22px; }

/* hero, když je pod rozcestníkem */
.hero-after-entry {
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
.hero-after-entry h1 { font-size: clamp(32px, 4.4vw, 54px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan-2); margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gradient); border-radius: 2px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); }
.section-head p { color: var(--muted); margin-top: 8px; max-width: 640px; }
.section-link { color: var(--cyan-2); font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.section-link:hover { gap: 10px; }

.section-center { text-align: center; }
.section-center .section-head { justify-content: center; }
.section-center .section-head > div { text-align: center; }
.section-center .section-head p { margin-left: auto; margin-right: auto; }

/* ---------- cards: categories ---------- */
.grid { display: grid; gap: 16px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.cat-card {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.cat-card:hover { border-color: rgba(124, 92, 255, 0.55); background: var(--surface-2); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(124, 92, 255, 0.15); }
.cat-icon {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex: none;
  background: var(--gradient-soft); border: 1px solid rgba(124, 92, 255, 0.25); font-size: 19px;
}
.cat-card span { font-size: 14.5px; font-weight: 600; }
.cat-card small { display: block; font-weight: 400; color: var(--faint); font-size: 12.5px; }

/* ---------- cards: listings ---------- */
.listing-card {
  display: flex; flex-direction: column; position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  overflow: hidden;
}
.listing-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--gradient); opacity: 0; transition: opacity .25s;
}
.listing-card:hover { border-color: rgba(124, 92, 255, 0.5); transform: translateY(-4px); box-shadow: 0 16px 44px rgba(0,0,0,.45), 0 0 0 1px rgba(124,92,255,.15); }
.listing-card:hover::before { opacity: 1; }

.listing-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.listing-logo {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 22px;
  background: var(--gradient-soft); border: 1px solid rgba(124, 92, 255, 0.3);
}
.badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

.badge { padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; border: 1px solid; }
.badge-featured { color: var(--cyan-2); border-color: rgba(34, 230, 200, .45); background: rgba(34, 230, 200, .08); }
.badge-employee { color: var(--violet-2); border-color: rgba(167, 139, 250, .45); background: rgba(124, 92, 255, .12); }
.badge-product  { color: #7dd3fc; border-color: rgba(125, 211, 252, .4); background: rgba(125, 211, 252, .08); }
.badge-service  { color: #6ee7b7; border-color: rgba(110, 231, 183, .4); background: rgba(110, 231, 183, .08); }
.badge-automation { color: var(--amber); border-color: rgba(251, 191, 36, .4); background: rgba(251, 191, 36, .08); }
.badge-agent    { color: var(--pink); border-color: rgba(244, 114, 182, .4); background: rgba(244, 114, 182, .08); }
.badge-custom   { color: var(--muted); border-color: var(--border-strong); background: var(--surface); }

.listing-card h3 { font-size: 18px; margin-bottom: 3px; }
.listing-provider { font-size: 13px; color: var(--faint); margin-bottom: 12px; }
.listing-desc { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.listing-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); }
.listing-price b { font-family: var(--font-head); font-size: 17px; }
.listing-price span { font-size: 12.5px; color: var(--faint); }
.listing-cat { font-size: 12px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); padding: 4px 10px; border-radius: 8px; }

/* ---------- problem cards ---------- */
.problem-card {
  padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .2s, transform .2s, box-shadow .2s; position: relative; overflow: hidden;
}
.problem-card:hover { border-color: rgba(34, 230, 200, 0.5); transform: translateY(-3px); box-shadow: 0 12px 36px rgba(34, 230, 200, 0.1); }
.problem-card .p-icon { font-size: 24px; margin-bottom: 14px; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(34, 230, 200, 0.08); border: 1px solid rgba(34, 230, 200, 0.25); }
.problem-card h3 { font-size: 17px; margin-bottom: 8px; }
.problem-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- dual path ---------- */
.path-card {
  padding: 40px 36px; border-radius: 24px; position: relative; overflow: hidden;
  background: linear-gradient(165deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015));
  border: 1px solid var(--border-strong);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.path-card:hover { transform: translateY(-4px); }
.path-card.buyer:hover { border-color: rgba(124, 92, 255, .6); box-shadow: 0 20px 60px rgba(124, 92, 255, .18); }
.path-card.seller:hover { border-color: rgba(34, 230, 200, .55); box-shadow: 0 20px 60px rgba(34, 230, 200, .14); }
.path-card .glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; filter: blur(90px); opacity: .35; top: -140px; right: -100px; pointer-events: none; }
.path-card.buyer .glow { background: var(--violet); }
.path-card.seller .glow { background: var(--cyan); }

.path-icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; margin-bottom: 22px; }
.path-card.buyer .path-icon { background: rgba(124, 92, 255, .15); border: 1px solid rgba(124, 92, 255, .4); }
.path-card.seller .path-icon { background: rgba(34, 230, 200, .1); border: 1px solid rgba(34, 230, 200, .35); }

.path-card h3 { font-size: 24px; margin-bottom: 12px; }
.path-card > p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }

.check-list { list-style: none; margin-bottom: 30px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; padding: 6px 0; font-size: 14.5px; color: var(--text); }
.check-list li::before {
  content: "✓"; flex: none; width: 21px; height: 21px; border-radius: 50%; font-size: 12px; font-weight: 700;
  display: grid; place-items: center; margin-top: 1px;
}
.path-card.buyer .check-list li::before, .check-list.violet li::before { background: rgba(124, 92, 255, .18); color: var(--violet-2); border: 1px solid rgba(124, 92, 255, .4); }
.path-card.seller .check-list li::before, .check-list.cyan li::before { background: rgba(34, 230, 200, .1); color: var(--cyan-2); border: 1px solid rgba(34, 230, 200, .35); }

/* ---------- trust ---------- */
.trust-item { text-align: center; padding: 0 12px; }
.trust-item .t-icon {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 16px; display: grid; place-items: center; font-size: 24px;
  background: var(--gradient-soft); border: 1px solid rgba(124, 92, 255, 0.3); box-shadow: 0 0 30px rgba(124,92,255,.12);
}
.trust-item h3 { font-size: 17px; margin-bottom: 8px; }
.trust-item p { font-size: 13.5px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 28px; padding: clamp(40px, 6vw, 72px); text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(120deg, rgba(124, 92, 255, .2), rgba(34, 230, 200, .12));
  border: 1px solid rgba(124, 92, 255, .35);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 75%);
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; position: relative; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 32px; position: relative; }
.cta-band .hero-ctas { margin-bottom: 0; position: relative; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 60px; padding: 56px 0 32px; background: rgba(0,0,0,.25); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-grid h4 { font-size: 14px; margin-bottom: 16px; color: var(--text); }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer-grid a:hover { color: var(--cyan-2); }
.footer-about p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--border); color: var(--faint); font-size: 13px; }

/* ---------- page hero (subpages) ---------- */
.page-hero { padding: 64px 0 40px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 12px; }
.page-hero p { color: var(--muted); max-width: 680px; font-size: 16.5px; }

/* ---------- filter layout ---------- */
.browse-layout { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }

.filters { position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.filter-group { margin-bottom: 22px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); margin-bottom: 12px; }
.filter-option { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: 14px; color: var(--muted); cursor: pointer; transition: color .15s; }
.filter-option:hover { color: var(--text); }
.filter-option input { accent-color: var(--violet); width: 15px; height: 15px; cursor: pointer; }

select, .input, textarea {
  width: 100%; padding: 11px 14px; border-radius: 11px; font-size: 14.5px; font-family: inherit;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-strong); color: var(--text);
  outline: none; transition: border-color .2s, box-shadow .2s;
}
select:focus, .input:focus, textarea:focus { border-color: rgba(124, 92, 255, .65); box-shadow: 0 0 0 3px rgba(124, 92, 255, .15); }
select option { background: var(--bg-2); color: var(--text); }
textarea { resize: vertical; min-height: 110px; }

.results-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.results-head .count { color: var(--muted); font-size: 14.5px; }
.results-head .count b { color: var(--text); }

.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.empty-state .e-icon { font-size: 40px; margin-bottom: 16px; }

/* ---------- detail page ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; }

.detail-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 28px; }
.detail-logo { width: 76px; height: 76px; border-radius: 20px; display: grid; place-items: center; font-size: 36px; background: var(--gradient-soft); border: 1px solid rgba(124, 92, 255, .35); flex: none; }
.detail-head h1 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 4px; }
.detail-head .sub { color: var(--muted); font-size: 16px; margin-bottom: 10px; }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 22px; }
.panel h2, .panel h3 { font-size: 19px; margin-bottom: 14px; }
.panel p { color: var(--muted); font-size: 14.5px; }
.panel p + p { margin-top: 10px; }

.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 24px; }
.spec-row { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.spec-row:last-child, .spec-grid .spec-row:nth-last-child(2) { border-bottom: none; }
.spec-row span { color: var(--faint); }
.spec-row b { font-weight: 600; text-align: right; }

.sticky-panel { position: sticky; top: 92px; }
.price-panel { background: linear-gradient(165deg, rgba(124,92,255,.14), rgba(34,230,200,.07)); border: 1px solid rgba(124, 92, 255, .4); border-radius: var(--radius); padding: 28px; }
.price-panel .price { font-family: var(--font-head); font-size: 34px; font-weight: 700; }
.price-panel .per { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.price-panel .btn { margin-bottom: 10px; }

.feature-list { list-style: none; }
.feature-list li { display: flex; gap: 10px; padding: 7px 0; font-size: 14.5px; color: var(--text); align-items: flex-start; }
.feature-list li::before { content: "▸"; color: var(--cyan); flex: none; }

.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { padding: 5px 13px; border-radius: 999px; font-size: 12.5px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); }

/* screenshot placeholders */
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shot {
  aspect-ratio: 16/10; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: linear-gradient(140deg, rgba(124,92,255,.15), rgba(34,230,200,.08));
  display: grid; place-items: center; color: var(--faint); font-size: 13px;
}

/* ---------- forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: clamp(26px, 4vw, 44px); max-width: 860px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.form-field small { display: block; color: var(--faint); font-size: 12.5px; margin-top: 5px; }
.form-note { font-size: 13px; color: var(--faint); text-align: center; margin-top: 16px; }

.auth-card { max-width: 440px; margin: 0 auto; }
.auth-tabs { display: flex; gap: 6px; background: var(--surface); border: 1px solid var(--border); padding: 5px; border-radius: 13px; margin-bottom: 28px; }
.auth-tabs button { flex: 1; padding: 10px; border: none; border-radius: 9px; background: none; color: var(--muted); font-size: 14.5px; font-weight: 600; transition: all .2s; }
.auth-tabs button.active { background: var(--gradient); color: #06060f; }
.divider { display: flex; align-items: center; gap: 14px; color: var(--faint); font-size: 13px; margin: 20px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* segmented control */
.segmented { display: inline-flex; gap: 5px; background: var(--surface); border: 1px solid var(--border); padding: 5px; border-radius: 13px; flex-wrap: wrap; }
.segmented button { padding: 9px 18px; border: none; border-radius: 9px; background: none; color: var(--muted); font-size: 14px; font-weight: 600; transition: all .2s; }
.segmented button.active { background: var(--gradient); color: #06060f; }

/* ---------- dashboard ---------- */
.dash-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.dash-nav { position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; }
.dash-nav a { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 10px; font-size: 14.5px; color: var(--muted); transition: all .15s; }
.dash-nav a:hover { color: var(--text); background: var(--surface-2); }
.dash-nav a.active { color: var(--text); background: rgba(124, 92, 255, .16); border: 1px solid rgba(124, 92, 255, .35); }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; }
.kpi b { display: block; font-family: var(--font-head); font-size: 28px; margin-bottom: 2px; }
.kpi span { font-size: 13px; color: var(--muted); }
.kpi .delta { font-size: 12px; color: var(--cyan-2); margin-left: 8px; }

.table-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.table-panel .tp-head { padding: 18px 22px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.table-panel h3 { font-size: 16px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; padding: 12px 22px; color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--border); font-weight: 600; }
.data-table td { padding: 14px 22px; border-bottom: 1px solid var(--border); color: var(--muted); }
.data-table tr:last-child td { border-bottom: none; }
.data-table td b { color: var(--text); font-weight: 600; }
.status { padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.status.on { color: var(--cyan-2); background: rgba(34, 230, 200, .1); border: 1px solid rgba(34, 230, 200, .35); }
.status.off { color: var(--faint); background: var(--surface-2); border: 1px solid var(--border); }
.status.new { color: var(--violet-2); background: rgba(124, 92, 255, .13); border: 1px solid rgba(124, 92, 255, .4); }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 34px 30px; display: flex; flex-direction: column; position: relative; transition: transform .2s, border-color .2s, box-shadow .2s; }
.price-card:hover { transform: translateY(-4px); }
.price-card.popular { border-color: rgba(124, 92, 255, .6); background: linear-gradient(165deg, rgba(124,92,255,.13), rgba(34,230,200,.05)); box-shadow: 0 20px 60px rgba(124, 92, 255, .18); }
.popular-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gradient); color: #06060f; font-size: 12px; font-weight: 700; padding: 5px 16px; border-radius: 999px; white-space: nowrap; }
.price-card h3 { font-size: 20px; margin-bottom: 6px; }
.price-card .p-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.price-card .p-amount { font-family: var(--font-head); font-size: 42px; font-weight: 700; }
.price-card .p-amount small { font-size: 15px; color: var(--muted); font-weight: 400; font-family: var(--font-body); }
.price-card .check-list { flex: 1; margin: 22px 0 26px; }

/* ---------- misc ---------- */
.breadcrumbs { font-size: 13.5px; color: var(--faint); padding-top: 28px; }
.breadcrumbs a:hover { color: var(--cyan-2); }

.icon-btn { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border-strong); color: var(--muted); font-size: 17px; transition: all .2s; }
.icon-btn:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.icon-btn.saved { color: var(--pink); border-color: rgba(244, 114, 182, .5); background: rgba(244, 114, 182, .08); }

.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--bg-2); border: 1px solid rgba(124, 92, 255, .5); color: var(--text);
  padding: 13px 26px; border-radius: 13px; font-size: 14.5px; z-index: 300; opacity: 0;
  transition: all .3s; pointer-events: none; box-shadow: 0 10px 40px rgba(0,0,0,.6), var(--glow-violet);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- uživatelský účet ---------- */
.user-card {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; margin-bottom: 22px;
  background: linear-gradient(160deg, rgba(124,92,255,.14), rgba(34,230,200,.06));
  border: 1px solid rgba(124, 92, 255, .35); border-radius: var(--radius);
}
.user-avatar {
  width: 52px; height: 52px; border-radius: 15px; flex: none; display: grid; place-items: center;
  background: var(--gradient); color: #06060f; font-family: var(--font-head); font-size: 21px; font-weight: 700;
}
.user-card b { display: block; font-size: 17px; font-family: var(--font-head); }
.user-card small { color: var(--muted); font-size: 13.5px; }

.item-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); margin-bottom: 10px;
}
.item-row:last-child { margin-bottom: 0; }
.item-row .ir-main { min-width: 0; }
.item-row b { display: block; font-size: 15px; margin-bottom: 3px; }
.item-row small { color: var(--muted); font-size: 13px; }
.item-row .ir-actions { display: flex; gap: 8px; align-items: center; flex: none; }

/* ---------- cookie lišta ---------- */
.cookie-bar {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(140%);
  width: min(1000px, calc(100% - 32px)); z-index: 400;
  background: rgba(10, 12, 26, 0.97); backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong); border-radius: 20px;
  padding: 22px 26px; box-shadow: 0 20px 70px rgba(0,0,0,.65), 0 0 0 1px rgba(124,92,255,.12);
  transition: transform .45s cubic-bezier(.16,1,.3,1), opacity .45s; opacity: 0;
}
.cookie-bar.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.cookie-bar h4 { font-family: var(--font-head); font-size: 16px; margin-bottom: 6px; }
.cookie-bar p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.cookie-bar p a { color: var(--cyan-2); text-decoration: underline; }
.cookie-inner { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-text { flex: 1 1 380px; min-width: 0; }
.cookie-text p { margin-bottom: 0; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }

.cookie-options { display: none; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.cookie-options.open { display: block; }
.cookie-opt { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; }
.cookie-opt input { width: 17px; height: 17px; accent-color: var(--violet); margin-top: 3px; flex: none; cursor: pointer; }
.cookie-opt input:disabled { opacity: .6; cursor: not-allowed; }
.cookie-opt b { display: block; font-size: 14px; }
.cookie-opt small { color: var(--faint); font-size: 12.5px; }

/* ---------- právní stránky ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: 14.5px; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 14px 20px; }
.legal li { margin-bottom: 7px; }
.legal b, .legal strong { color: var(--text); }
.legal .updated { font-size: 13px; color: var(--faint); }

.info-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.info-table td { padding: 11px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.info-table td:first-child { color: var(--faint); width: 190px; padding-right: 18px; }
.info-table tr:last-child td { border-bottom: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-40 { margin-bottom: 40px; }
.muted { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .detail-layout { grid-template-columns: 1fr; }
  .sticky-panel { position: static; }
  .browse-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    background: rgba(5, 6, 15, 0.97); border-bottom: 1px solid var(--border); padding: 12px 20px 20px;
    backdrop-filter: blur(18px);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-actions .btn-ghost { display: none; }
  .grid-5, .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .shot-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 52px; }
  .search-bar .btn span { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
