/**
 * Main Theme Styles
 */

/* =========================================
   HEADER: Floating Pill
   ========================================= */
/* .site-header-pill */
.site-header-pill {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 9000;
    /* Increased to stay above hero/content */
    pointer-events: none;
    /* Let clicks pass through outside the pill */
    padding: 0 20px;
}

/* .mobile-drawer */
.mobile-drawer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    /* Slide in from left */
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: #05080e;
    /* Deep dark background */
    z-index: 10000;
    /* Highest priority */
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    overflow-y: auto;
    padding: 24px;
    border-right: 1px solid var(--border-light);
}

.header-pill-container {
    pointer-events: auto;
    max-width: 1200px;
    margin: 0 auto;
    height: 72px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: var(--surface-strong);
    /* Stronger glass for contrast */
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.3s ease;
}

.header-pill-container .site-branding h1 {
    margin: 0;
    /* Remove default h1 margin for vertical keys */
    line-height: 1;
    /* Tighten line height for precise centering */
}

.header-pill-container .site-branding h1 a {
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* User Avatar Utility */
.rounded-full {
    border-radius: 50% !important;
}

/* Nav Links */
.main-navigation ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation ul li a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.main-navigation ul li a:hover {
    color: var(--text-primary);
}

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

.btn-pill {
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.sign-in-btn {
    border-color: var(--border-light);
    color: var(--text-primary);
}

.start-project-btn {
    background: var(--accent-primary);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(24, 209, 167, 0.3);
}

.start-project-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(24, 209, 167, 0.4);
}

/* Fix User Account Text Color */
#account-trigger-btn {
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.2s ease;
}

#account-trigger-btn .dashicons {
    color: var(--text-muted);
    transition: color 0.2s ease;
}

#account-trigger-btn:hover,
#account-trigger-btn:hover .dashicons {
    color: var(--text-primary);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-body);
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    /* Parallax-like feel */
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.3s ease, color 0.3s ease;
    padding-top: 140px;
    /* Space for fixed header */
}

/* Fix for WordPress Admin Bar overlap */
body.admin-bar .site-header-pill {
    top: 56px;
    /* Offset by WP bar height */
}

@media (max-width: 782px) {
    body.admin-bar .site-header-pill {
        top: 60px;
    }
}

/* Force Dark Mode default if no preference is set yet to match premium look */
html:not([data-theme]) {
    background: #070B12;
}


/* Adjust for WP Admin Bar */
.admin-bar .site-header-pill {
    top: 56px;
}

@media (min-width: 783px) {
    .admin-bar .site-header-pill {
        top: 56px;
    }
}


a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--ease-default);
}

