:root {
    --gold: #c9a84c;
    --gold-light: #f0d080;
    --dark: #0f0f1a;
    --dark2: #1a1a2e;
    --dark3: #22223b;
    --card-bg: #16213e;
    --text: #e8e8f0;
    --text-muted: #9999bb;
    --green: #2ecc71;
    --red: #e74c3c;
    --border: rgba(201,168,76,0.25);
    --radius: 12px;
  }

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

  body {
    background: var(--dark);
    color: var(--text);
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.75;
  }

  /* ── HERO ── */
  .hero {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #0d1b3e 100%);
    border-bottom: 1px solid var(--border);
    padding: 60px 24px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.12) 0%, transparent 70%);
    pointer-events: none;
  }
  .hero-badge {
    display: inline-block;
    background: rgba(201,168,76,0.15);
    border: 1px solid var(--border);
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
  }
  h1 {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #f0d080 0%, #c9a84c 50%, #e8c860 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
  }
  .hero-sub {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 10px;
  }

  /* ── LAYOUT ── */
  .container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
  }

  /* ── INTRO ── */
  .intro-block {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin: 40px 0 32px;
    position: relative;
  }
  .intro-block::before {
    content: '✍️';
    position: absolute;
    top: -14px; left: 24px;
    background: var(--dark2);
    padding: 0 8px;
    font-size: 20px;
  }
  .intro-block p { color: var(--text); line-height: 1.8; }

  /* ── SECTIONS ── */
  section { margin-bottom: 48px; }

  h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  h2 .icon { font-size: 20px; }

  h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gold-light);
    margin: 22px 0 10px;
  }

  p { margin-bottom: 14px; color: var(--text); }

  /* ── STEPS ── */
  .steps { display: flex; flex-direction: column; gap: 14px; margin: 18px 0; }
  .step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    transition: border-color .2s;
  }
  .step:hover { border-color: var(--gold); }
  .step-num {
    min-width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--gold), #a07820);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 15px; color: #0f0f1a;
    flex-shrink: 0;
  }
  .step-content strong { display: block; color: var(--gold-light); margin-bottom: 4px; }
  .step-content p { margin: 0; font-size: 14.5px; color: var(--text-muted); }

  /* ── CHECKLIST ── */
  .checklist { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
  .checklist li {
    display: flex; gap: 12px; align-items: flex-start;
    background: var(--dark3); border-radius: 8px; padding: 12px 16px;
    font-size: 14.5px;
  }
  .checklist li .ck-icon { color: var(--gold); font-size: 16px; flex-shrink: 0; margin-top: 2px; }

  /* ── LICENSE CARDS ── */
  .license-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
  @media(max-width:600px){ .license-grid { grid-template-columns: 1fr; } }
  .license-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    transition: transform .2s, border-color .2s;
  }
  .license-card:hover { transform: translateY(-3px); border-color: var(--gold); }
  .license-card .lic-flag { font-size: 28px; margin-bottom: 8px; }
  .license-card h3 { margin: 0 0 10px; }
  .license-card p { font-size: 14px; color: var(--text-muted); margin: 0; }
  .lic-badge {
    display: inline-block;
    background: rgba(46,204,113,0.12);
    border: 1px solid rgba(46,204,113,0.3);
    color: var(--green);
    font-size: 11px; font-weight: 700;
    padding: 2px 10px; border-radius: 20px;
    margin-bottom: 10px;
  }

  /* ── PRO/CON ── */
  .procon { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
  @media(max-width:580px){ .procon { grid-template-columns: 1fr; } }
  .pro-box, .con-box { border-radius: var(--radius); padding: 20px; }
  .pro-box {
    background: rgba(46,204,113,0.07);
    border: 1px solid rgba(46,204,113,0.25);
  }
  .con-box {
    background: rgba(231,76,60,0.07);
    border: 1px solid rgba(231,76,60,0.25);
  }
  .pro-box h4 { color: var(--green); margin-bottom: 12px; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
  .con-box h4 { color: var(--red); margin-bottom: 12px; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
  .pc-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
  .pc-list li { font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
  .pc-list li span { line-height: 1.5; }

  /* ── PAYMENT ── */
  .payment-methods { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
  .pm-tag {
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 13px; color: var(--gold-light);
    font-weight: 600;
  }

  /* ── BONUS BLOCKS ── */
  .bonus-grid { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
  .bonus-item {
    background: var(--dark3);
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 14px 18px;
  }
  .bonus-item strong { color: var(--gold-light); }
  .bonus-item p { margin: 4px 0 0; font-size: 14px; color: var(--text-muted); }

  /* ── ALERT ── */
  .alert {
    border-radius: var(--radius); padding: 20px 24px;
    margin: 16px 0;
    display: flex; gap: 14px;
  }
  .alert-info { background: rgba(52,152,219,0.1); border: 1px solid rgba(52,152,219,0.3); }
  .alert-warn { background: rgba(231,76,60,0.08); border: 1px solid rgba(231,76,60,0.25); }
  .alert-safe { background: rgba(46,204,113,0.08); border: 1px solid rgba(46,204,113,0.25); }
  .alert-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
  .alert p { margin: 0; font-size: 14.5px; }

  /* ── RISK CARDS ── */
  .risk-cards { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
  .risk-card {
    background: var(--card-bg);
    border: 1px solid rgba(231,76,60,0.25);
    border-radius: var(--radius);
    padding: 16px 20px;
  }
  .risk-card strong { color: #e74c3c; display: block; margin-bottom: 5px; }
  .risk-card p { margin: 0; font-size: 14px; color: var(--text-muted); }

  /* ── FAQ ── */
  .faq { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
  .faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .faq-q {
    padding: 16px 20px;
    font-weight: 700; color: var(--gold-light);
    font-size: 15px;
    display: flex; align-items: center; gap: 10px;
  }
  .faq-q::before {
    content: 'Q';
    background: var(--gold); color: #0f0f1a;
    font-size: 11px; font-weight: 900;
    width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .faq-a {
    padding: 12px 20px 16px;
    font-size: 14.5px; color: var(--text-muted);
    border-top: 1px solid var(--border);
  }

  /* ── TABLE PLACEHOLDER ── */
  .table-placeholder {
    background: var(--dark3);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    color: var(--text-muted);
    margin: 16px 0;
  }
  .table-placeholder span { font-size: 28px; display: block; margin-bottom: 8px; }
  .table-placeholder p { margin: 0; font-size: 14px; }

  /* ── QUOTE ── */
  .author-quote {
    border-left: 3px solid var(--gold);
    padding: 14px 20px;
    background: rgba(201,168,76,0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-muted);
    margin: 18px 0;
    font-size: 15px;
  }

  em { color: inherit; font-style: normal; font-weight: inherit; }

  /* ── META BAR ── */
  .meta-bar { padding: 32px 0 0; }
  .meta-bar-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 22px;
  }
  .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
  }
  .meta-item-icon { font-size: 14px; }
  .meta-item-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
    display: block;
    line-height: 1;
    margin-bottom: 1px;
  }
  .meta-item-value {
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
    display: block;
    line-height: 1.3;
  }
  .meta-divider {
    width: 1px; height: 28px;
    background: var(--border);
    flex-shrink: 0;
  }
  @media(max-width:520px){ .meta-divider { display: none; } }

  /* ── AUTHOR BLOCK (inline, used in articles) ── */
  .author-block {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 26px;
    margin-bottom: 48px;
    text-decoration: none;
    transition: border-color .2s, transform .2s;
  }
  .author-block:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
  }
  .author-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    flex-shrink: 0;
    background: var(--dark3);
    display: flex; align-items: center; justify-content: center;
    font-size: 30px;
    overflow: hidden;
  }
  .author-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .author-info { flex: 1; }
  .author-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
  }
  .author-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
  }
  .author-bio {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
  }
  .author-arrow {
    color: var(--gold);
    font-size: 20px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity .2s, transform .2s;
  }
  .author-block:hover .author-arrow { opacity: 1; transform: translateX(4px); }
  @media(max-width:500px){
    .author-block { flex-wrap: wrap; }
    .author-arrow { display: none; }
  }

  /* ── FOOTER ── */
  .article-footer {
    background: var(--dark2);
    border-top: 1px solid var(--border);
    padding: 30px 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 60px;
  }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
  }
  .footer-btn {
    display: inline-block;
    text-decoration: none;
    background: rgba(201,168,76,0.08);
    border: 1px solid var(--border);
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    transition: background .2s, border-color .2s, color .2s;
  }
  .footer-btn:hover {
    background: rgba(201,168,76,0.18);
    border-color: var(--gold);
    color: var(--gold);
  }

  /* ── 404 PAGE ── */
  body.page-404 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  .page-404 header {
    background: var(--dark2);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
  }
  .page-404 .logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.5px;
  }
  .page-404 main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
  }
  .page-404 .inner { max-width: 480px; }
  .error-code {
    font-size: 96px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #f0d080, #c9a84c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
  }
  .page-404 h1 {
    font-size: 22px;
    font-weight: 700;
    background: none;
    -webkit-text-fill-color: var(--text);
    color: var(--text);
    margin-bottom: 12px;
  }
  .page-404 p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 32px;
  }
  .home-link {
    display: inline-block;
    text-decoration: none;
    color: var(--gold);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    transition: border-color .2s, color .2s;
  }
  .home-link:hover {
    border-color: var(--gold);
    color: var(--gold-light);
  }
  .page-404 footer {
    background: var(--dark2);
    border-top: 1px solid var(--border);
    padding: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
  }
  .page-404 .footer-links { margin-bottom: 12px; }
  .page-404 .footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s;
  }
  .page-404 .footer-links a:hover { color: var(--gold); }
  .footer-copy { opacity: .5; font-size: 12px; }

  /* ── AUTHOR PAGE ── */
  .author-header {
    background: var(--dark2);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
  }
  .author-header__inner {
    max-width: 860px;
    margin: 0 auto;
  }
  .logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.5px;
  }

  .page-author main { padding: 48px 0 0; }

  .author-section { margin-bottom: 48px; }

  /* Hero block */
  .author-hero {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin: 40px 0 32px;
  }
  @media(max-width:600px){
    .author-hero { flex-direction: column; align-items: center; text-align: center; }
  }
  .author-hero__avatar {
    width: 120px; height: 120px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    flex-shrink: 0;
    background: var(--dark3);
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-size: 48px;
  }
  .author-hero__avatar img { width: 100%; height: 100%; object-fit: cover; }
  .author-hero__info { flex: 1; }
  .author-hero__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
  }
  .author-hero__info h1 {
    font-size: clamp(28px, 5vw, 38px);
    font-weight: 800;
    background: linear-gradient(135deg, #f0d080 0%, #c9a84c 50%, #e8c860 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
  }
  .author-hero__role {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
  }
  .author-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .author-tag {
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    color: var(--gold-light);
    font-weight: 600;
  }

  /* Stats row */
  .author-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 40px;
  }
  @media(max-width:600px){ .author-stats { grid-template-columns: repeat(2, 1fr); } }
  .author-stat {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
  }
  .author-stat__num {
    display: block;
    font-size: 30px;
    font-weight: 900;
    background: linear-gradient(135deg, #f0d080, #c9a84c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
  }
  .author-stat__label {
    font-size: 12px;
    color: var(--text-muted);
  }

  /* Expertise grid */
  .expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 16px;
  }
  @media(max-width:580px){ .expertise-grid { grid-template-columns: 1fr; } }
  .expertise-card {
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: border-color .2s;
  }
  .expertise-card:hover { border-color: var(--gold); }
  .expertise-icon { font-size: 26px; display: block; margin-bottom: 10px; }
  .expertise-card strong {
    display: block;
    color: var(--gold-light);
    font-size: 15px;
    margin-bottom: 8px;
  }
  .expertise-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
  }

  /* Contact list */
  .contact-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
  .contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--dark3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 18px;
    text-decoration: none;
    transition: border-color .2s, transform .15s;
  }
  .contact-item:hover {
    border-color: var(--gold);
    transform: translateX(4px);
  }
  .contact-icon { font-size: 20px; flex-shrink: 0; }
  .contact-item div { flex: 1; }
  .contact-item strong {
    display: block;
    font-size: 14px;
    color: var(--gold-light);
    margin-bottom: 2px;
  }
  .contact-item span {
    font-size: 13px;
    color: var(--text-muted);
  }
  .contact-arrow {
    color: var(--gold);
    font-size: 16px;
    opacity: 0.6;
    transition: opacity .2s, transform .2s;
  }
  .contact-item:hover .contact-arrow { opacity: 1; transform: translateX(3px); }

  .logo__img {
  height: 40px;
  width: auto;
  display: block;
}

 .breadcrumb {
  margin-bottom: 24px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  color: #888;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: #aaa;
}

.breadcrumb a {
  color: #888;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff; /* або колір акценту вашого сайту */
  text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
  color: #ccc;
}


.trust-badges {
  margin-bottom: 28px;
  text-align: center;
}

.trust-badges__label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .45;
  margin-bottom: 14px;
}

.trust-badges__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 24px;
}

.trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .55;
  transition: opacity .2s;
  filter: grayscale(100%) brightness(1.8);
}

.trust-badge:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}

.trust-badge img {
  width: auto;
  height: 32px;
  max-width: 90px;
  object-fit: contain;
  display: block;
}

@media (max-width: 480px) {
  .trust-badges__grid {
    gap: 12px 16px;
  }
  .trust-badge img {
    height: 26px;
  }
}