/*
Theme Name: Best Pickleball Gear
Theme URI: https://bestpickleballgear.net
Description: Custom child theme for Best Pickleball Gear - a premium pickleball affiliate review site.
Author: Best Pickleball Gear
Template: astra
Version: 2.0.0
Text Domain: bpg
*/

/* ===========================
   1. CSS Custom Properties
   =========================== */
:root {
    --bpg-primary: #4f46e5;
    --bpg-primary-dark: #4338ca;
    --bpg-primary-light: #eef2ff;
    --bpg-primary-rgb: 79, 70, 229;
    --bpg-secondary: #06b6d4;
    --bpg-secondary-rgb: 6, 182, 212;
    --bpg-accent: #f59e0b;
    --bpg-accent-dark: #d97706;
    --bpg-accent-light: #fef3c7;
    --bpg-accent-rgb: 245, 158, 11;
    --bpg-success: #10b981;
    --bpg-success-light: #d1fae5;
    --bpg-danger: #ef4444;
    --bpg-text: #0f172a;
    --bpg-text-secondary: #475569;
    --bpg-text-muted: #94a3b8;
    --bpg-border: #e2e8f0;
    --bpg-bg: #ffffff;
    --bpg-bg-alt: #f8fafc;
    --bpg-bg-dark: #0f172a;
    --bpg-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --bpg-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --bpg-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    --bpg-shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
    --bpg-shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.06);
    --bpg-shadow-primary: 0 8px 24px rgba(79, 70, 229, 0.25);
    --bpg-shadow-accent: 0 8px 24px rgba(245, 158, 11, 0.3);
    --bpg-radius: 10px;
    --bpg-radius-lg: 16px;
    --bpg-radius-xl: 24px;
    --bpg-radius-2xl: 32px;
    --bpg-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --bpg-transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    --bpg-max-width: 1200px;
    --bpg-header-height: 72px;
    --bpg-gradient-primary: linear-gradient(135deg, #4f46e5, #06b6d4);
    --bpg-gradient-accent: linear-gradient(135deg, #f59e0b, #ef4444);
    --bpg-gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #172554 100%);
}

/* ===========================
   2. Base / Typography
   =========================== */
::selection {
    background: rgba(79, 70, 229, 0.15);
    color: var(--bpg-primary-dark);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--bpg-text);
    background: var(--bpg-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 800;
    line-height: 1.2;
    color: var(--bpg-text);
    letter-spacing: -0.025em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.15rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
    color: var(--bpg-primary);
    text-decoration: none;
    transition: color var(--bpg-transition);
}

a:hover {
    color: var(--bpg-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===========================
   3. Utility Classes
   =========================== */
.bpg-container {
    max-width: var(--bpg-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.bpg-section {
    padding: 96px 0;
    position: relative;
}

.bpg-section-alt {
    background: var(--bpg-bg-alt);
}

.bpg-section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}

.bpg-section-subtitle {
    text-align: center;
    color: var(--bpg-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 56px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Gradient text utility */
.bpg-gradient-text {
    background: var(--bpg-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.bpg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--bpg-radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--bpg-transition);
    border: 2px solid transparent;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
}

.bpg-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.bpg-btn:hover::after {
    left: 100%;
}

.bpg-btn-primary {
    background: var(--bpg-primary);
    color: #fff;
    box-shadow: var(--bpg-shadow-sm);
}

.bpg-btn-primary:hover {
    background: var(--bpg-primary-dark);
    color: #fff;
    box-shadow: var(--bpg-shadow-primary);
    transform: translateY(-2px);
}

.bpg-btn-accent {
    background: var(--bpg-accent);
    color: #111827;
    font-weight: 700;
    box-shadow: var(--bpg-shadow-sm);
}

.bpg-btn-accent:hover {
    background: var(--bpg-accent-dark);
    color: #111827;
    box-shadow: var(--bpg-shadow-accent);
    transform: translateY(-2px);
}

.bpg-btn-outline {
    background: transparent;
    color: var(--bpg-primary);
    border-color: var(--bpg-primary);
}

.bpg-btn-outline:hover {
    background: var(--bpg-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--bpg-shadow-primary);
}

.bpg-btn-amazon {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.95rem;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bpg-btn-amazon:hover {
    background: linear-gradient(135deg, #d97706, #dc2626);
    color: #fff;
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.4);
    transform: translateY(-2px);
}

.bpg-btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.bpg-btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--bpg-radius-lg);
}

/* --- Badges --- */
.bpg-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.bpg-badge-primary {
    background: var(--bpg-primary-light);
    color: var(--bpg-primary);
}

.bpg-badge-accent {
    background: var(--bpg-accent-light);
    color: var(--bpg-accent-dark);
}

.bpg-badge-success {
    background: var(--bpg-success-light);
    color: var(--bpg-success);
}

.bpg-badge-gradient {
    background: var(--bpg-gradient-primary);
    color: #fff;
}

/* --- Scroll Reveal --- */
.bpg-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.bpg-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.bpg-reveal-delay-1 { transition-delay: 0.1s; }
.bpg-reveal-delay-2 { transition-delay: 0.2s; }
.bpg-reveal-delay-3 { transition-delay: 0.3s; }
.bpg-reveal-delay-4 { transition-delay: 0.4s; }
.bpg-reveal-delay-5 { transition-delay: 0.5s; }

/* ===========================
   4. Header
   =========================== */
.bpg-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: all var(--bpg-transition);
}

.bpg-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.bpg-header-inner {
    max-width: var(--bpg-max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--bpg-header-height);
}

.bpg-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--bpg-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    letter-spacing: -0.02em;
    transition: all var(--bpg-transition);
}

.bpg-logo:hover {
    color: var(--bpg-primary);
}

.bpg-logo-icon {
    width: 38px;
    height: 38px;
    background: var(--bpg-gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.bpg-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bpg-nav li {
    margin: 0;
    padding: 0;
}

.bpg-nav a {
    color: var(--bpg-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--bpg-transition);
    padding: 8px 14px;
    border-radius: var(--bpg-radius);
    position: relative;
}

.bpg-nav a:hover {
    color: var(--bpg-primary);
    background: var(--bpg-primary-light);
}

.bpg-nav .current-menu-item a {
    color: var(--bpg-primary);
    background: var(--bpg-primary-light);
    font-weight: 600;
}

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

.bpg-header-cta {
    background: var(--bpg-gradient-primary);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: var(--bpg-radius);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all var(--bpg-transition);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.bpg-header-cta:hover {
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
    transform: translateY(-1px);
    color: #fff !important;
}

.bpg-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--bpg-text);
    border-radius: var(--bpg-radius);
    transition: background var(--bpg-transition);
}

.bpg-mobile-toggle:hover {
    background: var(--bpg-bg-alt);
}

.bpg-mobile-toggle svg {
    width: 24px;
    height: 24px;
}

/* Hide Astra's default header */
.ast-primary-header-bar,
.ast-above-header-bar,
.ast-below-header-bar,
#ast-desktop-header,
#ast-mobile-header,
.site-header {
    display: none !important;
}

/* Hide Astra's default footer */
.site-footer,
.ast-footer-overlay {
    display: none !important;
}

/* ===========================
   5. Hero Section
   =========================== */
.bpg-hero {
    background: var(--bpg-gradient-hero);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Mesh gradient orbs */
.bpg-hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background:
        radial-gradient(circle at 20% 50%, rgba(79, 70, 229, 0.4) 0%, transparent 45%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(59, 130, 246, 0.25) 0%, transparent 45%),
        radial-gradient(circle at 35% 25%, rgba(139, 92, 246, 0.2) 0%, transparent 40%);
    animation: meshRotate 25s ease-in-out infinite;
    pointer-events: none;
}

/* Floating shapes */
.bpg-hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.bpg-hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}

.bpg-hero-shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(79, 70, 229, 0.3);
    top: -10%;
    right: -5%;
    animation: heroFloat1 8s ease-in-out infinite;
}

.bpg-hero-shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(6, 182, 212, 0.25);
    bottom: -5%;
    left: -5%;
    animation: heroFloat2 10s ease-in-out infinite;
}

.bpg-hero-shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(245, 158, 11, 0.15);
    top: 40%;
    left: 60%;
    animation: heroFloat3 12s ease-in-out infinite;
}

