/*
Theme Name: Migi Review Theme
Theme URI: https://migireview.com/
Description: A lightweight, fast, modern WordPress theme styled like an e-commerce marketplace (Shopee Style) in English, optimized for SaaS, software, tools, and digital product reviews.
Author: Antigravity
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: migireview
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #2563eb; /* Vibrant Blue */
    --primary-hover: #1d4ed8;
    --accent-color: #2563eb;
    --accent-hover: #1d4ed8;
    --bg-color: #f8fafc; /* Clean White/Gray background */
    --card-bg: #ffffff; /* Pure White card background */
    --text-color: #0f172a; /* Deep Black/Slate-900 */
    --text-muted: #64748b; /* Slate-500 */
    --border-color: #e2e8f0; /* Slate-200 */
    --price-color: #2563eb; /* Blue for prices */
    --rating-color: #fbbf24; /* Amber */
    --success-color: #10b981; /* Emerald */
    --danger-color: #ef4444; /* Red */
    --box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    --border-radius: 16px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

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

/* Header Styles (White & Black) */
.site-header {
    background-color: #ffffff;
    color: var(--text-color);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Adjust sticky header position when WordPress Admin Bar is active */
body.admin-bar .site-header {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px !important;
    }
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    color: var(--text-color);
    letter-spacing: -0.5px;
    font-weight: 800;
}

.site-logo img,
.custom-logo-link img,
.custom-logo,
.logo-img,
.logo-icon {
    max-height: 60px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0;
}

.footer-logo img,
.footer-logo .custom-logo,
.footer-logo-img {
    max-height: 45px !important;
    width: auto !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text-main {
    font-weight: 800;
    color: #0f172a; /* Black */
}

.logo-text-sub {
    font-weight: 400;
    color: var(--primary-color); /* Blue */
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.search-trigger-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: color 0.2s;
}

.search-trigger-btn:hover {
    color: var(--primary-color);
}

/* Slide-down Search Overlay */
.search-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    z-index: 99;
}

.search-overlay-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: #f1f5f9;
    border-radius: 30px;
    padding: 3px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.search-overlay-form:focus-within {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-overlay-form .search-field {
    flex: 1;
    border: none;
    padding: 8px 20px;
    font-size: 14px;
    outline: none;
    background: transparent;
    color: var(--text-color);
}

.search-overlay-submit {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 0 20px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 25px;
    transition: background 0.2s;
}

.search-overlay-submit:hover {
    background-color: var(--primary-hover);
}

.site-navigation ul {
    list-style: none;
}

/* Only the top-level menu list should flex horizontally */
.site-navigation > ul,
.site-navigation > div > ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-navigation li {
    position: relative; /* Crucial for absolute positioning of sub-menu */
}

.site-navigation a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: color 0.2s;
    display: block;
    padding: 10px 0;
}

.site-navigation a:hover {
    color: var(--primary-color);
}

/* Sub-menu (Dropdown Level 2) Styles - Premium SaaS Look */
.site-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px) !important; /* Slide down starting point */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none;
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 10px 10px -5px rgba(15, 23, 42, 0.03);
    min-width: 220px;
    padding: 8px;
    z-index: 999;
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
}

/* Hover state shows the dropdown with a smooth slide-up */
.site-navigation li:hover > .sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) !important; /* Slide up to place */
}

/* Align dropdown items vertically with padding */
.site-navigation .sub-menu li {
    display: block;
    width: 100%;
}

.site-navigation .sub-menu a {
    color: #475569; /* Softer dark gray */
    font-size: 13px;
    font-weight: 500;
    text-transform: none; /* Standard capitalization in dropdowns */
    letter-spacing: normal;
    padding: 10px 16px;
    margin: 2px 0;
    text-align: left;
    display: block;
    border-radius: 8px; /* Rounded hover background box */
    transition: all 0.15s ease;
}

.site-navigation .sub-menu a:hover {
    background-color: #eff6ff; /* Soft primary blue background tint */
    color: var(--primary-color); /* Vibrant Blue text */
    font-weight: 600;
    padding-left: 20px; /* Subtle slide-right effect on hover! */
}

/* Caret indicator for menu items that have dropdown children */
.site-navigation .menu-item-has-children > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-navigation .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-top: 2px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform 0.2s;
}

