/* ==========================================================================
   BEEZY — Emerald Green & Obsidian Black Luxury Architecture
   Reference Layout: https://krb789.net/ (data-theme="luxury-emerald-black")
   Complies 100% with GEMINI.md Rules (Layout, 3D Gold-Orange Text Overlay, Zero CLS)
   ========================================================================== */

:root,
:root[data-theme="luxury-obsidian-gold"],
:root[data-theme="luxury-emerald-black"] {
  --bg-base: #050b08;
  --bg-surface: #0a1610;
  --primary-color: #10b981;
  --primary-soft: #6ee7b7;
  --primary-strong: #a7f3d0;
  --accent-color: #00c853;
  --accent-light: #d1fae5;
  --accent-bright: #00e676;
  --accent-contrast: #03140b;
  --header-bg: rgba(5, 14, 10, 0.94);
  --header-border: rgba(16, 185, 129, 0.38);
  --card-bg: rgba(9, 24, 17, 0.94);
  --card-surface-gradient: linear-gradient(165deg, rgba(13, 33, 24, 0.96) 0%, rgba(6, 16, 11, 0.98) 100%);
  --text-color: #ecfdf5;
  --text-body: #d1fae5;
  --text-muted: #86efac;
  --btn-brand-bg: linear-gradient(135deg, #34d399 0%, #10b981 52%, #047857 100%);
  --btn-brand-text: #02180e;
  --border-glass: rgba(16, 185, 129, 0.38);
  --border-hover: rgba(0, 230, 118, 0.82);
  --table-head-bg: linear-gradient(90deg, rgba(4, 120, 87, 0.48) 0%, rgba(16, 185, 129, 0.28) 100%);
  --dashed-divider: rgba(16, 185, 129, 0.3);
  --footer-bg: linear-gradient(180deg, #040d09 0%, #020705 100%);
  --footer-divider: rgba(16, 185, 129, 0.22);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --container-max: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  font-size: clamp(0.97rem, 0.93rem + 0.18vw, 1.04rem);
}

body {
  font-family: 'Prompt', 'Noto Sans Thai', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-base);
  background-image:
    radial-gradient(circle at 14% 12%, rgba(16, 185, 129, 0.20) 0%, transparent 42%),
    radial-gradient(circle at 86% 22%, rgba(0, 230, 118, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 50% 82%, rgba(4, 120, 87, 0.18) 0%, transparent 48%),
    linear-gradient(155deg, #050b08 0%, #0a1711 52%, #030806 100%);
  background-attachment: fixed;
  color: var(--text-body);
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: var(--primary-soft);
  text-decoration: none;
  transition: all 0.24s ease;
}

a:hover {
  color: var(--accent-bright);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   1. Sticky Header (pgpop.online architecture in Gold & Black)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--header-bg);
  border-bottom: 1.5px solid var(--header-border);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), inset 0 -1px 0 rgba(255, 215, 0, 0.22);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
}

.logo-area {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-area img {
  height: 46px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(255, 215, 0, 0.45));
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #fff0bd 0%, #ffd700 50%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: nowrap;
}

.nav-links a,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-color);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.nav-links a:hover,
.nav-links a.active,
.nav-link:hover,
.nav-link.active {
  background: rgba(16, 185, 129, 0.18);
  border-color: var(--border-hover);
  color: var(--accent-bright);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-outline,
.cta-btn,
.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 9px 20px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.24s ease;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.86rem;
}

.btn-outline {
  background: rgba(24, 24, 32, 0.82);
  color: var(--primary-soft) !important;
  border: 1.5px solid var(--border-glass);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.12);
}

.btn-outline:hover {
  border-color: var(--accent-bright);
  background: rgba(16, 185, 129, 0.16);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.cta-btn.btn-accent,
.btn-brand {
  background: var(--btn-brand-bg);
  color: var(--btn-brand-text) !important;
  border: 1.5px solid #6ee7b7;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.42), inset 0 2px 3px rgba(255, 255, 255, 0.65);
}

.cta-btn.btn-accent:hover,
.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 215, 0, 0.65), inset 0 2px 4px rgba(255, 255, 255, 0.8);
  color: #000000 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(24, 24, 32, 0.95);
  border: 1.5px solid var(--border-glass);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent-bright);
  border-radius: 2px;
}