/* Subtle dot pattern */
.bpg-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.bpg-hero-content {
    position: relative;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    z-index: 2;
}

.bpg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.bpg-hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bpg-success);
    animation: pulseDot 2s ease-in-out infinite;
}

.bpg-hero h1 {
    color: #ffffff;
    font-size: 3.75rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.bpg-hero h1 .bpg-hero-highlight {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bpg-hero-subtitle {
    color: #cbd5e1;
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

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

.bpg-hero-buttons .bpg-btn-accent {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: var(--bpg-radius-lg);
}

.bpg-hero-buttons .bpg-btn-outline {
    padding: 16px 36px;
    font-size: 1rem;
    border-radius: var(--bpg-radius-lg);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.bpg-hero-buttons .bpg-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.1);
}

.bpg-hero-trust {
    margin-top: 56px;
    display: flex;
    gap: 36px;
    justify-content: center;
    flex-wrap: wrap;
}

.bpg-hero-trust-item {
    color: #94a3b8;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.bpg-hero-trust-item svg {
    color: var(--bpg-accent);
    flex-shrink: 0;
}

/* ===========================
   5b. Stats Bar
   =========================== */
.bpg-stats-bar {
    background: var(--bpg-bg);
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--bpg-border);
}

.bpg-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: var(--bpg-max-width);
    margin: 0 auto;
}

.bpg-stat {
    text-align: center;
    padding: 36px 20px;
    position: relative;
}

.bpg-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: var(--bpg-border);
}

.bpg-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--bpg-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1.1;
}

.bpg-stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--bpg-text-secondary);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ===========================
   6. Category Cards
   =========================== */