.site-navigation .menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Category Navigation Bar */
.category-bar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.category-bar-container {
    display: flex;
}

.category-bar-menu {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-bar-menu li {
    display: inline-block;
}

/* Style links inside Category Bar Menu */
.category-bar-menu a,
.category-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 20px;
    background-color: #f1f5f9;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.category-bar-menu a:hover,
.category-bar-menu .current-menu-item > a,
.category-link:hover,
.category-link.active {
    background-color: var(--primary-color); /* Blue */
    color: #ffffff;
}

/* Hero Section (Mockup Grid Light Theme) */
.hero-section {
    padding: 45px 0;
    background-color: #f8fafc; /* Light Slate bg */
    background-image: 
        linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    color: #0f172a; /* Dark text */
    position: relative;
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

/* Remove old shapes */
.hero-section::before,
.hero-section::after,
.hero-shape-left,
.hero-shape-right {
    display: none !important;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Sponsored Badge */
.sponsored-badge {
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

.sponsored-badge a {
    color: #6366f1; /* Purple theme */
    font-weight: 700;
    margin-left: 5px;
    text-decoration: none;
    transition: color 0.2s;
}

.sponsored-badge a:hover {
    color: #4f46e5;
}

/* Gradient Title */
.hero-title {
    font-size: 52px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-title .gradient-text {
    background: linear-gradient(to right, #2563eb, #a855f7, #f43f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Subtitle */
.hero-subtitle {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 25px;
    font-weight: 500;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-subtitle .highlight {
    color: #6366f1; /* Purple numbers */
    font-weight: 700;
}

/* Premium Embedded Search Bar */
.hero-search-wrapper {
    max-width: 680px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 8px;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.05), 0 10px 10px -5px rgba(15, 23, 42, 0.02), 0 0 0 1px rgba(15, 23, 42, 0.03);
}

.hero-search-form {
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    padding: 12px 18px;
    font-size: 16px;
    color: #0f172a;
    width: 100%;
}

.hero-search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.hero-search-submit {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #6366f1 !important; /* Premium purple/blue search button */
    color: #ffffff !important;
    border: none;
    outline: none;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.2);
}

.hero-search-submit:hover {
    background-color: #4f46e5 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.hero-search-submit svg {
    stroke-width: 2.5px;
}

/* Category Sections */
.category-section {
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.section-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0f172a; /* Black */
}

.view-all {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-all:hover {
    color: var(--primary-hover);
}

/* Slider Controls */
.product-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.product-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 5px;
    -webkit-overflow-scrolling: touch;
}

.product-slider::-webkit-scrollbar {
    height: 6px;
}

.product-slider::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.product-slider::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.product-slider .product-card {
    flex: 0 0 280px;
}

.slider-arrow {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.2s;
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.prev-arrow {
    left: -23px;
}

.next-arrow {
    right: -23px;
}

/* Product Card Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

/* Product Card (Mockup Style - White Rounded Box, Shadows, Centered Content) */
.product-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1.5px solid #94a3b8; /* Sharp, distinct border matching mockup */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 30px 24px;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.02), 0 2px 4px -1px rgba(15, 23, 42, 0.01);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color); /* Turns Blue on hover! */
}

.product-card-image {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px auto;
    border-radius: 24px;
    overflow: hidden;
    background-color: #ffffff;
    border: 1.5px solid #cbd5e1; /* Sharp icon border */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.03);
    transition: transform 0.2s;
}

.product-card:hover .product-card-image {
    transform: scale(1.04);
}

.product-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-title {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #0f172a; /* Black */
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 25px;
}

.product-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
    padding: 0 5px;
}

.product-card-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 24px;
}

.product-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.product-rating {
    color: var(--rating-color);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-weight: 700;
}

.product-rating .reviews-count {
    color: var(--text-muted);
    font-size: 12px;
    margin-left: 2px;
    font-weight: 500;
}

.product-card-buttons {
    width: 100%;
}

/* Blue Button hovering to Black */
.product-card-buttons .btn-primary {
    width: 100%;
    background-color: var(--primary-color); /* Blue background */
    color: #ffffff; /* White text */
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.product-card-buttons .btn-primary:hover {
    background-color: #0f172a; /* Black hover */
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

/* Single Post Review Layout */
.single-post-container {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    padding: 40px;
    margin: 40px 0;
}

.product-banner-header {
    margin: -40px -40px 40px -40px;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    overflow: hidden;
    max-height: 400px;
}

.product-banner-header img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-summary-box {
    display: flex;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 35px;
}

.product-summary-image {
    flex: 0 0 220px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.product-summary-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-summary-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-summary-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 15px;
    color: #0f172a;
}

.product-summary-meta {
    margin-bottom: 20px;
    background-color: #f8fafc;
    padding: 20px;
    border-radius: var(--border-radius);
    display: flex;
    flex-wrap: wrap;
    gap: 20px 45px;
    border: 1px solid var(--border-color);
}

.product-summary-meta .price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color);
}

.product-summary-meta .rating {
    color: var(--rating-color);
    font-size: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-summary-meta .meta-item {
    font-size: 14px;
    color: var(--text-color);
}

.product-summary-meta .meta-item strong {
    color: var(--primary-color);
}

.product-summary-cta {
    margin-top: auto; /* Push CTA button to the bottom */
    padding-top: 15px;
}

.product-summary-cta .btn {
    display: inline-block;
    background-color: var(--primary-color) !important; /* Vibrant Blue */
    color: #ffffff !important; /* White text */
    padding: 14px 36px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 9999px; /* Rounded pill shape */
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.25), 0 4px 6px -2px rgba(37, 99, 235, 0.05);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    text-align: center;
    border: none;
}

.product-summary-cta .btn:hover {
    background-color: #0f172a !important; /* Elegant Black hover */
    color: #ffffff !important;
    box-shadow: 0 10px 20px -3px rgba(15, 23, 42, 0.3);
    transform: translateY(-2px);
}

/* Pros and Cons Box */
.pros-cons-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 45px;
}

.pros-column, .cons-column {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    padding: 24px;
}

.pros-column {
    border: 1px solid #10b981;
    background-color: rgba(16, 185, 129, 0.01);
}

.cons-column {
    border: 1px solid #ef4444;
    background-color: rgba(239, 68, 68, 0.01);
}

.pros-column h3, .cons-column h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pros-column h3 {
    color: #10b981;
}

.cons-column h3 {
    color: #ef4444;
}

.pros-cons-list {
    list-style: none;
}

.pros-cons-list li {
    font-size: 14px;
    margin-bottom: 10px;
    position: relative;
    padding-left: 24px;
    color: #334155;
}

.pros-column .pros-cons-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 15px;
}

.cons-column .pros-cons-list li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
    font-size: 15px;
}

/* Post Content */
.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}

