/* ActiveHost.pl — design system & site styles */

:root {
  --bg: #0a0918;
  --bg-soft: #100e26;
  --bg-card: #15123080;
  --bg-card-solid: #161331;
  --bg-elevated: #1c1840;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f5f4fb;
  --text-dim: #aca8cb;
  --text-faint: #726e96;

  --accent: #8b5cf6;
  --accent-light: #a78bfa;
  --accent-dark: #6d28d9;
  --indigo: #6366f1;
  --teal: #2dd4bf;
  --magenta: #d946ef;
  --success: #34d399;
  --warning: #fbbf24;

  --gradient-brand: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  --gradient-teal: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
  --gradient-magenta: linear-gradient(135deg, #d946ef 0%, #a855f7 100%);
  --gradient-text: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 60%, #6366f1 100%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-glow: 0 0 0 1px rgba(139, 92, 246, 0.15), 0 20px 60px -20px rgba(109, 40, 217, 0.45);
  --shadow-card: 0 10px 30px -12px rgba(0, 0, 0, 0.5);

  --container: 1180px;
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(720px 480px at 85% -8%, rgba(139, 92, 246, 0.22), transparent 60%),
    radial-gradient(640px 480px at 0% 15%, rgba(99, 102, 241, 0.16), transparent 60%),
    radial-gradient(900px 600px at 50% 100%, rgba(45, 212, 191, 0.08), transparent 60%);
  pointer-events: none;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-light);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--text-dim); font-size: 1.0625rem; }

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p { color: var(--text-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(139, 92, 246, 0.55);
}
.btn-primary:hover { box-shadow: 0 10px 30px -4px rgba(139, 92, 246, 0.7); transform: translateY(-1px); }
.btn-outline {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent-light); background: rgba(139, 92, 246, 0.08); }
.btn-ghost { color: var(--text-dim); padding: 13px 18px; }
.btn-ghost:hover { color: var(--text); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: 0.875rem; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 9, 24, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.header.is-scrolled {
  background: rgba(10, 9, 24, 0.88);
  border-bottom-color: var(--border);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; flex-shrink: 0; }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-name b { color: var(--text); }
.brand-name span { color: var(--accent-light); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 14px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dim);
  border-radius: var(--radius-full);
  transition: color 0.18s ease, background 0.18s ease;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav a.is-active { color: var(--text); background: rgba(139, 92, 246, 0.14); }

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

.icon-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-dim);
  flex-shrink: 0;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.icon-btn svg { width: 18px; height: 18px; }

.search-box {
  position: absolute;
  top: calc(100% + 10px);
  right: 24px;
  width: min(320px, calc(100vw - 48px));
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 8px;
  display: none;
  gap: 8px;
}
.search-box.is-open { display: flex; }
.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 10px 12px;
  font-size: 0.9375rem;
  outline: none;
}
.search-box input::placeholder { color: var(--text-faint); }
.search-hint { font-size: 0.8125rem; color: var(--text-faint); padding: 4px 10px 8px; }

.menu-toggle { display: none; }

.mobile-panel {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(8, 7, 20, 0.98);
  backdrop-filter: blur(10px);
  z-index: 99;
  padding: 28px 24px;
  overflow-y: auto;
}
.mobile-panel.is-open { display: block; }

/* ---------- Mobile nav ---------- */
@media (max-width: 920px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions .btn-primary.cta-header { display: none; }

  .mobile-panel a {
    display: block;
    padding: 16px 4px;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text);
    border-bottom: 1px solid var(--border);
  }
  .mobile-panel .btn { margin-top: 24px; width: 100%; }
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 56px; }
.hero .container { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy p.lead { font-size: 1.125rem; margin: 18px 0 30px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.875rem; color: var(--text-faint); }
.hero-trust span { display: flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 15px; height: 15px; color: var(--success); flex-shrink: 0; }

.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 440px; filter: drop-shadow(0 30px 60px rgba(109, 40, 217, 0.35)); }

/* breadcrumb (subpages) */
.breadcrumb { font-size: 0.875rem; color: var(--text-faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--accent-light); }

.page-hero { padding: 56px 0 16px; text-align: center; }
.page-hero .eyebrow { }
.page-hero h1 { max-width: 760px; margin: 0 auto; }
.page-hero p.lead { max-width: 600px; margin: 18px auto 0; font-size: 1.125rem; }

/* ---------- Stats strip ---------- */
.stats-strip {
  margin-top: -8px;
}
.stats-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: var(--shadow-card);
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--text); }
.stat strong span { color: var(--accent-light); }
.stat small { display: block; color: var(--text-faint); font-size: 0.8125rem; margin-top: 4px; }

/* ---------- Feature icon row ---------- */
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 40px 0;
}
.feature-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.feature-pill .ic {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-light);
}
.feature-pill .ic svg { width: 19px; height: 19px; }
.feature-pill strong { font-size: 0.9375rem; display: block; }
.feature-pill p { font-size: 0.8125rem; margin: 0; color: var(--text-faint); }