a:hover {
    color: var(--accent-secondary);
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: var(--ease-default);
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(14, 165, 164, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Header Spacer for Sticky Nav */
.site-header-spacer {
    height: 140px;
    /* Increased from 80px to account for floating header + padding */
}

/* Elementor Canvas Override */
/* Ensure our variables cascade into Elementor if specific widgets are used */
.elementor-section {
    font-family: var(--font-primary);
}

/* Spacing Utilities */
.py-xxl {
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
}

.pt-xxl {
    padding-top: var(--spacing-xxl);
}

.pb-xxl {
    padding-bottom: var(--spacing-xxl);
}

.my-xxl {
    margin-top: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
}

.mt-xxl {
    margin-top: var(--spacing-xxl);
}

.mb-xxl {
    margin-bottom: var(--spacing-xxl);
}

.py-xl {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.mb-xl {
    margin-bottom: var(--spacing-xl);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

/* Flex Gap Utilities */
.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

/* =========================================
   MOBILE / RESPONSIVE
   ========================================= */
.mobile-bottom-nav {
    display: none;
    /* Hidden on desktop */
}

/* Drawer Container */
.mobile-drawer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    /* Slide in from left */
    width: 85%;
    max-width: 380px;
    height: 100vh;
    background: #05080e;
    /* Deep dark background */
    z-index: 2000;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    overflow-y: auto;
    padding: 24px;
    border-right: 1px solid var(--border-light);
}

.mobile-drawer.open {
    transform: translateX(0);
}

/* Drawer Header */
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
}

.user-status {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.close-btn {
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Drawer Content */
.drawer-cta {
    margin-bottom: 32px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(24, 209, 167, 0.2);
    text-align: center;
    display: block;
    padding: 14px;
    margin-top: 2rem;
}

.drawer-section {
    margin-bottom: 24px;
}

.section-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    font-weight: 600;
}

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

.simple-links li {
    margin-bottom: 16px;
}

.simple-links li a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.icon-links li {
    margin-bottom: 14px;
}

.icon-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
}

.icon-links li a .dashicons {
    color: var(--accent-primary);
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Support Card */
.drawer-support-card {
    background: rgba(24, 209, 167, 0.05);
    border: 1px solid rgba(24, 209, 167, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin-top: 32px;
}

.drawer-support-card h4 {
    color: #fff;
    margin-bottom: 8px;
    margin-top: 0;
}

.drawer-support-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

@media (max-width: 991px) {

    /* Hide clutter on mobile header */
    .start-project-btn,
    .group-account-trigger,
    .desktop-only {
        display: none !important;
    }

    .site-header-pill {
        top: 16px;
        padding: 0 16px;
        z-index: 9000;
        /* Ensure header is below drawer if drawer is higher */
    }

    .header-pill-container {
        height: 64px;
        padding: 0 16px;
        justify-content: space-between;
        /* Revert to space-between for Logo + Toggle */
    }

    /* Fix "Light from left" - Remove gradient AND Overflow */
    html,
    body {
        overflow-x: hidden !important;
        width: 100%;
        position: relative;
    }

    body {
        background-image: none !important;
        background-color: var(--bg-body);
        /* Ensure solid background */
    }

    /* Mobile Bottom Nav - Premium Glass */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        height: 64px;
        background: var(--surface-strong);
        /* Auto-adjusts for Light/Dark */
        border: 1px solid var(--border-light);
        border-radius: 50px;
        z-index: 9999;
        justify-content: space-between;
        align-items: center;
        padding: 0 10px;
        box-shadow: var(--shadow-glass);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex: 1;
        text-decoration: none;
        color: var(--text-muted);
        /* Works in both modes */
        font-size: 0.6rem;
        font-weight: 600;
        text-transform: uppercase;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        height: 100%;
        transition: color 0.3s ease;
    }

    /* Active State & Icons */
    .mobile-bottom-nav .nav-item .dashicons {
        font-size: 20px;
        width: 20px;
        height: 20px;
        margin-top: 2px;
        color: inherit;
        /* Follow parent color */
    }

    .mobile-bottom-nav .nav-item.active {
        color: var(--accent-primary);
        /* Teal in Dark/Light */
    }

    /* Center Menu Button */
    .mobile-bottom-nav .menu-btn {
        background: var(--accent-primary);
        border-radius: 50%;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff !important;
        /* Always white icon on accent btn */
        margin-right: 0;
        margin-left: 4px;
        box-shadow: 0 4px 15px rgba(24, 209, 167, 0.4);
        border: none;
    }

    .mobile-bottom-nav .menu-btn .dashicons {
        font-size: 24px;
        width: 24px;
        height: 24px;
        margin: 0;
        color: #fff;
    }

    #theme-toggle {
        display: block;
    }
}


/* Ensure Drawer Z-Index is Highest on Mobile */
@media (max-width: 991px) {
    .mobile-drawer {
        z-index: 100000 !important;
        /* Above everything */
    }
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-headline {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

/* =========================================
   STATS SECTION
   ========================================= */
.stat-item {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-icon-circle {
    width: 80px;
    height: 80px;
    background: var(--surface-strong);
    /* Should be light grey in light mode */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

[data-theme="light"] .stat-icon-circle {
    background: #F1F5F9;
    /* Very light grey */
}

.stat-icon-circle .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: var(--text-primary);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .tek-about-section {
        grid-template-columns: 1fr;
        gap: 2rem !important;
    }

    .about-headline {
        font-size: 2rem;
    }

    .stat-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
}

/* =========================================
   SERVICES GRID SECTION
   ========================================= */
.service-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.service-num {
    font-weight: 800;
    opacity: 0.9;
}

.service-desc {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

.service-list li .dashicons {
    background: var(--text-primary);
    /* Dark circle for icon */
    color: var(--bg-body);
    /* Inverted check color (light) */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Light mode icon adjustment to match screenshot style (black circle/tick) */
[data-theme="light"] .service-list li .dashicons {
    background: #000;
    color: #fff;
}

[data-theme="dark"] .service-list li .dashicons {
    background: #fff;
    color: #000;
}

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

/* Force 2 columns on desktop for even 2x2 layout */
@media (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: var(--surface-strong);
    /* Ensure it looks solid/clean like the screenshot */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* =========================================
   MODERN HERO SECTION (Refined)
   ========================================= */
.tek-hero-split {
    position: relative;
    width: 100%;
    padding: 2rem 0;
    overflow: visible;
}

/* Grid Layout */
.tek-hero-split .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

/* Left Content */
.hero-content-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    background: transparent;
    /* Removed bg to match clean look */
    padding: 0;
}

.hero-badge .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.hero-title-modern {
    font-family: var(--font-primary);
    font-size: 4rem;
    /* Larger */
    line-height: 1.1;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.text-accent {
    color: var(--accent-secondary);
    /* Blue like reference */
}

.hero-subtext-modern {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 520px;
    font-weight: 400;
}

/* Actions */
.hero-actions-modern {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-lg {
    height: 60px;
    padding: 0 40px;
    font-size: 1.1rem;
    border-radius: 12px;
}

.icon-btn {
    border: none;
    background: transparent;
    color: var(--text-primary);
    padding: 0 24px;
    font-weight: 600;
}

.icon-btn:hover {
    background: var(--surface-hover);
    transform: translateY(0);
    box-shadow: none;
    color: var(--accent-primary);
}

/* Dashboard Card Mockup (Right Side) */
.hero-visual-right {
    position: relative;
    display: flex;
    justify-content: center;
    perspective: 1500px;
}

.glass-mockup-card {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    /* Explicit white for card */
    border-radius: 30px;
    padding: 40px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 20px 25px -5px rgba(0, 0, 0, 0.05),
        0 40px 100px -20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-theme="dark"] .glass-mockup-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
}

.glass-mockup-card:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    margin-bottom: 40px;
}

.mockup-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

/* Mockup Rows */
.mockup-row {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #F8FAFC;
    /* Light gray bg for rows */
    border-radius: 20px;
    margin-bottom: 16px;
    transition: transform 0.2s;
}

[data-theme="dark"] .mockup-row {
    background: #0f172a;
}

.mockup-row:hover {
    transform: scale(1.02);
}

.mockup-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 24px;
}

.mockup-icon-box.blue {
    background: #DBEAFE;
    color: #2563EB;
}

.mockup-icon-box.green {
    background: #D1FAE5;
    color: #10B981;
}

[data-theme="dark"] .mockup-icon-box.blue {
    background: rgba(37, 99, 235, 0.2);
}

[data-theme="dark"] .mockup-icon-box.green {
    background: rgba(16, 185, 129, 0.2);
}

.mockup-text {
    flex: 1;
}

.mockup-text .label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    font-weight: 500;
}

.mockup-text .value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mockup-trend {
    font-weight: 700;
    font-size: 0.9rem;
}

.mockup-trend.positive {
    color: #10B981;
}

/* Trusted By Section */
.hero-trusted-by {
    margin-top: 60px;
    margin-bottom: 100px;
    /* Increased separation */
    text-align: center;
    border-top: 1px solid var(--border-light);
    padding-top: 40px;
}

/* Services Dual Section */
.section-services-dual {
    margin-bottom: 80px;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Ensure cards handle the glass effect well */
.cta-card {
    padding: 40px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 320px;
}

.trusted-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 48px;
    align-items: center;
}

.logo-item {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-muted);
    opacity: 0.7;
    transition: opacity 0.2s;
}

.logo-item:hover {
    opacity: 1;
    color: var(--text-primary);
}

@media (max-width: 991px) {
    .tek-hero-split .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content-left {
        align-items: center;
        text-align: center;
    }

    .hero-title-modern {
        font-size: 2.8rem;
    }

    .hero-actions-modern {
        flex-direction: column;
        width: 100%;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   DUAL CTA SECTION (Digital/Insurance)
   ========================================= */
.cta-card {
    border-radius: 24px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 400px;
    transition: transform 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
}

/* Light Card Style */
.cta-card-light {
    background: #F8F9FA;
    /* Very light grey */
    color: #0F172A;
}

[data-theme="dark"] .cta-card-light {
    background: #1e293b;
    color: #fff;
}

/* Blue Card Style */
.cta-card-blue {
    background: #EBF5FF;
    /* Light Blue */
    color: #0F172A;
}

[data-theme="dark"] .cta-card-blue {
    background: rgba(37, 99, 235, 0.15);
    color: #fff;
}

.cta-headline {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.cta-subtext {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.8;
    max-width: 90%;
}

/* Specific Buttons for this section */
.btn-white-pill {
    background: #FFFFFF;
    color: #0F172A;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: all 0.2s;
}

.btn-white-pill:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.btn-dark-pill {
    background: #0F172A;
    /* Dark Navy/Black */
    color: #FFFFFF;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.3);
    text-decoration: none;
    transition: all 0.2s;
}

.btn-dark-pill:hover {
    background: #1E293B;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.4);
    color: #fff;
}

/* =========================================
   FEATURES / ABOUT GRID SECTION
   ========================================= */
.features-header-centered {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    background: transparent;
}

.feature-badge .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.features-title {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--text-primary);
}

/* Feature Grid */
.features-grid {
    gap: 32px;
}

.feature-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    padding: 32px 32px 0 32px;
    /* Bottom padding 0 to let visual touch bottom */
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .feature-card {
    background: #1e293b;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-text {
    margin-bottom: 32px;
}

.feature-text h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Feature Visuals (Bottom Area) */
.feature-visual {
    flex: 1;
    min-height: 180px;
    background: #F8FAFC;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .feature-visual {
    background: #0f172a;
}

/* Visual 1: Interface */
.mockup-interface-row {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .mockup-interface-row {
    background: #334155;
}

.mockup-label-sm {
    font-size: 0.7rem;
    font-weight: 600;
}

.mockup-toggle {
    width: 32px;
    height: 18px;
    background: #CBD5E1;
    border-radius: 20px;
    position: relative;
}

.mockup-toggle::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
}

.mockup-toggle.active {
    background: var(--accent-primary);
}

.mockup-toggle.active::after {
    left: auto;
    right: 2px;
}

.mockup-user-stack {
    display: flex;
    margin-top: 16px;
    margin-left: 8px;
}

.user-bubble {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #E2E8F0;
    border: 2px solid #fff;
    margin-left: -12px;
}

[data-theme="dark"] .user-bubble {
    background: #475569;
    border-color: #0f172a;
}

/* Visual 2: Stack Card */
.visual-dev {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.stack-card {
    border-radius: 16px;
    position: absolute;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.card-1 {
    width: 90%;
    height: 120px;
    background: #E2E8F0;
    bottom: -20px;
    left: 5%;
    z-index: 1;
    padding: 16px;
}

.code-line {
    display: block;
    height: 6px;
    background: #CBD5E1;
    border-radius: 4px;
    margin-bottom: 8px;
}

.code-line.short {
    width: 60%;
}

.card-2 {
    width: 100%;
    height: 140px;
    background: #0F172A;
    bottom: -60px;
    left: 0;
    z-index: 2;
    padding: 24px;
    color: #fff;
}

.card-header-sm {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    opacity: 0.7;
    margin-bottom: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
}

.card-value {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Visual 3: Chart */
.visual-growth {
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.mockup-stat-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 0.8rem;
    font-weight: 700;
}

.chart-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(16, 185, 129, 0.2));
}

.path-line {
    stroke: var(--accent-primary);
    stroke-width: 3;
}

.path-fill {
    fill: rgba(24, 209, 167, 0.1);
    stroke: none;
}

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

    .features-title {
        font-size: 2.5rem;
    }
}

/* =========================================
   EMPOWER TABS SECTION
   ========================================= */
.tek-pill-tabs {
    display: inline-flex;
    background: #F1F5F9;
    padding: 6px;
    border-radius: 60px;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

[data-theme="dark"] .tek-pill-tabs {
    background: #1e293b;
}

.pill-tab {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.pill-tab .dashicons {
    font-size: 18px;
}

.pill-tab.active {
    background: #0F172A;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .pill-tab.active {
    background: var(--accent-primary);
    color: #000;
}

/* =========================================
   INTEGRATION HUB SECTION
   ========================================= */
.integration-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 32px;
    align-items: center;
}

/* Side Columns */
.side-col {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.int-feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.int-icon-box {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    background: var(--surface-glass);
}

.int-feature-item h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.int-feature-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Center Hub Card */
.center-col {
    display: flex;
    justify-content: center;
}

.hub-card {
    background: #F8FAFC;
    /* Very light grey */
    border-radius: 40px;
    padding: 60px 40px;
    text-align: center;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

[data-theme="dark"] .hub-card {
    background: #1e293b;
}

.hub-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 700;
}

.hub-title {
    font-size: 2.5rem;
    line-height: 1.1;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 32px;
}

[data-theme="dark"] .hub-title {
    color: #fff;
}

.hub-cta {
    padding: 12px 32px;
}

/* Floating Icons */
.float-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-primary);
    animation: float 6s ease-in-out infinite;
}

[data-theme="dark"] .float-icon {
    background: #334155;
}

.float-icon.pos-1 {
    top: 60px;
    left: 60px;
    animation-delay: 0s;
}

.float-icon.pos-2 {
    top: 90px;
    right: 50px;
    animation-delay: 1.5s;
    font-size: 20px;
    width: 40px;
    height: 40px;
}

.float-icon.pos-3 {
    bottom: 80px;
    left: 50px;
    animation-delay: 3s;
    font-size: 20px;
    width: 44px;
    height: 44px;
}

.float-icon.pos-4 {
    bottom: 100px;
    right: 60px;
    animation-delay: 4.5s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media (max-width: 991px) {
    .integration-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .side-col {
        flex-direction: row;
        gap: 20px;
    }

    .hub-card {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .side-col {
        flex-direction: column;
    }

    .features-title {
        font-size: 2rem;
    }

    .hub-title {
        font-size: 2rem;
    }
}

/* =========================================
   FEATURES & BENTO SECTIONS
   ========================================= */
.tek-features-section,
.tek-empower-section,
.tek-bento-section {
    position: relative;
    padding: var(--spacing-lg) 0;
    width: 100%;
    z-index: 1;
}

/* =========================================
   BENTO GRID SERVICES SECTION
   ========================================= */
.bento-grid-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.bento-row {
    display: grid;
    gap: 32px;
}

/* Grid Bias Configurations */
.grid-2-bias-left {
    grid-template-columns: 1.5fr 1fr;
}

.grid-2-bias-right {
    grid-template-columns: 1fr 1.5fr;
}

.bento-card {
    background: #F8FAFC;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
    overflow: hidden;
}

[data-theme="dark"] .bento-card {
    background: #1e293b;
}

.bento-card:hover {
    transform: translateY(-5px);
}

.bento-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.bento-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 32px;
    max-width: 90%;
}

/* Visuals Base */
.bento-visual {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .bento-visual {
    background: #0f172a;
    border: 1px solid var(--border-light);
}

/* Graph Visual */
.visual-graph {
    min-height: 180px;
}

.graph-header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 20px;
}

.badge-blue {
    background: #2563EB;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.bento-chart-svg {
    width: 100%;
    height: auto;
    max-height: 120px;
}

/* List Visual */
.visual-list {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.list-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .list-item {
    background: #0f172a;
    border: 1px solid var(--border-light);
}

.flag-icon {
    font-size: 24px;
}

.list-details {
    display: flex;
    flex-direction: column;
}

.list-details .country {
    font-weight: 700;
    font-size: 0.95rem;
}

.list-details .stat {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Stat Visual */
.visual-stat {
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 24px;
}

.big-stat-block {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0F172A;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

[data-theme="dark"] .stat-number {
    color: #fff;
}

.trend-pill {
    font-size: 0.9rem;
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: 6px;
}

.platform-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F1F5F9;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    align-self: flex-start;
}

[data-theme="dark"] .platform-pill {
    background: #334155;
}

/* Dashboard Visual */
.visual-dashboard {
    padding: 24px;
}

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

.dash-brand {
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dash-tabs span {
    font-size: 0.8rem;
    margin-left: 12px;
    cursor: pointer;
    color: var(--text-secondary);
}

.dash-tabs span.active {
    background: #2563EB;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
}

.dash-grid-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.dash-stat {
    background: #F8FAFC;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .dash-stat {
    background: #1e293b;
}

.dash-stat .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.dash-stat .value {
    font-size: 1.1rem;
    font-weight: 800;
}

.dash-stat.highlight .value {
    color: #2563EB;
}

/* Split Feature (Row 3) */
.bento-split-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    margin-top: 32px;
}

.split-image img {
    border-radius: 24px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.split-content {
    padding: 24px;
}

.split-content h2 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 800;
}

.split-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

@media (max-width: 991px) {

    .grid-2-bias-left,
    .grid-2-bias-right,
    .bento-split-feature {
        grid-template-columns: 1fr;
    }

    .bento-visual {
        min-height: 160px;
    }

    .split-image img {
        min-height: 250px;
    }
}

/* =========================================
   STATS SECTION ENHANCEMENT
   ========================================= */
.tek-stats-section {
    border-top: 1px solid var(--border-light);
    padding-top: 60px;
    margin-bottom: 80px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px;
}

.stat-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--surface-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    font-size: 24px;
    flex-shrink: 0;
}

[data-theme="dark"] .stat-icon-circle {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Brand Icon Circle - The "Solid" Middle One */
.brand-icon-circle {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #1a1a1a;
    /* Dark text on green/bright accent */
    box-shadow: 0 0 20px rgba(24, 209, 167, 0.3);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   BLOG SECTION
   ========================================= */
.tek-blog-section {
    position: relative;
}

.blog-header-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blue-badge {
    color: #2563EB;
    background: rgba(37, 99, 235, 0.1);
    border: none;
}

.blog-header-actions {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: flex-start;
}

/* Featured Post (Left) */
.featured-post-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.post-image-large img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 24px;
}

.post-content-large h3 {
    font-size: 2rem;
    font-weight: 800;
    margin: 16px 0;
    line-height: 1.2;
    color: var(--text-primary);
}

.post-content-large p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Recent Posts (Right) */
.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.recent-post-item {
    display: flex;
    gap: 24px;
    align-items: center;
}

.post-image-small img {
    width: 200px;
    height: 140px;
    object-fit: cover;
    border-radius: 16px;
}

.post-content-small {
    flex: 1;
}

.post-content-small h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.3;
}

.post-content-small p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Metadata */
.post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.category-pill {
    padding: 4px 12px;
    border-radius: 20px;
    background: #F1F5F9;
    color: var(--text-secondary);
}

[data-theme="dark"] .category-pill {
    background: #334155;
    color: #fff;
}

.category-pill.blue {
    background: #DBEAFE;
    color: #1E40AF;
}

[data-theme="dark"] .category-pill.blue {
    background: rgba(30, 64, 175, 0.3);
    color: #93C5FD;
}

.category-pill.green {
    background: #D1FAE5;
    color: #065F46;
}

[data-theme="dark"] .category-pill.green {
    background: rgba(6, 95, 70, 0.3);
    color: #6EE7B7;
}

.category-pill.purple {
    background: #F3E8FF;
    color: #6B21A8;
}

[data-theme="dark"] .category-pill.purple {
    background: rgba(107, 33, 168, 0.3);
    color: #D8B4FE;
}

.read-time {
    color: var(--text-muted);
}

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .post-image-large img {
        height: 250px;
    }

    /* Make side items stack vertically on smaller screens if needed, 
       but keeping them distinct from the main one is good. 
       Let's adjust the small image size for very small screens */
}

@media (max-width: 600px) {
    .recent-post-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .post-image-small img {
        width: 100%;
        height: 200px;
    }
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: #F8FAFC;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

[data-theme="dark"] .testimonial-card {
    background: #1e293b;
}

/* Summary Card (Clutch) */
.summary-card {
    justify-content: space-between;
    text-align: center;
    background: #F1F5F9;
    /* Slightly darker/different shade */
}

[data-theme="dark"] .summary-card {
    background: #0F172A;
    border: 1px solid var(--border-light);
}

.summary-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-large {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stars-gold {
    color: #F59E0B;
    /* Amber/Gold */
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.stars-gold .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.stars-gold.small .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.review-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.summary-heading {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary);
    max-width: 200px;
}

.clutch-logo-area {
    margin-top: 32px;
}

.clutch-text {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: #162e4a;
    /* Clutch Blue-ish Dark */
    letter-spacing: -1px;
}

[data-theme="dark"] .clutch-text {
    color: #fff;
}

/* Review Cards */
.review-card {
    justify-content: space-between;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.review-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-style: italic;
    flex-grow: 1;
    /* Pushes profile down */
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.reviewer-img {
    width: 48px;
    height: 48px;
    min-width: 48px;
    /* Prevent flex squashing */
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    /* Focus on face */
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-info .name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
}

.reviewer-info .title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =========================================
   ALL ARTICLES SECTION (RIVERSIDE STYLE)
   ========================================= */

/* Tabs Container */
.articles-header {
    position: relative;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 40px;
}

.article-tabs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 0;
    gap: 24px;
    -webkit-overflow-scrolling: touch;
}

.article-tabs .tab-link {
    display: inline-block;
    padding: 0 4px 12px 4px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.article-tabs .tab-link:hover {
    color: #0f172a;
    border-bottom-color: #cbd5e1;
}

.article-tabs .tab-link.active {
    color: #0f172a;
    /* Slate 900 */
    border-bottom-color: #6366f1;
    /* Indigo 500 */
}

/* Grid Layout */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
}

/* Card Styles */
.article-card-riverside {
    position: relative;
    background: transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Image */
.card-img-link {
    border-radius: 12px;
    overflow: hidden;
    background-color: #f1f5f9;
    display: block;
    aspect-ratio: 16/9;
    margin-bottom: 16px;
    position: relative;
}

.card-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card-riverside:hover .card-img-link img {
    transform: scale(1.05);
}

/* Meta Row */
.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

/* Badge */
.badge-pill-purple {
    display: inline-block;
    background-color: #f3e8ff;
    color: #7e22ce;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 6px;
}

/* Typography */
.article-card-riverside .card-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
}

.article-card-riverside .card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
    background: none;
}

.article-card-riverside:hover .card-title a {
    text-decoration: underline;
    text-decoration-color: #6366f1;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    color: #4338ca;
}

.card-excerpt {
    color: #475569;
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Author */
.author-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.author-img-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #e2e8f0;
}

.author-name {
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    display: block;
}

.author-role {
    color: #64748b;
    font-size: 11px;
    font-weight: 500;
    display: block;
}

/* View All Link */
.view-all-link {
    color: #0f172a;
    text-decoration: none;
    transition: opacity 0.2s ease;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.view-all-link:hover {
    opacity: 0.7;
}

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

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

    .article-tabs {
        gap: 16px;
    }
}

/* Dark Mode Overrides */
[data-theme="dark"] .section-all-articles {
    background-color: var(--bg-body) !important;
}

[data-theme="dark"] .section-title {
    color: #fff;
}

[data-theme="dark"] .articles-header {
    border-bottom-color: #334155;
}

[data-theme="dark"] .article-tabs .tab-link {
    color: #94a3b8;
}

[data-theme="dark"] .article-tabs .tab-link.active {
    color: #fff;
    border-bottom-color: #818cf8;
}

[data-theme="dark"] .article-tabs .tab-link:hover {
    color: #fff;
}

[data-theme="dark"] .article-card-riverside .card-title a {
    color: #fff;
}

[data-theme="dark"] .article-card-riverside:hover .card-title a {
    color: #fff;
    text-decoration-color: #818cf8;
}

[data-theme="dark"] .card-excerpt {
    color: #94a3b8;
}

[data-theme="dark"] .author-name {
    color: #fff;
}

[data-theme="dark"] .author-role {
    color: #94a3b8;
}

[data-theme="dark"] .author-img-circle {
    border-color: #1e293b;
    box-shadow: 0 0 0 1px #334155;
}

[data-theme="dark"] .badge-pill-purple {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
}

[data-theme="dark"] .view-all-link {
    color: #fff;
}

/* =========================================
   BLOG MAGAZINE LAYOUT (v2.0)
   ========================================= */

/* Hero Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #18d1a7 0%, #2563EB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Split Layout Grid */
.blog-magazine-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 32px;
}

/* Featured Main Card (Left) */
.post-card-featured {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.post-card-featured:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.post-card-featured .post-image-wrapper {
    height: 380px;
    /* Taller for impact */
    width: 100%;
    position: relative;
}

.post-card-featured .meta-pill-abs {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(15, 23, 42, 0.8);
    /* Dark glass */
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.post-card-featured .post-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-featured h2 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 12px;
}

/* List Items (Right) */
.post-list-item {
    display: flex;
    gap: 20px;
    align-items: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    transition: all 0.3s ease;
}

.post-list-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(4px);
}

.post-list-item .list-image-wrapper {
    width: 140px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.post-list-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

/* Standard Grid (Bottom) */
.section-blog-grid .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.post-card-standard {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-card-standard:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
}

.post-card-standard .post-image-wrapper {
    aspect-ratio: 16 / 9;
}

/* Pills & Utilities */
.badge-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
}

.badge-pill.bg-light-blue {
    background: rgba(56, 189, 248, 0.15);
    /* Sky blue tint */
    color: #38BDF8;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.text-blue {
    color: #38BDF8;
}

/* Responsive */
@media (max-width: 991px) {
    .blog-magazine-grid {
        grid-template-columns: 1fr;
    }

    .section-blog-grid .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .post-card-featured .post-image-wrapper {
        height: 260px;
    }
}

/* =========================================
   SINGLE POST DISCOVERY SECTIONS
   ========================================= */

/* Use a background that contrasts with the dark hero but matches sections */
.single-post-discovery {
    background: #0F172A;
    /* Fallback */
    width: 100%;
}

/* Trending Section */
/* =========================================
   MOST POPULAR POSTS (GRID + NEWSLETTER)
   ========================================= */

.section-popular-posts {
    background-color: #F9FAFB;
    /* Light Gray (Gray-50) for contrast against White */
    position: relative;
    z-index: 10;
}

[data-theme="dark"] .section-popular-posts {
    background-color: #0B1120;
    /* Slightly darker/richer than main dark bg for depth */
    /* Or use #1F2937 if main bg is very dark. Let's try a distinct subtle offset */
    background-color: rgba(255, 255, 255, 0.02);
    /* Subtle white tint overlay */
}

.section-heading {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary, #111827);
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

/* GRID LAYOUT */
.popular-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* COMMON CARD STYLES */
.popular-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: transform 0.3s ease;
}

.popular-card.card-post:hover {
    transform: translateY(-5px);
}

/* POST CARD */
.card-thumb-wrapper {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f1f5f9;
}

.card-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.popular-card:hover .card-thumb-wrapper img {
    transform: scale(1.05);
}

.card-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 12px;
}

.badge-cat {
    background: #f3f4f6;
    color: #4f46e5;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.meta-date {
    color: var(--text-secondary, #6b7280);
    font-weight: 500;
}

.card-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-primary, #111827);
}

.card-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary, #4b5563);
    margin-bottom: 20px;
    flex-grow: 1;
    /* Pushes author to bottom */
}

.card-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.author-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.author-info {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.author-info .name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary, #111827);
}

.author-info .role {
    font-size: 11px;
    color: var(--text-secondary, #6b7280);
}

/* NEWSLETTER CARD */
.card-newsletter {
    background: #111827;
    /* Fallback */
    /* Lighter gradient for better visibility */
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    border-radius: 12px;
    padding: 40px 30px;
    color: #fff;
    position: relative;
    overflow: hidden;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-newsletter:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .card-newsletter {
    /* Significantly lighter than the #0B1120 section bg */
    background: #1F2937;
    background: linear-gradient(135deg, #374151 0%, #1F2937 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
}

/* Floating Lime Icon */
.icon-accent {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #bef264;
    /* Lime */
    transform: rotate(12deg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(190, 242, 100, 0.4);
}

.icon-accent span {
    color: #111827;
    font-size: 28px;
}

.newsletter-content h3 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #fff;
}

.newsletter-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #9ca3af;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    gap: 8px;
    background: #fff;
    padding: 6px;
    border-radius: 6px;
}

.input-group input {
    border: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 14px;
    width: 100%;
    outline: none;
    color: #111827;
}

.input-group button {
    background: #111827;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}

.input-group button:hover {
    background: #374151;
}

/* Responsive */
@media (max-width: 991px) {
    .popular-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols tablet */
    }
}

@media (max-width: 768px) {
    .popular-grid {
        grid-template-columns: 1fr;
        /* 1 col mobile */
    }
}

.text-accent {
    color: #18d1a7;
}

/* EXPLORE SECTION (RIVERSIDE STYLE) */
.explore-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    height: 400px;
    /* Fixed height for consistent look */
}

@media (max-width: 991px) {
    .explore-grid {
        grid-template-columns: 1fr;
        height: auto;
        gap: 24px;
    }
}

.explore-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 400px;
}

.explore-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.card-content-bottom {
    position: relative;
    z-index: 20;
}

.card-content-bottom h3 {
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 8px;
    color: #fff;
}

.card-content-bottom p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

/* Feature Card (Left) */
.feature-card {
    background: #000;
}

.card-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.feature-card:hover .card-bg-img {
    transform: scale(1.05);
}

.card-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 10;
}

/* University Card (Right) */
.university-card {
    background: linear-gradient(135deg, #4f4369 0%, #2e2640 100%);
    /* Deep purple/dark mix */
    background: radial-gradient(circle at top right, #6b4c9a 0%, #1e1b2e 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.shape-lime-poly {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 80px;
    height: 80px;
    transform: rotate(-10deg);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shape-lime-poly .icon-center {
    position: absolute;
    font-size: 32px;
    color: #3f6212;
    /* Dark green icon */
    z-index: 6;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.shape-purple-blob {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 180px;
    height: 180px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.book-icon-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -40%) rotate(15deg);
    z-index: 7;
}

.card-arrow-right {
    position: absolute;
    bottom: 40px;
    right: 40px;
    color: #fff;
    font-size: 24px;
    transition: transform 0.3s ease;
}

transform: translateX(5px);
}

/* New Explore Section Styles (Audit & Project) */
.audit-card {
    /* Styles handled inline for gradients but base here */
}

.audit-visual {
    transition: transform 0.3s ease;
}

.audit-card:hover .audit-visual {
    transform: rotate(0deg) scale(1.05) !important;
}

.rocket-icon-wrapper {
    transition: transform 0.3s ease;
}

.project-card:hover .rocket-icon-wrapper {
    transform: translateY(-10px) rotate(10deg);
}

.btn-white-solid {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover .btn-white-solid {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ALL ARTICLES SECTION (RIVERSIDE STYLE) */

/* Tabs */
.article-tabs .tab-link {
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease;
    font-size: 14px;
    padding-bottom: 8px;
    /* For border bottom */
    text-decoration: none;
}

.article-tabs .tab-link.active {
    color: #111827;
    border-bottom: 2px solid #6366f1;
}

.article-tabs .tab-link:hover {
    color: #111827;
}

/* Riverside Card */
.article-card-riverside {
    transition: transform 0.3s ease;
}

.article-card-riverside:hover .card-img-link img {
    transform: scale(1.05);
}

.article-card-riverside .card-title a {
    text-decoration: none;
    background-image: linear-gradient(to right, #6366f1, #6366f1);
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease;
}

.article-card-riverside:hover .card-title a {
    background-size: 100% 2px;
    color: #4f46e5;
}

/* Badge Soft */
.badge-soft-purple {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

/* Author */
.author-img {
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive Grid Adjustments */
@media (max-width: 991px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .article-tabs {
        padding-bottom: 12px;
    }
}

/* Dark Mode Logic for these specific elements handled via general variables, 
   but specific overrides if needed: */
[data-theme="dark"] .section-all-articles {
    background-color: var(--bg-body) !important;
}

[data-theme="dark"] .section-title {
    color: #fff;
}

[data-theme="dark"] .article-tabs .tab-link {
    color: #9ca3af;
}

[data-theme="dark"] .article-tabs .tab-link.active,
[data-theme="dark"] .article-tabs .tab-link:hover {
    color: #fff;
    border-color: #818cf8;
}

[data-theme="dark"] .article-card-riverside .card-title a {
    color: #fff;
}

[data-theme="dark"] .article-card-riverside:hover .card-title a {
    color: #818cf8;
}

[data-theme="dark"] .author-name {
    color: #fff;
}

[data-theme="dark"] .badge-soft-purple {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
}

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

    .summary-card {
        align-items: center;
        text-align: center;
    }
}

/* =========================================
   SITE FOOTER SECTION
   ========================================= */
.site-footer {
    background: #05080e;
    /* Deeper Black */
    color: #fff;
    padding: 100px 0 60px;
    margin-top: 0;
    position: relative;
    z-index: 10;
    font-size: 0.9rem;
    border-top: 1px solid rgba(24, 209, 167, 0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

/* =========================================
   BLOG & ARCHIVE STYLES
   ========================================= */

/* Utilities */
/* Blog Hero Specific - Adaptive (Clean Layout) */
.blog-hero-light {
    background-color: transparent;
    /* Allows theme body bg to show */
    /* If a card-like separation is needed: background-color: var(--bg-card); */
    color: var(--text-primary);
    padding-top: 100px;
    padding-bottom: 80px;
}

.blog-hero-light .hero-title {
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -1px;
}

.blog-hero-light .text-muted-custom {
    color: var(--text-muted) !important;
}

.blog-hero-light .hero-badge {
    background: rgba(37, 99, 235, 0.1);
    /* Subtle blue tint */
    color: #2563eb;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

/* Custom Buttons for Light Hero */
.btn-blue-solid {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border: none;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-blue-solid:hover {
    background-color: #1d4ed8 !important;
    transform: translateY(-2px);
}

.btn-light-outline {
    background-color: transparent !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-light);
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-light-outline:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

/* Blog Layouts */

.post-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    height: 100%;
}

.blog-list-item {
    transition: transform 0.3s ease;
}

.blog-list-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
}

.post-image-wrapper {
    position: relative;
    overflow: hidden;
}

.post-card:hover .post-image-wrapper img {
    transform: scale(1.05);
}

/* Pagination - Keeping previous styles but ensuring they match */
.tek-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.tek-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    text-decoration: none;
}

.tek-pagination .page-numbers.current,
.tek-pagination .page-numbers:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Bottom CTA specific overrides */
.cta-box.bg-light-blue h2 {
    color: #0f172a;
}

.cta-box.bg-light-blue p {
    color: #475569;
}

.footer-branding {
    margin-bottom: 60px;
}

.footer-branding .site-title a {
    font-size: 2.5rem;
    color: #18d1a7;
    /* Aquamarine accent */
    font-weight: 800;
    letter-spacing: -1px;
}

/* Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 100px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 28px;
    color: #fff;
    text-transform: none;
    letter-spacing: 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.footer-col ul li a:hover {
    color: #18d1a7;
    padding-left: 4px;
}

/* Trust Bar */
.footer-trust-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    margin-bottom: 20px;
}

.trust-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.platform-info {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.platform-names {
    color: #fff;
    font-weight: 600;
}

.trust-logos {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    opacity: 0.6;
}

.trust-logos .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #fff;
}

/* Bottom Bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 32px;
    gap: 60px;
}

.footer-legal-section {
    width: 100%;
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 40px;
}

/* .footer-disclaimer { No flex needed for grid parent } */

.footer-disclaimer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    line-height: 1.8;
}

.footer-meta-links {
    display: flex;
    gap: 12px;
    white-space: nowrap;
    padding-bottom: 4px;
    /* Align with last line of text */
}

.footer-meta-links a {
    color: #18d1a7;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.footer-meta-links .separator {
    color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-logos {
        gap: 30px;
        flex-wrap: wrap;
    }
}

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



/* =========================================
   NAVBAR THEME TOGGLE
   ========================================= */
.nav-theme-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
    margin-right: 12px;
}

.nav-theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .nav-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-theme-toggle svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
    /* Dark in light mode, Light in dark mode */
}

/* =========================================
   SERVICES PAGE STYLES (Refined & Minimal)
   ========================================= */

/* --- Layouts --- */
.services-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    /* Reduced from 24px */
    margin-top: 32px;
    flex-wrap: wrap;
}

/* ... (previous code) ... */

.feature-card-minimal {
    background: var(--surface-glass);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    /* Slightly tighter radius */
    padding: 24px 16px;
    /* Reduced horizontal padding */
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 280px;
    /* Reduced width */
    margin: 0;
    flex: 1 1 250px;
    /* Allow shrinking/growing within reason */
}

/* ... */

.minimal-icon-circle {
    width: 40px;
    /* Smaller icon circle */
    height: 40px;
    border-radius: 50%;
    background: #0f172a;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    /* Reduced margin */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.minimal-icon-circle .dashicons {
    color: #a3e635;
    font-size: 18px;
    /* Smaller icon */
    width: 18px;
    height: 18px;
}

.feature-card-minimal h3 {
    font-size: 1.1rem;
    /* Slightly smaller text */
    font-weight: 600;
    margin-bottom: 8px;
    /* Tighter gap */
    color: var(--text-primary);
}

@media (max-width: 991px) {

    .services-full-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Service Cards (Icon + List) --- */
.service-card-modern {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card-modern:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.service-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

/* Icon Colors */
.service-icon-box.blue {
    background: rgba(59, 130, 246, 0.15);
    color: #60A5FA;
}

.service-icon-box.purple {
    background: rgba(139, 92, 246, 0.15);
    color: #A78BFA;
}

.service-icon-box.green {
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
}

.service-icon-box.gold {
    background: rgba(245, 158, 11, 0.15);
    color: #FBBF24;
}

.service-icon-box.pink {
    background: rgba(236, 72, 153, 0.15);
    color: #F472B6;
}

.service-icon-box.cyan {
    background: rgba(6, 182, 212, 0.15);
    color: #22D3EE;
}

.service-card-modern h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card-modern p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.service-list li .dashicons {
    color: var(--accent-primary);
    font-size: 18px;
}

/* --- Feature Cards (Visual Focus) --- */
.feature-card-modern {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
}

.feature-card-modern:hover {
    border-color: var(--border-hover, rgba(255, 255, 255, 0.2));
    background: rgba(255, 255, 255, 0.04);
}

.feature-visual {
    height: 160px;
    width: 100%;
    margin-bottom: 24px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Feature 1: Code Window (Refined) */
.mockup-window {
    width: 90%;
    height: auto;
    background: #0D1117;
    /* Github dark bg */
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.window-header {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.red {
    background: #FF5F56;
}

.dot.yellow {
    background: #FFBD2E;
}

.dot.green {
    background: #27C93F;
}

.code-lines {
    gap: 4px;
    display: flex;
    flex-direction: column;
}

.code-line {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.code-line.w-80 {
    width: 80%;
}

.code-line.w-60 {
    width: 60%;
}

.code-line.w-90 {
    width: 90%;
}

.code-lines .highlight {
    background: var(--accent-primary);
    opacity: 0.4;
}

/* Feature 2: Stats (Refined) */
.mockup-stats {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 60px;
}

.stat-bar {
    width: 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-bar:nth-child(1) {
    height: 40%;
}

.stat-bar:nth-child(2) {
    height: 65%;
}

.stat-bar:nth-child(3) {
    height: 45%;
}

.stat-bar:nth-child(4) {
    height: 80%;
    background: var(--accent-primary);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

/* Feature 3: Shield (Refined) */
.mockup-shield {
    position: relative;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    color: var(--accent-primary);
    font-size: 32px;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
}

.shield-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--accent-primary);
    animation: ripple 2s infinite;
    opacity: 0;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Feature Headings */
.feature-card-modern h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--white);
}

.feature-card-modern p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* =========================================
   ENHANCED SERVICES VISUALS
   ========================================= */

/* --- Card Utilities --- */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-lift:hover {
    transform: translateY(-8px);
}

/* --- Feature 1: Code Window --- */
.mockup-window {
    background: #1e1e1e;
    border-radius: 8px;
    width: 100%;
    height: 120px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.window-title {
    font-size: 10px;
    color: #666;
    font-family: monospace;
}

.code-lines {
    font-family: 'Courier New', monospace;
    font-size: 11px;
    line-height: 1.5;
    color: #abb2bf;
}

.code-line.indent {
    padding-left: 16px;
}

.code-line.indent-2 {
    padding-left: 32px;
}

.kwd {
    color: #c678dd;
}

/* purple */
.var {
    color: #e06c75;
}

/* red */
.fn {
    color: #61afef;
}

/* blue */
.str {
    color: #98c379;
}

/* green */
.prop {
    color: #d19a66;
}

/* orange */
.bool {
    color: #d19a66;
}

/* --- Feature 2: Floating Charts --- */
.stat-main-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 80px;
    padding-top: 20px;
}

.chart-bar {
    width: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    flex: 1;
}

.chart-bar.active {
    background: var(--accent-primary);
}

.chart-bar.h-30 {
    height: 30%;
}

.chart-bar.h-50 {
    height: 50%;
}

.chart-bar.h-70 {
    height: 70%;
}

.chart-bar.h-100 {
    height: 100%;
}

.stat-floating {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--surface-glass);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stat-floating .text {
    font-weight: 700;
    color: var(--success);
    font-size: 14px;
}

.stat-floating .icon-box.green {
    color: var(--success);
}

/* --- Feature 3: Shield Glow --- */
.shield-glow-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-icon {
    font-size: 48px;
    color: var(--text-primary);
    z-index: 2;
}

.shield-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.15;
    animation: pulse-ring 2s infinite;
}

.status-badge {
    position: absolute;
    bottom: -15px;
    background: #0f172a;
    border: 1px solid #1e293b;
    color: #10b981;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.dot-status {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 5px #10b981;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* --- Bento Grid Enhancements --- */
.card-gradient-1 {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.01) 100%);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

/* Speed Gauge */
.speed-gauge {
    width: 100px;
    height: 100px;
    position: relative;
    border-radius: 50%;
    background: conic-gradient(from 180deg, var(--accent-primary) 0%, rgba(255, 255, 255, 0.1) 75%, transparent 75%);
    transform: rotate(225deg);
    margin: 0 auto;
}

.gauge-score {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-225deg);
    text-align: center;
}

.score-val {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
    line-height: 1;
}

.score-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dashboard UI */
.visual-dashboard-ui {
    background: #0f172a;
    border-radius: 12px;
    border: 1px solid #1e293b;
    height: 100%;
    display: flex;
    overflow: hidden;
    padding: 10px;
    gap: 10px;
}

.ui-sidebar {
    width: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.ui-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ui-header {
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.ui-title-line {
    width: 60%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    margin: 6px 0 0 8px;
    border-radius: 4px;
}

.ui-cards-row {
    display: flex;
    gap: 8px;
}

.ui-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 10px;
    text-align: center;
}

.ui-label {
    display: block;
    font-size: 10px;
    color: #64748b;
    margin-bottom: 4px;
}

.ui-val {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.text-green {
    color: #10b981;
}

/* =========================================
   MINIMAL PROCESS CARDS (Reference Match)
   ========================================= */

.feature-card-minimal {
    background: var(--surface-glass);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 280px;
    margin: 0;
}

.feature-card-minimal:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
}

.minimal-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0f172a;
    /* Dark circle */
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.minimal-icon-circle .dashicons {
    color: #a3e635;
    /* Lime green check like reference */
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.feature-card-minimal h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card-minimal p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

[data-theme="light"] .minimal-icon-circle {
    background: #0f172a;
    border: none;
}

[data-theme="light"] .minimal-icon-circle .dashicons {
    color: #a3e635;
}

/* =========================================
   PRICING SECTION (Reference Match)
   ========================================= */

.tek-pricing-section {
    padding: 20px 0;
}

.pricing-header-centered {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-badge {
    color: var(--accent-primary);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.pricing-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.pricing-title span.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-cta-group {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--surface-glass);
    /* Dark mode compatible */
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.04);
}

.pricing-icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: rgba(255, 255, 255, 0.05);
}

.pricing-icon-circle.blue {
    color: #60A5FA;
}

.pricing-icon-circle.purple {
    color: #A78BFA;
}

.pricing-icon-circle.green {
    color: #34D399;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.plan-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 32px;
    max-width: 250px;
}

.plan-price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 32px;
    letter-spacing: -2px;
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 32px;
}

.btn-dark {
    background: #0F172A;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.btn-dark:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.plan-features-label {
    align-self: flex-start;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.plan-features li .dashicons {
    color: var(--text-primary);
    /* Checkmark color */
    flex-shrink: 0;
    margin-top: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    padding: 2px;
    font-size: 14px;
    width: 14px;
    height: 14px;
}

@media (max-width: 991px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .pricing-title {
        font-size: 2.5rem;
    }
}

/* =========================================
   Why Choose Us (Features Grid)
   ========================================= */

.pricing-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.feature-card-large {
    background: var(--surface-glass);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    text-align: left;
}

.feature-card-large:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.04);
}

.feature-card-large h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-card-large p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.feature-card-large .feature-visual {
    width: 100%;
    height: 240px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
}

/* Mockup Specifics for Pricing Features */
.mockup-interface-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.mockup-toggle {
    width: 40px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
}

.mockup-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.mockup-toggle.active {
    background: var(--accent-primary);
}

.mockup-toggle.active::after {
    transform: translateX(20px);
}

.stack-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    width: 180px;
    position: absolute;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stack-card.card-1 {
    transform: rotate(-6deg) translateY(-10px);
    z-index: 1;
    background: #0f172a;
}

.stack-card.card-2 {
    transform: rotate(6deg) translateY(10px);
    z-index: 2;
    background: #1e293b;
}

@media (max-width: 991px) {
    .pricing-features-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Ask Expert Page Styles
   ========================================= */

.expert-hero {
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-section {
    background: var(--surface-glass);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto 80px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-primary);
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* About Section (Ask Expert) */
.about-section {
    margin-bottom: var(--spacing-xxl);
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    position: relative;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

@media (max-width: 991px) {

    .form-grid,
    .about-split {
        grid-template-columns: 1fr;
    }

    .contact-form-section {
        padding: 24px;
    }

    .about-visual {
        height: 300px;
        order: -1;
    }
}

/* =========================================
   Contact Section Enhanced (Split Layout)
   ========================================= */

.contact-split-container {
    max-width: 1200px;
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 32px;
    align-items: start;
}

/* Modify existing form section to fit in split */
.contact-form-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 40px;
    height: 100%;
}

/* Contact Info Card (Right Side) */
.contact-info-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.info-card-image {
    height: 240px;
    width: 100%;
    position: relative;
}

.info-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-card-content {
    padding: 32px;
    flex-grow: 1;
}

.info-card-limit {
    margin-bottom: 24px;
}

.info-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 600;
    display: block;
}

.info-value-large {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    display: block;
}

.info-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
    display: block;
    margin-bottom: 4px;
}

.info-link:hover {
    color: var(--white);
}

/* =========================================
   RIVERSIDE "TRENDING" SECTION (EXACT REPLICA)
   ========================================= */

.section-trending-riverside {
    background-color: transparent;
    position: relative;
    z-index: 10;
}

/* 1. Grid Layout */
.riverside-grid-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    /* Exact ratio from screenshot */
    gap: 50px;
    align-items: start;
}

/* 2. Left Column (Main Post) */
.riverside-main-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.main-thumb-container {
    width: 100%;
    aspect-ratio: 16/10;
    /* Slightly taller than 16/9 like screenshot */
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    background: var(--surface-glass);
}

.main-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.riverside-main-card:hover .main-thumb-img {
    transform: scale(1.02);
}

.main-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--text-primary, #111827);
}

.main-excerpt {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-secondary, #4b5563);
    margin-bottom: 24px;
}

.main-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.meta-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #111827);
    display: flex;
    gap: 8px;
}

.publish-date {
    color: var(--text-secondary, #6b7280);
    font-weight: 400;
}

/* 3. Right Column (Banner + List) */
.riverside-banner-card {
    background: #2E2457;
    /* The exact Deep Purple from Riverside */
    background: linear-gradient(135deg, #2E2457 0%, #4C3C8C 100%);
    border-radius: 12px;
    padding: 30px;
    min-height: 160px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.banner-content h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Decorative Shapes */
.shape-circle {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.shape-wave {
    position: absolute;
    bottom: 20px;
    right: 20px;
    opacity: 0.3;
}

/* 4. List Items */
.riverside-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.riverside-list-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    /* Fixed thumb width */
    gap: 20px;
    text-decoration: none;
    align-items: start;
}

.list-thumb-wrapper {
    width: 100px;
    height: 65px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--surface-glass);
}

.list-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-primary, #111827);
    margin: 0 0 6px 0;
}

.list-meta {
    font-size: 12px;
    color: var(--text-secondary, #6b7280);
    font-weight: 500;
}

/* Dark Mode Overrides */
[data-theme="dark"] .riverside-banner-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle stroke in dark mode */
}

/* Responsive */
@media (max-width: 991px) {
    .riverside-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .riverside-main-card .main-title {
        font-size: 28px;
    }
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.location-item .dashicons {
    color: var(--accent-primary);
    font-size: 16px;
    width: 16px;
    height: 16px;
}

@media (max-width: 991px) {
    .contact-split-container {
        grid-template-columns: 1fr;
    }

    .info-card-image {
        height: 200px;
    }
}

/* =========================================
   About Us Page Styles
   ========================================= */

.about-hero-section {
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Values Section (Reference: Left Image, Right Text) */
.values-section {
    margin-bottom: var(--spacing-xxl);
}

.values-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.values-image-col {
    position: relative;
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    /* Placeholder bg */
}

.values-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.values-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.values-separator {
    width: 60px;
    height: 4px;
    background: var(--accent-primary);
    margin-bottom: 40px;
}

.values-grid-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.value-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.value-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Team Section (Reference: 4 Cols, Square Photos) */
.team-section {
    margin-bottom: var(--spacing-xxl);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.team-card {
    text-align: center;
}

.team-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.05);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

.team-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.team-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

@media (max-width: 991px) {
    .values-split {
        grid-template-columns: 1fr;
    }

    .values-image-col {
        height: 300px;
    }

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

@media (max-width: 480px) {
    .values-grid-inner {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   WORDPRESS & PAGE BUILDER COMPATIBILITY
   (Elementor, Gutenberg/GutenKit)
   ========================================= */

/* 1. Standard WordPress Alignment Classes */
.alignfull {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    max-width: 100vw;
}

.alignwide {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1.5em;
}

/* 2. Gutenberg / Block Editor Support */
/* Ensure blocks have breathing room */
.entry-content>* {
    margin-bottom: var(--spacing-md);
}

.entry-content>*:last-child {
    margin-bottom: 0;
}

/* 3. Elementor & GutenKit Container Helpers */
/* Fix for fixed header overlap in builders */
.page-builder-content {
    padding-top: 140px;
    /* Matches .site-header-spacer */
    min-height: 50vh;
}

/* Reset for Elementor Canvas (No Header/Footer) */
body.elementor-page-canvas {
    padding-top: 0;
    overflow-x: hidden;
}

/* Ensure Elementor sections can go full width */
.elementor-section-stretched {
    max-width: 100vw !important;
    left: 0 !important;
}

/* GutenKit Specifics */
.gutenkit-container {
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
    margin-left: auto;
    margin-right: auto;
}

/* Map Theme Variables to Generic WP presets for automatic color pickup */
:root {
    --wp-preset--color--black: #000000;
    --wp-preset--color--cyan-bluish-gray: var(--border-light);
    --wp-preset--color--white: #ffffff;
    --wp-preset--color--pale-pink: var(--accent-secondary);
    --wp-preset--color--vivid-red: #cf2e2e;
    --wp-preset--color--luminous-vivid-orange: #ff6900;
    --wp-preset--color--luminous-vivid-amber: #fcb900;
    --wp-preset--color--light-green-cyan: #7bdcb5;
    --wp-preset--color--vivid-green-cyan: var(--accent-primary);
    --wp-preset--color--pale-cyan-blue: #8ed1fc;
    --wp-preset--color--vivid-cyan-blue: #0693e3;
    --wp-preset--color--vivid-purple: #9b51e0;
}

/* =========================================
   GLOBAL LAYOUT UTILITIES (Added for Home Page)
   ========================================= */
.grid {
    display: grid;
    gap: 32px;
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   DUAL CTA SECTION STYLES
   ========================================= */
.cta-card {
    border-radius: 24px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 400px;
    transition: transform 0.3s ease;
}

.cta-card:hover {
    transform: translateY(-5px);
}

.cta-card-light {
    background: #F8F9FA;
    color: #0F172A;
}

[data-theme="dark"] .cta-card-light {
    background: #1e293b;
    color: #fff;
}

.cta-card-blue {
    background: #EBF5FF;
    color: #0F172A;
}

[data-theme="dark"] .cta-card-blue {
    background: rgba(37, 99, 235, 0.15);
    color: #fff;
}

.cta-headline {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.cta-subtext {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.8;
}

.btn-white-pill {
    background: #FFFFFF;
    color: #0F172A;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-dark-pill {
    background: #0F172A;
    color: #FFFFFF;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


/* =========================================
   HOME PAGE SYNC - REFINED STYLES
   ========================================= */

/* 12-Column Grid System */
.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 32px;
}

.span-12 {
    grid-column: span 12;
}

.span-11 {
    grid-column: span 11;
}

.span-10 {
    grid-column: span 10;
}

.span-9 {
    grid-column: span 9;
}

.span-8 {
    grid-column: span 8;
}

.span-7 {
    grid-column: span 7;
}

.span-6 {
    grid-column: span 6;
}

.span-5 {
    grid-column: span 5;
}

/* =========================================
   RIVERSIDE RESOURCES SECTION
   ========================================= */

.section-resources {
    background-color: #f8fafc;
    /* Light slate bg */
}

/* Resources Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Card Style */
.resource-card-riverside {
    background-color: #0f172a;
    /* Slate 900 (Dark) */
    color: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.resource-card-riverside:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3);
}

/* Icon / Visual Area */
.resource-visual {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    width: 100%;
}

.resource-visual img {
    max-height: 80px;
    object-fit: contain;
}

.resource-visual .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #818cf8;
    /* Indigo 400 */
}

/* Typography */
.resource-card-riverside h4 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
    letter-spacing: -0.01em;
}

.resource-card-riverside p {
    font-size: 15px;
    line-height: 1.5;
    color: #94a3b8;
    /* Slate 400 */
    max-width: 260px;
    margin: 0 auto;
}

/* Specific Card Tweaks */
.resource-card-riverside.glass-effect {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.logos-group {
    display: flex;
    gap: 12px;
    opacity: 0.6;
    align-items: center;
}

.logos-group .dashicons {
    font-size: 24px;
    color: #fff;
}

/* Dark Mode Overrides */
[data-theme="dark"] .section-resources {
    background-color: var(--bg-body);
}

[data-theme="dark"] .resource-card-riverside {
    background-color: #1e293b;
    /* Slightly lighter in dark mode to stand out from black bg */
    border: 1px solid #334155;
}

[data-theme="dark"] .resource-card-riverside:hover {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border-color: #6366f1;
}

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

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

.span-4 {
    grid-column: span 4;
}

.span-3 {
    grid-column: span 3;
}

.span-2 {
    grid-column: span 2;
}

.span-1 {
    grid-column: span 1;
}

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

    .span-1,
    .span-2,
    .span-3,
    .span-4,
    .span-5,
    .span-6,
    .span-7,
    .span-8,
    .span-9,
    .span-10,
    .span-11,
    .span-12 {
        grid-column: span 1;
    }
}

/* BLOG CARD REFINEMENTS */
.blog-card {
    background: var(--surface-glass);
    border-radius: 24px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
}

.blog-thumb {
    height: 250px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-info {
    padding: 32px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-meta .category {
    color: var(--accent-primary);
}

.blog-meta .category.green {
    color: #10B981;
}

.blog-meta .category.purple {
    color: #8B5CF6;
}

.blog-meta .category.blue {
    color: #2563EB;
}

.blog-meta .sep {
    color: var(--text-muted);
}

.blog-meta .read-time {
    color: var(--text-muted);
}

.blog-info h3 {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 16px;
    font-weight: 800;
}

.blog-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* MINI BLOG CARD */
.mini-blog-card {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border-radius: 20px;
    background: var(--surface-glass);
    border: 1px solid var(--border-light);
    margin-bottom: 20px;
    transition: background 0.2s;
}

.mini-blog-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mini-thumb {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

.mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

/* TESTIMONIAL CARD REFINEMENTS */
.testimonial-card {
    background: var(--surface-glass);
    border: 1px solid var(--border-light);
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
}

.summary-card {
    background: #0F172A;
    color: #fff;
    text-align: center;
}

[data-theme="dark"] .summary-card {
    background: rgba(15, 23, 42, 0.8);
}

.rating-large {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
}

.stars-gold {
    color: #FBBF24;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.stars-gold.small {
    font-size: 1rem;
}

.review-count {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.6;
    margin-bottom: 30px;
}

.summary-heading {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
}

.clutch-logo-area {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.clutch-text {
    font-weight: 900;
    font-size: 1.1rem;
    opacity: 0.8;
}

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

.review-score {
    font-size: 1.5rem;
    font-weight: 800;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 40px;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.reviewer-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info .name {
    display: block;
    font-weight: 800;
    font-size: 1.1rem;
}

.reviewer-info .title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =========================================
   SINGLE POST (RIVERSIDE REDESIGN)
   ========================================= */

/* 1. Header Section */
.single-post-header {
    background-color: #111;
    /* Deep Dark */
    color: #fff;
    padding-top: 140px;
    /* Space for fixed nav */
    padding-bottom: 80px;
    margin-bottom: 60px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    /* Full bleeding width */
    position: relative;
    /* Ensure it sits below nav */
}

/* Re-center content container since header is full bleed */
.single-post-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Content */
.post-breadcrumbs {
    font-size: 13px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    font-weight: 600;
}

.post-breadcrumbs a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.post-breadcrumbs a:hover,
.post-breadcrumbs .current-cat {
    color: var(--accent-primary);
}

.post-breadcrumbs .sep {
    margin: 0 8px;
    color: #475569;
}

.post-title {
    font-size: 3rem;
    /* 48px */
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.post-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #cbd5e1;
    /* Light grey */
    margin-bottom: 32px;
    max-width: 90%;
}

.post-meta-row {
    margin-top: 32px;
}

.author-block {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.author-role {
    font-size: 0.8rem;
    color: #94a3b8;
}

.meta-details {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 8px;
    font-weight: 500;
}

/* Right Image */
.header-image-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.featured-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/10;
    object-fit: cover;
}

/* 2. Content Layout */
.content-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    /* Sidebar fixed width */
    gap: 60px;
    margin-bottom: 100px;
    align-items: start;
}

.main-content-column .entry-content {
    font-size: 1.125rem;
    /* 18px */
    line-height: 1.8;
    color: var(--text-primary);
}

.main-content-column .entry-content p {
    margin-bottom: 1.5em;
    color: var(--text-secondary);
}

.main-content-column .entry-content h2 {
    font-size: 2rem;
    margin-top: 2em;
    margin-bottom: 0.8em;
    color: var(--text-primary);
}

.main-content-column .entry-content h3 {
    font-size: 1.5rem;
    margin-top: 1.5em;
    margin-bottom: 0.6em;
}

.main-content-column .entry-content ul,
.main-content-column .entry-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
    color: var(--text-secondary);
}

.main-content-column .entry-content li {
    margin-bottom: 0.5em;
}

/* 3. Sidebar */
.sticky-widget {
    position: sticky;
    top: 140px;
    /* Scroll offset */
    background: var(--surface-strong);
    /* Dark card */
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-light);
}

.brand-logo-small {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #fff;
    text-transform: uppercase;
}

.sticky-widget h3 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #fff;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.benefit-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.benefit-list li::before {
    content: "•";
    color: var(--accent-primary);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
    line-height: 1;
}

.btn-full {
    width: 100%;
}

/* Responsive */
@media (max-width: 991px) {
    .header-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .post-title {
        font-size: 2.2rem;
    }

    .content-grid-wrapper {
        grid-template-columns: 1fr;
    }

    .sidebar-column {
        display: none;
        /* Or move to bottom if preferred */
    }

    .single-post-header {
        text-align: left;
    }
}

/* =========================================
   COMMENTS SECTION
   ========================================= */

.comments-area {
    padding-top: 60px;
    border-top: 1px solid var(--border-light);
}

.comments-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.comments-title span {
    color: var(--text-secondary);
}

/* Review List */
.comment-list {
    list-style: none;
    margin: 0 0 60px 0;
    padding: 0;
}

.comment-list .comment-item {
    margin-bottom: 30px;
}

.comment-list .children {
    list-style: none;
    padding-left: 20px;
    /* Reduced for mobile */
    margin-left: 20px;
    border-left: 1px solid var(--border-light);
    margin-top: 20px;
}

@media (min-width: 768px) {
    .comment-list .children {
        padding-left: 40px;
        margin-left: 40px;
    }
}

.comment-body {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: 16px;
    /* Glass panel effect handled by .glass-panel class */
    align-items: start;
}

.comment-author-avatar img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 2px solid var(--border-light);
}

.comment-content-wrapper {
    flex: 1;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.author-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.author-name a {
    color: inherit;
    text-decoration: none;
}

.is-author-badge {
    background: var(--accent-primary);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    text-transform: uppercase;
    font-weight: 600;
    vertical-align: middle;
}

.comment-date a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
}

.comment-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.comment-text p:last-child {
    margin-bottom: 0;
}

.comment-reply a {
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.comment-reply a:hover {
    color: var(--accent-secondary);
}

/* Comment Form */
.comment-respond {
    background: var(--surface-glass);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
}

.river-h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 24px;
}

.comment-notes,
.logged-in-as {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    display: block;
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.glass-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    /* Very transparent */
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(24, 209, 167, 0.1);
}

textarea.glass-input {
    resize: vertical;
    min-height: 120px;
}

/* Grid for Name/Email if not logged in */
.comment-form-author,
.comment-form-email,
.comment-form-url {
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .comment-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .comment-form-comment,
    .form-submit,
    .comment-notes,
    .logged-in-as {
        grid-column: span 2;
    }
}

.submit-comment-btn {
    padding: 14px 32px !important;
    font-size: 1rem !important;
    width: auto;
    display: inline-block;
    cursor: pointer;
}


/* =========================================
   SIDEBAR NEWSLETTER WIDGET
   ========================================= */

.sidebar-widget {
    background: var(--surface-glass);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    overflow: hidden;
    position: relative;
    /* Gradient overlay for flair */
}

.sidebar-widget::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
}

.widget-badge {
    display: inline-block;
    background: rgba(24, 209, 167, 0.1);
    color: var(--accent-primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.text-xs {
    font-size: 0.75rem;
}

.sidebar-form .glass-input.small-input {
    padding: 10px 16px;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.2);
    /* Slightly darker input for contrast */
}

.btn-sm {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
}

/* Add spacing between widgets */
.mb-lg {
    margin-bottom: 2rem;
}

.mt-sm {
    margin-top: 0.5rem;
}

/* =========================================
   RELATED POSTS WIDGET
   ========================================= */

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 12px;
}

.related-posts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-post-item {
    display: flex;
    gap: 16px;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.related-post-item:hover {
    transform: translateX(4px);
}

.related-post-thumb {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--surface-glass);
}

.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-thumb {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--surface-light) 0%, var(--surface-strong) 100%);
}

.related-post-info {
    flex: 1;
}

.related-post-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-item:hover .related-post-title {
    color: var(--accent-primary);
}

.related-post-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: block;
}

/* =========================================
   PRICING SECTION 2.0 (4-Column)
   ========================================= */

.pricing-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    /* Allow wrapping */
    gap: 24px;
    margin-top: 48px;
    max-width: 1400px;
    /* Slightly wider for 4 columns */
    margin-left: auto;
    margin-right: auto;
}

/* Pricing Card Enhancements */
.pricing-card {
    /* Existing styles are good baselines (glass-panel), adding flexibility */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    height: 100%;
    /* Equal height columns */
    position: relative;
    background: var(--surface-glass);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.popular-card {
    border: 1px solid var(--accent-primary);
    background: rgba(24, 209, 167, 0.05);
    /* Subtle tint */
}

/* Most Popular Tag */
.popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(24, 209, 167, 0.3);
}

/* Header & Typography */
.pricing-card .card-header {
    text-align: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 24px;
}

.pricing-card .plan-name {
    font-size: 1.5rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.pricing-card .plan-target {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-style: italic;
}

/* Price Wrapper */
.plan-price-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.plan-price-wrapper .currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 6px;
}

.plan-price-wrapper .amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.pricing-card .plan-timeline {
    font-size: 0.8rem;
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

/* Features List */
.pricing-card .card-body {
    flex-grow: 1;
    /* Pushes footer down */
    margin-bottom: 24px;
}

.pricing-card .plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.pricing-card .plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px dashed var(--border-light);
}

.pricing-card .plan-features li:last-child {
    border-bottom: none;
}

.pricing-card .plan-features li .dashicons {
    color: var(--accent-primary);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Footer Button */
.btn-full {
    width: 100%;
    justify-content: center;
}

/* =========================================
   PROCESS STRIP (Step 1-4)
   ========================================= */
.process-strip {
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
}

.process-step {
    position: relative;
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface-strong);
    color: var(--accent-primary);
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border: 2px solid var(--border-light);
}

.process-step h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Connector Line (Desktop Only) */
@media (min-width: 992px) {
    .process-step::after {
        content: '';
        position: absolute;
        top: 24px;
        right: -50%;
        width: 100%;
        /* Connects to next item */
        height: 2px;
        background: var(--border-light);
        z-index: 0;
    }

    .process-step:last-child::after {
        display: none;
    }

    .step-icon {
        position: relative;
        z-index: 1;
        background: var(--surface-glass);
        /* Ensure background covers line */
    }
}

/* =========================================
   ADD-ONS & FAQ
   ========================================= */
.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.addon-card {
    background: var(--surface-light);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: transform 0.2s ease;
}

.addon-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
}

.addon-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.addon-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.addon-price {
    display: inline-block;
    background: var(--surface-strong);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-item h4::before {
    content: '?';
    display: inline-flex;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: white;
    font-size: 12px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 28px;
}


/* =========================================
   MODERN FAQ SECTION (Accordion)
   ========================================= */

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-row {
    background: var(--surface-glass);
    /* Inherits existing glass styling */
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-row[open] {
    background: var(--surface-light);
    /* Slightly customized active state */
    border-color: var(--accent-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.faq-trigger {
    padding: 24px;
    cursor: pointer;
    list-style: none;
    /* Hides default triangle */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Hide default marker in Safari/Chrome */
.faq-trigger::-webkit-details-marker {
    display: none;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-icon {
    font-size: 20px;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-row[open] .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.faq-answer {
    padding: 0 24px 24px 24px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    animation: fadeInSlide 0.3s ease-out;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================
   PRICING CTA BANNER
   ========================================= */

.pricing-cta-banner {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #0ea5e9 100%);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    max-width: 1200px;
    /* Limit width */
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
}

.banner-content {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    z-index: 2;
}

.banner-title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 16px;
    color: #fff;
}

.text-underline-accent {
    position: relative;
    display: inline-block;
}

.text-underline-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    /* Underline thickness */
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.banner-text {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 500px;
    color: #fff;
}

.btn-light {
    background: #fff;
    color: var(--accent-primary);
    border: none;
    align-self: flex-start;
    padding: 14px 32px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: #f8fafc;
    color: var(--accent-primary);
}

.banner-image-wrapper {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    /* Crop bottom of image */
}

/* Background graphic element behind image */
.banner-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    z-index: 1;
}

.banner-person {
    position: relative;
    z-index: 2;
    max-height: 400px;
    /* Limit height */
    object-fit: contain;
    transform: translateY(20px);
    /* Push down slightly */
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.2));
}

.chat-bubble-badge {
    position: absolute;
    top: 40px;
    right: 40px;
    background: #fff;
    color: var(--text-primary);
    padding: 12px 20px;
    border-radius: 12px;
    border-bottom-left-radius: 0;
    /* Chat bubble style */
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .pricing-cta-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .banner-content {
        padding: 40px 24px;
        align-items: center;
    }

    .banner-person {
        max-height: 300px;
        transform: translateY(0);
    }

    .chat-bubble-badge {
        right: 20px;
        top: 20px;
    }
}

/* =========================================
   MODERN FOOTER (4-Column)
   ========================================= */

.footer-grid-modern {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
}

.footer-heading {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

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

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

.footer-menu li a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.footer-menu li a:hover {
    color: #fff;
    padding-left: 4px;
    /* Subtle slide */
    color: var(--accent-primary);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent-primary);
    transform: translateY(-3px);
}

.social-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Form Styles */
.footer-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-form input:focus {
    outline: none;
    border-color: var(--accent-primary) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Responsive Footer */
@media (max-width: 991px) {
    .footer-grid-modern {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-col-brand,
    .footer-col-newsletter {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .footer-grid-modern {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col-brand,
    .footer-col-newsletter,
    .footer-col-links {
        grid-column: span 1;
    }

    .social-links {
        justify-content: center;
    }

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

/* =========================================
   MEGA MENU RESOURCES (Modern)
   ========================================= */
.mega-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    /* Or aligns with parent item */
    width: 600px;
    padding: 24px;
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1000;
    margin-top: 12px;
}

/* Show state handled via JS classes usually, or group-hover */
.group-resources-trigger:hover .mega-menu-dropdown,
.group-resources-trigger:focus-within .mega-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
}

.mega-heading {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 600;
}

/* Left Column: Navigation */
.mega-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-link-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.mega-link-item:hover {
    background: var(--surface-hover);
}

.mega-link-item .icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-link-item .icon-wrapper .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.mega-link-item .text-content {
    display: flex;
    flex-direction: column;
}

.mega-link-item .title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.mega-link-item .desc {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Right Column: Cards */
.mega-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mega-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: var(--surface-glass);
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

.mega-card:hover {
    background: var(--surface-hover);
    border-color: var(--border-active);
    transform: translateX(4px);
}

.mega-card .card-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-body);
    border-radius: 8px;
    color: var(--text-secondary);
}

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

.mega-card .card-title {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.mega-card .card-meta {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.mega-card.highlight .card-icon {
    color: var(--accent-primary);
    background: rgba(var(--accent-primary-rgb, 14, 165, 164), 0.1);
}
/* Modern Pricing Note Banner */
.pricing-note-wrapper {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    margin-top: 5rem; /* Explicit extra spacing */
}

.pricing-note-modern {
    display: flex;
    background: rgba(13, 19, 33, 0.4);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent-primary);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.pricing-note-modern.note-banner {
    background: rgba(24, 209, 167, 0.03); /* Subtle Teal Tint */
    border-top: 1px solid rgba(24, 209, 167, 0.15);
    border-bottom: 1px solid rgba(24, 209, 167, 0.15);
    border-right: 1px solid rgba(24, 209, 167, 0.15);
}

.pricing-note-modern .note-icon {
    display: flex;
    align-items: flex-start;
    padding: 24px 0 24px 24px;
    color: var(--accent-primary);
}

.pricing-note-modern .note-icon .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.pricing-note-modern .note-content {
    padding: 24px;
}

.pricing-note-modern .note-label {
    display: block;
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.pricing-note-modern .note-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}
