/*
Theme Name: Zee Al Eid Ahmad
Theme URI: https://zeealeid.com
Author: Zee Al Eid Ahmad
Author URI: mailto:contact@zeealeid.com
Description: If you encounter any problem, contact me at contact@zeealeid.com
*/


:root {
    /* --- Glass & Shadows --- */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow-card: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* --- Global --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg-white); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-primary { color: var(--primary); }

/* --- Navbar --- */
.navbar {
    position: fixed; top: 0; width: 100%; height: 72px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex; align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.nav-content { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.5px; }
.logo span { color: var(--primary); }
.nav-links { display: none; gap: 2rem; font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
.nav-links a:hover { color: var(--primary); }

.btn { padding: 0.6rem 1.4rem; border-radius: 10px; font-weight: 600; font-size: 0.95rem; cursor: pointer; display: inline-flex; justify-content: center; align-items: center; border: none; transition: all 0.2s ease; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 14px var(--primary-glow); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-outline { border: 1px solid #e2e8f0; color: var(--text-muted); background: white; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.85rem; }

/* --- Hero --- */
.hero { 
    padding-top: 150px; 
    padding-bottom: 100px; 
    min-height: 90vh; 
    display: flex; 
    align-items: center; 
    position: relative; 
    overflow: visible; /* CRITICAL FOR BLOB */
}

/* --- THE BLOB FIX --- */
.blob-wrapper {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1; /* Behind everything */
    overflow: hidden; /* Keeps blob inside section */
    pointer-events: none;
}

.blob {
    position: absolute;
    top: 50%;
    left: 70%; /* Position it behind the card area */
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #a5b4fc 0%, #60a5fa 100%); /* Indigo to Blue */
    border-radius: 50%;
    filter: blur(80px); /* Massive softness */
    opacity: 0.45; /* Visible but not overwhelming */
    transform: translate(-50%, -50%);
    animation: blob-float 10s ease-in-out infinite alternate;
}

@keyframes blob-float {
    0% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-40%, -60%) scale(1.1); }
}

.hero-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; width: 100%; position: relative; z-index: 2; }

.badge { display: inline-block; background: var(--primary-soft); color: var(--primary); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; padding: 6px 14px; border-radius: 30px; margin-bottom: 1.5rem; letter-spacing: 0.5px; }

.hero-text h1 { font-size: 3.2rem; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1.5rem; color: var(--text-main); }
.hero-text p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 500px; }
.cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Hero Card --- */
.hero-visual { display: flex; justify-content: center; align-items: center; width: 100%; }
.comparison-card {
    position: relative; width: 100%; max-width: 440px;
    background: var(--glass-bg); 
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid white; 
    border-radius: 20px;
    box-shadow: var(--shadow-card); 
    overflow: hidden;
    transition: transform 0.3s ease;
}
.comparison-card:hover { transform: translateY(-5px); }

.card-header { background: rgba(255,255,255,0.8); border-bottom: 1px solid rgba(0,0,0,0.05); }
.card-header, .card-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; }
.col-head { padding: 1.2rem 0.5rem; font-size: 0.85rem; font-weight: 700; text-align: center; }
.col-bulldog { background: rgba(59, 130, 246, 0.08); color: var(--primary); }