/* Breadcrumb Bar (for inner pages) */
.breadcrumb-bar {
  background: rgba(14, 14, 19, 0.78);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  padding: 9px 0;
  font-size: 0.85rem;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.breadcrumb-list li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--accent-bright);
}

/* ==========================================================================
   2. Hero Section (2-Column Grid + Frosted Glass Frame + 3D Text Overlay)
   ========================================================================== */

@keyframes gentle-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.hero {
  max-width: var(--container-max);
  margin: 34px auto 40px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 34px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid var(--border-glass);
  color: var(--primary-soft);
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 16px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 8px var(--accent-bright);
}

.hero-content h1 {
  font-size: clamp(1.72rem, 1.35rem + 1.55vw, 2.32rem);
  font-weight: 800;
  line-height: 1.32;
  color: var(--primary-soft);
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.hero-lead {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 18px;
}

.editorial-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.editorial-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(24, 24, 32, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.26);
  color: var(--text-muted);
}

.editorial-pill i {
  color: var(--accent-bright);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Glassmorphic Media Frame & 3D Gold-Orange Glowing Text Overlay (Rule 3 GEMINI.md) */
.mascot-box,
.cosmic-glass-frame,
.security-visual-banner,
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 11px;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.22) 0%, rgba(20, 20, 28, 0.92) 55%, rgba(255, 215, 0, 0.16) 100%);
  border: 2px solid var(--border-glass);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.65),
    0 0 28px rgba(16, 185, 129, 0.18),
    inset 0 2px 3px rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.mascot-box {
  animation: gentle-float 5.5s ease-in-out infinite;
}

.banner-stage {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #08080c;
}

