/*
Theme Name: Supply Monitor
Theme URI: https://supplymonitor.ai
Author: Supply Monitor
Author URI: https://supplymonitor.ai
Description: Custom WordPress theme for Supply Monitor - Intelligence & Infrastructure for Programmatic Supply Quality
Version: 1.0.0
License: All Rights Reserved
Text Domain: supply-monitor
*/

/* ==========================================================================
   CSS Variables / Design Tokens
   ========================================================================== */
:root {
    --deep-teal: #1E5B6B;
    --bright-teal: #3498DB;
    --coral: #E57373;
    --off-white: #F8FAFB;
    --dark-slate: #1A2B32;
    --light-teal: #E8F4F8;
    --medium-teal: #2A7A8C;
    --coral-light: rgba(229, 115, 115, 0.15);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--off-white);
    color: var(--dark-slate);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==========================================================================
   Navigation
   ========================================================================== */
nav:not(.navigation) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 250, 251, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(30, 91, 107, 0.1);
    padding: 16px 0;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    position: relative;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--deep-teal);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-slate);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--deep-teal);
}

.nav-links a.active {
    color: var(--deep-teal);
}

.nav-divider {
    width: 1px;
    height: 24px;
    background: rgba(30, 91, 107, 0.2);
}

.nav-cta {
    background: var(--coral);
    color: white !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 115, 115, 0.4);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
    color: var(--dark-slate);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--coral);
    color: white;
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(229, 115, 115, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(229, 115, 115, 0.4);
    color: white;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--deep-teal);
    padding: 16px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    border: 2px solid var(--deep-teal);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--deep-teal);
    color: white;
}

/* ==========================================================================
   Hero Section (Homepage)
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-teal) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(52, 152, 219, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(229, 115, 115, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--deep-teal);
    box-shadow: 0 2px 12px rgba(30, 91, 107, 0.1);
    margin-bottom: 24px;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--coral);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero h1 {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--dark-slate);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero h1 span {
    color: var(--deep-teal);
}

.hero-subtitle {
    font-size: 1.35rem;
    color: #5A6B73;
    margin-bottom: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(229, 115, 115, 0.1);
    padding: 10px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero-stat-number {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--coral);
}

.hero-stat-text {
    font-size: 0.95rem;
    color: var(--dark-slate);
}

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

/* ==========================================================================
   Brand Architecture Section
   ========================================================================== */
.brand-architecture {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: var(--coral);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.15rem;
    color: #5A6B73;
}

.brand-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.brand-box {
    background: var(--off-white);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.brand-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.brand-box.services::before {
    background: linear-gradient(90deg, var(--deep-teal), var(--bright-teal));
}

.brand-box.infrastructure::before {
    background: linear-gradient(90deg, var(--coral), #D85A5A);
}

.brand-box-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.brand-box-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-box.services .brand-box-icon {
    background: var(--light-teal);
}

.brand-box.infrastructure .brand-box-icon {
    background: rgba(229, 115, 115, 0.15);
}

.brand-box-icon svg {
    width: 28px;
    height: 28px;
}

.brand-box.services .brand-box-icon svg {
    color: var(--deep-teal);
}

.brand-box.infrastructure .brand-box-icon svg {
    color: var(--coral);
}

.brand-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-slate);
}

.brand-box h3 span {
    font-weight: 400;
    font-size: 1rem;
    color: #5A6B73;
    display: block;
    margin-top: 4px;
}

.brand-box p {
    color: #5A6B73;
    line-height: 1.7;
    margin-bottom: 24px;
}

.brand-box-tag {
    display: inline-block;
    background: white;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark-slate);
    box-shadow: 0 2px 8px rgba(30, 91, 107, 0.08);
}

/* ==========================================================================
   Solutions Section
   ========================================================================== */
