/* Quotex BD Review - site-2 | prefix: pgf | layout D */
/* Figtree + Work Sans | Outlined accent cards | Split hero LEFT */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@400;500;600;700&family=Work+Sans:wght@400;500;700&display=swap');

:root {
  --pgf-primary: #0FAF59;
  --pgf-primary-dark: #12A650;
  --pgf-accent: #0063C6;
  --pgf-danger: #E85144;
  --pgf-bg-body: #181C26;
  --pgf-bg-hero: #18273D;
  --pgf-surface: #2B3040;
  --pgf-surface-alt: #1A1B26;
  --pgf-text: #FFFFFF;
  --pgf-text-muted: #ABBACB;
  --pgf-container: 1100px;
  --pgf-gap: 24px;
  --pgf-section-gap: 68px;
  --pgf-space: 8px;
  --pgf-radius: 8px;
  --pgf-radius-btn: 8px;
  --pgf-border: 2px solid #0063C6;
  --pgf-border-subtle: 1px solid rgba(171,186,203,0.12);
  --pgf-transition: 0.3s ease;
  --pgf-font-heading: 'Figtree', sans-serif;
  --pgf-font-body: 'Work Sans', sans-serif;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: var(--pgf-font-body);
  color: var(--pgf-text);
  background: var(--pgf-bg-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { font-family: var(--pgf-font-heading); line-height: 1.25; }
a { color: var(--pgf-primary); text-decoration: none; transition: color var(--pgf-transition); }
a:hover { color: var(--pgf-primary-dark); }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* === HEADER (transparent-blur) === */
.pgf-menu-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(24,28,38,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,99,198,0.15);
  transition: box-shadow var(--pgf-transition);
}
.pgf-menu-bar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.pgf-menu-bar-inner {
  max-width: var(--pgf-container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.pgf-brand-logo img {
  height: 28px;
  width: auto;
}
.pgf-nav { display: flex; align-items: center; }
.pgf-nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
}
.pgf-nav-link {
  color: var(--pgf-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--pgf-transition);
  white-space: nowrap;
}
.pgf-nav-link:hover { color: var(--pgf-text); }

/* CTA button */
.pgf-jump {
  display: inline-block;
  background: var(--pgf-primary);
  color: #fff;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--pgf-radius-btn);
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--pgf-transition);
  text-align: center;
  white-space: nowrap;
}
.pgf-jump:hover {
  background: var(--pgf-primary-dark);
  color: #fff;
  box-shadow: 0 4px 16px rgba(15,175,89,0.35);
  transform: translateY(-1px);
}
.pgf-jump-nav {
  padding: 10px 22px;
  font-size: 0.85rem;
}
.pgf-menu-bar .pgf-nav-link.pgf-jump,
.pgf-menu-bar a.pgf-jump,
.pgf-menu-bar a.pgf-jump:hover {
  color: #fff;
}

/* Burger */
.pgf-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}
.pgf-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pgf-text);
  border-radius: 2px;
  transition: all var(--pgf-transition);
}
.pgf-nav-overlay { display: none; }