.banner-stage img,
.content-media-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* Left-side 3D Gold-Orange Glowing Text Overlay (Rule 3 GEMINI.md) */
.banner-overlay {
  position: absolute;
  inset: 0;
  width: 56%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 6% 4% 6% 7%;
  background: linear-gradient(90deg, rgba(6, 6, 10, 0.55) 0%, rgba(6, 6, 10, 0.2) 65%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.banner-3d-tag {
  display: inline-block;
  font-size: clamp(0.62rem, 0.85vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f59e0b 0%, #ffd700 100%);
  color: #120c02;
  margin-bottom: 6px;
  box-shadow: 0 0 14px rgba(255, 165, 0, 0.75);
}

.banner-3d-title {
  font-size: clamp(1.1rem, 2.1vw, 1.72rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #ffffff 0%, #fff0bd 25%, #ffd700 58%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0px #7c2d12)
          drop-shadow(0 4px 10px rgba(249, 115, 22, 0.65))
          drop-shadow(0 0 18px rgba(255, 215, 0, 0.55));
  margin-bottom: 6px;
}

.banner-3d-sub {
  font-size: clamp(0.72rem, 1.05vw, 0.92rem);
  font-weight: 700;
  color: #fde68a;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 0 12px rgba(245, 158, 11, 0.65);
  line-height: 1.35;
}

.tldr-media .banner-3d-title {
  font-size: clamp(0.95rem, 1.45vw, 1.28rem);
}

.tldr-media .banner-3d-sub {
  font-size: 0.75rem;
}

.media-frame figcaption,
.cosmic-caption {
  padding: 8px 12px 2px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   3.1 TL;DR Callout Split Box (pgpop.online .tldr-box.tldr-cosmic-split)
   ========================================================================== */

.tldr-box {
  background: var(--card-surface-gradient);
  border: 1.5px solid var(--border-glass);
  border-left: 6px solid var(--primary-color);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  margin-bottom: 42px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.12);
}

.tldr-cosmic-split {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(290px, 0.78fr);
  gap: 28px;
  align-items: center;
}

.tldr-copy h2 {
  font-size: clamp(1.28rem, 1.1rem + 0.8vw, 1.62rem);
  font-weight: 800;
  color: var(--primary-soft);
  margin-bottom: 12px;
}

.tldr-copy p {
  margin-bottom: 12px;
  color: var(--text-body);
}

.tldr-highlights {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 14px;
  margin-top: 12px;
}

.tldr-highlights li {
  font-size: 0.88rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tldr-highlights li i {
  color: var(--accent-bright);
}

/* ==========================================================================
   3.2 5-Dimension Scorecard + Data Table (pgpop.online .scorecard-section)
   ========================================================================== */

.scorecard-section,
.pros-cons-section,
.hub-cards-section,
.faq-section {
  margin-bottom: 46px;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 24px;
}

.section-title {
  font-size: clamp(1.38rem, 1.15rem + 1vw, 1.85rem);
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cosmic-showcase {
  max-width: 720px;
  margin: 0 auto 26px;
}

.scorecard-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.score-card {
  background: var(--card-surface-gradient);
  border: 1.5px solid var(--border-glass);
  border-radius: 20px;
  padding: 20px 14px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.14);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.score-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.score-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 8px;
}

.score-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--accent-bright);
  line-height: 1.2;
  margin-bottom: 4px;
  text-shadow: 0 0 14px rgba(255, 215, 0, 0.35);
}

.stars {
  color: #fbbf24;
  font-size: 1rem;
  letter-spacing: 2px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: 18px;
  border: 1.5px solid var(--border-glass);
  background: rgba(16, 16, 22, 0.95);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
  margin: 18px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table th {
  background: var(--table-head-bg);
  color: var(--primary-strong);
  font-weight: 700;
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1.5px solid var(--border-glass);
}

.data-table td {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
  color: var(--text-body);
}

.data-table tr:nth-child(even) td {
  background: rgba(255, 215, 0, 0.03);
}

.data-table tr:hover td {
  background: rgba(16, 185, 129, 0.08);
}

/* ==========================================================================
   3.3 & 3.4 Content Blocks & 2x2 / 2-Col Security Cards (pgpop.online)
   ========================================================================== */

.content-block {
  background: var(--card-surface-gradient);
  border: 1.5px solid var(--border-glass);
  border-radius: 26px;
  padding: 36px 38px;
  margin-bottom: 44px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 2px 3px rgba(255, 255, 255, 0.12);
}

.content-block h2 {
  font-size: clamp(1.32rem, 1.12rem + 0.9vw, 1.72rem);
  font-weight: 800;
  color: var(--text-color);
  padding-left: 14px;
  border-left: 5px solid var(--primary-color);
  margin-bottom: 16px;
}

.content-block h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary-soft);
  margin: 16px 0 8px;
}

.direct-answer {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.34);
  border-left: 4px solid var(--accent-bright);
  border-radius: 16px;
  padding: 18px 22px;
  color: var(--text-color);
  font-size: 0.96rem;
  margin-bottom: 24px;
}

.security-visual-banner {
  max-width: 760px;
  margin: 0 auto 26px;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.security-card {
  background: rgba(14, 14, 20, 0.88);
  border: 1.5px solid var(--border-glass);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.1);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.security-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.security-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.26) 0%, rgba(4, 120, 87, 0.18) 100%);
  border: 1px solid var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--accent-bright);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.22);
}

.security-card-head h3 {
  margin: 0;
  font-size: 1.06rem;
  color: var(--text-color);
}

.security-points {
  list-style: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--dashed-divider);
}

.security-points li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-body);
}

.security-points li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent-bright);
  font-weight: 700;
}

/* ==========================================================================
   3.5 Pros & Cons 2-Column Section (pgpop.online .pros-cons-grid)
   ========================================================================== */

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.pc-box {
  border-radius: 24px;
  padding: 28px 30px;
  border: 1.5px solid var(--border-glass);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.12);
}

.pc-box.pros {
  background: linear-gradient(165deg, rgba(16, 42, 32, 0.92) 0%, rgba(12, 22, 18, 0.96) 100%);
  border-color: rgba(52, 211, 153, 0.42);
}

.pc-box.cons {
  background: linear-gradient(165deg, rgba(46, 24, 18, 0.92) 0%, rgba(22, 14, 14, 0.96) 100%);
  border-color: rgba(251, 191, 36, 0.42);
}

