:root {
    /* Color Palette - Premium B2B */
    --primary-color: #0B1B32; /* Deep Blue */
    --accent-color: #E85A1D; /* Vibrant Orange */
    --accent-hover: #d14d15;
    --bg-color: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-gradient-start: #FFFFFF;
    --bg-gradient-end: #F8FAFC;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    
    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 5rem;
    
    /* Border Radius */
    --radius: 8px;
    --card-radius: 16px;
    --pill-radius: 50px;
}

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

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

/* Typography */
h1, h2, h3 {
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    font-weight: 800; /* Extra Bold per requirements */
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em; /* Tighter tracking for premium feel */
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.section-desc {
    font-size: 1.15rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
}

/* Override bg-alt for specific sections */
.problem-solution.bg-alt {
    background-color: var(--white); /* Pure white background for Problem section */
}

.bg-dark {
    background-color: var(--primary-color);
    color: var(--white);
}

.text-white h2 {
    color: var(--white);
}

.text-light {
    color: rgba(255, 255, 255, 0.8);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smooth bounce */
    cursor: pointer;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.95rem;
    border-radius: var(--pill-radius); /* Also pill for header button consistency */
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: var(--pill-radius); /* Pill shape */
    box-shadow: 0 10px 25px rgba(232, 90, 29, 0.3); /* Soft glow */
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-4px); /* Lift effect */
    box-shadow: 0 15px 35px rgba(232, 90, 29, 0.4); /* Stronger glow */
}

/* Reassurance Text */
.reassurance-text {
    font-size: 0.9rem;
    color: #4B5563; /* Dark gray */
    margin-top: 12px;
    margin-bottom: 0; /* Override default p margin-bottom */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    max-width: 350px; /* Constrain width for better readability */
    margin-left: auto;
    margin-right: auto;
}

/* === NEW STICKY HEADER === */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08); /* Soft shadow */
    padding: 15px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo {
    height: 50px; /* Specific height for logo */
    width: auto;
    display: block;
}

/* Desktop Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700; /* Increased from 600 to 700 for more prominence */
    font-size: 1rem;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--accent-color);
}

/* Mobile: Hide Nav Links default */
.main-nav {
    display: none;
}

/* === HERO SECTION === */
.hero {
    padding: 5rem 0 var(--spacing-lg);
    background: linear-gradient(to bottom, var(--bg-gradient-start), var(--bg-gradient-end));
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px; /* Rounded per requirements */
    box-shadow: 0 20px 40px rgba(11, 27, 50, 0.1); /* Soft, diffuse shadow */
    display: block;
}

/* Split Cards Layout (Problem/Solution) */
.section-header {
    text-align: center;
    margin-bottom: 30px; /* Reduced margin */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.split-cards-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile default */
    gap: 20px; /* Smaller gap on mobile */
}

.split-card {
    border-radius: 16px;
    padding: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.card-before {
    background-color: #F9FAFB; /* Light Gray */
    border: 1px solid #F3F4F6;
}

.card-before h3 {
    color: #495057;
}

.card-before .card-image {
    filter: saturate(0.8) sepia(0.1); /* Muted/Old feel */
}

/* FIX: Enhanced Card After Style */
.card-after {
    background-color: #FFFFFF;
    /* Luxury soft shadow */
    box-shadow: 0 20px 60px -15px rgba(232, 90, 29, 0.15);
    /* Thin orange top border */
    border-top: 3px solid var(--accent-color); /* Use CSS variable for consistency */
    border-radius: 16px;
    overflow: hidden; /* Prevent image overflow */
}

.card-after h3 {
    color: var(--primary-color); /* Use CSS variable for consistency */
}

.card-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px; /* Space between H3 and image */
    margin-bottom: 20px; /* Space between image and desc */
    display: block;
    order: 0; /* Ensure standard flow if flex modified */
}

.card-desc {
    font-size: 1.1rem; /* Updated size from prompt example */
    line-height: 1.5;
    color: var(--text-color);
    margin-bottom: 0;
}

.card-desc strong {
    font-weight: 800; /* Extra bold for the icon part */
    font-size: 1.1rem; /* Match parent size */
}

/* FIX: Arrow Divider - Aggressive Override */
.split-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0; /* For mobile spacing */
    z-index: 10; /* Ensure it's above cards if overlapping slightly */
    transform: rotate(90deg); /* Rotate RIGHT arrow to point DOWN on mobile */

    /* Inline styles for basic appearance (font-size, color, padding, line-height) */
    /* Remove conflicting CSS properties to let inline styles take precedence for visual appearance */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important; /* Resetting padding from any inherited styles */
}