.bpg-category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.bpg-category-card {
    background: var(--bpg-bg);
    border: 1px solid var(--bpg-border);
    border-radius: var(--bpg-radius-xl);
    padding: 36px 20px;
    text-align: center;
    text-decoration: none;
    transition: all var(--bpg-transition);
    display: block;
    position: relative;
    overflow: hidden;
}

.bpg-category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--bpg-gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--bpg-transition);
}

.bpg-category-card:hover {
    border-color: transparent;
    box-shadow: var(--bpg-shadow-lg);
    transform: translateY(-4px);
    color: var(--bpg-text);
}

.bpg-category-card:hover::before {
    opacity: 1;
}

.bpg-category-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.75rem;
    transition: transform var(--bpg-transition-bounce);
}

.bpg-category-card:hover .bpg-category-icon {
    transform: scale(1.1) rotate(-3deg);
}

.bpg-category-icon-paddles { background: linear-gradient(135deg, #dbeafe, #c7d2fe); color: #4f46e5; }
.bpg-category-icon-shoes { background: linear-gradient(135deg, #fce7f3, #fecdd3); color: #db2777; }
.bpg-category-icon-balls { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #d97706; }
.bpg-category-icon-bags { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #059669; }
.bpg-category-icon-accessories { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); color: #4f46e5; }

.bpg-category-card h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    font-weight: 700;
}

.bpg-category-card p {
    color: var(--bpg-text-muted);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

/* ===========================
   7. Product Cards (Editor's Picks)
   =========================== */
.bpg-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.bpg-product-card {
    background: var(--bpg-bg);
    border: 1px solid var(--bpg-border);
    border-radius: var(--bpg-radius-xl);
    overflow: hidden;
    transition: all var(--bpg-transition);
    position: relative;
}

.bpg-product-card:hover {
    box-shadow: var(--bpg-shadow-xl);
    transform: translateY(-6px);
    border-color: transparent;
}

.bpg-product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--bpg-gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--bpg-transition);
    z-index: 1;
    pointer-events: none;
}

.bpg-product-card:hover::before {
    opacity: 1;
}

.bpg-product-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
}

.bpg-product-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--bpg-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bpg-text-muted);
    font-size: 0.9rem;
    overflow: hidden;
    position: relative;
}

.bpg-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bpg-product-card:hover .bpg-product-card-image img {
    transform: scale(1.08);
}

.bpg-product-card-body {
    padding: 24px;
}

.bpg-product-card-body h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.bpg-product-card-body h3 a {
    color: var(--bpg-text);
    text-decoration: none;
    transition: color var(--bpg-transition);
}

.bpg-product-card-body h3 a:hover {
    color: var(--bpg-primary);
}

.bpg-product-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.bpg-product-card-excerpt {
    color: var(--bpg-text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.bpg-product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--bpg-border);
}

/* ===========================
   8. Post Grid (Reviews/Blog)
   =========================== */
.bpg-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.bpg-post-card {
    background: var(--bpg-bg);
    border: 1px solid var(--bpg-border);
    border-radius: var(--bpg-radius-xl);
    overflow: hidden;
    transition: all var(--bpg-transition);
}

.bpg-post-card:hover {
    box-shadow: var(--bpg-shadow-lg);
    transform: translateY(-4px);
}

.bpg-post-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--bpg-bg-alt);
    overflow: hidden;
}

.bpg-post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bpg-post-card:hover .bpg-post-card-image img {
    transform: scale(1.06);
}

.bpg-post-card-body {
    padding: 24px;
}

.bpg-post-card-category {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bpg-primary);
    margin-bottom: 10px;
    display: inline-block;
    background: var(--bpg-primary-light);
    padding: 4px 10px;
    border-radius: 50px;
}

.bpg-post-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 700;
}

.bpg-post-card-body h3 a {
    color: var(--bpg-text);
    text-decoration: none;
    transition: color var(--bpg-transition);
}

.bpg-post-card-body h3 a:hover {
    color: var(--bpg-primary);
}

.bpg-post-card-excerpt {
    color: var(--bpg-text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.bpg-post-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--bpg-text-muted);
}

/* ===========================
   9. Trust / Why Trust Us
   =========================== */
.bpg-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.bpg-trust-item {
    text-align: center;
    padding: 40px 28px;
    background: var(--bpg-bg);
    border: 1px solid var(--bpg-border);
    border-radius: var(--bpg-radius-xl);
    transition: all var(--bpg-transition);
}

.bpg-trust-item:hover {
    box-shadow: var(--bpg-shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}

.bpg-trust-icon {
    width: 64px;
    height: 64px;
    background: var(--bpg-gradient-primary);
    color: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    transition: transform var(--bpg-transition-bounce);
}

.bpg-trust-item:hover .bpg-trust-icon {
    transform: scale(1.1) rotate(-5deg);
}

.bpg-trust-item h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.bpg-trust-item p {
    color: var(--bpg-text-secondary);
    font-size: 0.93rem;
    line-height: 1.65;
    margin: 0;
}

/* ===========================
   10. Newsletter Section
   =========================== */
.bpg-newsletter {
    background: var(--bpg-gradient-hero);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.bpg-newsletter::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background:
        radial-gradient(circle at 70% 40%, rgba(79, 70, 229, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 30% 60%, rgba(6, 182, 212, 0.2) 0%, transparent 40%);
    animation: meshRotate 30s ease-in-out infinite reverse;
    pointer-events: none;
}

.bpg-newsletter-inner {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.bpg-newsletter h2 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 2rem;
    letter-spacing: -0.03em;
}

.bpg-newsletter p {
    color: #cbd5e1;
    margin-bottom: 32px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.bpg-newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--bpg-radius-lg);
    padding: 6px;
}

.bpg-newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: var(--bpg-radius);
    background: transparent;
    color: #fff;
    font-size: 0.95rem;
    outline: none;
}