.pc-box h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-color);
}

.pc-box ul {
  list-style: none;
}

.pc-box ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.94rem;
  color: var(--text-body);
}

.pc-box.pros ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: 800;
}

.pc-box.cons ul li::before {
  content: "✖";
  position: absolute;
  left: 0;
  color: #fbbf24;
  font-weight: 800;
}

/* ==========================================================================
   3.6 Hub & Spoke 3x2 Service Category Cards (pgpop.online .grid-cards)
   ========================================================================== */

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
}

.card {
  background: var(--card-surface-gradient);
  border: 1.5px solid var(--border-glass);
  border-radius: 24px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), inset 0 1px 2px rgba(255, 255, 255, 0.14);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 18px 38px rgba(16, 185, 129, 0.24);
}

.card-body .card-icon {
  margin-bottom: 16px;
}

.card-body h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 10px;
}

.card-body p {
  font-size: 0.92rem;
  color: var(--text-body);
  margin-bottom: 18px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-bright);
  padding-top: 12px;
  border-top: 1px dashed var(--dashed-divider);
}

.card-link:hover {
  gap: 10px;
  color: #ffffff;
}

/* ==========================================================================
   3.7 Native <details> FAQ Accordion (pgpop.online .faq-section)
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}

details.faq-item,
.faq-item {
  background: var(--card-surface-gradient);
  border: 1.5px solid var(--border-glass);
  border-radius: 20px;
  padding: 18px 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  transition: border-color 0.22s ease;
}

details.faq-item[open] {
  border-color: var(--border-hover);
}

summary.faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

summary.faq-question::-webkit-details-marker {
  display: none;
}

summary.faq-question h3,
.faq-item h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary-soft);
  margin: 0;
}

.faq-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid var(--border-glass);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-bright);
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

details.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  background: var(--primary-color);
  color: #120e03;
}

.faq-answer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--dashed-divider);
  color: var(--text-body);
  font-size: 0.94rem;
}

/* ==========================================================================
   4. 4-Column Dark Luxury Footer (pgpop.online .site-footer)
   ========================================================================== */

.site-footer {
  background: var(--footer-bg);
  border-top: 4px solid var(--primary-color);
  margin-top: auto;
  color: var(--text-body);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 52px 20px 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 32px;
}

.footer-heading {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--primary-soft);
  margin-bottom: 14px;
}

.footer-about {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 9px;
}

.footer-links-list a {
  font-size: 0.88rem;
  color: var(--text-body);
}

.footer-links-list a:hover {
  color: var(--accent-bright);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--footer-divider);
  padding-top: 22px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   5. Responsive Mobile Menu & Breakpoints (Desktop > 960px | Mobile <= 960px)
   ========================================================================== */

.mobile-only-nav {
  display: none;
}

.mobile-drawer-actions {
  display: none;
}

.nav-links a i {
  display: none;
  font-size: 0.9rem;
  color: var(--accent-bright);
  transition: color 0.2s ease;
}

@media (max-width: 960px) {
  .nav-links a i {
    display: inline-block;
  }
}

.nav-links a:hover i,
.nav-links a.active i {
  color: var(--accent-bright);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(30, 29, 38, 0.96), rgba(16, 16, 22, 0.96));
  border: 1.5px solid var(--border-glass);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  cursor: pointer;
  padding: 0;
  transition: all 0.24s ease;
}

.nav-toggle:hover {
  border-color: var(--accent-bright);
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.38);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2.4px;
  background: var(--accent-bright);
  border-radius: 3px;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, background-color 0.2s ease;
}

.nav-toggle.is-active {
  background: rgba(16, 185, 129, 0.22);
  border-color: var(--accent-bright);
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.45);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
  transform: translateY(7.4px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7.4px) rotate(-45deg);
}