.post-content h2, .post-content h3 {
    margin: 35px 0 15px 0;
    font-weight: 800;
    color: #0f172a;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul, .post-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.post-content li {
    margin-bottom: 8px;
}

/* Sticky Floating CTA Bar (PC only) */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
    padding: 15px 0;
    z-index: 99;
    display: none; /* Controlled by JS scroll */
    border-top: 1px solid var(--border-color);
}

.sticky-cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-cta-info {
    display: flex;
    flex-direction: column;
}

.sticky-cta-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.sticky-cta-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
}

.sticky-cta-btn {
    display: inline-block;
    background-color: var(--primary-color) !important; /* Vibrant Blue */
    color: #ffffff !important; /* White text */
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 9999px; /* Rounded pill shape */
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
}

.sticky-cta-btn:hover {
    background-color: #0f172a !important; /* Black hover */
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
    transform: translateY(-1px);
}

/* Footer Styles (Premium SaaS 4-Column Design) */
.site-footer {
    background-color: #0f172a; /* Deep Slate Black */
    color: #94a3b8;
    padding: 80px 0 40px 0;
    margin-top: 80px;
    border-top: 1px solid #1e293b;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr; /* 4 columns on desktop */
    gap: 50px;
    margin-bottom: 50px;
}

.footer-widget h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Column 1: Brand Widget */
.brand-widget .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.brand-widget .footer-logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 6px;
    padding: 3px;
}

.brand-widget .logo-text-main {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}

.brand-widget .logo-text-sub {
    font-size: 20px;
    font-weight: 400;
    color: var(--primary-color);
}

.brand-widget .footer-desc {
    font-size: 14px;
    line-height: 1.65;
    color: #94a3b8;
    margin-bottom: 25px;
}