.bpg-newsletter-form input[type="email"]::placeholder {
    color: #94a3b8;
}

.bpg-newsletter-form button {
    padding: 14px 28px;
    background: var(--bpg-accent);
    color: #111827;
    border: none;
    border-radius: var(--bpg-radius);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--bpg-transition);
    white-space: nowrap;
}

.bpg-newsletter-form button:hover {
    background: var(--bpg-accent-dark);
    transform: translateY(-1px);
    box-shadow: var(--bpg-shadow-accent);
}

/* ===========================
   11. Footer
   =========================== */
.bpg-footer {
    background: var(--bpg-bg-dark);
    color: #d1d5db;
    padding: 72px 0 0;
}

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

.bpg-footer-brand p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
}

.bpg-footer h4 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bpg-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bpg-footer-links li {
    margin-bottom: 12px;
}

.bpg-footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--bpg-transition);
}

.bpg-footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.bpg-footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.bpg-footer-bottom p {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0;
}

.bpg-footer-bottom-links {
    display: flex;
    gap: 24px;
}

.bpg-footer-bottom-links a {
    color: #64748b;
    font-size: 0.85rem;
    text-decoration: none;
    transition: color var(--bpg-transition);
}

.bpg-footer-bottom-links a:hover {
    color: #fff;
}

.bpg-footer-disclosure {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--bpg-radius-lg);
    padding: 18px 24px;
    margin-bottom: 40px;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* ===========================
   12. Archive Page
   =========================== */
.bpg-archive-header {
    background: var(--bpg-bg-alt);
    padding: 56px 0;
    border-bottom: 1px solid var(--bpg-border);
}

.bpg-archive-header h1 {
    font-size: 2.25rem;
    margin-bottom: 12px;
}

.bpg-archive-header p {
    color: var(--bpg-text-secondary);
    font-size: 1.05rem;
    max-width: 700px;
    line-height: 1.6;
}

.bpg-archive-content {
    padding: 56px 0;
}

.bpg-archive-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
}

.bpg-archive-main .bpg-post-grid {
    grid-template-columns: repeat(2, 1fr);
}

.bpg-archive-sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
}

/* ===========================
   13. Single Post (Review Layout)
   =========================== */

/* Breadcrumb */
.bpg-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.bpg-breadcrumb a {
    color: var(--bpg-text-muted);
    text-decoration: none;
    transition: color var(--bpg-transition);
}

.bpg-breadcrumb a:hover {
    color: var(--bpg-primary);
}

.bpg-breadcrumb-sep {
    color: var(--bpg-text-muted);
    opacity: 0.5;
}

.bpg-breadcrumb-current {
    color: var(--bpg-text-secondary);
    font-weight: 500;
}

/* Single Hero / Header */
.bpg-single-hero {
    background: var(--bpg-bg-alt);
    padding: 40px 0 44px;
    border-bottom: 1px solid var(--bpg-border);
}

.bpg-single-category {
    display: inline-block;
    background: var(--bpg-primary-light);
    color: var(--bpg-primary);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.bpg-single-title {
    font-size: 2.5rem;
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 800px;
}

.bpg-single-info {
    max-width: 800px;
}

.bpg-single-meta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.bpg-single-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--bpg-text-muted);
    font-weight: 500;
}

.bpg-single-meta-item svg {
    opacity: 0.6;
}

/* Featured Image */
.bpg-single-featured-wrap {
    padding: 32px 0 0;
}

.bpg-single-featured {
    border-radius: var(--bpg-radius-xl);
    overflow: hidden;
    max-width: 900px;
    box-shadow: var(--bpg-shadow-lg);
    border: 1px solid var(--bpg-border);
}

.bpg-single-featured-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    object-fit: contain;
    background: var(--bpg-bg-alt);
}

/* Two-column layout */
.bpg-single-content-wrap {
    padding: 48px 0 80px;
}

.bpg-single-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 56px;
    align-items: start;
}

.bpg-single-main .entry-content {
    max-width: 100%;
}

.entry-content h2 {
    margin-top: 48px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bpg-border);
    font-size: 1.65rem;
}

.entry-content h3 {
    margin-top: 32px;
    font-size: 1.3rem;
}

.entry-content p {
    color: var(--bpg-text-secondary);
    font-size: 1.05rem;
    line-height: 1.85;
}

.entry-content ul,
.entry-content ol {
    color: var(--bpg-text-secondary);
    padding-left: 24px;
}