.solutions {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light-teal) 0%, var(--off-white) 100%);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.solution-card {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 20px 60px rgba(30, 91, 107, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(30, 91, 107, 0.15);
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.solution-card.analytics::before {
    background: var(--deep-teal);
}

.solution-card.qps::before {
    background: var(--bright-teal);
}

.solution-card.managed::before {
    background: var(--coral);
}

.solution-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    width: fit-content;
}

.solution-card.analytics .solution-badge {
    background: var(--light-teal);
    color: var(--deep-teal);
}

.solution-card.qps .solution-badge {
    background: rgba(52, 152, 219, 0.15);
    color: var(--bright-teal);
}

.solution-card.managed .solution-badge {
    background: rgba(229, 115, 115, 0.15);
    color: var(--coral);
}

.solution-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.solution-card.analytics .solution-icon {
    background: var(--light-teal);
}

.solution-card.qps .solution-icon {
    background: rgba(52, 152, 219, 0.15);
}

.solution-card.managed .solution-icon {
    background: rgba(229, 115, 115, 0.15);
}

.solution-icon svg {
    width: 32px;
    height: 32px;
}

.solution-card.analytics .solution-icon svg {
    color: var(--deep-teal);
}

.solution-card.qps .solution-icon svg {
    color: var(--bright-teal);
}

.solution-card.managed .solution-icon svg {
    color: var(--coral);
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: 8px;
}

.solution-card .audience {
    font-size: 0.95rem;
    color: var(--deep-teal);
    font-weight: 500;
    margin-bottom: 16px;
}

.solution-card p {
    color: #5A6B73;
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.solution-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--dark-slate);
}

.solution-feature svg {
    width: 18px;
    height: 18px;
    color: var(--deep-teal);
    flex-shrink: 0;
}

.solution-cta {
    margin-top: auto;
}

.solution-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.solution-card.analytics .solution-cta a {
    color: var(--deep-teal);
}

.solution-card.qps .solution-cta a {
    color: var(--bright-teal);
}

.solution-card.managed .solution-cta a {
    color: var(--coral);
}

.solution-cta a:hover {
    gap: 12px;
}

.solution-cta a svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   Differentiators Section
   ========================================================================== */
.differentiators {
    padding: 100px 0;
    background: var(--dark-slate);
    color: white;
}

.differentiators .section-header h2 {
    color: white;
}

.differentiators .section-header p {
    color: rgba(255,255,255,0.7);
}

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

.diff-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.diff-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.diff-icon {
    width: 56px;
    height: 56px;
    background: rgba(52, 152, 219, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.diff-icon svg {
    width: 28px;
    height: 28px;
    color: var(--bright-teal);
}

.diff-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.diff-card p {
    font-size: 0.9rem;
    opacity: 0.7;
    line-height: 1.6;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--deep-teal) 0%, var(--medium-teal) 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-section .btn-primary {
    background: var(--coral);
    padding: 18px 48px;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: var(--dark-slate);
    padding: 60px 0 40px;
    color: white;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-brand {
    flex: 1;
    max-width: 360px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 12px;
}

.footer-brand .logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

.footer-brand .logo-icon svg {
    width: 36px;
    height: 36px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

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

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

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   Analytics Page Styles
   ========================================================================== */
.hero-two-col .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-two-col .hero-content {
    text-align: left;
    max-width: none;
    margin: 0;
}

.hero-two-col h1 {
    font-size: 3.5rem;
}

.hero-two-col p {
    font-size: 1.25rem;
    color: #5A6B73;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-two-col .hero-cta {
    justify-content: flex-start;
}

.hero-visual {
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(30, 91, 107, 0.15);
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--light-teal);
}

.hero-card-icon {
    width: 48px;
    height: 48px;
    background: var(--light-teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--deep-teal);
}

.hero-card h3 {
    font-size: 1.1rem;
    color: var(--dark-slate);
}

.hero-card-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--light-teal);
}

.hero-card-stat:last-child {
    border-bottom: none;
}

.hero-card-stat-label {
    color: #5A6B73;
    font-size: 0.95rem;
}

.hero-card-stat-value {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--deep-teal);
}

.hero-card-stat-value.savings {
    color: var(--coral);
}

.floating-badge {
    position: absolute;
    background: var(--deep-teal);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 24px rgba(30, 91, 107, 0.3);
    animation: float 3s ease-in-out infinite;
}

.floating-badge.ai {
    top: -20px;
    right: 40px;
}

.floating-badge.human {
    bottom: -20px;
    left: 40px;
    background: var(--coral);
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Pillars Section */
.pillars {
    padding: 120px 0;
    background: white;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pillar-card {
    background: var(--off-white);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-teal), var(--bright-teal));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 91, 107, 0.12);
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-icon {
    width: 64px;
    height: 64px;
    background: var(--light-teal);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.pillar-icon svg {
    width: 32px;
    height: 32px;
    color: var(--deep-teal);
}

.pillar-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark-slate);
    margin-bottom: 12px;
}