/* ---------- Offer / plan cards (3-up, homepage) ---------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.offer-card {
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.offer-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-glow); }
.offer-card .ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}
.offer-card .ic svg { width: 26px; height: 26px; }
.offer-card.c-blue .ic { background: var(--gradient-brand); }
.offer-card.c-magenta .ic { background: var(--gradient-magenta); }
.offer-card.c-teal .ic { background: var(--gradient-teal); }
.offer-card h3 { margin-bottom: 8px; }
.offer-card .price { font-size: 1.9rem; font-weight: 800; margin: 14px 0 4px; }
.offer-card .price span { font-size: 0.9rem; font-weight: 600; color: var(--text-faint); }
.offer-card .price-note { font-size: 0.8125rem; color: var(--text-faint); margin-bottom: 20px; }
.offer-card ul { margin: 0 0 26px; display: flex; flex-direction: column; gap: 11px; }
.offer-card li { display: flex; gap: 10px; font-size: 0.9375rem; color: var(--text-dim); }
.offer-card li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--success); }
.offer-card .btn { margin-top: auto; }

/* ---------- Why choose us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card { text-align: left; padding: 8px; }
.why-card .ic {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light);
  margin-bottom: 18px;
}
.why-card .ic svg { width: 26px; height: 26px; }
.why-card h3 { margin-bottom: 8px; font-size: 1.0625rem; }
.why-card p { font-size: 0.9375rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--gradient-brand);
  border-radius: 28px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 240px at 85% 20%, rgba(255, 255, 255, 0.18), transparent 70%);
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; position: relative; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); position: relative; }
.cta-banner .btn-outline { background: #fff; color: var(--accent-dark); border-color: transparent; position: relative; }
.cta-banner .btn-outline:hover { background: #f3eaff; }

/* ---------- Pricing (subpages) ---------- */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 5px;
  margin: 0 auto 44px;
}
.pricing-toggle button {
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  transition: background 0.18s ease, color 0.18s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-toggle button.is-active { background: var(--gradient-brand); color: #fff; }
.pricing-toggle .save-badge {
  font-size: 0.6875rem;
  background: rgba(52, 211, 153, 0.18);
  color: var(--success);
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 800;
}
.pricing-toggle button.is-active .save-badge { background: rgba(255,255,255,0.2); color: #fff; }
.toggle-wrap { display: flex; justify-content: center; }

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan-card {
  position: relative;
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}
.plan-card.is-popular {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-8px);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.plan-card h3 { font-size: 1.1875rem; }
.plan-card .plan-desc { font-size: 0.875rem; margin: 6px 0 22px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.plan-price .amount { font-size: 2.4rem; font-weight: 800; }
.plan-price .period { color: var(--text-faint); font-size: 0.9375rem; font-weight: 600; }
.plan-price-old { font-size: 0.8125rem; color: var(--text-faint); text-decoration: line-through; margin-bottom: 22px; min-height: 1.2em; }
.plan-card ul { margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.plan-card li { display: flex; gap: 10px; font-size: 0.9375rem; color: var(--text-dim); }
.plan-card li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--success); }
.plan-card .btn { margin-top: auto; }
.plan-foot-note { text-align: center; color: var(--text-faint); font-size: 0.9375rem; margin-top: 36px; }

/* spec table style plans (VPS / dedicated) */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
.spec-grid .spec { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.spec-grid .spec b { display: block; font-size: 1.0625rem; }
.spec-grid .spec span { font-size: 0.75rem; color: var(--text-faint); }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  text-align: left;
}
.faq-q .chev { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-faint); transition: transform 0.25s ease; }
.faq-item.is-open .faq-q .chev { transform: rotate(180deg); color: var(--accent-light); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--text-dim); font-size: 0.9375rem; }

/* ---------- Tables (domeny) ---------- */
.tld-table { width: 100%; border-collapse: collapse; background: var(--bg-card-solid); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.tld-table th, .tld-table td { padding: 16px 24px; text-align: left; font-size: 0.9375rem; }
.tld-table thead th { background: rgba(255,255,255,0.03); color: var(--text-faint); font-weight: 700; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.04em; }
.tld-table tbody tr { border-top: 1px solid var(--border); }
.tld-table td.tld { font-weight: 800; color: var(--text); }
.tld-table td.price { font-weight: 700; color: var(--accent-light); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.form-card { background: var(--bg-card-solid); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.875rem; font-weight: 700; margin-bottom: 8px; }
.field .req { color: var(--magenta); }
.field input, .field select, .field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #f87171; }
.field-error { display: none; color: #f87171; font-size: 0.8125rem; margin-top: 6px; }
.field.is-invalid .field-error { display: block; }
.checkbox-field { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-field input { width: auto; margin-top: 3px; }
.checkbox-field label { font-size: 0.875rem; font-weight: 500; color: var(--text-dim); margin-bottom: 0; }
.form-msg { display: none; padding: 14px 16px; border-radius: 10px; font-size: 0.9375rem; margin-bottom: 20px; }
.form-msg.is-success { display: block; background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.3); color: var(--success); }
.form-msg.is-error { display: block; background: rgba(248, 113, 113, 0.12); border: 1px solid rgba(248, 113, 113, 0.3); color: #f87171; }

.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px 24px; display: flex; gap: 14px; align-items: flex-start; }
.info-card .ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(139, 92, 246, 0.14); color: var(--accent-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-card .ic svg { width: 20px; height: 20px; }
.info-card strong { display: block; margin-bottom: 3px; }
.info-card p, .info-card a { font-size: 0.9375rem; margin: 0; }
.info-card a:hover { color: var(--accent-light); }

.map-card { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); height: 200px; position: relative; }
.map-card svg { width: 100%; height: 100%; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { margin: 14px 0 20px; font-size: 0.9375rem; max-width: 280px; }
.footer-col h4 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-faint); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.9375rem; color: var(--text-dim); transition: color 0.18s ease; }
.footer-col a:hover { color: var(--text); }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.social-row a:hover { color: var(--text); border-color: var(--border-strong); }
.social-row svg { width: 17px; height: 17px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8438rem;
  color: var(--text-faint);
}
.footer-bottom .legal-links { display: flex; gap: 18px; }
.footer-bottom a:hover { color: var(--text-dim); }

.payment-icons { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pay-label { color: var(--text-faint); margin-right: 2px; }
.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  min-width: 40px;
  padding: 0 8px;
  border-radius: 5px;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
}
.pay-badge.pay-visa { color: #1a1f71; font-style: italic; font-family: Arial, Helvetica, sans-serif; }
.pay-badge.pay-mc { padding: 3px 6px; }
.pay-badge.pay-mc svg { width: 30px; height: 17px; display: block; }
.pay-badge.pay-blik { background: #000; color: #fff; }
.pay-badge.pay-p24 { color: #fc7e00; }
.pay-badge.pay-paypal { color: #003087; }
.pay-badge.pay-paypal b { color: #009cde; font-weight: 800; }

/* ---------- Generic content sections (legal pages) ---------- */
.prose { max-width: 760px; margin: 0 auto; padding: 8px 0 80px; }
.prose h2 { font-size: 1.375rem; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-dim); margin-bottom: 12px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose strong { color: var(--text); }
.prose a { color: var(--accent-light); text-decoration: underline; text-decoration-color: rgba(167, 139, 250, 0.4); }
.prose img { max-width: 100%; border-radius: var(--radius-md); margin: 20px 0; }
.prose code { background: rgba(255, 255, 255, 0.06); padding: 2px 6px; border-radius: 5px; font-size: 0.875em; }
.prose pre { background: var(--bg-card-solid); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; overflow-x: auto; margin-bottom: 16px; }
.prose pre code { background: none; padding: 0; }
.prose blockquote { border-left: 3px solid var(--accent); padding-left: 16px; color: var(--text-dim); font-style: italic; margin-bottom: 12px; }
.updated-note { color: var(--text-faint); font-size: 0.875rem; margin-bottom: 8px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-glow); }
.blog-card-cover { height: 170px; background: center/cover no-repeat; background-color: var(--bg-elevated); }
.blog-card-cover-placeholder { display: flex; align-items: center; justify-content: center; color: var(--text-faint); }
.blog-card-cover-placeholder svg { width: 40px; height: 40px; }
.blog-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card-date { font-size: 0.8125rem; color: var(--text-faint); }
.blog-card-body h3 { font-size: 1.125rem; }
.blog-card-body p { font-size: 0.9375rem; flex: 1; }
.blog-card-link { color: var(--accent-light); font-weight: 700; font-size: 0.9375rem; margin-top: auto; }
.blog-post-cover { height: 320px; border-radius: var(--radius-lg); background: center/cover no-repeat; margin-bottom: 40px; }

@media (max-width: 980px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ---------- Admin ---------- */
.admin-table td, .admin-table th { vertical-align: middle; }
.status-badge { display: inline-block; padding: 4px 10px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700; }
.status-badge.status-published { background: rgba(52, 211, 153, 0.15); color: var(--success); }
.status-badge.status-draft { background: rgba(251, 191, 36, 0.15); color: var(--warning); }
.btn-danger { border-color: rgba(248, 113, 113, 0.4); color: #f87171; }
.btn-danger:hover { background: rgba(248, 113, 113, 0.1); border-color: #f87171; }

/* ---------- 404 ---------- */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 24px; }
.error-page .code { font-size: 6rem; font-weight: 800; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }

section.section { padding: 88px 0; }
section.section.tight { padding: 0 0 88px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art svg { max-width: 320px; }
  .offer-grid, .plan-grid { grid-template-columns: 1fr; }
  .plan-card.is-popular { transform: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { flex-direction: column; text-align: center; padding: 44px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .why-grid, .feature-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .field-row { grid-template-columns: 1fr; }
  section.section { padding: 64px 0; }
  h1 { font-size: 2rem; }
}
