/*
Theme Name: Pioneer Labs
Theme URI: https://pioneerlabs.com
Author: Pioneer Labs
Description: Custom dark theme for Pioneer Labs peptide research shop.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
Text Domain: pioneer-labs
*/

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --bg:           #080808;
  --bg-card:      #101010;
  --bg-card-2:    #161616;
  --border:       #1e1e1e;
  --border-light: #2a2a2a;
  --text:         #c8cdd6;
  --text-muted:   #7a8090;
  --silver:       #a8b4c4;
  --silver-bright:#d4dce8;
  --white:        #ffffff;
  --blue:         #1a56c4;
  --blue-light:   #2a6ee0;
  --blue-dark:    #0f3580;
  --red:          #b51a1a;
  --red-light:    #cc2222;
  --gold:         #c8a84b;
  --radius:       6px;
  --radius-lg:    12px;
  --shadow:       0 4px 24px rgba(0,0,0,0.6);
  --transition:   all 0.2s ease;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--silver-bright); }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--silver-bright);
}

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--silver-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  height: 2px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--blue));
}

.section-divider::after {
  background: linear-gradient(90deg, var(--red), transparent);
}

.section-divider span {
  color: var(--blue);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,86,196,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--silver-bright);
  border: 1px solid var(--border-light);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue-light);
  transform: translateY(-1px);
}

.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-red:hover {
  background: var(--red-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(181,26,26,0.4);
}

/* =============================================
   HEADER / NAV
   ============================================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8,8,8,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.site-logo img {
  height: 48px;
  width: auto;
}

.site-logo .logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--silver-bright);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-logo .logo-text span {
  color: var(--blue);
}

#site-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}

#site-nav a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: var(--transition);
}

#site-nav a:hover,
#site-nav .current-menu-item > a {
  color: var(--silver-bright);
}

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

.cart-icon {
  position: relative;
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition);
}

.cart-icon:hover { color: var(--silver-bright); }

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--silver);
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: var(--transition);
}

/* =============================================
   NOTICE BAR
   ============================================= */
.notice-bar {
  background: var(--red);
  text-align: center;
  padding: 8px 24px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(26,86,196,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 80%, rgba(181,26,26,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-logo {
  width: 220px;
  height: auto;
  margin: 0 auto 40px;
  filter: drop-shadow(0 0 40px rgba(26,86,196,0.3));
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #d4dce8 0%, #8a96a8 50%, #d4dce8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 24px;
}

.hero-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-tagline span {
  display: inline-block;
  padding: 0 12px;
}

.hero-tagline span:not(:last-child)::after {
  content: '·';
  margin-left: 12px;
  color: var(--blue);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--red);
  border-radius: var(--radius);
  padding: 10px 20px;
  margin-bottom: 40px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-badge strong {
  color: var(--white);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  transition: var(--transition);
}

.trust-item:last-child { border-right: none; }

.trust-item:hover {
  background: var(--bg-card-2);
}

.trust-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.trust-text strong {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-bright);
  line-height: 1.2;
}

.trust-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =============================================
   FEATURED PRODUCTS
   ============================================= */
.featured-products { background: var(--bg); }

/* WooCommerce product grid overrides */
.featured-products .products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.featured-products .woocommerce ul.products li.product,
.featured-products ul.products li.product {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  transition: var(--transition) !important;
  width: auto !important;
  float: none !important;
}

.featured-products ul.products li.product:hover {
  border-color: var(--blue) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 32px rgba(26,86,196,0.2) !important;
}

.featured-products ul.products li.product a img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}

.featured-products ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--silver-bright) !important;
  padding: 16px 16px 4px !important;
}

.featured-products ul.products li.product .price {
  color: var(--blue-light) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  padding: 0 16px 8px !important;
  display: block !important;
}

.featured-products ul.products li.product .button {
  display: block !important;
  margin: 0 16px 16px !important;
  padding: 10px !important;
  background: var(--blue) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: var(--radius) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: var(--transition) !important;
}

.featured-products ul.products li.product .button:hover {
  background: var(--blue-light) !important;
}

.view-all-wrap {
  text-align: center;
  margin-top: 48px;
}