.entry-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* Article disclosure banner */
.bpg-article-disclosure {
    background: var(--bpg-accent-light);
    border: 1px solid #fde68a;
    border-radius: var(--bpg-radius);
    padding: 14px 18px;
    font-size: 0.84rem;
    color: #92400e;
    margin-bottom: 28px;
    line-height: 1.55;
}

/* Sidebar */
.bpg-single-sidebar {
    position: relative;
}

.bpg-sidebar-sticky {
    position: sticky;
    top: 96px;
}

/* TOC widget */
.bpg-toc-widget {
    background: var(--bpg-bg);
    border: 1px solid var(--bpg-border);
    border-radius: var(--bpg-radius-xl);
    padding: 24px;
    margin-bottom: 24px;
}

.bpg-toc-widget .widget-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bpg-primary);
}

.bpg-toc-links a {
    display: block;
    padding: 8px 0;
    font-size: 0.85rem;
    color: var(--bpg-text-secondary);
    text-decoration: none;
    border-bottom: 1px solid var(--bpg-border);
    transition: all var(--bpg-transition);
    line-height: 1.4;
}

.bpg-toc-links a:last-child {
    border-bottom: none;
}

.bpg-toc-links a:hover {
    color: var(--bpg-primary);
    padding-left: 6px;
}

.bpg-toc-links a.active {
    color: var(--bpg-primary);
    font-weight: 600;
}

/* Sidebar related posts */
.bpg-sidebar-related {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bpg-sidebar-related li {
    border-bottom: 1px solid var(--bpg-border);
    padding: 0;
}

.bpg-sidebar-related li:last-child {
    border-bottom: none;
}

.bpg-sidebar-related a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    text-decoration: none;
    color: var(--bpg-text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.35;
    transition: color var(--bpg-transition);
}

.bpg-sidebar-related a:hover {
    color: var(--bpg-primary);
}

.bpg-sidebar-related-img {
    width: 56px;
    height: 56px;
    border-radius: var(--bpg-radius);
    object-fit: cover;
    flex-shrink: 0;
}

/* Author box */
.bpg-author-box {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--bpg-bg-alt);
    border-radius: var(--bpg-radius-xl);
    margin-top: 56px;
    border: 1px solid var(--bpg-border);
}

.bpg-author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bpg-gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.bpg-author-info h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.bpg-author-info p {
    color: var(--bpg-text-muted);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.6;
}

/* Related posts (bottom of article) */
.bpg-related-posts {
    margin-top: 60px;
    padding-top: 48px;
    border-top: 1px solid var(--bpg-border);
}

.bpg-related-posts h2 {
    border: none;
    margin-top: 0;
    padding-bottom: 0;
    margin-bottom: 24px;
}

/* ===========================
   14. Shortcodes
   =========================== */

/* --- Product Box --- */
/* --- Product Box (Redesigned - vibrant cards) --- */
.bpg-product-box {
    border: none;
    border-radius: var(--bpg-radius-xl);
    padding: 0;
    margin: 40px 0;
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: stretch;
    position: relative;
    background: var(--bpg-bg);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.08), 0 1px 3px rgba(0,0,0,0.06);
    transition: all var(--bpg-transition);
    overflow: hidden;
}

.bpg-product-box:hover {
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.15), 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.bpg-product-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--bpg-gradient-primary);
    border-radius: var(--bpg-radius-xl) 0 0 var(--bpg-radius-xl);
}

.bpg-product-box:hover::before {
    width: 5px;
}

.bpg-product-box-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--bpg-gradient-accent);
    color: #fff;
    padding: 8px 20px 8px 24px;
    border-radius: 0 var(--bpg-radius-xl) 0 var(--bpg-radius-xl);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
    z-index: 2;
}

.bpg-product-box-image {
    aspect-ratio: auto;
    background: linear-gradient(160deg, #f0f4ff 0%, #e8f4f8 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    border-radius: var(--bpg-radius-xl) 0 0 var(--bpg-radius-xl);
}

.bpg-product-box-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform var(--bpg-transition-bounce);
}

.bpg-product-box:hover .bpg-product-box-image img {
    transform: scale(1.08);
}

.bpg-product-box-content {
    padding: 28px 28px 28px 24px;
}

.bpg-product-box-content h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    background: var(--bpg-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bpg-product-box-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 6px 12px;
    background: var(--bpg-accent-light);
    border-radius: 50px;
    display: inline-flex;
    width: auto;
}

.bpg-product-box-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bpg-primary);
    margin-bottom: 12px;
    margin-top: 8px;
}

.bpg-product-box-summary {
    color: var(--bpg-text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 20px;
    border-top: 1px solid var(--bpg-border);
    padding-top: 14px;
}

.bpg-product-box-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* --- Pros / Cons (Redesigned - bold colors) --- */
.bpg-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 36px 0;
    border-radius: var(--bpg-radius-xl);
    overflow: hidden;
    box-shadow: var(--bpg-shadow-md);
}

.bpg-pros, .bpg-cons {
    border-radius: 0;
    padding: 28px;
}