/* === HERO (split, screenshot LEFT) === */
.pgf-headline-zone {
  background: linear-gradient(45deg, #18273D 0%, #181C26 100%);
  padding: 80px 0 72px;
}
.pgf-headline-zone-inner {
  max-width: var(--pgf-container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 40px;
  align-items: center;
}
.pgf-headline-zone-shot { flex: 1 1 0; min-width: 0; }
.pgf-headline-zone-copy { flex: 1.1 1 0; min-width: 0; }
.pgf-hero-frame {
  position: relative;
  border: 2px solid rgba(0,99,198,0.25);
  border-radius: var(--pgf-radius);
  overflow: hidden;
}
.pgf-hero-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.pgf-hero-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(24,39,61,0.9);
  color: var(--pgf-text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}
h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}
.pgf-headline-zone-copy > p {
  color: var(--pgf-text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* Star rating */
.pgf-star-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.pgf-star-label {
  font-weight: 700;
  font-size: 1.1rem;
  margin-left: 8px;
  color: var(--pgf-text);
}
.pgf-verdict-line {
  color: var(--pgf-text-muted);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 24px;
  line-height: 1.5;
}
.pgf-jump-hero { margin-bottom: 16px; }
.pgf-risk-micro {
  color: var(--pgf-text-muted);
  font-size: 0.75rem;
  opacity: 0.7;
}

/* === METHODOLOGY === */
.pgf-stripe-method {
  background: var(--pgf-surface-alt);
  border-top: 1px solid rgba(0,99,198,0.1);
  border-bottom: 1px solid rgba(0,99,198,0.1);
}
.pgf-method-box {
  padding: 28px 32px;
  border-left: 3px solid var(--pgf-accent);
  border-radius: 0 var(--pgf-radius) var(--pgf-radius) 0;
  background: rgba(43,48,64,0.4);
}
.pgf-chip {
  display: inline-block;
  background: rgba(0,99,198,0.15);
  color: var(--pgf-text-muted);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.pgf-method-box p {
  color: var(--pgf-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.pgf-method-date {
  margin-top: 12px;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* === TOC (chapters) === */
.pgf-chapters {
  max-width: var(--pgf-container);
  margin: 0 auto;
  padding: 32px 24px;
}
.pgf-chapters-inner {
  background: rgba(43,48,64,0.4);
  border: var(--pgf-border);
  border-radius: var(--pgf-radius);
  padding: 28px 32px;
}
.pgf-chapters-title {
  display: block;
  font-family: var(--pgf-font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--pgf-text);
}
.pgf-chapters-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 32px;
  list-style: none;
  counter-reset: toc;
}
.pgf-chapters-list li {
  counter-increment: toc;
}
.pgf-chapters-list li a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--pgf-text-muted);
  font-size: 0.88rem;
  padding: 6px 0;
  transition: color var(--pgf-transition);
}
.pgf-chapters-list li a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--pgf-font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--pgf-accent);
  min-width: 24px;
}
.pgf-chapters-list li a:hover { color: var(--pgf-primary); }

/* === SECTIONS (stripe) === */
.pgf-stripe {
  padding: var(--pgf-section-gap) 0;
  border-top: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, rgba(0,99,198,0.3), transparent) 1;
}
.pgf-stripe-inner {
  max-width: var(--pgf-container);
  margin: 0 auto;
  padding: 0 24px;
}
.pgf-stripe h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 24px;
}
.pgf-stripe h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 16px;
}
.pgf-stripe p {
  color: var(--pgf-text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.pgf-stripe p:last-child { margin-bottom: 0; }

/* === TABLES (bordered-heavy) === */
.pgf-rows-scroll {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--pgf-radius);
}
.pgf-rows {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 2px solid rgba(0,99,198,0.3);
  border-radius: var(--pgf-radius);
  overflow: hidden;
  font-size: 0.9rem;
}
.pgf-rows thead th {
  background: var(--pgf-surface);
  color: var(--pgf-text);
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-family: var(--pgf-font-heading);
  border-bottom: 2px solid rgba(0,99,198,0.3);
}
.pgf-rows tbody td {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(171,186,203,0.1);
  color: var(--pgf-text-muted);
}
.pgf-rows tbody tr:nth-child(even) {
  background: rgba(24,39,61,0.4);
}
.pgf-rows tbody tr:last-child td {
  border-bottom: none;
}
.pgf-rows tbody td:first-child {
  color: var(--pgf-text);
  font-weight: 500;
}

/* === SCREENSHOT FRAME === */
.pgf-shot-frame {
  margin: 28px auto;
  max-width: min(600px, 100%);
  border: 2px solid rgba(0,99,198,0.25);
  border-radius: var(--pgf-radius);
  overflow: hidden;
  background: var(--pgf-surface-alt);
}
.pgf-shot-img {
  display: block;
  width: 100%;
  height: auto;
}
.pgf-shot-img-portrait {
  max-width: 320px;
  margin: 0 auto;
}
.pgf-shot-caption {
  padding: 10px 16px;
  font-size: 0.8rem;
  color: var(--pgf-text-muted);
  text-align: center;
  background: rgba(43,48,64,0.5);
}

/* === STEPS (stacked-numerals, two-column grid) === */
.pgf-checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0;
}
.pgf-checklist-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(43,48,64,0.6);
  border: 2px solid rgba(0,99,198,0.15);
  border-radius: var(--pgf-radius);
  padding: 20px;
  transition: border-color var(--pgf-transition);
}
.pgf-checklist-item:hover {
  border-color: var(--pgf-primary);
}
.pgf-checklist-num {
  font-family: var(--pgf-font-heading);
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  color: var(--pgf-accent);
  min-width: 40px;
  text-align: center;
  flex-shrink: 0;
}
.pgf-checklist-body {
  font-size: 0.9rem;
  color: var(--pgf-text-muted);
  line-height: 1.6;
}
.pgf-checklist-body strong {
  color: var(--pgf-text);
  font-weight: 600;
}