.pillar-card p {
    color: #5A6B73;
    line-height: 1.7;
}

/* Who It's For Section */
.who-its-for {
    padding: 120px 0;
    background: var(--dark-slate);
    color: white;
}

.who-its-for .section-header h2 {
    color: white;
}

.who-its-for .section-header p {
    color: rgba(255,255,255,0.7);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.audience-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.audience-card:hover {
    background: #f8fafb;
    transform: translateY(-4px);
}

.audience-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-slate);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.audience-card .pain {
    color: #7a8e96;
    font-style: italic;
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 2px solid var(--coral);
}

.audience-card p {
    color: #5a7a84;
    line-height: 1.7;
}

/* Pricing Section */
.pricing {
    padding: 120px 0;
    background: var(--off-white);
}

.pricing-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-audit {
    background: white;
    border-radius: 16px;
    padding: 32px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(30, 91, 107, 0.08);
    margin-bottom: 48px;
}

.pricing-audit-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-slate);
    margin-bottom: 8px;
}

.pricing-audit-content p {
    font-size: 0.95rem;
    color: #5A6B73;
}

.pricing-audit-price .price {
    font-family: 'Space Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--coral);
}

.pricing-audit-price .price-note {
    font-size: 0.85rem;
    color: #5A6B73;
}

.pricing-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.pricing-column {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 20px 60px rgba(30, 91, 107, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.pricing-column:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(30, 91, 107, 0.15);
}

.pricing-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--deep-teal);
}

.pricing-column.featured::before {
    background: linear-gradient(90deg, var(--coral), #D85A5A);
}

.pricing-column.featured {
    border: 2px solid var(--coral);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--coral);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 100px;
    text-transform: uppercase;
}

.pricing-column-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--light-teal);
}

.pricing-column-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: 8px;
}

.pricing-column-subtitle {
    font-size: 0.95rem;
    color: #5A6B73;
}

.pricing-main-price {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-main-price .price {
    font-family: 'Space Mono', monospace;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--deep-teal);
}

.pricing-main-price .price span {
    font-size: 1.25rem;
    font-weight: 400;
    color: #5A6B73;
}

.pricing-main-price .price-note {
    font-size: 0.9rem;
    color: #5A6B73;
    margin-top: 8px;
}

.pricing-table {
    margin-bottom: 32px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--light-teal);
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row-label {
    font-size: 0.95rem;
    color: var(--dark-slate);
}

.pricing-row-value {
    font-family: 'Space Mono', monospace;
    font-weight: 600;
    color: var(--deep-teal);
}

.pricing-column-cta {
    text-align: center;
}

.pricing-column-cta .btn-primary,
.pricing-column-cta .btn-secondary {
    width: 100%;
    justify-content: center;
}

.pricing-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(30, 91, 107, 0.08);
}

.pricing-features-title {
    grid-column: 1 / -1;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-slate);
    margin-bottom: 8px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--off-white);
    border-radius: 10px;
}

.pricing-feature svg {
    width: 20px;
    height: 20px;
    color: var(--deep-teal);
    flex-shrink: 0;
}

.pricing-feature span {
    font-size: 0.95rem;
    color: var(--dark-slate);
}

/* ==========================================================================
   Managed Marketplace Page Styles
   ========================================================================== */
.audience-divider {
    padding: 60px 0;
    background: var(--deep-teal);
    text-align: center;
}

.audience-divider h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.audience-divider p {
    color: rgba(255,255,255,0.8);
    font-size: 1.15rem;
}

.audience-divider.platforms {
    background: var(--dark-slate);
}

.audience-intro {
    padding: 80px 0 40px;
    background: white;
    text-align: center;
}

.audience-intro.platforms {
    background: var(--off-white);
}

.audience-intro p {
    font-size: 1.2rem;
    color: #5A6B73;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.problem-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--coral) 0%, #D85A5A 100%);
    position: relative;
    overflow: hidden;
}

.problem-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.problem-section .section-label {
    color: rgba(255,255,255,0.8);
}

.problem-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
    max-width: 800px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 32px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.problem-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}

.problem-card h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.problem-card p {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.7;
}

.problem-section.platforms {
    background: linear-gradient(135deg, var(--medium-teal) 0%, var(--deep-teal) 100%);
}