@keyframes mobileDrawerSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .nav-container {
    flex-wrap: wrap;
    min-height: 64px;
    padding: 8px 16px;
    gap: 10px;
  }

  .logo-area img {
    height: 38px;
    max-width: 118px;
  }

  .header-actions {
    order: 2;
    gap: 8px;
    margin-left: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .desktop-nav {
    order: 3;
    flex-basis: 100%;
    width: 100%;
    display: none;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(18, 18, 25, 0.98) 0%, rgba(10, 10, 14, 0.99) 100%);
    border: 1.5px solid var(--border-glass);
    border-radius: 20px;
    padding: 16px;
    margin-top: 8px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75), 0 0 24px rgba(16, 185, 129, 0.18);
  }

  .desktop-nav.is-open {
    display: flex;
    animation: mobileDrawerSlide 0.24s ease-out forwards;
  }

  .mobile-only-nav {
    display: block;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
  }

  /* Make the 9th item span full width cleanly in 2-col grid */
  .nav-links li:last-child {
    grid-column: 1 / -1;
  }

  .nav-links a,
  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 11px 14px;
    font-size: 0.9rem;
    border-radius: 14px;
    background: rgba(28, 27, 36, 0.9);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--text-color);
  }

  .nav-links a.active,
  .nav-link.active {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.28) 0%, rgba(4, 120, 87, 0.22) 100%);
    border-color: var(--accent-bright);
    color: var(--accent-bright);
  }

  .mobile-drawer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--dashed-divider);
  }

  .mobile-drawer-actions a {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.92rem;
    justify-content: center;
  }

  .hero,
  .tldr-cosmic-split,
  .security-grid,
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    margin: 22px auto 30px;
    gap: 24px;
  }

  .scorecard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scorecard-grid .score-card:nth-child(5) {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .nav-container {
    padding: 8px 12px;
    gap: 6px;
  }

  .logo-area img {
    height: 32px;
    max-width: 96px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-login-btn,
  .header-reg-btn {
    display: inline-flex !important;
    padding: 6px 11px;
    font-size: 0.78rem;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .nav-links {
    grid-template-columns: 1fr;
  }

  .nav-links li:last-child {
    grid-column: auto;
  }

  .content-block,
  .tldr-box,
  .pc-box {
    padding: 22px 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .banner-overlay {
    width: 65%;
    padding: 5% 4% 5% 5%;
  }

  .banner-3d-title {
    font-size: clamp(1rem, 4.8vw, 1.35rem);
  }

  .banner-3d-sub {
    font-size: clamp(0.68rem, 2.8vw, 0.82rem);
  }
}

/* ==========================================================================
   6. Interactive Calculators & E-E-A-T Reviewer Box (SEO Engagement Booster)
   ========================================================================== */

.calc-widget {
  background: linear-gradient(165deg, rgba(28, 26, 18, 0.96) 0%, rgba(12, 12, 16, 0.98) 100%);
  border: 2px solid var(--primary-color);
  border-radius: 22px;
  padding: 26px 28px;
  margin: 24px 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 215, 0, 0.2);
}

.calc-widget h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-bright);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.calc-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-soft);
  margin-bottom: 6px;
}

.calc-field input,
.calc-field select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(8, 8, 12, 0.92);
  border: 1.5px solid var(--border-glass);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
}

.calc-field input:focus,
.calc-field select:focus {
  outline: none;
  border-color: var(--accent-bright);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.35);
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  padding-top: 16px;
  border-top: 1px dashed var(--dashed-divider);
}

.calc-res-box {
  background: rgba(10, 10, 14, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 14px;
  padding: 12px 16px;
  text-align: center;
}

.calc-res-lbl {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.calc-res-val {
  display: block;
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--accent-bright);
}

.eeat-author-box {
  background: rgba(18, 18, 24, 0.94);
  border: 1.5px solid var(--border-glass);
  border-left: 5px solid var(--primary-color);
  border-radius: 20px;
  padding: 22px 26px;
  margin: 28px auto 40px;
  max-width: var(--container-max);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.eeat-author-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 280px;
}

.eeat-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--btn-brand-bg);
  color: #171204;
  font-weight: 900;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}

.eeat-text strong {
  display: block;
  font-size: 0.98rem;
  color: var(--primary-soft);
}

.eeat-text p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 4px 0 0;
  line-height: 1.5;
}

.eeat-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.eeat-badge {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--accent-light);
}
