:root {
    --primary-red: brown;
    --dark-grey: #333;
    --light-grey: #f4f4f4;
    --text-muted: #777;
    --white: #ffffff;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    color: var(--dark-grey);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.highlight {
    color: var(--primary-red);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-grey);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a.active, .nav-links a:hover {
    color: var(--primary-red);
    border-bottom: 2px solid var(--primary-red);
}

/* Hero Section */









  /* ── Video Hero ── */
  .video-hero {
    position: relative;
    height: 100vh;
    min-height: *;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .video-hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.42) saturate(0.65);
  }
  .video-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26,14,6,0.2) 0%, rgba(26,14,6,0.05) 40%, rgba(26,14,6,0.72) 100%);
  }
  
  










.hero {
    margin: 40px 0;
    background: #ccc url('https://video-previews.elements.envatousercontent.com/files/471188da-6f5f-4bb7-8d9c-15da1be9a678/video_preview_h264.mp4') no-repeat center center/cover;
    height: 350px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    position: absolute;
    left: 0;
    top: 40%;
    background-color: var(--primary-red);
    color: white;
    padding: 15px 30px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
}


/* Hero Section */
.hero-footer {
    margin: 40px 0;
    background: #ccc url('power-station-recharging-phones-camping.webp') no-repeat center center/cover;
    height: 350px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}


/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: var(--white);
    border: 3px solid var(--primary-red);
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.img-placeholder img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.rating {
    display: inline-block;
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    line-height: 56px;
    font-weight: bold;
    margin-bottom: 20px;
}

.btn-red {
    display: block;
    background-color: var(--primary-red);
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 25px;
    font-weight: bold;
    transition: opacity 0.3s;
}

.btn-red:hover {
    opacity: 0.85;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 0.8rem;
}











/* Breadcrumbs */
.breadcrumb {
    font-size: 0.85rem;
    margin-top: 20px;
    color: var(--text-muted);
}
.breadcrumb a {
    text-decoration: none;
    color: var(--primary-red);
}

/* Review Header */
.review-header {
    display: flex;
    gap: 40px;
    align-items: center;
    margin: 40px 0;
}

.review-main-info { flex: 2; }
.product-hero-img { flex: 1; text-align: right; }
.product-hero-img img { max-width: 100%; border-radius: 15px; }

.review-summary-box {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
    border-left: 5px solid var(--primary-red);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.score-circle {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-right: 20px;
}

/* Content Layout */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.article-body h2 {
    margin: 30px 0 15px;
    border-bottom: 2px solid var(--light-grey);
    padding-bottom: 5px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.spec-table th, .spec-table td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #ddd;
}

.spec-table th { background: #f9f9f9; width: 40%; }

/* Pros/Cons Sidebar */
.pros-cons h3 { margin-bottom: 15px; }
.card-pros, .card-cons {
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.card-pros { background: #e7f3ef; border: 1px solid #d1e7dd; }
.card-cons { background: #fdf2f2; border: 1px solid #f8d7da; }

.pros-cons ul { list-style: "✓ "; padding-left: 10px; color: #2d5a27; }
.card-cons ul { list-style: "✕ "; color: #842029; }

.buy-btn {
    text-align: center;
    font-size: 1.1rem;
    padding: 20px;
}







/* Comparison Section */
.comparison-section {
    margin: 60px auto;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.table-wrapper {
    overflow-x: auto; /* Ensures it's mobile-friendly */
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.compare-table th, .compare-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.compare-table thead th {
    background-color: var(--dark-grey);
    color: white;
    font-weight: 600;
}

/* Highlight Column for IronPeak */
.highlight-col {
    background-color: rgba(230, 57, 70, 0.03);
    border-left: 1px solid rgba(230, 57, 70, 0.1);
    border-right: 1px solid rgba(230, 57, 70, 0.1);
}

.compare-table th.highlight-col {
    background-color: var(--primary-red) !important;
    position: relative;
}

.badge {
    display: block;
    font-size: 0.6rem;
    background: white;
    color: var(--primary-red);
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 5px;
}

/* Row Styling */
.compare-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.compare-table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Buttons */
.btn-outline {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary-red);
    color: white;
}







/* Sticky Header Logic */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Hamburger Menu Styles */
.menu-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-grey);
    transition: 0.3s;
    border-radius: 3px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none; /* Hide links by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 70px; /* Height of header */
        left: 0;
        width: 100%;
        background-color: var(--white);
        border-bottom: 2px solid var(--primary-red);
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex; /* Show when active */
    }

    .nav-links li {
        margin: 15px 0;
    }
}







/* Buying Guide Section */
.buying-guide {
    padding: 60px 0;
    border-top: 1px solid #ddd;
}

.guide-intro {
    text-align: center;
    margin-bottom: 40px;
}

.guide-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.guide-content h3 {
    color: var(--primary-red);
    margin: 25px 0 10px 0;
}

.guide-content p {
    margin-bottom: 15px;
    color: var(--dark-grey);
}

/* Quick Tips Card */
.tips-card {
    background-color: var(--dark-grey);
    color: white;
    padding: 30px;
    border-radius: 20px;
    position: sticky;
    top: 100px; /* Aligns with sticky header */
}

.tips-card h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.tips-list {
    list-style: none;
}

.tips-list li {
    margin-bottom: 20px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.tips-list li strong {
    display: block;
    font-size: 1rem;
}

.tips-list li span {
    font-size: 0.9rem;
    color: #ccc;
}

.pro-tip {
    background: rgba(230, 57, 70, 0.2);
    border-left: 4px solid var(--primary-red);
    padding: 15px;
    font-size: 0.85rem;
    margin-top: 20px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .guide-grid {
        grid-template-columns: 1fr;
    }
    
    .tips-card {
        position: static;
    }
}






/* Enhanced Product Card Animations */
.product-card {
    background: var(--white);
    border: 3px solid #eee; /* Light border by default */
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Smooth "pop" effect */
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* The Hover State */
.product-card:hover {
    transform: translateY(-12px); /* Lifts the card */
    border-color: var(--primary-red); /* Changes border to red */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); /* Adds a deep shadow for depth */
}

/* Image Hover Zoom */
.img-placeholder img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    transition: transform 0.5s ease;
}

.product-card:hover .img-placeholder img {
    transform: scale(1.08); /* Gently zooms the product image */
}

/* Rating Circle Pulse */
.rating {
    display: inline-block;
    border: 2px solid #ddd;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    line-height: 56px;
    font-weight: bold;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.product-card:hover .rating {
    background-color: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
    transform: rotate(730deg); /* Slight tilt for character */
}

/* Button Slide Effect */
.btn-red {
    display: block;
    background-color: var(--primary-red);
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 25px;
    font-weight: bold;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.btn-red:hover {
    background-color: var(--dark-grey); /* Flips color on hover */
    letter-spacing: 1px; /* Subtle text expansion */
}






.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.product-card:hover::after {
    opacity: 1;
}