/* =============================================
   WHY PIONEER LABS
   ============================================= */
.why-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.why-intro h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.why-intro h2 span { color: var(--blue); }

.why-intro p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--blue);
  background: var(--bg);
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.feature-card h4 {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--silver-bright);
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================
   COA / QUALITY SECTION
   ============================================= */
.coa-section { background: var(--bg); }

.coa-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.coa-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.coa-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.coa-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.coa-badge {
  width: 80px;
  height: 80px;
  background: rgba(26,86,196,0.1);
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.coa-visual h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.coa-visual p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.coa-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.coa-stat strong {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue-light), var(--silver-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.coa-stat span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =============================================
   RESEARCH USE ONLY BANNER
   ============================================= */
.ruo-banner {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a0505 100%);
  border-top: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
  padding: 48px 0;
}

.ruo-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.ruo-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.ruo-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 16px;
}

.ruo-inner p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand .footer-logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-bright);
  margin-bottom: 12px;
}

.footer-brand .footer-logo-text span { color: var(--blue); }

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-disclaimer {
  font-size: 0.75rem !important;
  color: #555 !important;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  line-height: 1.6 !important;
}

.footer-col h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver-bright);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--silver-bright);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #444;
  margin: 0;
}

.footer-bottom a { color: #555; }
.footer-bottom a:hover { color: var(--text-muted); }

.footer-ruo {
  font-size: 0.75rem;
  color: var(--red);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =============================================
   WOOCOMMERCE GENERAL
   ============================================= */
.woocommerce-page .entry-content,
.woocommerce-page #primary {
  color: var(--text);
}

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb {
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 12px 0;
}

.woocommerce .woocommerce-breadcrumb a { color: var(--text-muted); }
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--silver-bright); }

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--blue) !important;
  color: var(--white) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border-radius: var(--radius) !important;
  border: none !important;
  padding: 12px 24px !important;
  transition: var(--transition) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--blue-light) !important;
  color: var(--white) !important;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--blue) !important;
}

/* Forms */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-light) !important;
  color: var(--text) !important;
  border-radius: var(--radius) !important;
  padding: 12px 16px !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--blue) !important;
  outline: none !important;
}

/* Tables */
.woocommerce table.shop_table {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
}

.woocommerce table.shop_table th {
  background: var(--bg-card-2) !important;
  color: var(--silver-bright) !important;
  font-family: 'Rajdhani', sans-serif !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border: none !important;
  padding: 14px 20px !important;
}

.woocommerce table.shop_table td {
  border: none !important;
  border-top: 1px solid var(--border) !important;
  color: var(--text) !important;
  padding: 14px 20px !important;
}

/* Notices */
.woocommerce-message,
.woocommerce-info {
  background: var(--bg-card) !important;
  border-top: 3px solid var(--blue) !important;
  color: var(--text) !important;
}

.woocommerce-error {
  background: var(--bg-card) !important;
  border-top: 3px solid var(--red) !important;
  color: var(--text) !important;
}

/* =============================================
   SHOP / ARCHIVE PAGE
   ============================================= */
.shop-page-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  margin-bottom: 40px;
}

.shop-page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =============================================
   SINGLE PRODUCT
   ============================================= */
.woocommerce div.product {
  color: var(--text);
}

.woocommerce div.product .product_title {
  font-family: 'Rajdhani', sans-serif !important;
  font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--silver-bright) !important;
}

.woocommerce div.product .price {
  color: var(--blue-light) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--text-muted) !important;
  line-height: 1.8 !important;
  border-top: 1px solid var(--border) !important;
  padding-top: 20px !important;
  margin-top: 20px !important;
}

/* =============================================
   SINGLE PRODUCT – LAB VERIFICATION
   ============================================= */
.pl-coa-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pl-coa-badge svg { color: var(--blue-light); flex-shrink: 0; }

.pl-coa {
  margin-top: 56px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  clear: both;
  scroll-margin-top: 100px;
}

.pl-coa-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.pl-coa-intro h2 {
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.pl-coa-intro p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 60ch;
}

.pl-coa-cta { flex-shrink: 0; }

.pl-coa-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.pl-coa-meta-item dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.pl-coa-meta-item dd {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--silver-bright);
}