/* === BULLET LISTS === */
.pgf-bullet-list {
  margin: 16px 0;
  padding-left: 0;
}
.pgf-bullet-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--pgf-text-muted);
  font-size: 0.9rem;
}
.pgf-bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--pgf-accent);
  border-radius: 2px;
}

/* === PROS & CONS === */
.pgf-pros-cons {
  display: flex;
  gap: var(--pgf-gap);
  margin: 24px 0;
}
.pgf-pros-col, .pgf-cons-col {
  flex: 1;
  background: rgba(43,48,64,0.6);
  border: 2px solid rgba(0,99,198,0.15);
  border-radius: var(--pgf-radius);
  padding: 24px;
}
.pgf-pros-col { border-top: 3px solid var(--pgf-primary); }
.pgf-cons-col { border-top: 3px solid var(--pgf-danger); }
.pgf-pros-title, .pgf-cons-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.pgf-pros-col ul, .pgf-cons-col ul {
  padding-left: 0;
}
.pgf-pros-col li, .pgf-cons-col li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: var(--pgf-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.pgf-pros-col li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--pgf-primary);
  font-weight: 700;
}
.pgf-cons-col li::before {
  content: '-';
  position: absolute;
  left: 2px;
  color: var(--pgf-danger);
  font-weight: 700;
}
.pgf-pros-col li strong, .pgf-cons-col li strong {
  color: var(--pgf-text);
}