/* Benefits Cards */
.benefits {
    background-color: #F4F6F8; /* New Section Background */
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 30px; /* Compact padding */
    border-radius: var(--card-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid transparent; /* Prevent layout shift on hover */
    transition: all 0.3s ease;
    text-align: center; 
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(11, 27, 50, 0.1); /* Stronger shadow */
    border-color: var(--accent-color); /* Orange border */
}

.benefit-card h3 {
    color: #0B1B32; /* Dark Blue */
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: #4B5563; /* Gray text */
    font-size: 1rem;
    line-height: 1.5;
}

.benefit-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: block;
    object-fit: contain;
}

/* Omnichannel Dark Section */
.omnichannel {
    background-color: #020617; /* Very dark, almost black background */
    color: #ffffff;
    padding: 60px 0; /* Compact padding */
}

.omnichannel .section-header {
    margin-bottom: 30px; /* Reduced margin */
}

.omnichannel h2 {
    color: #ffffff;
}

.omnichannel .section-desc {
    color: #9CA3AF;
}

.diagram-image {
    /* Vignette mask */
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 90%);
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 90%);
    width: 100%; /* Ensure it's responsive */
    max-width: 350px; /* Mobile constraint */
    margin: 0 auto 50px; /* Center and add bottom margin (50px as per requirement) */
    display: block;
}

.omni-features-wrapper {
    max-width: 800px; /* Wrapper for feature grid */
    margin: 0 auto; /* Center the wrapper */
}

.omni-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 0; /* Adjusted margin */
    text-align: center; /* Center align text inside grid items for mobile */
}

.omni-feature h3 {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin-top: 16px; /* Added margin-top to separate from the accent line */
    margin-bottom: 0.5rem;
}

/* New accent line style */
.omni-accent-line {
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
    margin: 0 auto 16px auto; /* Centered with bottom margin */
    border-radius: 2px; /* Slight rounding for glow effect */
}


.omni-feature h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.omni-feature p {
    color: #9CA3AF;
    font-size: 1rem;
}

/* Hero Eyebrow Text */
.hero-eyebrow {
    color: #4A5568; /* Dark gray with blue tint */
    font-weight: 500; /* Medium */
    font-size: 0.875rem; /* 14px */
    text-transform: uppercase;
    letter-spacing: 0.2em; /* Increased spacing */
    margin-bottom: 16px;
    display: flex; /* Use flex to align line and text */
    align-items: center; /* Vertically align items */
    justify-content: center; /* Center horizontally for mobile */
}

.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: #FF6600; /* Accent Orange */
    margin-right: 10px;
}

@media (min-width: 1024px) {
    .hero-eyebrow {
        justify-content: flex-start; /* Align left on desktop */
    }
}

/* WhatsApp Final CTA Section */
.whatsapp-cta {
    background: linear-gradient(to right, rgba(11, 28, 62, 0.95), rgba(11, 28, 62, 0.85)), url('barbershop_table.webp');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 100px 0;
}

.whatsapp-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
}

.whatsapp-cta-text {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.whatsapp-cta-text h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.whatsapp-cta-text .section-desc {
    color: #FFFFFF;
    font-size: 1.2rem;
    margin-bottom: 0;
    opacity: 0.95;
}

.whatsapp-cta-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 35px 80px -20px rgba(0, 0, 0, 0.7);
    text-align: center;
    width: 100%;
    max-width: 480px;
    color: #333333;
    margin: 0 auto;
}

.card-header-text {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FF6600;
    width: 100%;
    padding: 20px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(255, 102, 0, 0.45);
    text-decoration: none;
    color: #ffffff;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #e65500;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(255, 102, 0, 0.6);
}

.cta-note {
    display: none;
}

/* Desktop Layout for CTA */
@media (min-width: 768px) {
    .whatsapp-cta-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }

    .whatsapp-cta-text {
        text-align: left;
        flex: 1;
        padding-right: 4rem;
        margin: 0;
    }
    
    .whatsapp-cta-text .section-desc {
        margin-left: 0;
        margin-right: 0;
    }

    .whatsapp-cta-card {
        flex: 1;
        margin-left: auto;
        margin-right: 0;
    }
}

/* Offer Banner */
.offer-banner {
    background-color: #FF6600;
    color: #ffffff;
    text-align: center;
    padding: 2rem 0;
}

