/* SmartPolytics Official Stylesheet 
    Theme: Professional, Secure, Data-Driven
*/

:root {
    --primary: #0056b3;
    --secondary: #004085;
    --accent: #28a745;
    --text-dark: #1a1d20;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --dark-section: #0f1113;
    --monitor-bg: #1a1d21;
}

/* Global Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

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

/* Typography */
h1, h2, h3 {
    color: var(--secondary);
    font-weight: 700;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 30px; 
}

/* Header & Navigation */
header {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}
/* Hero Blue Section Styling */
.hero-blue {
    background-color: #2b579a; /* The specific Campaign Partner blue */
    color: white;
    padding: 100px 0 160px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content-centered {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-blue h1 {
    font-size: 64px; /* Bold, large headline */
    color: white;
    line-height: 1.1;
    margin: 20px 0;
    font-weight: 800;
}

.hero-blue h2 {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.hero-blue p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Hero Badge */
.badge-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.1);
}

/* --- HERO CTA BUTTONS (Evenly Distributed) --- */
.hero-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;               /* Space between the two buttons */
    margin-top: 35px;
    width: 100%;
}

.hero-cta-group .btn-yellow {
    /* flex: grow | shrink | basis */
    /* Basis ensures both start at the same width for perfect symmetry */
    flex: 0 1 280px;         
    background-color: #ffcc29; 
    color: #1a1d20 !important;
    padding: 18px 0;         /* Vertical padding; width is controlled by flex-basis */
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    text-align: center;      /* Centers the text inside the button */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    white-space: nowrap;     /* Keeps "See Winnability Analysis" on one line */
}

.hero-cta-group .btn-yellow:hover {
    transform: scale(1.03);
    background-color: #f7c000;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 650px) {
    .hero-cta-group {
        flex-direction: column; /* Stack buttons on small screens */
        gap: 15px;
    }
    
    .hero-cta-group .btn-yellow {
        flex: none;
        width: 100%;
        max-width: 320px; /* Limits width so they don't look too stretched on mobile */
    }
}