/* === AUTHOR (writer) === */
.pgf-stripe-writer {
  background: var(--pgf-surface-alt);
  padding: 48px 0;
}
.pgf-writer-box {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: rgba(43,48,64,0.6);
  border: var(--pgf-border);
  border-radius: var(--pgf-radius);
  padding: 28px;
}
.pgf-writer-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--pgf-accent);
}
.pgf-writer-name {
  display: block;
  font-family: var(--pgf-font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.pgf-writer-role {
  display: block;
  color: var(--pgf-accent);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.pgf-writer-info p {
  color: var(--pgf-text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.pgf-writer-meta {
  font-size: 0.78rem;
  opacity: 0.6;
}

/* === REVIEWS (glass cards) === */
.pgf-comments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--pgf-gap);
  margin-top: 28px;
}
.pgf-comment-cell {
  background: rgba(43,48,64,0.35);
  border: 1px solid rgba(171,186,203,0.12);
  border-radius: var(--pgf-radius);
  padding: 24px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--pgf-transition);
}
.pgf-comment-cell:hover {
  border-color: var(--pgf-primary);
}
.pgf-comment-cell:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - var(--pgf-gap) / 2);
}
.pgf-comment-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.pgf-comment-nick {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--pgf-text);
}
.pgf-comment-city {
  font-size: 0.78rem;
  color: var(--pgf-text-muted);
  background: rgba(0,99,198,0.15);
  padding: 2px 10px;
  border-radius: 100px;
}
.pgf-comment-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}
.pgf-comment-text {
  color: var(--pgf-text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* === FAQ (accordion-outlined) === */
.pgf-stripe-ask {
  background: var(--pgf-surface-alt);
}
.pgf-ask-list {
  display: grid;
  gap: 12px;
}
.pgf-ask-item {
  border: 2px solid rgba(0,99,198,0.2);
  border-radius: var(--pgf-radius);
  overflow: hidden;
  transition: border-color var(--pgf-transition);
}
.pgf-ask-item[open] {
  border-color: var(--pgf-accent);
}
.pgf-ask-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.pgf-ask-item summary::-webkit-details-marker { display: none; }
.pgf-ask-item summary::marker { content: ''; }
.pgf-ask-item summary h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pgf-text);
}
.pgf-ask-chevron {
  flex-shrink: 0;
  color: var(--pgf-accent);
  transition: transform var(--pgf-transition);
}
.pgf-ask-item[open] .pgf-ask-chevron {
  transform: rotate(180deg);
}
.pgf-ask-body {
  padding: 0 24px 20px;
}
.pgf-ask-body p {
  color: var(--pgf-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* === FINAL CTA === */
.pgf-stripe-final-cta {
  background: linear-gradient(45deg, #18273D, #181C26);
  text-align: center;
  padding: 56px 0;
}
.pgf-final-cta-box h2 {
  margin-bottom: 12px;
}
.pgf-final-cta-box p {
  color: var(--pgf-text-muted);
  margin-bottom: 24px;
}
.pgf-jump-final {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* === FOOTER (tail) === */
.pgf-tail {
  background: var(--pgf-surface-alt);
  border-top: 1px solid rgba(0,99,198,0.1);
  padding: 48px 0 24px;
}
.pgf-tail-inner {
  max-width: var(--pgf-container);
  margin: 0 auto;
  padding: 0 24px;
}
.pgf-tail-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.pgf-tail-logo {
  height: 24px;
  width: auto;
  margin-bottom: 16px;
}
.pgf-tail-disclaimer {
  color: var(--pgf-text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}
.pgf-tail-col strong {
  display: block;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.pgf-tail-col ul {
  list-style: none;
}
.pgf-tail-col ul li { margin-bottom: 8px; }
.pgf-tail-col ul a {
  color: var(--pgf-text-muted);
  font-size: 0.85rem;
  transition: color var(--pgf-transition);
}
.pgf-tail-col ul a:hover { color: var(--pgf-primary); }
.pgf-tail-aff {
  color: var(--pgf-text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}
.pgf-tail-age {
  display: inline-block;
  margin-top: 12px;
  background: var(--pgf-danger);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}
.pgf-tail-bottom {
  border-top: 1px solid rgba(171,186,203,0.1);
  padding-top: 20px;
  text-align: center;
}
.pgf-tail-bottom p {
  color: var(--pgf-text-muted);
  font-size: 0.78rem;
  opacity: 0.6;
}

/* === RESPONSIVE === */
@media (max-width: 1023px) {
  .pgf-headline-zone-inner {
    flex-direction: column;
  }
  .pgf-headline-zone-shot {
    max-width: 540px;
    margin: 0 auto;
  }
  .pgf-checklist-grid {
    grid-template-columns: 1fr;
  }
  .pgf-chapters-list {
    grid-template-columns: 1fr;
  }
  .pgf-tail-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .pgf-nav { display: none; }
  .pgf-jump-nav { display: none; }
  .pgf-burger { display: flex; }
  .pgf-nav.pgf-nav-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(24,28,38,0.97);
    backdrop-filter: blur(16px);
    z-index: 105;
    justify-content: center;
    align-items: center;
    padding: 40px 24px;
  }
  .pgf-nav.pgf-nav-open .pgf-nav-list {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  .pgf-nav.pgf-nav-open .pgf-nav-link {
    font-size: 1.2rem;
  }
  .pgf-nav-overlay.pgf-nav-overlay-visible {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 104;
  }
  .pgf-headline-zone { padding: 56px 0 48px; }
  h1 { font-size: 1.5rem; }
  .pgf-pros-cons {
    flex-direction: column;
  }
  .pgf-comments-grid {
    grid-template-columns: 1fr;
  }
  .pgf-comment-cell:last-child:nth-child(odd) {
    max-width: 100%;
  }
  .pgf-writer-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .pgf-stripe { padding: 48px 0; }
  .pgf-shot-img-portrait { max-width: 260px; }
}

@media (min-width: 1440px) {
  .pgf-headline-zone-inner { max-width: 1200px; }
}
/* === BREADCRUMB (trail) === */
.pgf-trail {
  max-width: var(--pgf-container);
  margin: 0 auto;
  padding: 12px 24px;
}
.pgf-trail-list {
  display: flex;
  gap: 8px;
  list-style: none;
  font-size: 0.82rem;
  color: var(--pgf-text-muted);
}
.pgf-trail-list li + li::before {
  content: '>';
  margin-right: 8px;
  opacity: 0.5;
}
.pgf-trail-list a {
  color: var(--pgf-text-muted);
}
.pgf-trail-list a:hover {
  color: var(--pgf-primary);
}
.pgf-trail-list [aria-current="page"] {
  color: var(--pgf-text);
}

/* Mid-section CTA breathing room */
.pgf-jump-mid {
  margin-top: 28px;
  margin-bottom: 8px;
}