.card-row { border-bottom: 1px solid rgba(0,0,0,0.03); align-items: center; font-size: 0.9rem; }
.cell { padding: 1.2rem 0.5rem; text-align: center; color: var(--text-muted); font-weight: 500; }
.cell-highlight { background: rgba(239, 246, 255, 0.6); color: var(--primary); font-weight: 600; }
.cell-score { background: #dcfce7; color: #15803d; border-radius: 20px; padding: 4px 10px; font-weight: 700; font-size: 0.85rem; }

.preview-label { margin-top: 1.5rem; text-align: center; font-size: 0.8rem; color: var(--text-muted); opacity: 0.8; font-weight: 500; }

/* --- Features --- */
.features { padding: 6rem 0; background: var(--bg-off); }
.grid-winner { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }

.tag-winner { display: inline-block; background: #dcfce7; color: #15803d; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 1rem; }
.features-content h2 { font-size: 2.5rem; margin-bottom: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.features-text { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.1rem; }

.check-list li { display: flex; align-items: flex-start; margin-bottom: 1rem; color: var(--text-main); font-weight: 500; }
.icon { color: #15803d; margin-right: 12px; background: #dcfce7; border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }

.product-visual {
     border-radius: 24px;
    display: flex; align-items: center; justify-content: center; 
    /* box-shadow: var(--shadow-card); */ 
    position: relative; overflow: hidden;
}

/* --- Logo Section --- */
.logos-section { padding: 4rem 0; border-top: 1px solid #e2e8f0; background: var(--bg-white); }
.section-label { text-align: center; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); margin-bottom: 2.5rem; text-transform: uppercase; letter-spacing: 1px; }

.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem 4rem; align-items: center; }
.logo-item { font-size: 1.4rem; font-weight: 800; color: #cbd5e1; cursor: default; transition: all 0.3s ease; user-select: none; }
.logo-item:hover { color: var(--text-main); transform: scale(1.05); }
.bulldog-brand { color: var(--text-main); position: relative; }
.bulldog-brand::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 100%; height: 3px; background: var(--primary); border-radius: 2px; }

/* --- Upgraded Footer --- */
.footer { background: var(--bg-footer); padding: 5rem 0 2rem; color: #e2e8f0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-logo { color: white; margin-bottom: 1rem; display: block; }
.footer-logo span { color: var(--primary); }
.footer-brand-col p { color: #94a3b8; font-size: 0.95rem; max-width: 300px; }

.footer-links-col h5, .footer-newsletter-col h5 { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 1.5rem; }
.footer-links-col ul li { margin-bottom: 0.8rem; }
.footer-links-col a { color: #94a3b8; font-size: 0.95rem; }
.footer-links-col a:hover { color: white; color: var(--primary); }

.newsletter-form { display: flex; gap: 0.5rem; margin-top: 1rem; }
.newsletter-form input { padding: 0.6rem !important; border-radius: 8px !important; border: 1px solid #334155 !important; background-color: var(--text-main) !important; width: 100%; }
.newsletter-form input:focus { outline: none !important; border-color: var(--primary) !important; color: var(--bg-white) !important }

.footer-bottom { border-top: 1px solid #334155; padding-top: 2rem; text-align: center; font-size: 0.85rem; color: var(--text-muted); }

/* --- Responsive --- */
@media (min-width: 768px) {
    .nav-links { display: flex; }
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .hero-text h1 { font-size: 3.5rem; }
    .grid-winner { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}



/* =========================================
   PAGE: COMPARISON (Updated Style)
   ========================================= */

.compare-header {
    padding-top: 120px;
    padding-bottom: 60px;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-off), var(--bg-white));
}
.badge-header {
    background: #e0f2fe; color: #0284c7; font-weight: 700; font-size: 0.75rem;
    padding: 4px 12px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 1rem; display: inline-block;
}
.compare-header h1 {
    font-size: 2.75rem; font-weight: 800; color: var(--text-main); margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.compare-header p {
    color: var(--text-muted); font-size: 1.15rem; max-width: 600px; margin: 0 auto;
}

/* =========================================
   TABLE SECTION (Redesigned)
   ========================================= */
.table-section {
    padding-bottom: 6rem;
    background: var(--bg-off);
    padding-top: 4rem;
    border-top: 1px solid #e2e8f0;
}

.table-header-group {
    text-align: center; margin-bottom: 2.5rem;
}
.table-header-group h2 { font-size: 2rem; color: var(--text-main); margin-bottom: 0.5rem; }
.table-header-group p { color: var(--text-muted); }

.table-container {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background: white;
    border: 1px solid #cbd5e1; /* Slightly darker border for definition */
}

table {
    width: 100%;
    min-width: 1100px;
    border-collapse: separate; 
    border-spacing: 0;
  margin: 0;
}

/* Headers */
thead th {
    background: var(--text-main); /* Dark Slate Header */
    color: white;
    font-weight: 600;
    padding: 1.25rem 1rem;
    text-align: left;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #334155;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* Feature Name Cells */
td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #e2e8f0; /* Horizontal lines only */
    color: #475569;
    font-size: 0.9rem;
    vertical-align: middle;
    transition: background-color 0.2s;
}

/* Sticky First Column (Brands) */
.sticky-left {
    position: sticky;
    left: 0;
    background: var(--bg-off); /* Light Grey for Brands */
    z-index: 20;
    border-right: 2px solid #e2e8f0;
    font-weight: 700;
    min-width: 220px;
}
thead th.sticky-left {
    background: var(--bg-footer); /* Darker Slate for corner */
    z-index: 30;
    border-right: 1px solid #334155;
  color: white;
}

/* Hover Effect for Rows */
tbody tr:hover td {
    background-color: #f1f5f9 !important; /* Subtle grey hover */
}
tbody tr:hover .sticky-left {
    background-color: #e2e8f0; /* Slightly darker grey for sticky col */
}

/* Bulldog Winner Row overrides */
.row-bulldog td {
    background-color: var(--primary-soft); /* Blue Tint */
    border-bottom: 1px solid #bfdbfe;
    color: #1e3a8a;
}
.row-bulldog .sticky-left {
    background-color: var(--primary-soft);
    border-right: 2px solid #93c5fd;
    color: #1e40af;
}

/* Hover on Bulldog Row */
.row-bulldog:hover td, .row-bulldog:hover .sticky-left {
    background-color: #dbeafe !important; /* Slightly darker blue on hover */
}

/* Badges & Text */
.sub-text {
    display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; font-weight: 400;
}
.brand-cell { display: flex; align-items: center; justify-content: space-between; }
.badge-winner {
    background: var(--primary-hover); color: white; font-size: 0.65rem; padding: 2px 8px; 
    border-radius: 4px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px;
}
.check-yes {
    color: #15803d; font-weight: 600; background: #dcfce7; padding: 2px 8px; border-radius: 4px; font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .feature-row, .feature-row.reverse { flex-direction: column; gap: 2rem; text-align: left; }
    .feature-visual { width: 100%; height: 250px; }
    .compare-header h1 { font-size: 2rem; }
  	.hide-col-mobile { display: none; }
}
/* =========================================
   NATURAL FEATURE SECTION (Zig-Zag)
   ========================================= */
.natural-features {
    padding: 2rem 0 6rem;
    background: white;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

/* Reverse layout for alternating rows */
.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
}

.feature-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
}
/* Soft Icon Backgrounds */
.bg-blue-soft { background: var(--primary-soft); color: var(--primary-hover); }
.bg-red-soft { background: #fef2f2; color: #dc2626; }
.bg-green-soft { background: #f0fdf4; color: #16a34a; }
.bg-purple-soft { background: #faf5ff; color: #9333ea; }

.feature-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
    line-height: 1.2;
}

.feature-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.feature-text strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Abstract Visuals (CSS Only) */
.feature-visual {
    flex: 1;
    height: 350px;
    background: var(--bg-off);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

/* Visual 1: Glass Layers */
.visual-glass { display: flex; align-items: center; justify-content: center; perspective: 1000px; }
.glass-pane {
    width: 200px; height: 140px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600; position: absolute; box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.pane-1 { background: white; color: #94a3b8; transform: translateY(40px) scale(0.9); opacity: 0.8; }
.pane-2 { background: var(--primary); color: white; transform: translateY(-20px) translateZ(20px); z-index: 2; box-shadow: 0 20px 40px rgba(37,99,235,0.2); }

/* Visual 2: Impact Ripple */
.visual-impact { display: flex; align-items: center; justify-content: center; }
.impact-circle { width: 60px; height: 60px; background: #ef4444; border-radius: 50%; z-index: 2; position: relative; }
.impact-ripple { 
    position: absolute; width: 60px; height: 60px; border: 2px solid #ef4444; border-radius: 50%; 
    animation: ripple 2s infinite; opacity: 0; 
}
@keyframes ripple { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(2.5); opacity: 0; } }

/* Visual 3: Static Particles */
.visual-static { background: var(--text-main); display: flex; align-items: center; justify-content: center; }
.shield-ring { width: 150px; height: 150px; border: 2px dashed rgba(255,255,255,0.2); border-radius: 50%; position: absolute; animation: spin-slow 20s linear infinite; }
.particle { width: 6px; height: 6px; background: rgba(255,255,255,0.5); border-radius: 50%; position: absolute; }
.p1 { top: 20%; left: 30%; animation: float 3s infinite; }
.p2 { top: 70%; left: 70%; animation: float 4s infinite reverse; }
.p3 { top: 40%; right: 20%; animation: float 5s infinite; }


/* =========================================
   TABLE SECTION (Moved Top)
   ========================================= */
.table-section {
    padding-bottom: 6rem;
    background: var(--bg-white); /* Clean white bg now that it's top */
    padding-top: 1rem;
    border-top: none;
}

/* =========================================
   NATURAL FEATURE SECTION (Zig-Zag)
   ========================================= */
.natural-features {
    padding: 6rem 0;
    background: var(--bg-off); /* Light grey bg for contrast against footer */
    border-top: 1px solid #e2e8f0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 4rem;
    font-weight: 800;
}

/* Feature Image Container */
.feature-image-container {
    flex: 1;
    background: #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* The Placeholder Style */
.img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #cbd5e1; /* Medium Grey */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 600;
    border: 2px dashed #94a3b8;
}

/* When you add real images later, use this class on the <img> tag: */
.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* =========================================
   PAGE: REVIEW (Article Layout)
   ========================================= */

.review-header {
    padding-top: 140px;
    padding-bottom: 60px;
    background: var(--bg-white);
    border-bottom: 1px solid #f1f5f9;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.date {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.review-header h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    max-width: 900px;
}

.lead-text {
    font-size: 1.25rem;
    color: #475569;
    max-width: 800px;
    line-height: 1.7;
}

/* --- Review Grid --- */
.review-body {
    padding: 4rem 0;
    background: var(--bg-off);
}

.review-grid {
    display: grid;
    grid-template-columns: 1fr 350px; /* Article takes space, sidebar fixed */
    gap: 4rem;
}

/* Article Styling */
.article-content {
    background: transparent;
}

.review-section {
    margin-bottom: 4rem;
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.review-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--text-main);
}

.review-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.5rem;
}
.review-section p:last-child { margin-bottom: 0; }

.small-img {
    margin-top: 2rem;
}

/* Stats Box (The Graph) */
.stats-box {
    background: var(--bg-off);
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.stat-item {
    margin-bottom: 1.5rem;
}
.stat-item:last-child { margin-bottom: 0; }

.stat-label { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.5rem; }
.stat-value { font-size: 1.25rem; font-weight: 800; color: var(--text-main); float: right; margin-top: -2.2rem; }

.stat-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}
.bar-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
}
.stat-sub { font-size: 0.8rem; color: var(--text-muted); font-style: italic; }

/* Summary Section Highlight */
.summary-section {
    background: var(--primary-soft); /* Light blue bg */
    border: 1px solid #bfdbfe;
}
.summary-section h2 { color: #1e3a8a; }
.summary-section p { color: #1e40af; font-weight: 500; }


/* --- Sidebar (Verdict Card) --- */
.review-sidebar {
    position: relative;
}

.sticky-sidebar {
    position: sticky;
    top: 100px; /* stick below navbar */
}

.verdict-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    text-align: center;
}

.verdict-header {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}
.verdict-header h3 { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }

.score-circle {
    width: 100px; height: 100px;
    background: var(--primary);
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.pros-list { text-align: left; margin-bottom: 2rem; }
.pros-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}
.pros-list li::before {
    content: '✓';
    position: absolute; left: 0; color: #16a34a; font-weight: 800;
}

.btn-full { width: 100%; }

/* Responsive */
@media (max-width: 900px) {
    .review-grid { grid-template-columns: 1fr; }
    .review-sidebar { display: none; /* Hide sidebar on mobile or move to bottom */ }
    /* Or make it a flat card at bottom */
    .review-sidebar { display: block; order: -1; margin-bottom: 2rem; } 
    .sticky-sidebar { position: static; }
}

/* Add this to your Review Section in style.css */

.review-list {
    margin: 1.5rem 0;
    padding-left: 1rem;
}

.review-list li {
    list-style-type: none; /* Remove default dots */
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: #334155;
    font-weight: 500;
}

.review-list li::before {
    content: "•";
    color: var(--primary); /* Blue bullet */
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
    line-height: 1;
}



/* =========================================
   PAGE: BUYING GUIDE
   ========================================= */

.guide-header {
    padding-top: 140px;
    padding-bottom: 60px;
    background: var(--bg-off);
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}
.guide-header h1 {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.guide-body {
    padding: 4rem 0;
    background: white;
}

.guide-grid {
    display: grid;
    grid-template-columns: 1fr 300px; /* Text left, Sidebar right */
    gap: 4rem;
}

/* Reuse guide-section styles from review page, but add specifics */
.guide-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px; /* Fix for sticky nav covering title on jump */
}
.guide-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    position: relative;
    padding-left: 1rem;
}
.guide-section h2::before {
    content: '';
    position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px;
    background: var(--primary);
    border-radius: 2px;
}
.guide-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1rem;
}

/* Callout Box for Benchmarks */
.callout-box {
    background: var(--primary-soft);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #1e3a8a;
}

/* Summary Box */
.summary-box {
    background: var(--bg-off);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}
.summary-box h2::before { background: #16a34a; /* Green accent for summary */ }

/* Table of Contents (Sidebar) */
.toc-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}
.toc-card h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.5rem;
}
.toc-list li {
    margin-bottom: 0.75rem;
}
.toc-list a {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    padding: 4px 0;
    transition: color 0.2s;
}
.toc-list a:hover {
    color: var(--primary);
    transform: translateX(4px); /* Subtle slide right on hover */
}

/* Responsive */
@media (max-width: 900px) {
    .guide-grid { grid-template-columns: 1fr; }
    .guide-sidebar { display: none; } /* Hide TOC on mobile to save space */
}


/* =========================================
   PAGE: FAQ
   ========================================= */

.faq-header {
    padding-top: 140px;
    padding-bottom: 60px;
    text-align: center;
    background: var(--bg-off);
    border-bottom: 1px solid #e2e8f0;
}
.faq-header h1 { 
    font-size: 2.5rem; 
    color: var(--text-main); 
    margin-bottom: 1rem; 
    font-weight: 800;
}

.faq-section {
    padding: 4rem 0 6rem;
    background: white;
}

.faq-container { 
    max-width: 800px; 
}

/* Accordion Item Styling */
.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: white;
    border: none;
    padding: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.faq-question:hover { 
    background: var(--bg-off); 
    color: var(--primary);
}

/* The Plus Icon */
.icon-plus {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 400;
    transition: transform 0.3s ease;
    line-height: 1;
}

/* Active State (Expanded) */
.faq-item.active .icon-plus { 
    transform: rotate(45deg); /* Turns + into x */
    color: #ef4444; /* Turns red when open */
}

.faq-item.active {
    border-color: var(--primary); /* Highlight border when open */
}

/* The Answer Container (Hidden by default) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--bg-off);
}

.faq-answer p { 
    padding: 0 1.5rem 1.5rem; 
    color: #475569; 
    line-height: 1.6; 
    margin: 0;
    padding-top: 0.5rem;
}



/* =========================================
   PAGE: ABOUT US (FIXED)
   ========================================= */

.about-header {
    padding-top: 140px;
    padding-bottom: 80px;
    background: white;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

/* FIX: Ensure the H1 and Text are centered even if they have a width limit */
.about-header h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    font-weight: 800;
    max-width: 800px; /* Good for readability */
    margin-left: auto; 
    margin-right: auto;
}

.about-header .lead-text {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.25rem;
    color: #475569;
    line-height: 1.7;
}

/* Methodology Grid */
.methodology-section {
    padding: 5rem 0;
    background: var(--bg-off);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem; /* This was already correct, but good to keep */
}

.section-intro h2 { font-size: 2.25rem; margin-bottom: 1rem; color: var(--text-main); }
.section-intro p { font-size: 1.1rem; color: var(--text-muted); }

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.criteria-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s;
    text-align: left; /* Keep card content left-aligned for readability */
}
.criteria-card:hover { transform: translateY(-5px); border-color: var(--primary); }

.criteria-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.criteria-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--text-main); }
.criteria-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

.methodology-note {
    background: var(--primary-soft);
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.05rem;
    max-width: 900px;
    margin: 0 auto;
}



/* =========================================
   PAGE: CONTACT US
   ========================================= */

.contact-header {
    padding-top: 140px;
    padding-bottom: 60px;
    background: var(--bg-off);
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}
.contact-header h1 {
    font-size: 3rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    font-weight: 800;
}
.contact-header .lead-text {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}

.contact-page-section {
    padding: 5rem 0 8rem;
    background: white;
}

/* Centered Card for Contact Form */
.contact-card-centered {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.06);
}

/* Form Styles Reuse + Refinements */
.optional-label {
    font-weight: 400;
    color: #94a3b8;
    font-size: 0.85rem;
    margin-left: 4px;
}

.form-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Ensure inputs look premium */
.contact-form input,
.contact-form textarea {
    background: var(--bg-off); /* Slight contrast input bg */
    border: 1px solid #e2e8f0;
    padding: 1rem;
    border-radius: 12px; /* Softer corners */
    font-size: 1rem;
    width: 100%;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
    outline: none;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

/* Responsive adjustment */
@media (max-width: 600px) {
    .contact-card-centered {
        padding: 1.5rem;
        border: none;
        box-shadow: none;
    }
}

/* =========================================
   PAGE: CONTACT US
   ========================================= */
.contact-header { padding-top: 140px; padding-bottom: 60px; background: var(--bg-off); text-align: center; border-bottom: 1px solid #e2e8f0; }
.contact-header h1 { font-size: 3rem; color: var(--text-main); margin-bottom: 1rem; font-weight: 800; }
.contact-header .lead-text { max-width: 600px; margin: 0 auto; color: var(--text-muted); }

.contact-page-section { padding: 5rem 0 8rem; background: white; }
.contact-card-centered { max-width: 600px; margin: 0 auto; background: white; padding: 3rem; border-radius: 24px; border: 1px solid #e2e8f0; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.06); }

.optional-label { font-weight: 400; color: #94a3b8; font-size: 0.85rem; margin-left: 4px; }
.form-note { text-align: center; margin-top: 1.5rem; font-size: 0.9rem; color: var(--text-muted); }

/* FIX: Target inputs but EXCLUDE the submit button */
.contact-form input:not([type="submit"]), 
.contact-form textarea, 
.wpcf7-form-control:not(.wpcf7-submit) {
    background: var(--bg-off); 
    border: 1px solid #e2e8f0; 
    padding: 1rem; 
    border-radius: 12px; 
    font-size: 1rem; 
    width: 100%; 
    transition: all 0.2s ease; 
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
}

.contact-form input:focus, 
.contact-form textarea:focus, 
.wpcf7-form-control:not(.wpcf7-submit):focus {
    background: white; 
    border-color: var(--primary); 
    box-shadow: 0 0 0 4px var(--primary-soft); 
    outline: none;
}
.form-group{
    margin-bottom: 2rem;
}

.contact-form label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--text-main); font-size: 0.95rem; }

/* FIX: Force specific styling for the CF7 Submit Button */
.wpcf7-submit {
    background-color: var(--primary) !important;
    color: white !important;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px var(--primary-glow);
    appearance: none; /* Removes default iOS styling */
    -webkit-appearance: none;
}

.wpcf7-submit:hover {
    background-color: var(--primary-hover) !important;
    transform: translateY(-1px);
}

/* Hide the CF7 loader spinner if it breaks layout */
.wpcf7-spinner {
    position: absolute;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .contact-card-centered { padding: 1.5rem; border: none; box-shadow: none; }
}

/* =========================================
   HEADER & MOBILE MENU STYLES
   ========================================= */

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Toggle Button (Hamburger) */
.mobile-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Menu Dropdown */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.mobile-menu a:last-child { border-bottom: none; }

/* Hamburger Animation when Active */
.mobile-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-toggle.active .bar:nth-child(2) { opacity: 0; }
.mobile-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }


/* RESPONSIVE BREAKPOINTS */
@media (max-width: 900px) {
    .nav-links { display: none; } /* Hide Desktop Links */
    .mobile-toggle { display: flex; } /* Show Hamburger */
    .nav-cta-btn { display: none; } /* Optional: Hide CTA on very small screens if tight */
}

@media (min-width: 901px) {
    .mobile-menu { display: none !important; } /* Force hide mobile menu on desktop */
}

/* ==========================================================================
   HERO TABLE WIDGET (ADDED)
   ========================================================================== */
.hero-table-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden; 
    width: 100%;
    max-width: 600px;
    font-family: 'Inter', sans-serif;
    margin: 0 auto;
    display: block !important;
}

/* Force Grid Layout with !important to prevent collapse */
.hero-table-header,
.hero-table-row {
    display: grid !important; 
    grid-template-columns: 1fr 1fr 1fr 1fr !important;
    align-items: center;
    padding: 1rem;
    gap: 10px;
}

.hero-table-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #eef0f2;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #6c757d;
    font-weight: 600;
}
.hero-col-head { white-space: nowrap; }

.hero-table-row {
    border-bottom: 1px solid #f1f3f5;
    font-size: 0.9rem;
    color: #343a40;
    transition: background-color 0.2s ease;
}
.hero-table-row:last-of-type { border-bottom: none; }

/* --- TABLE HOVER & COLORS --- */
/* Normal Row Hover (Soft Gray) */
.hero-table-row:not(.row-winner):hover { background-color: #f8f9fa; }

/* Winner Row (Bulldog) - BLUE */
.hero-table-row.row-winner { background-color: #f0f7ff !important; }

/* Winner Row Hover - Darker Blue */
.hero-table-row.row-winner:hover { background-color: #e1effe !important; }

/* Winner Text - Strong Blue */
.row-winner .cell-brand {
    font-weight: 700; color: #1c64f2 !important;
    display: flex; align-items: center; gap: 6px;
}

.hero-cell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell-brand { font-weight: 600; color: #212529; }
.cell-score { font-weight: 700; }

.hero-table-footer {
    padding: 1rem; background: #f8f9fa; text-align: center; border-top: 1px solid #eef0f2;
}
.hero-table-footer a { color: var(--primary); font-weight: 500; font-size: 0.9rem; }
.hero-table-footer a:hover { text-decoration: underline; }

/* Mobile Table Scrolling */
@media (max-width: 900px) {
    .hero-table-card {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .hero-table-header, 
    .hero-table-row {
        min-width: 550px;
        padding: 0.8rem;
    }
}
.nav-cta-btn:hover{
	color: var(--bg-white) !important;
}


@media (max-width: 768px) {

    /* --- 1. Hero Text & Layout --- */
    .hero {
        padding-top: 110px; /* Reduce top padding */
        padding-bottom: 60px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem; /* Shrink big header */
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-grid {
        gap: 3.5rem; /* Reduce gap between text and table */
    }

    /* --- 2. Hero Table Transformation --- */
    
    /* Hide the specific column cells */
    .hide-col-mobile {
        display: none !important;
    }

    /* Redefine Grid: Change from 4 columns to 3 columns */
    .hero-table-header,
    .hero-table-row {
        /* Brand (Wide) | Glass (Medium) | Score (Narrow) */
        grid-template-columns: 1fr 1.2fr 1.2fr !important; 
        min-width: 0 !important; /* Allow table to shrink to screen width */
        padding: 0.8rem 0.5rem;
        gap: 8px;
    }

    /* Shrink Table Text */
    .hero-col-head {
        font-size: 0.65rem;
        white-space: normal; /* Allow headers to wrap */
        line-height: 1.2;
    }
    
    .hero-cell {
        font-size: 0.8rem;
        padding: 0; /* Tighten up cells */
    }
    
    .cell-brand {
        font-size: 0.9rem;
    }
    
    .cell-score {
        font-size: 0.85rem;
        padding: 2px 6px;
    }

    /* --- 3. Features / Winner Section --- */
    .grid-winner {
        gap: 3rem;
    }
    
    .features-content h2 {
        font-size: 2rem;
    }
    
    .features-text {
        font-size: 1rem;
    }

    /* --- 4. Logo Grid Tightening --- */
    .logo-grid {
        gap: 1.5rem 1rem; /* Tighter gap for mobile logos */
    }
    
    .logo-item {
        font-size: 1.1rem;
        flex-basis: 40%; /* Force 2 columns for logos */
        text-align: center;
    }
  .feature-row.reverse{
    flex-direction: column;  
  }

  /* ==========================================================================
   MAIN COMPARISON TABLE MOBILE OPTIMIZATION
   ========================================================================== */


    /* 1. Container: Enable smooth scrolling */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
      margin-left: -24px;
        margin-right: -24px; /* Pull right edge to screen edge for immersive feel */
       /* padding-right: 24px;*/
        /* Optional: Add a shadow hint on the right to indicate more content */
        background: 
            linear-gradient(to right, white 30%, rgba(255,255,255,0)),
            linear-gradient(to right, rgba(255,255,255,0), white 70%) 0 100%,
            radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.2), rgba(0,0,0,0)),
            radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.2), rgba(0,0,0,0)) 0 100%;
        background-repeat: no-repeat;
        background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
        background-position: 0 0, 100% 0, 0 0, 100% 0;
        background-attachment: local, local, scroll, scroll;
    }

    /* 2. Shrink the Sticky Column (Brand Name) */
    /* Currently 220px is too wide for mobile. Let's drop it. */
    .table-section .sticky-left {
        min-width: 130px !important; /* Force smaller width */
        width: 130px;
        font-size: 0.8rem;
        padding: 0.75rem 0.5rem;
        border-right: 2px solid #e2e8f0; /* Stronger border to separate sticky area */
    }

    /* 3. Stack the Brand Name and Badge vertically */
    /* This saves horizontal space */
    .brand-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .badge-winner {
        font-size: 0.6rem;
        padding: 2px 6px;
    }

    /* 4. Data Cells: Compact & Readable */
    .table-section td, 
    .table-section th {
        padding: 0.75rem 0.75rem;
        font-size: 0.8rem; /* Smaller text for data */
        white-space: normal; /* Allow wrapping so columns aren't 500px wide */
        min-width: 140px; /* Ensure columns have a minimum readable width */
    }

    /* Specific Column Tweaks */
    /* Make the 'Impact' column slightly wider as it has long text */
    .table-section td:nth-child(4), 
    .table-section th:nth-child(4) {
        min-width: 180px;
    }

    /* 5. Header adjustments */
    thead th.sticky-left {
        z-index: 30; /* Keep top-left corner on top of everything */
        font-size: 0.75rem;
        text-transform: uppercase;
    }
}