.btn-yellow {
    background-color: #ffcc29; /* */
    color: #1a1d20 !important;
    padding: 18px 50px; /* Slightly wider for a stronger single CTA */
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.btn-yellow:hover {
    transform: scale(1.05);
}
/* Schedule Page Layout */
.bg-light { background-color: #f8f9fa; }

.nav-minimal {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
}

.schedule-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    padding: 60px 0;
    align-items: start;
}

.schedule-info h1 {
    font-size: 42px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.demo-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.demo-list li {
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-list i { color: var(--primary); }

.schedule-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}

/* Form Styling */
.form-group { margin-bottom: 20px; }
.form-row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 14px;
    color: var(--secondary);
    text-transform: uppercase;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #edf2f7;
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.full-width { width: 100%; text-align: center; }

/* Responsive */
@media (max-width: 992px) {
    .schedule-container { grid-template-columns: 1fr; gap: 40px; }
}

/* Update the button group layout */
.cta-group-centered {
    display: flex;
    justify-content: center;
    gap: 20px; /* Adds space between the two yellow buttons */
    margin-top: 20px;
}

/* Ensure the yellow button styling is robust */
.btn-yellow {
    background-color: #ffcc29; 
    color: #1a1d20 !important;
    padding: 18px 35px; /* Slightly adjusted padding for balance */
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-yellow:hover {
    transform: scale(1.05);
    background-color: #f7c000; /* Slightly deeper yellow on hover */
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Mobile Responsiveness for side-by-side buttons */
@media (max-width: 600px) {
    .cta-group-centered {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-yellow {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}



/* Dashboard Preview Styling */
.dashboard-preview {
    margin-top: -120px; /* Pulls the image up into the hero blue section */
    position: relative;
    z-index: 10;
    padding-bottom: 40px;
}

.monitor-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #1a1d21; /* Matches your monitor-bg */
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    line-height: 0; /* Removes bottom gap under image */
}

.dashboard-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

/* Ensure the Problem section starts with enough room */
.problem {
    padding-top: 60px; /* Adjust to control the gap after the image */
}

.simulator-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
    padding: 40px 0;
}

.lever-group { margin-bottom: 30px; }
.lever-group label { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 10px; }

.slider {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 5px;
    appearance: none;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
}

.result-card {
    background: var(--dark-section);
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 20px;
}
.simulator-display {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers the result card vertically relative to the sliders */
    gap: 20px;
}

.score-circle {
    font-size: 48px;
    font-weight: 900;
    color: #ffcc29;
    margin: 20px 0;
}

.insight-success { color: #28a745; background: rgba(40, 167, 69, 0.1); padding: 15px; border-radius: 8px; }
.insight-neutral { color: #ffc107; background: rgba(255, 193, 7, 0.1); padding: 15px; border-radius: 8px; }
.insight-danger { color: #dc3545; background: rgba(220, 53, 69, 0.1); padding: 15px; border-radius: 8px; }

.mini-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eee; font-size: 14px; }

@media (max-width: 992px) {
    .simulator-layout { grid-template-columns: 1fr; }
}

/* Bottom Curve Effect */
.hero-curve {
    position: absolute;
    bottom: -165px;
    left: -265px;
    width: 1500px;
    line-height: 0;
}

.hero-curve svg {
    width: 100%;
    height: 100px;
}

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

/* Standard Logo (For White Header) */
.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary); /* "Smart" in Blue */
    letter-spacing: -1px;
}

.logo span {
    color: var(--text-dark); /* "Polytics" in Dark/Black */
}

/* Footer Logo (For Dark Footer) */
.logo-light span {
    color: var(--white); /* "Polytics" in White */
}

/* Dashboard Showcase Styling */
.dashboard-showcase {
    margin-top: -100px; /* Pulls the images up into the hero blue curve */
    position: relative;
    z-index: 100;
    padding-bottom: 60px;
}

.showcase-grid {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
}

/* Common Monitor Frame Styling */
.monitor-frame {
    background: #1a1d21; /* Dark frame color */
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    line-height: 0;
}

.monitor-frame img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

/* Main Image sizing */
.showcase-main {
    flex: 2;
    max-width: 750px;
}

/* Side Image sizing (Smaller & slightly offset) */
.showcase-side {
    flex: 1;
    max-width: 350px;
    margin-bottom: 40px; /* Sits slightly higher than the main one */
    opacity: 0.9;
    transform: rotate(2deg); /* Subtle tilt for a dynamic feel */
}

/* Feature Gallery Layout */
.feature-gallery {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.monitor-style {
    background: #1a1d21;
    padding: 6px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    height: auto;
    display: block;
}

.gallery-main {
    width: 85%;
    z-index: 3;
    position: relative;
}

.gallery-sub-stack {
    position: absolute;
    right: 0;
    top: 10%;
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 4;
}

.monitor-style.small {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    transform: translateX(20px); /* Offsets the smaller images to the right */
}
/* Enhanced Centered Group Titles */
.feature-group {
    margin-top: 120px;
    padding-top: 60px;
    border-top: 1px solid #eee;
    text-align: center; /* Centers the header content */
}

.group-header {
    display: flex;
    flex-direction: column; /* Stacks number on top of text */
    align-items: center;
    justify-content: center;
    margin-bottom: 80px;
}

.group-number {
    background: var(--primary);
    color: white;
    font-size: 28px;
    font-weight: 900;
    padding: 12px 28px;
    border-radius: 50px; /* Circular badge look */
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
}

.group-title {
    font-size: 42px; /* Much bigger as requested */
    font-weight: 900;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: -1px;
    max-width: 800px;
    line-height: 1.2;
}

/* Re-ensuring feature rows stay aligned properly even if header is centered */
.feature-row {
    text-align: left; /* Keeps your feature descriptions readable */
    margin-bottom: 100px;
}
/* Feature Tags styling for better UI */
.feature-tags {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.feature-tags span {
    font-size: 13px;
    background: #f0f7ff;
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 15px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 8px 12px;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: white !important;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

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

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #fdfdfd 0%, #e9ecef 100%);
    text-align: center;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.large {
    padding: 16px 36px;
    font-size: 18px;
}

/* Problem Cards */
.problem {
    padding: 60px 0;
    background: var(--white);
}

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

.card {
    padding: 40px 30px;
    background: var(--white);
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.card i {
    font-size: 45px;
    color: #dc3545;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
}

/* Zigzag Features Section */
.features {
    padding: 40px 0 20px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 40px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-gallery {
    z-index: 12;
}

.feature-icon-box {
    flex: 1;
    background: #f0f7ff;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    font-size: 110px;
    color: var(--primary);
}

.feature-text {
    flex: 1;
}

.feature-number {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 10px;
}

.feature-text h3 {
    font-size: 32px;
    margin-bottom: 15px;
}

.feature-text p {
    font-size: 18px;
    color: var(--text-light);
}

/* Deliverables Grid Section */
.deliverables-bg {
    background: linear-gradient(to bottom, var(--secondary) 50%, var(--white) 50%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.deliverables-header h2 {
    color: white;
    font-size: 42px;
    margin: 15px 0;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Container for the 3x2 grid */
.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px; /* Added gap between cards for better visibility */
    margin: 40px 0;
    /* Removed the background/border from the container itself to keep it clean */
}

/* Individual Grid Items - White Opacity Removed */
.d-item {
    /* Switch to a darker, subtle black overlay to tint the blue background */
    background: rgba(0, 0, 0, 0.15); 
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    font-weight: 500;
    border-radius: 12px;
    /* Added a very subtle border to define the shape without white glare */
    border: 1px solid rgba(255, 255, 255, 0.05); 
    color: white;
    transition: background 0.3s ease;
}

/* Optional hover state to match your professional theme */
.d-item:hover {
    background: rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.15);
}
.deliverables-footer {
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
}

/* Strategic Comparison Grid */
.comparison {
    padding: 80px 0;
    background-color: #fcfdfe;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    gap: 15px;
    margin-top: 40px;
}

.comp-header {
    padding: 20px;
    font-weight: 800;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

.label-trad { background: #f8f9fa; border: 1px solid #dee2e6; color: #495057; }
.label-smart { background: var(--primary); color: white; }

.comp-feature {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--secondary);
    padding: 20px;
}

.comp-val {
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: white;
    border: 1px solid #f1f3f5;
}

.comp-val.smart { background: #e7f3ff; border: 1px solid rgba(0, 86, 179, 0.1); color: var(--secondary); }
.comp-val.trad i { color: #e03131; }
.comp-val.smart i { color: var(--accent); }

/* Hardened Security - Full Width & Reduced Padding */
.security-full-width {
    background-color: #1a1d20;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    /* Reduced padding from 80px to 40px */
    padding: 40px 0; 
    color: white;
    z-index: 1;
}

.security-monitor {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--monitor-bg);
    border: 1px solid #333;
    border-radius: 16px;
    /* Removed aspect-ratio to allow height to be smaller based on padding */
    display: flex;
    align-items: center;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    overflow: hidden;
}

.security-content {
    display: flex;
    align-items: center;
    gap: 40px; /* Reduced gap slightly */
    padding: 30px 50px; /* Smaller internal padding */
    width: 100%;
}

.security-icon {
    flex: 0 0 150px; /* Slightly smaller icon container */
    font-size: 80px; /* Slightly smaller icon */
    color: var(--primary);
    text-align: center;
    position: relative;
}

.security-icon .fa-lock {
    font-size: 28px;
    position: absolute;
    bottom: 5px;
    right: 15px;
    color: var(--accent);
    background: var(--monitor-bg);
    padding: 5px;
    border-radius: 50%;
}

.security-text h2 { 
    font-size: 32px; /* Slightly smaller heading */
    margin-bottom: 15px; 
    color: white; 
}

.security-text p { 
    font-size: 16px; /* Slightly smaller text */
    color: #adb5bd; 
    margin-bottom: 20px; 
}

.security-specs { 
    display: flex; 
    gap: 12px; 
    flex-wrap: wrap; 
}

.security-specs span {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .security-monitor {
        width: 90%;
    }
    .security-content {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }
    .security-specs {
        justify-content: center;
    }
}

/* Professional Footer Styling */
.footer-full-width {
    background-color: #0f1113; /* Deep Charcoal */
    color: #ffffff;
    padding: 80px 0 40px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Brand Column */
.footer-brand .logo {
    font-size: 28px;
    margin-bottom: 20px;
    color: white;
}

.footer-brand p {
    color: #adb5bd;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #6c757d;
    font-size: 20px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary);
}

/* Nav Columns */
.footer-nav h4, .footer-contact-info h4 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav ul li a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-nav ul li a:hover {
    color: white;
    padding-left: 5px;
}

/* Contact Info */
.footer-contact-info p {
    color: #adb5bd;
    font-size: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-outline-white {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6c757d;
    font-size: 14px;
}

.footer-meta i {
    color: #28a745; /* Success green for security icon */
    margin-right: 5px;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Specific positioning for the Reverse Row (Feature 02) */
.gallery-sub-stack-left {
    position: absolute;
    left: -20px; /* Positions it to peek out from the left */
    top: 15%;
    width: 50%;
    z-index: 4;
}

.monitor-style.small-left {
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: rotate(-2deg); /* Subtle tilt for a professional stacked look */
    transition: transform 0.3s ease;
}

.monitor-style.small-left:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 10;
}

/* Expand problem grid for 5 cards */
.problem .grid-3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.problem .card {
    flex: 1 1 300px;
    max-width: 350px;
}

/* NEW: Full-Width Background Wrapper */
.deliverables-full-width {
    background-color: var(--secondary); /* The deep blue color */
    width: 100vw; /* Forces the background to the viewport width */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 80px 0;
    text-align: center;
    color: white;
}

/* Ensure content stays centered and restricted */
.deliverables-full-width .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header adjustments for visibility */
.deliverables-header h2 {
    color: white;
    font-size: 42px;
    margin-bottom: 20px;
}

.deliverables-header p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Grid layout remains 3x2 */
.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

/* Grid items with consistent styling */
.d-item {
    background: rgba(255, 255, 255, 0.1); 
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

/* Responsive fix for mobile */
@media (max-width: 768px) {
    .deliverables-grid {
        grid-template-columns: 1fr;
    }
}


/* Final CTA: Full Width & White Background */
.cta-final-full-width {
    background-color: var(--white);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 100px 0; /* Generous padding for a clean, open feel */
    text-align: center;
    border-top: 1px solid #f0f0f0; /* Subtle line to separate from content above */
}

.cta-final-full-width h2 {
    font-size: 48px;
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-final-full-width p {
    font-size: 20px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Button specific for the white section to make it pop */
.btn-primary-blue {
    background-color: #0056b3; /* Use your primary brand blue */
    color: white !important;
    padding: 18px 45px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 18px;
    display: inline-block;
    transition: background 0.3s ease;
}

.btn-primary-blue:hover {
    background-color: #004085;
}

/* Specific positioning for the Reverse Row (Feature 02) */
.gallery-sub-stack-left {
    position: absolute;
    left: -20px; /* Positions it to peek out from the left */
    top: 15%;
    width: 50%;
    z-index: 4;
}

.monitor-style.small-left {
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: rotate(-2deg); /* Slight tilt for a professional "stacked" look */
}

/* Ensure the gallery container maintains its height */
.feature-gallery {
    perspective: 1000px; /* Adds a subtle 3D depth to the stack */
}
/* Styling for the Gallery sub-stack on standard rows */
.gallery-sub-stack {
    position: absolute;
    right: -10px; /* Slight offset to the right */
    top: 20%;
    width: 48%;
    z-index: 4;
}

.monitor-style.small {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transform: rotate(1deg); /* Subtle tilt for visual interest */
    transition: transform 0.3s ease, z-index 0.3s ease;
}

/* Optional: Make the small image pop forward when hovered */
.monitor-style.small:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 10;
    cursor: zoom-in;
}

/* Specific styling for Feature 04 Analysis Stack */
.gallery-sub-stack-left {
    position: absolute;
    left: -30px; /* Overlaps slightly to the left */
    bottom: 10%;
    width: 55%;
    z-index: 5;
}

.monitor-style.small-left {
    box-shadow: -15px 15px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: rotate(-1.5deg); /* Professional offset */
    transition: all 0.3s ease;
}

.monitor-style.small-left:hover {
    transform: scale(1.03) rotate(0deg);
    z-index: 10;
}

/* Ensure the container height is consistent for large images */
.feature-gallery {
    min-height: 450px;
}

/* Specific styling for Feature 05 Mapping Stack */
.gallery-sub-stack {
    position: absolute;
    right: -20px;
    top: 15%;
    width: 50%;
    z-index: 5;
}

.monitor-style.small {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 86, 179, 0.3); /* Themed blue border */
    transform: rotate(2deg);
    transition: all 0.3s ease;
}

/* Hover effect to simulate a digital "Zoom" */
.feature-gallery:hover .monitor-style.small {
    transform: scale(1.05) rotate(0deg) translateX(-10px);
    z-index: 10;
}

/* Ensure the gallery container maintains height for map views */
.feature-gallery {
    min-height: 420px;
}

/* Specific styling for Feature 06 Survey Stack */
.gallery-sub-stack-left {
    position: absolute;
    left: -25px; /* Pulls it out to the left side */
    top: 20%;
    width: 52%;
    z-index: 5;
}

.monitor-style.small-left {
    box-shadow: -15px 15px 45px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: rotate(-1deg); /* Subtle professional tilt */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.monitor-style.small-left:hover {
    transform: scale(1.04) rotate(0deg) translateX(10px);
    z-index: 10;
}

/* Maintain gallery spacing */
.feature-gallery {
    min-height: 440px;
}

/* Feature 07: Sentiment Intelligence Stack */
.gallery-sub-stack {
    position: absolute;
    right: -30px;
    top: 5%;
    width: 50%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Floating Animation for the 'Intelligence' layers */
.monitor-style.small.floating-1 { transform: translate(10px, -20px) rotate(2deg); z-index: 6; }
.monitor-style.small.floating-2 { transform: translate(-30px, 10px) rotate(-1deg); z-index: 4; }
.monitor-style.small.floating-3 { transform: translate(20px, 40px) rotate(3deg); z-index: 7; }

.feature-gallery:hover .monitor-style.small {
    transform: translate(0, 0) scale(1.05);
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Ensure the tags match the branding */
.feature-tags span {
    background: #eef2ff; /* Soft indigo for AI/Intelligence features */
    color: #4338ca;
    border: 1px solid rgba(67, 56, 202, 0.1);
}

/* Countdown Hero Styling */
.countdown-container {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInDown 0.8s ease-out;
}

.countdown-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    font-weight: 600;
}

.countdown-grid {
    display: flex;
    gap: 15px;
}

.count-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 12px;
    min-width: 80px;
    text-align: center;
}

.count-item span {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #ffcc29; /* Using your brand yellow for the numbers */
    line-height: 1;
}

.count-item small {
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* Toggle Switch Styling */
.toggle-container {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #edf2f7;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider-toggle {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e0;
    transition: .4s;
    border-radius: 24px;
}

.slider-toggle:before {
    position: absolute;
    content: "";
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider-toggle { background-color: var(--primary); }
input:checked + .slider-toggle:before { transform: translateX(26px); }

.simulator-select {
    width: 100%;
    padding: 12px 15px;
    background: #ffffff;
    border: 2px solid #edf2f7;
    border-radius: 10px;
    font-size: 16px;
    color: var(--text-dark);
    font-family: inherit;
    cursor: pointer;
    margin-top: 10px;
    appearance: none; /* Modern clean look */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.simulator-select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Responsive Fix for Mobile */
@media (max-width: 480px) {
    .countdown-grid { gap: 8px; }
    .count-item { padding: 8px 10px; min-width: 65px; }
    .count-item span { font-size: 20px; }
}

    /* Responsive: Stack images vertically on mobile */
    @media (max-width: 992px) {
        .gallery-sub-stack {
            position: static;
            width: 100%;
            margin-top: 15px;
        }
        .monitor-style.small {
            transform: none;
        }
    }
    /* Responsive Grid Fix */
    @media (max-width: 768px) {
        .deliverables-grid {
            grid-template-columns: 1fr;
        }
    }

    /* Responsive Queries */
    @media (max-width: 992px) {
        .feature-row, .feature-row.reverse, .comparison-grid {
            grid-template-columns: 1fr;
            text-align: center;
        }
        .comp-header-blank, .comp-feature { display: none; }
        .security-monitor { aspect-ratio: auto; }
        .security-content { flex-direction: column; padding: 40px 20px; }
        .deliverables-grid { grid-template-columns: 1fr; }
    }

    @media (max-width: 768px) {
        .hero h1 { font-size: 38px; }
        .grid-3 { grid-template-columns: 1fr; }
        .cta-group { flex-direction: column; }
        .footer-grid { grid-template-columns: 1fr; gap: 40px; }
        .deliverables-bg { background: var(--secondary); }
    }