/* Social media links */
.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #1e293b;
    color: #94a3b8;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Columns 2, 3, 4: Link lists */
.links-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.links-widget a {
    color: #94a3b8;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-block;
}

.links-widget a:hover {
    color: #ffffff;
    transform: translateX(4px); /* Premium hover slide-right effect */
}

/* Footer Bottom Area */
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    margin-top: 40px;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-copyright {
    font-size: 14px;
    color: #94a3b8;
}

.footer-copyright strong {
    color: #ffffff;
}

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

.footer-bottom-links a {
    color: #64748b;
    font-size: 13px;
    transition: color 0.2s;
}

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

.footer-disclaimer {
    font-size: 12px;
    color: #64748b;
    line-height: 1.6;
    border-top: 1px dashed #1e293b;
    padding-top: 20px;
    margin-top: 20px;
    text-align: left;
}

/* Force display of the theme header to prevent conflicts with old plugins/customizer hide rules */
html body header.site-header,
body .site-header,
.site-header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    background-color: #ffffff !important;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .product-slider .product-card {
        flex: 0 0 250px;
    }
    .footer-widgets {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: stretch;
    }
    .site-navigation {
        display: none;
    }
    .hero-title {
        font-size: 32px;
    }
    .product-summary-box {
        flex-direction: column;
    }
    .product-summary-image {
        flex: auto;
        width: 100%;
    }
    .pros-cons-box {
        grid-template-columns: 1fr;
    }
    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

/* Category Hub Directory Section */
.category-hubs-section {
    margin-top: 30px;
    margin-bottom: 10px;
}

.hubs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    gap: 24px;
}

.hub-card {
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.01), 0 2px 4px -1px rgba(15, 23, 42, 0.01);
}

.hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.06), 0 10px 10px -5px rgba(15, 23, 42, 0.02);
    border-color: rgba(15, 23, 42, 0.08);
}

.hub-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}

.hub-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: #ffffff;
    transition: transform 0.2s ease;
}

.hub-card:hover .hub-icon {
    transform: scale(1.05);
}

.hub-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.hub-arrow {
    color: #94a3b8;
    transition: all 0.25s ease;
}

.hub-card:hover .hub-arrow {
    color: #6366f1; /* Purple tint on hover */
    transform: translate(2px, -2px);
}

.hub-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.hub-card:hover .hub-title {
    color: #6366f1; /* Hover purple */
}

.hub-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Responsive adjustments for hubs */
@media (max-width: 992px) {
    .hubs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hubs-grid {
        grid-template-columns: 1fr;
    }
}

/* Bottom CTA Section - Blue Gradient Mockup Grid Theme */
.bottom-cta-section {
    margin-top: 60px;
    margin-bottom: 60px;
}

.cta-banner-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%); /* Premium Blue Gradient */
    border-radius: 24px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Two columns */
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.15), 0 10px 10px -5px rgba(37, 99, 235, 0.05);
}

.cta-left-content {
    color: #ffffff;
    z-index: 2;
}

.cta-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    color: #ffffff;
    letter-spacing: -1px;
}

.cta-desc {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
}

.cta-features {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.cta-feature-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 500;
    color: #ffffff;
}