.solution-section {
    padding: 80px 0;
    background: var(--dark-slate);
    position: relative;
    overflow: hidden;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(52, 152, 219, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.solution-section .section-label {
    color: var(--coral);
}

.solution-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.solution-section > .container > p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.capability-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 32px;
    border-radius: 20px;
    transition: all 0.3s;
}

.capability-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.capability-icon {
    width: 56px;
    height: 56px;
    background: rgba(52, 152, 219, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.capability-icon svg {
    width: 28px;
    height: 28px;
    color: var(--bright-teal);
}

.capability-card h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.capability-card p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    line-height: 1.7;
}

.solution-section.platforms {
    background: #2A3F47;
}

.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--deep-teal) 0%, var(--medium-teal) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.pricing-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.pricing-section .price {
    font-family: 'Space Mono', monospace;
    color: var(--coral);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.pricing-section .price-note {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.pricing-section .btn-primary {
    position: relative;
    z-index: 1;
}

.pricing-section.platforms {
    background: linear-gradient(135deg, var(--dark-slate) 0%, #2A3F47 100%);
}

.pricing-section.platforms .price {
    color: var(--bright-teal);
}

/* ==========================================================================
   QPS Page Styles
   ========================================================================== */
.hero-qps {
    background: linear-gradient(135deg, var(--off-white) 0%, #FDF5F5 50%, var(--light-teal) 100%);
}

.hero-qps::before {
    background: radial-gradient(ellipse, rgba(229, 115, 115, 0.1) 0%, transparent 70%);
}

.hero-qps .hero-badge {
    color: var(--coral);
}

.hero-qps .hero-badge::before {
    background: var(--coral);
}

.hero-qps h1 span {
    color: var(--coral);
}

.hero-qps .btn-secondary {
    color: var(--coral);
    border-color: var(--coral);
}

.hero-qps .btn-secondary:hover {
    background: var(--coral);
    color: white;
}

.hero-qps .hero-card {
    box-shadow: 0 20px 60px rgba(229, 115, 115, 0.15);
}

.hero-qps .hero-card-header {
    border-bottom-color: var(--coral-light);
}

.hero-qps .hero-card-icon {
    background: var(--coral-light);
}

.hero-qps .hero-card-icon svg {
    color: var(--coral);
}

.hero-card-flow {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--off-white);
    border-radius: 12px;
}

.flow-step-number {
    width: 36px;
    height: 36px;
    background: var(--coral);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.flow-step-text {
    font-size: 0.95rem;
    color: var(--dark-slate);
}

.floating-badge.top {
    top: -20px;
    right: 40px;
}

.floating-badge.bottom {
    bottom: -20px;
    left: 40px;
    background: var(--deep-teal);
    animation-delay: 1.5s;
}

/* QPS Problem Section */
.problem {
    padding: 120px 0;
    background: white;
}

.problem .problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.problem .problem-card {
    background: var(--off-white);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: none;
}

.problem .problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--coral), #D85A5A);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.problem .problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(229, 115, 115, 0.12);
    background: var(--off-white);
}

.problem .problem-card:hover::before {
    transform: scaleX(1);
}

.problem-icon {
    width: 64px;
    height: 64px;
    background: var(--coral-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.problem-icon svg {
    width: 32px;
    height: 32px;
    color: var(--coral);
}

.problem .problem-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark-slate);
    margin-bottom: 12px;
}

.problem .problem-card p {
    color: #5A6B73;
    line-height: 1.7;
}

/* QPS Solution Section */
.solution {
    padding: 120px 0;
    background: linear-gradient(180deg, #FDF5F5 0%, var(--off-white) 100%);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.solution-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: 24px;
}

.solution-text > p {
    font-size: 1.15rem;
    color: #5A6B73;
    margin-bottom: 32px;
}

.solution-features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.solution-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(229, 115, 115, 0.08);
}

.solution-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--coral-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.solution-feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--coral);
}

.solution-feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-slate);
    margin-bottom: 4px;
}

.solution-feature-text p {
    font-size: 0.9rem;
    color: #5A6B73;
    margin: 0;
}

.solution-visual {
    position: relative;
}

.solution-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(229, 115, 115, 0.15);
}

.solution-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-slate);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--coral-light);
}

.deliverable-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-teal);
}

.deliverable-item:last-child {
    border-bottom: none;
}

.deliverable-item svg {
    width: 20px;
    height: 20px;
    color: var(--coral);
    flex-shrink: 0;
}

.deliverable-item span {
    font-size: 0.95rem;
    color: var(--dark-slate);
}