.offer-text {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    line-height: 1.4;
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .offer-text {
        font-size: 1.5rem;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Full Footer */
.site-footer {
    background-color: #F8FAFC;
    padding: 80px 0 0; /* Remove bottom padding from container */
    font-size: 0.95rem;
    color: #4B5563;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 2rem;
    margin-bottom: 0; /* Remove bottom margin */
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    color: #111827;
}

.footer-about {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-about p {
    margin-bottom: 0;
    max-width: 280px;
}

.footer-logo {
    height: 40px;
    width: auto;
    display: block;
    margin-bottom: 1rem;
}

.footer-eyebrow {
    color: #4A5568;
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    line-height: 1;
}

.footer-eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: #FF6600;
    margin-right: 10px;
}

.footer-tagline {
    color: #6B7280;
    font-size: 0.95rem;
    margin-top: 0.75rem;
    line-height: 1.4;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

/* Nav */
.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav li + li {
    margin-top: 0.75rem;
}

.footer-nav a,
.footer-link {
    color: #4B5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-nav a:hover,
.footer-link:hover {
    color: var(--accent-color);
}

/* Contact Column */
.contact-item {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mt-4 {
    margin-top: 0;
}

.whatsapp-link {
    display: flex;
    align-items: center; /* Changed from flex-start to center */
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0B1C3E;
    text-decoration: none;
    line-height: 1.2;
}
.whatsapp-link svg {
    flex-shrink: 0; /* Prevent icon from shrinking */
    margin-right: 0; /* Remove redundant margin */
}

.whatsapp-link:hover {
    color: #22C55E;
}

.contact-subtext {
    display: block;
    font-size: 0.9rem;
    color: #9CA3AF;
    margin-top: 5px; /* Changed margin-top */
}

.email-link {
    display: flex; /* Added flex */
    align-items: center; /* Added align-items */
    gap: 12px; /* Added gap */
}

.email-link svg {
    flex-shrink: 0; /* Prevent icon from shrinking */
    margin-right: 0 !important; /* Remove inline style margin if gap is used */
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: #9CA3AF;
    padding: 24px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    text-align: center;
    width: 100%;
}

@media (min-width: 768px) {
    .footer-main {
        display: grid;
        grid-template-columns: 2fr 1fr 1.5fr;
        gap: 4rem;
        align-items: flex-start;
    }
}

/* Media Queries for Responsive Design */
@media (min-width: 768px) {
    /* Show Nav on Desktop */
    .main-nav {
        display: block;
    }

    /* Spacing */
    .section-padding {
        padding: 80px 0; /* Slightly reduced for desktop rhythm */
    }

    /* Hero Desktop */
    .hero-content {
        flex-direction: row;
        align-items: center; /* Vertically centered */
        text-align: left;
    }

    .hero-text {
        flex: 1;
        padding-right: 4rem;
    }

    .hero-image {
        flex: 1;
        width: auto; 
        max-width: 50%; /* Max-width on image */
        max-height: 500px;
        object-fit: contain;
    }

    /* Global Font Size adjustments */
    body {
        font-size: 16px;
    }

    h1 {
        font-size: 3.5rem; /* 3.5rem per requirements */
        line-height: 1.1;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    
    p {
        max-width: 75ch;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Specific alignment for hero text on desktop (revert center from global p rule if needed) */
    .hero-text p {
        margin-left: 0;
        margin-right: 0;
        max-width: 90%;
    }

    /* Split Cards Desktop Grid */
    .split-cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px; /* Larger gap to fit arrow */
        position: relative;
    }
    
    /* Desktop Centered Arrow */
    .split-arrow {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* Centered, NO rotation (points Right) */
        margin: 0;
        
        /* Inline styles handle visual, just need positioning */
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        
        /* Ensure font-size and color are respected from inline or parent */
        z-index: 2; /* Ensure it's on top of everything */
    }

    /* Benefits Grid Desktop (2x2) */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px; /* Compact gap */
    }
    
    /* Omni Features Desktop */
    .omni-features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem; /* Compact gap for features */
    }

    .diagram-image {
        max-width: 500px; /* Desktop image constraint */
        margin: 0 auto 50px; /* Center and add bottom margin */
    }
    
    .omnichannel .section-header {
        margin-bottom: 40px; /* Adjust margin between header and image */
    }

}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero {
        padding-top: 40px; /* Reduced top padding for hero section */
        padding-bottom: 40px; /* Also reduce bottom padding for mobile */
    }

    .hero-eyebrow {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
        justify-content: center;
    }

    h1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-text .btn-primary {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        display: flex;
    }
    
    .hero-text {
        text-align: center;
    }

    .hero-image {
        margin-top: 30px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    
    .logo-text {
        display: none; /* Ensure header text is hidden on mobile */
    }
}