.cta-check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.cta-btn-white {
    background-color: #ffffff !important;
    color: #2563eb !important; /* Blue text */
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.cta-btn-white:hover {
    background-color: #f8fafc !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.cta-btn-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: #ffffff !important;
    padding: 11px 30px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cta-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Right Visual Area */
.cta-right-visual {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.visual-card-main {
    width: 100%;
    max-width: 380px;
    height: 220px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    position: relative;
}

.visual-badge-yellow {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: #eab308; /* Yellow badge */
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.floating-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    position: absolute;
}

.users-card {
    top: 20px;
    left: -20px;
}

.action-card {
    bottom: 20px;
    right: -20px;
    max-width: 200px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.action-card p {
    font-size: 10px;
    color: #64748b;
    margin: 0;
    line-height: 1.3;
}

.floating-card-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.purple-bg { background-color: #a855f7; }
.green-bg { background-color: #10b981; }

.floating-card-info strong {
    font-size: 12px;
    color: #0f172a;
}

/* Glowing Blobs */
.visual-blob {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    filter: blur(25px);
    opacity: 0.6;
    z-index: -1;
}

.blob-yellow {
    background-color: #eab308;
    bottom: -20px;
    left: 10px;
}

.blob-blue {
    background-color: #3b82f6;
    top: -10px;
    right: -10px;
}

.blob-purple {
    background-color: #c084fc;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Responsive styling for CTA Banner */
@media (max-width: 768px) {
    .cta-banner-card {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 50px;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .users-card {
        left: 10px;
    }
    
    .action-card {
        right: 10px;
    }
}

/* FAQ Accordion Section */
.homepage-faq-section {
    margin-top: 50px;
    margin-bottom: 40px;
}

.section-subtitle-small {
    font-size: 14.5px;
    color: var(--text-muted);
    margin-top: -12px;
    margin-bottom: 30px;
}

.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    padding: 16px 20px;
    transition: all 0.25s ease;
}

.faq-item[open] {
    border-color: var(--primary-color);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.03), 0 4px 6px -2px rgba(37, 99, 235, 0.02);
}

.faq-question {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

/* Remove default details chevron */
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-toggle-icon {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: '';
    position: absolute;
    background-color: #64748b;
    transition: transform 0.25s ease;
}

/* Horizontal line */
.faq-toggle-icon::before {
    width: 12px;
    height: 2px;
}

/* Vertical line */
.faq-toggle-icon::after {
    width: 2px;
    height: 12px;
}

/* On open, rotate the vertical line to hide it, making it a minus sign */
.faq-item[open] .faq-toggle-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item[open] .faq-toggle-icon::before {
    background-color: var(--primary-color);
}

.faq-answer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(15, 23, 42, 0.04);
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}

.faq-answer p {
    margin: 0;
}

/* Newsletter Section */
.newsletter-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.newsletter-card {
    background-color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.05);
    border-radius: 24px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.02), 0 0 0 1px rgba(0, 0, 0, 0.01);
}

.newsletter-icon-box {
    width: 48px;
    height: 48px;
    background-color: #eff6ff;
    border-radius: 12px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.newsletter-icon-box svg {
    stroke-width: 2.5px;
}

.newsletter-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.newsletter-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.newsletter-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form {
    display: flex;
    background-color: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 16px;
    padding: 6px;
}

.newsletter-input {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    padding: 10px 16px;
    font-size: 14.5px;
    color: #0f172a;
    width: 100%;
}

.newsletter-input::placeholder {
    color: #94a3b8;
}

.newsletter-submit {
    background-color: var(--primary-color) !important; /* Blue background */
    color: #ffffff !important;
    border: none;
    outline: none;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-submit:hover {
    background-color: #1d4ed8 !important; /* Darker blue on hover */
    transform: translateY(-1px);
}

.newsletter-spam-text {
    font-size: 11.5px;
    color: #94a3b8;
    margin: 0;
    padding-left: 8px;
}

/* Responsive Newsletter styling */
@media (max-width: 768px) {
    .newsletter-card {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 30px;
    }
    .text-center-mobile {
        text-align: center;
    }
}

/* How We Review Section */
.how-we-review-section {
    margin-top: 50px;
    margin-bottom: 40px;
}

.review-trust-card {
    background-color: #eff6ff; /* Soft Light Blue background */
    border: 1px solid #dbeafe; /* Subtle blue border */
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    width: 100%;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.02), 0 0 0 1px rgba(37, 99, 235, 0.01);
}

.trust-title {
    font-size: 28px;
    font-weight: 800;
    color: #1e3a8a; /* Deep blue title */
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.trust-text {
    font-size: 15.5px;
    line-height: 1.75;
    color: #334155; /* Slate Gray - prominent, highly readable on light blue */
    max-width: 800px;
    margin: 0 auto 25px auto;
}

.trust-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.trust-link {
    font-size: 14.5px;
    font-weight: 600;
    color: #2563eb; /* Brand blue link color */
    text-decoration: none;
    transition: all 0.2s ease;
}

.trust-link:hover {
    color: #1d4ed8; /* Darker blue on hover */
    text-decoration: underline;
}

/* Responsive adjustment */
@media (max-width: 640px) {
    .review-trust-card {
        padding: 35px 20px;
    }
    .trust-links {
        flex-direction: column;
        gap: 15px;
    }
}