/* QPS Audience */
.audience-card h3 span {
    font-size: 1.75rem;
}

.audience-card p {
    margin-bottom: 20px;
}

.audience-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.audience-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
}

.audience-benefit svg {
    width: 20px;
    height: 20px;
    color: var(--coral);
    flex-shrink: 0;
}

/* QPS CTA */
.cta-section-coral {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--coral) 0%, #D85A5A 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section-coral::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section-coral h2 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-section-coral p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-section-coral .btn-primary {
    background: white;
    color: var(--coral);
    padding: 18px 48px;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.cta-section-coral .btn-primary:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Legal Pages (Privacy Policy, Terms of Service)
   ========================================================================== */
.legal-hero {
    padding: 140px 0 60px;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-teal) 100%);
    text-align: center;
}

.legal-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.legal-hero p {
    font-size: 1.2rem;
    color: var(--medium-teal);
}

.legal-content {
    padding: 60px 0 100px;
    background: var(--off-white);
}

.legal-content .container {
    max-width: 800px;
}

.content-wrapper {
    background: white;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 24px rgba(30, 91, 107, 0.08);
}

.effective-date {
    background: var(--light-teal);
    border-left: 4px solid var(--deep-teal);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--deep-teal);
    border-radius: 0 8px 8px 0;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-teal);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-teal);
}

.legal-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--dark-slate);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: #444;
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #444;
    line-height: 1.7;
}