.bpg-pros {
    background: linear-gradient(160deg, #065f46 0%, #047857 100%);
    border: none;
}

.bpg-cons {
    background: linear-gradient(160deg, #991b1b 0%, #b91c1c 100%);
    border: none;
}

.bpg-pros h4, .bpg-cons h4 {
    font-size: 1.05rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bpg-pros ul, .bpg-cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bpg-pros li, .bpg-cons li {
    padding: 9px 0;
    font-size: 0.93rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    color: rgba(255,255,255,0.92);
}

.bpg-pros li + li, .bpg-cons li + li {
    border-top: 1px solid rgba(255,255,255,0.15);
}

.bpg-pros li::before {
    content: '\2713';
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-top: 2px;
}

.bpg-cons li::before {
    content: '\2717';
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-top: 2px;
}

/* --- Verdict Box (Redesigned - bold dark gradient) --- */
.bpg-verdict-box {
    background: linear-gradient(135deg, #1e1b4b, #312e81, #3730a3);
    border: none;
    border-radius: var(--bpg-radius-xl);
    padding: 32px;
    margin: 36px 0;
    display: flex;
    gap: 28px;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.bpg-verdict-box::before {
    content: '';
    position: absolute;
    top: -80%;
    right: -15%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.bpg-verdict-box::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.bpg-verdict-score {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.35);
    border: 3px solid rgba(255,255,255,0.2);
}

.bpg-verdict-score-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.bpg-verdict-score-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-top: 2px;
}

.bpg-verdict-text h3 {
    margin: 0 0 8px;
    color: var(--bpg-accent);
    font-size: 1.2rem;
}

.bpg-verdict-text p {
    margin: 0;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* --- Comparison Table (Redesigned - colored header) --- */
.bpg-comparison-table {
    width: 100%;
    margin: 36px 0;
    border-radius: var(--bpg-radius-xl);
    overflow: hidden;
    border: none;
    box-shadow: var(--bpg-shadow-md);
}

.bpg-comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.bpg-comparison-table thead th {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    color: #fff;
    padding: 16px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
}

.bpg-comparison-table tbody td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--bpg-border);
    font-size: 0.9rem;
    color: var(--bpg-text-secondary);
    transition: background var(--bpg-transition);
}

.bpg-comparison-table tbody tr:nth-child(even) {
    background: #f0f4ff;
}

.bpg-comparison-table tbody tr:hover {
    background: #e0e7ff;
}

.bpg-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.bpg-comparison-table .bpg-table-product-name {
    font-weight: 600;
    color: var(--bpg-primary-dark);
}

/* --- Star Rating --- */
.bpg-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: var(--bpg-accent);
    font-size: 1.1rem;
}

.bpg-stars .star-filled { color: #f59e0b; }
.bpg-stars .star-half { color: #f59e0b; }
.bpg-stars .star-empty { color: #d1d5db; }

.bpg-stars-value {
    font-weight: 700;
    color: var(--bpg-text);
    margin-left: 6px;
    font-size: 0.9rem;
}

/* --- Disclosure (Redesigned - gradient accent) --- */
.bpg-disclosure-box {
    background: linear-gradient(135deg, #fef3c7, #fff7ed);
    border-left: 5px solid var(--bpg-accent);
    padding: 18px 22px;
    margin: 28px 0;
    font-size: 0.85rem;
    color: #78350f;
    line-height: 1.6;
    border-radius: 0 var(--bpg-radius-lg) var(--bpg-radius-lg) 0;
    box-shadow: var(--bpg-shadow-sm);
}

/* --- FAQ Accordion (Redesigned - gradient active) --- */
.bpg-faq {
    margin: 36px 0;
}

.bpg-faq-item {
    border: 2px solid var(--bpg-border);
    border-radius: var(--bpg-radius-lg);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all var(--bpg-transition);
}

.bpg-faq-item:hover {
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: var(--bpg-shadow);
}

.bpg-faq-item.active {
    border-color: var(--bpg-primary);
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.12);
}

.bpg-faq-question {
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bpg-bg);
    transition: all var(--bpg-transition);
    user-select: none;
    font-size: 0.95rem;
}

.bpg-faq-question:hover {
    background: linear-gradient(135deg, #f0f4ff, #f5f3ff);
}

.bpg-faq-item.active .bpg-faq-question {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    color: #fff;
}

.bpg-faq-toggle {
    font-size: 1.25rem;
    color: var(--bpg-primary);
    transition: all var(--bpg-transition);
    font-weight: 300;
}

.bpg-faq-item.active .bpg-faq-toggle {
    transform: rotate(45deg);
    color: #fff;
}

.bpg-faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bpg-faq-item.active .bpg-faq-answer {
    padding: 0 24px 24px;
    max-height: 500px;
}

.bpg-faq-answer p {
    margin: 0;
    color: var(--bpg-text-secondary);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* --- Quick Specs (Redesigned - colored header bar) --- */
.bpg-quick-specs {
    margin: 28px 0;
    border: none;
    border-radius: var(--bpg-radius-xl);
    overflow: hidden;
    box-shadow: var(--bpg-shadow-md);
}

.bpg-quick-specs h4 {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    padding: 16px 22px;
    margin: 0;
    font-size: 0.95rem;
    border-bottom: none;
    color: #fff;
    letter-spacing: 0.02em;
}

.bpg-quick-specs table {
    width: 100%;
    border-collapse: collapse;
}

.bpg-quick-specs td {
    padding: 13px 22px;
    border-bottom: 1px solid var(--bpg-border);
    font-size: 0.9rem;
}

.bpg-quick-specs tr:last-child td {
    border-bottom: none;
}

.bpg-quick-specs td:first-child {
    font-weight: 600;
    color: var(--bpg-primary-dark);
    width: 40%;
    background: linear-gradient(135deg, #f0f4ff, #eef2ff);
}

.bpg-quick-specs td:last-child {
    color: var(--bpg-text-secondary);
    background: var(--bpg-bg);
}

/* ===========================
   15. Sidebar / Widgets
   =========================== */
.bpg-sidebar .widget {
    background: var(--bpg-bg);
    border: 1px solid var(--bpg-border);
    border-radius: var(--bpg-radius-xl);
    padding: 24px;
    margin-bottom: 24px;
}

.bpg-sidebar .widget-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bpg-primary);
}

.bpg-sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bpg-sidebar .widget li {
    padding: 10px 0;
    border-bottom: 1px solid var(--bpg-border);
}

.bpg-sidebar .widget li:last-child {
    border-bottom: none;
}

.bpg-sidebar .widget a {
    color: var(--bpg-text-secondary);
    font-size: 0.9rem;
    transition: all var(--bpg-transition);
}

.bpg-sidebar .widget a:hover {
    color: var(--bpg-primary);
    padding-left: 4px;
}

/* Sidebar featured product widget */
.bpg-widget-product {
    text-align: center;
}

.bpg-widget-product img {
    border-radius: var(--bpg-radius);
    margin-bottom: 12px;
}

.bpg-widget-product h5 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.bpg-widget-product .bpg-btn {
    width: 100%;
    margin-top: 8px;
}

/* ===========================
   16. Table of Contents
   =========================== */
.bpg-toc {
    background: var(--bpg-bg-alt);
    border: 1px solid var(--bpg-border);
    border-radius: var(--bpg-radius-xl);
    padding: 28px;
    margin: 28px 0;
}

.bpg-toc h4 {
    margin: 0 0 14px;
    font-size: 1rem;
}

.bpg-toc ol {
    margin: 0;
    padding-left: 20px;
}

.bpg-toc li {
    padding: 5px 0;
}

.bpg-toc a {
    color: var(--bpg-text-secondary);
    font-size: 0.9rem;
    transition: all var(--bpg-transition);
}

.bpg-toc a:hover {
    color: var(--bpg-primary);
    padding-left: 4px;
}

/* ===========================
   17. Responsive
   =========================== */
@media (max-width: 1024px) {
    .bpg-category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bpg-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bpg-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bpg-archive-layout {
        grid-template-columns: 1fr;
    }

    .bpg-archive-sidebar {
        position: static;
    }

    .bpg-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bpg-stat:nth-child(2)::after {
        display: none;
    }

    .bpg-single-layout {
        grid-template-columns: 1fr;
    }

    .bpg-single-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --bpg-header-height: 64px;
    }

    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .bpg-section {
        padding: 56px 0;
    }

    .bpg-section-subtitle {
        margin-bottom: 36px;
    }

    .bpg-container {
        padding: 0 16px;
    }

    /* Header mobile */
    .bpg-nav {
        display: none;
        position: fixed;
        top: var(--bpg-header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        z-index: 998;
        overflow-y: auto;
    }

    .bpg-nav.active {
        display: flex;
    }

    .bpg-nav li {
        width: 100%;
    }

    .bpg-nav a {
        display: block;
        padding: 16px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--bpg-border);
        border-radius: 0;
        font-weight: 600;
    }

    .bpg-nav a:hover {
        background: transparent;
        padding-left: 8px;
    }

    .bpg-header-cta {
        display: none;
    }

    .bpg-mobile-toggle {
        display: block;
    }

    /* Hero mobile */
    .bpg-hero {
        padding: 72px 0 56px;
    }

    .bpg-hero h1 {
        font-size: 2.25rem;
    }

    .bpg-hero-subtitle {
        font-size: 1rem;
    }

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

    .bpg-hero-buttons .bpg-btn-accent,
    .bpg-hero-buttons .bpg-btn-outline {
        width: 100%;
        max-width: 300px;
    }

    .bpg-hero-trust {
        flex-direction: column;
        gap: 12px;
    }

    .bpg-hero-shape-1 { width: 250px; height: 250px; }
    .bpg-hero-shape-2 { width: 200px; height: 200px; }
    .bpg-hero-shape-3 { width: 140px; height: 140px; }

    /* Stats mobile */
    .bpg-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bpg-stat {
        padding: 24px 16px;
    }

    .bpg-stat-number {
        font-size: 2rem;
    }

    .bpg-stat:nth-child(2)::after {
        display: none;
    }

    /* Grids mobile */
    .bpg-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bpg-product-grid,
    .bpg-post-grid {
        grid-template-columns: 1fr;
    }

    .bpg-trust-grid {
        grid-template-columns: 1fr;
    }

    /* Product box mobile */
    .bpg-product-box {
        grid-template-columns: 1fr;
    }

    .bpg-product-box::before {
        width: 100%;
        height: 5px;
        top: 0;
        left: 0;
        border-radius: var(--bpg-radius-xl) var(--bpg-radius-xl) 0 0;
    }

    .bpg-product-box-image {
        border-radius: 0;
        max-height: 200px;
        min-height: auto;
    }

    .bpg-product-box-content {
        padding: 20px;
    }

    /* Pros/cons mobile */
    .bpg-pros-cons {
        grid-template-columns: 1fr;
    }

    /* Verdict mobile */
    .bpg-verdict-box {
        flex-direction: column;
        text-align: center;
    }

    /* Newsletter mobile */
    .bpg-newsletter-form {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
    }

    .bpg-newsletter-form input[type="email"] {
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: var(--bpg-radius);
        background: rgba(255, 255, 255, 0.06);
    }

    /* Single post mobile */
    .bpg-single-title {
        font-size: 1.75rem;
    }

    .bpg-single-layout {
        grid-template-columns: 1fr;
    }

    .bpg-single-sidebar {
        display: none;
    }

    .bpg-single-meta-row {
        gap: 12px;
    }

    /* Footer mobile */
    .bpg-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .bpg-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .bpg-category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .bpg-category-card {
        padding: 24px 12px;
    }

    .bpg-archive-main .bpg-post-grid {
        grid-template-columns: 1fr;
    }

    .bpg-comparison-table {
        overflow-x: auto;
    }

    .bpg-hero h1 {
        font-size: 1.85rem;
    }

    .bpg-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===========================
   18. Astra Overrides
   =========================== */
.ast-container {
    max-width: var(--bpg-max-width);
}

#page {
    overflow-x: hidden;
}

.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post {
    background: transparent;
    padding: 0;
}

.ast-separate-container #primary {
    padding: 0;
}

/* Fix Astra spacing for single posts/pages */
.ast-plain-container.ast-no-sidebar #primary {
    margin: 0 auto;
    max-width: 800px;
    padding: 40px 24px;
}

/* Ensure our custom header/footer show properly */
.bpg-header + #content {
    margin-top: 0;
}

/* ===========================
   18b. Homepage - Override Astra container
   =========================== */
body.home .site-content > .ast-container,
body.home .ast-container {
    display: block !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.home #primary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

body.home .ast-primary-entry,
body.home .entry-content {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.home .ast-article-single,
body.home .ast-article-post {
    padding: 0 !important;
    margin: 0 !important;
}

/* Make sure front-page sections go full width */
body.home .bpg-hero,
body.home .bpg-section,
body.home .bpg-section-alt,
body.home .bpg-newsletter,
body.home .bpg-stats-bar {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Single posts need full-width container for our custom template */
body.single .site-content > .ast-container,
body.single .ast-container {
    display: block !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.single #primary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

body.single .ast-article-single,
body.single .ast-article-post,
body.single .ast-primary-entry,
body.single .entry-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Archive pages using our template also need full-width container */
.page-template-template-archive-grid .site-content > .ast-container,
.page-template-template-archive-grid .ast-container {
    display: block !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.page-template-template-archive-grid #primary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

.page-template-template-archive-grid .ast-article-single,
.page-template-template-archive-grid .ast-article-post,
.page-template-template-archive-grid .ast-primary-entry,
.page-template-template-archive-grid .entry-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ===========================
   19. Placeholder Images
   =========================== */
.bpg-placeholder-img {
    background: linear-gradient(160deg, #f0f4ff 0%, #e8f4f8 50%, #eef2ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bpg-primary);
    font-size: 2rem;
    width: 100%;
    height: 100%;
    min-height: 220px;
    opacity: 0.5;
}

.bpg-placeholder-img svg {
    width: 64px;
    height: 64px;
}

/* ===========================
   20. Print Styles & Keyframe Animations
   =========================== */
@media print {
    .bpg-header,
    .bpg-footer,
    .bpg-newsletter,
    .bpg-sidebar,
    .bpg-stats-bar {
        display: none;
    }

    .bpg-product-box {
        page-break-inside: avoid;
    }
}

/* --- Keyframe Animations --- */
@keyframes meshRotate {
    0% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(120deg) scale(1.05); }
    66% { transform: rotate(240deg) scale(0.95); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes heroFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-30px, 20px) scale(1.05); }
    50% { transform: translate(20px, -30px) scale(0.95); }
    75% { transform: translate(-10px, -20px) scale(1.02); }
}

@keyframes heroFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -20px) scale(1.08); }
    66% { transform: translate(-20px, 30px) scale(0.92); }
}

@keyframes heroFloat3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, -30px) scale(1.1); }
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .bpg-reveal {
        opacity: 1;
        transform: none;
    }
}