.pl-coa-panels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pl-coa-panels li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pl-coa-panels li svg { color: var(--blue-light); }

.pl-coa-panels-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
}


/* =============================================
   GENERIC PAGE / CONTENT
   ============================================= */
.page-content {
  padding: 60px 0;
}

.entry-title {
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.entry-content h2, .entry-content h3 {
  margin: 28px 0 12px;
}

.entry-content p { color: var(--text); }

.entry-content a { color: var(--blue-light); }

/* =============================================
   AGE GATE MODAL
   ============================================= */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.97);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-gate-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 48px 40px;
  text-align: center;
}

.age-gate-logo {
  width: 100px;
  margin: 0 auto 24px;
}

.age-gate-box h2 {
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.age-gate-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.age-gate-disclaimer {
  font-size: 0.78rem !important;
  color: #555 !important;
  margin-bottom: 28px !important;
}

.age-gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .trust-bar-inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-item:nth-child(3) { border-right: none; }
  .trust-item:nth-child(4) { border-top: 1px solid var(--border); }
  .trust-item:nth-child(5) { border-top: 1px solid var(--border); border-right: none; }

  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .coa-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }

  #site-nav { display: none; }
  /* Anchored to #site-header, which is the containing block for positioned
     descendants. Must not be position:fixed — the header's backdrop-filter
     traps fixed children inside the header box and collapses the panel. */
  #site-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8,8,8,0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 8px 24px 16px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
  }
  #site-nav.is-open ul {
    flex-direction: column;
    gap: 0;
  }
  #site-nav.is-open ul li {
    border-bottom: 1px solid var(--border);
  }
  #site-nav.is-open ul li:last-child {
    border-bottom: none;
  }
  #site-nav.is-open ul li a {
    display: block;
    padding: 16px 0;
    font-size: 1.1rem;
  }

  .menu-toggle { display: flex; }

  .trust-bar-inner {
    grid-template-columns: 1fr 1fr;
  }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: none; grid-column: span 2; }

  .why-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .hero-actions { flex-direction: column; align-items: center; }

  .pl-coa { padding: 28px 20px; margin-top: 40px; }
  .pl-coa-top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .pl-coa-cta { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .trust-bar-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none !important; grid-column: auto !important; }
  .coa-stats { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   CONTACT FORM 7
   ============================================= */
.wpcf7 {
  max-width: 640px;
  margin-top: 2rem;
}

.wpcf7-form p {
  margin-bottom: 1.25rem;
}

.wpcf7-form label {
  display: block;
  color: var(--silver-bright);
  font-weight: 500;
  margin-bottom: 6px;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-number,
.wpcf7-form-control.wpcf7-date,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.wpcf7-form-control.wpcf7-textarea {
  min-height: 160px;
  resize: vertical;
}

.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form-control.wpcf7-tel:focus,
.wpcf7-form-control.wpcf7-number:focus,
.wpcf7-form-control.wpcf7-date:focus,
.wpcf7-form-control.wpcf7-select:focus,
.wpcf7-form-control.wpcf7-textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 86, 196, 0.25);
}

.wpcf7-form ::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

/* Kill the white background Chrome forces on autofilled fields */
.wpcf7-form input:-webkit-autofill,
.wpcf7-form input:-webkit-autofill:hover,
.wpcf7-form input:-webkit-autofill:focus,
.wpcf7-form textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px var(--bg-card) inset;
  caret-color: var(--text);
}

.wpcf7-form-control.wpcf7-submit {
  background: var(--blue);
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  cursor: pointer;
  transition: var(--transition);
}

.wpcf7-form-control.wpcf7-submit:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 86, 196, 0.4);
}

/* Validation + response messaging on dark bg */
.wpcf7-not-valid-tip {
  color: var(--red-light);
  font-size: 0.85rem;
  margin-top: 4px;
}

.wpcf7-form-control.wpcf7-not-valid {
  border-color: var(--red) !important;
}

.wpcf7 .wpcf7-response-output {
  border-radius: var(--radius);
  border-width: 1px;
  padding: 12px 16px;
  margin: 1.5rem 0 0;
  color: var(--text);
}