.highlight-box {
    background: var(--light-teal);
    border: 1px solid var(--deep-teal);
    border-left: 4px solid var(--deep-teal);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box p {
    margin-bottom: 0;
    color: var(--deep-teal);
}

.warning-box {
    background: #FFF5F5;
    border: 1px solid var(--coral);
    border-left: 4px solid var(--coral);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.warning-box p {
    margin-bottom: 0;
    color: #C53030;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

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

.data-table th {
    background: var(--deep-teal);
    color: white;
    font-weight: 600;
}

.data-table tr:nth-child(even) {
    background: var(--light-teal);
}

.gdpr-section {
    background: #F0F7FF;
    border: 1px solid #3498DB;
    border-left: 4px solid #3498DB;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.gdpr-section h3 {
    color: #2980B9;
    margin-top: 0;
}

.ccpa-section {
    background: #FFF8F0;
    border: 1px solid #E67E22;
    border-left: 4px solid #E67E22;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.ccpa-section h3 {
    color: #D35400;
    margin-top: 0;
}

.legal-caps {
    text-transform: uppercase;
    font-size: 0.95rem;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.75rem;
    }

    .brand-split {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .hero-two-col .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-two-col .hero-content {
        text-align: center;
    }

    .hero-two-col h1 {
        font-size: 2.75rem;
    }

    .hero-two-col p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-two-col .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .pillars-grid,
    .audience-grid,
    .pricing-columns {
        grid-template-columns: 1fr;
    }

    .problem-grid,
    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .solution-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

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

    .pricing-audit {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .pricing-features {
        grid-template-columns: 1fr;
    }

    .legal-hero h1 {
        font-size: 2rem;
    }

    .content-wrapper {
        padding: 24px;
    }

    .audience-divider h2,
    .problem-section h2,
    .solution-section h2 {
        font-size: 1.75rem;
    }

    .pricing-section .price {
        font-size: 2.5rem;
    }
}


/* ===================================
   Blog Pagination Fix
   =================================== */
.navigation.pagination {
    position: static !important;
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    z-index: auto !important;
}

.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid var(--light-teal);
    border-radius: 8px;
    color: var(--dark-slate);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.navigation.pagination .page-numbers:hover {
    background: var(--light-teal);
    border-color: var(--deep-teal);
}

.navigation.pagination .page-numbers.current {
    background: var(--deep-teal);
    border-color: var(--deep-teal);
    color: #fff;
}

.navigation.pagination .prev,
.navigation.pagination .next {
    padding: 0 16px;
}


/* ===================================
   Admin Bar Fix for Navigation
   =================================== */
.admin-bar nav:not(.navigation) {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    .admin-bar nav:not(.navigation) {
        top: 46px !important;
    }
}




.entry-content strong {
    font-weight: 600;
}

/* ===================================
   Blog Post Content Spacing
   =================================== */
.entry-content p {
    margin-bottom: 1.5em !important;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2em !important;
    margin-bottom: 0.75em !important;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5em !important;
    padding-left: 1.5em !important;
}

.entry-content li {
    margin-bottom: 0.5em !important;
}

.entry-content blockquote {
    margin: 1.5em 0 !important;
    padding-left: 1.5em !important;
    border-left: 4px solid var(--deep-teal) !important;
    font-style: italic !important;
}

/* ============================================================
   SUPPLY MONITOR — NEW TEMPLATE CSS FIXES (March 2026)
   Covers: Homepage (front-page.php) + all 4 inner page templates
   ============================================================ */

/* ---- GLOBAL: Constrain all inline SVGs ---- */
svg {
    max-width: 100%;
    height: auto;
}

/* ---- HOMEPAGE: Products Section ---- */
.products {
    padding: 80px 0;
    background: var(--off-white, #F8FAFB);
}

.products .section-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--coral, #E57373);
    font-family: 'Space Mono', monospace;
    text-align: center;
    margin-bottom: 16px;
}

.products .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-slate, #1A2B32);
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.2;
}

.products .section-subtitle {
    text-align: center;
    color: #5a7a84;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 48px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border: 1px solid #e0e8eb;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 91, 107, 0.1);
}

.product-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon svg {
    width: 64px;
    height: 64px;
}

.product-icon.deals svg {
    color: var(--deep-teal, #1E5B6B);
    fill: none;
    stroke: var(--deep-teal, #1E5B6B);
    stroke-width: 1.5;
}

.product-icon.insights svg {
    color: var(--bright-teal, #3498DB);
    fill: none;
    stroke: var(--bright-teal, #3498DB);
    stroke-width: 1.5;
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-slate, #1A2B32);
    margin-bottom: 12px;
}

.product-card p {
    color: #5a7a84;
    line-height: 1.7;
    font-size: 1rem;
}

/* ---- HOMEPAGE: Audiences / Who We Serve ---- */
.audiences {
    padding: 80px 0;
}

.audiences .section-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--coral, #E57373);
    font-family: 'Space Mono', monospace;
    text-align: center;
    margin-bottom: 16px;
}

.audiences .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-slate, #1A2B32);
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.2;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.audience-card {
    background: #fff;
    border: 1px solid #e0e8eb;
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.audience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(30, 91, 107, 0.08);
    background: #fff;
}

.audience-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audience-icon svg {
    width: 48px;
    height: 48px;
}

.audience-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-slate, #1A2B32);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.audience-card .pain {
    color: #8a9da5;
    font-style: italic;
    margin-bottom: 12px;
    padding-left: 16px;
    border-left: 2px solid var(--coral, #E57373);
    font-size: 0.95rem;
}

.audience-card p {
    color: #5a7a84;
    line-height: 1.7;
    font-size: 0.95rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--deep-teal, #1E5B6B);
    font-weight: 600;
    text-decoration: none;
    margin-top: 16px;
    font-size: 0.95rem;
}

.card-link svg {
    width: 18px;
    height: 18px;
}

.card-link:hover {
    color: var(--bright-teal, #3498DB);
}

/* ---- HOMEPAGE: Why Section ---- */
.why {
    padding: 80px 0;
    background: var(--off-white, #F8FAFB);
}

.why .section-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--coral, #E57373);
    font-family: 'Space Mono', monospace;
    text-align: center;
    margin-bottom: 16px;
}

.why .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-slate, #1A2B32);
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.2;
}

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

.why-card {
    background: #fff;
    border: 1px solid #e0e8eb;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 91, 107, 0.08);
}

.why-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--deep-teal, #1E5B6B);
    fill: none;
    stroke-width: 1.5;
}

.why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-slate, #1A2B32);
    margin-bottom: 12px;
}

.why-card p {
    color: #5a7a84;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* ---- INNER PAGES: Capabilities Grid (Buyers, Platforms) ---- */
.capabilities {
    padding: 80px 0;
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cap-card {
    background: #fff;
    border: 1px solid #e0e8eb;
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cap-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 91, 107, 0.08);
}

.cap-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--deep-teal, #1E5B6B);
    margin-bottom: 12px;
}

.cap-card p {
    color: #5a7a84;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ---- INNER PAGES: Deals Section (Buyers) ---- */
.deals-section {
    padding: 80px 0;
    background: var(--off-white, #F8FAFB);
}

.deal-types {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.deal-type {
    background: #fff;
    border: 1px solid #e0e8eb;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.3s;
}

.deal-type:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 91, 107, 0.08);
}

.deal-type h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--deep-teal, #1E5B6B);
    margin-bottom: 8px;
}

.deal-type p {
    color: #5a7a84;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ---- INNER PAGES: Problem Section (Data Providers, Publishers) ---- */
.problem {
    padding: 80px 0;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.problem-card {
    background: #fff;
    border: 1px solid #e0e8eb;
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 91, 107, 0.08);
}

.problem-num {
    font-family: 'Space Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-teal, #E8F4F8);
    margin-bottom: 8px;
}

.problem-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--deep-teal, #1E5B6B);
    margin-bottom: 12px;
}

.problem-card p {
    color: #5a7a84;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ---- INNER PAGES: Intelligence Section (Data Providers, Publishers) ---- */
.intelligence {
    padding: 80px 0;
    background: var(--off-white, #F8FAFB);
}

.intel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.intel-card {
    background: #fff;
    border: 1px solid #e0e8eb;
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s;
}

.intel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 91, 107, 0.08);
}

.intel-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--deep-teal, #1E5B6B);
    margin-bottom: 12px;
}

.intel-card p {
    color: #5a7a84;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ---- INNER PAGES: Shift / Before-After Section (Data Providers, Publishers) ---- */
.shift {
    padding: 80px 0;
}

.shift-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: start;
}

.shift-col {
    background: #fff;
    border: 1px solid #e0e8eb;
    border-radius: 16px;
    padding: 32px;
}

.shift-col.before {
    border-left: 4px solid var(--coral, #E57373);
}

.shift-col.after {
    border-left: 4px solid var(--deep-teal, #1E5B6B);
}

.shift-col h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-slate, #1A2B32);
    margin-bottom: 16px;
}

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

.shift-col ul li {
    color: #5a7a84;
    padding: 8px 0;
    border-bottom: 1px solid #f0f4f5;
    line-height: 1.6;
    font-size: 0.95rem;
}

.shift-col ul li:last-child {
    border-bottom: none;
}

.shift-vs {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coral, #E57373);
    align-self: center;
    padding: 20px 0;
}

/* ---- INNER PAGES: Platform Types Section (Platforms) ---- */
.platform-types {
    padding: 80px 0;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.type-card {
    background: #fff;
    border: 1px solid #e0e8eb;
    border-radius: 16px;
    padding: 40px;
    transition: transform 0.3s;
}

.type-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 91, 107, 0.08);
}

.type-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--deep-teal, #1E5B6B);
    margin-bottom: 12px;
}

.type-card p {
    color: #5a7a84;
    line-height: 1.7;
    margin-bottom: 20px;
}

.type-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.type-card ul li {
    color: #5a7a84;
    padding: 8px 0 8px 24px;
    position: relative;
    line-height: 1.6;
    font-size: 0.95rem;
}

.type-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: var(--deep-teal, #1E5B6B);
    border-radius: 50%;
}

/* ---- SHARED: Section Headers (Inner Pages) ---- */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header .section-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--coral, #E57373);
    font-family: 'Space Mono', monospace;
    margin-bottom: 16px;
}

.section-header .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-slate, #1A2B32);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-header .section-subtitle {
    color: #5a7a84;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- RESPONSIVE: Tablet and Mobile ---- */
@media (max-width: 1024px) {
    .products-grid,
    .audience-grid,
    .intel-grid,
    .problem-grid,
    .types-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .shift-vs {
        text-align: center;
    }
}

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

    .deal-types {
        grid-template-columns: 1fr;
    }

    .products .section-title,
    .audiences .section-title,
    .why .section-title,
    .section-header .section-title {
        font-size: 1.8rem;
    }
}

/* ============================
   SPECIFICITY FIX: Problem Grid Override
   The original theme has .problem .problem-grid with 3 cols.
   We need higher specificity to override it to 2 cols.
   ============================ */
.problem .problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}


/* ============================
   FIX ROUND 2: Audience Cards + Footer Layout
   ============================ */

/* --- Audience Section: Override old dark-theme text colors --- */
.audience-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
}
.audience-card:hover {
    background: #f8fafb;
    transform: translateY(-4px);
}
.audience-card h3 {
    color: var(--dark-slate);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.audience-card h3 span {
    font-size: 1.5rem;
}
.audience-card p {
    color: #5a7a84;
    line-height: 1.7;
    margin-bottom: 16px;
}
.audience-card .pain {
    color: #7a8e96;
    font-style: italic;
    margin-bottom: 16px;
    padding-left: 16px;
    border-left: 2px solid var(--coral);
}
.audience-icon {
    margin-bottom: 16px;
}
.audience-icon svg {
    width: 48px;
    height: 48px;
}
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--deep-teal);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
}
.card-link:hover {
    color: var(--bright-teal);
}
.card-link svg {
    width: 18px;
    height: 18px;
}

/* --- Footer Layout Fix --- */
footer {
    background: var(--dark-slate);
    color: #fff;
    padding: 60px 0 40px;
}
footer .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.footer-brand {
    flex: 1;
    max-width: 360px;
}
.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 12px;
}
.footer-brand .logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}
.footer-brand .logo-icon svg {
    width: 36px;
    height: 36px;
}
.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}
.footer-links {
    display: flex;
    gap: 60px;
}
.footer-col h4 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: #fff;
}
.footer-bottom {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    margin: 0;
}

/* --- Footer responsive --- */
@media (max-width: 768px) {
    footer .container {
        flex-direction: column;
        gap: 40px;
    }
    .footer-brand {
        max-width: 100%;
    }
    .footer-links {
        gap: 40px;
    }
}


/* ============================================================
   FIX ROUND 3: !important overrides for audience cards + footer
   ============================================================ */
.audience-card { background: #fff !important; border: 1px solid #e2e8f0 !important; border-radius: 16px !important; padding: 32px !important; }
.audience-card:hover { background: #f8fafb !important; transform: translateY(-4px); }
.audience-card h3 { color: #1A2B32 !important; font-size: 1.25rem !important; font-weight: 600 !important; }
.audience-card h3 span { font-size: 1.5rem !important; }
.audience-card p { color: #5a7a84 !important; line-height: 1.7 !important; margin-bottom: 16px !important; }
.audience-card .pain { color: #7a8e96 !important; font-style: italic; margin-bottom: 16px; padding-left: 16px; border-left: 2px solid var(--coral); }
.audience-icon { margin-bottom: 16px; }
.audience-icon svg { width: 48px !important; height: 48px !important; }
.card-link { display: inline-flex !important; align-items: center; gap: 8px; color: var(--deep-teal) !important; font-weight: 500; text-decoration: none; font-size: 0.95rem; }
.card-link:hover { color: var(--bright-teal) !important; }
.card-link svg { width: 18px; height: 18px; }

/* Footer !important overrides */
footer .container { display: flex !important; justify-content: space-between !important; align-items: flex-start !important; gap: 60px !important; max-width: 1200px !important; margin: 0 auto !important; padding: 0 24px !important; }
.footer-brand { flex: 1 !important; max-width: 360px !important; }
.footer-brand .logo { display: flex !important; align-items: center !important; gap: 12px !important; text-decoration: none !important; margin-bottom: 12px !important; }
.footer-brand .logo-text { font-family: 'Outfit', sans-serif; font-size: 1.25rem !important; font-weight: 600 !important; color: #fff !important; }
.footer-brand .logo-icon svg { width: 36px !important; height: 36px !important; }
.footer-brand p { color: rgba(255,255,255,0.6) !important; font-size: 0.9rem !important; line-height: 1.6 !important; margin: 0 !important; }
.footer-links { display: flex !important; gap: 60px !important; }
.footer-col h4 { color: #fff !important; font-size: 0.85rem !important; font-weight: 600 !important; text-transform: uppercase !important; letter-spacing: 1px !important; margin-bottom: 16px !important; }
.footer-col a { display: block !important; color: rgba(255,255,255,0.6) !important; text-decoration: none !important; font-size: 0.9rem !important; line-height: 2 !important; transition: color 0.2s; }
.footer-col a:hover { color: #fff !important; }
.footer-bottom { display: flex !important; justify-content: center !important; max-width: 1200px !important; margin: 40px auto 0 !important; padding: 20px 24px 0 !important; border-top: 1px solid rgba(255,255,255,0.1) !important; }
.footer-bottom p { color: rgba(255,255,255,0.4) !important; font-size: 0.8rem !important; margin: 0 !important; }

@media (max-width: 768px) {
    footer .container { flex-direction: column !important; gap: 40px !important; }
    .footer-brand { max-width: 100% !important; }
    .footer-links { gap: 40px !important; }
}
