/* =========================================
   Variables & Reset
   ========================================= */
:root {
    /* Colors */
    --color-magenta: #D50057;
    --color-purple: #663399;
    --color-purple-dark: #3D1152;
    --color-black: #222222;
    --color-white: #F2F2F2;
    --color-gray-light: #E9E9E9;
    --color-text-gray: #CCCCCC;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Manrope', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-white);
    color: var(--color-black);
    line-height: 1.5;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* =========================================
   Utilities
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.text-light {
    color: var(--color-white);
}

.text-dark {
    color: var(--color-black);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-magenta), var(--color-purple));
    color: var(--color-white);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

section {
    padding: var(--spacing-lg) 0;
}

/* =========================================
   Header
   ========================================= */
.header {
    background: linear-gradient(to right, #D50057, #663399);
    /* Gradient as requested */
    padding: 0.8rem 2rem;
    /* Compact padding inside pill */
    position: fixed;
    /* Fixed to accompany scroll */
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    border-radius: 50px;
    /* Rounded edges like a button/pill */
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: none;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Remove gradient from header button, make it solid black for contrast */
.header-actions .btn {
    background: var(--color-black) !important;
    background-image: none !important;
    color: var(--color-white);
}

.nav-menu {
    display: none;
    /* Mobile first hidden, shown on desktop */
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--color-white);
    font-weight: 500;
    font-size: 1.1rem;
    /* Increased size */
}

.nav-link:hover {
    color: var(--color-magenta);
}

.arrow {
    font-size: 0.7rem;
    margin-left: 4px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    margin-bottom: 5px;
}

/* Dropdown Menu Styles */
.nav-item.dropdown {
    position: relative;
    /* For absolute positioning of menu */
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-black);
    min-width: 200px;
    list-style: none;
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid #333;
    border-radius: var(--radius-sm);

    /* Animation Initial State */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-item.dropdown:hover .dropdown-menu {
    /* Animation End State */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 4px;
    font-size: 0.7rem;
}

.nav-item.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #F2F2F2;
    /* Light grey for better contrast on dark background */
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.dropdown-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-magenta);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    background-color: var(--color-black);
    color: var(--color-white);
    padding-top: 200px;
    /* Increased to fit fixed header */
    padding-bottom: 0;
    /* Strip is inside */
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-gray);
    margin-bottom: var(--spacing-md);
    max-width: 600px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--spacing-xl);
}

.brand-strip {
    background: linear-gradient(to right, #D50057, #663399);
    padding: 2.5rem 0;
    margin-top: auto;
    width: 100%;
    overflow: hidden;
    /* Hide overflow for marquee */
    white-space: nowrap;
    position: relative;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content;
    animation: scroll 25s linear infinite;
    will-change: transform;
}

/* Pause animation on hover for user interaction */
.marquee-track:hover {
    animation-play-state: paused;
}

/* Marquee Keyframes */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Move half the width (since content is duplicated) */
    }
}

.brand-logo {
    height: 28px;
    /* Adjusted height */
    width: auto;
    opacity: 0.8;
    filter: grayscale(100%) brightness(200%);
    /* Make white */
    transition: opacity 0.3s;
}

.brand-logo:hover {
    opacity: 1;
}

/* =========================================
   Our Network
   ========================================= */
.network {
    background-color: var(--color-white);
    padding: var(--spacing-xl) 0;
}

/* Enforce consistent title styling */
.network .section-title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: var(--color-black);
}

.map-wrapper {
    position: relative;
    max-width: 100%;
    /* Increased from 1000px to fill container */
    margin: 0 auto;
}

.map-bubble {
    position: absolute;
    /* Default state: just a marker point */
    width: 20px;
    height: 20px;
    background-color: var(--color-magenta);
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 4px rgba(213, 0, 87, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
    /* Center content logic removal since it's now hidden initially */
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-bubble:hover {
    z-index: 20;
    /* Expand to fit content on hover */
    width: max-content;
    max-width: 220px;
    /* reasonable max width */
    height: auto;
    border-radius: var(--radius-md);
    padding: 0.8rem 1.2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background-color: var(--color-magenta);
}

.bubble-content {
    display: none;
    /* Hidden by default */
    flex-direction: column;
    align-items: center;
    text-align: center;
    white-space: normal;
    /* Allow wrapping in bubble */
    color: var(--color-white);
}

.map-bubble:hover .bubble-content {
    display: flex;
    /* Show on hover */
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bubble-content .region {
    font-weight: 700;
    margin-bottom: 2px;
    text-transform: uppercase;
    font-size: 0.7rem;
    opacity: 0.9;
}

.bubble-content .stat {
    font-weight: 600;
}

/* =========================================
   Business Fronts
   ========================================= */
.business-fronts {
    background-color: var(--color-black);
    color: var(--color-white);
}

.chips-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.chip {
    background-color: var(--color-white);
    color: var(--color-purple);
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1.1rem;
}

/* =========================================
   Solutions
   ========================================= */
.solutions {
    background-color: var(--color-white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.solution-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: #663399;
    /* Purple background on hover */
}

.solution-card:hover .card-title,
.solution-card:hover .card-text {
    color: var(--color-white);
    /* White text on hover */
}

.solution-text {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title,
.text-highlight {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-magenta);
    /* Magenta as requested */
}

.card-text,
.text-desc {
    color: #555;
    font-size: 1rem;
}

/* =========================================
   How It Works
   ========================================= */
.how-it-works {
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.decorative-lines {
    display: none;
    /* User requested removal */
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at top left, transparent 20%, #f0f0f0 20%);
    opacity: 0.5;
    z-index: 0;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.step-card {
    background-color: var(--color-magenta);
    color: var(--color-white);
    border-radius: var(--radius-pill);
    /* Or rounded square as requested */
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateX(10px);
}

.step-number {
    background-color: rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.step-text {
    font-weight: 600;
    font-size: 1.2rem;
}

/* =========================================
   Dashboard
   ========================================= */
.dashboard {
    background-color: var(--color-white);
}

.dashboard-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dashboard-features li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.dashboard-features li::before {
    content: '•';
    color: var(--color-magenta);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* =========================================
   Benefits
   ========================================= */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.benefit-card {
    background-color: var(--color-white);
    padding: 3rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s ease;
    /* Animate all properties smoothly */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* Add visual depth like solutions */
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background-color: #663399;
    /* Purple background on hover */
}

.benefit-card:hover .benefit-title {
    color: var(--color-white);
}

.benefit-title {
    color: var(--color-magenta);
    /* Magenta #d50057 as requested */
    font-size: 1.5rem;
    font-weight: 700;
}

/* =========================================
   Solutions Page Specific Styles
   ========================================= */

/* Active Navigation State */
.nav-link.active {
    color: var(--color-black);
    font-weight: 600;
}

/* Hero Light Variant */
.hero-light {
    background-color: var(--color-white);
    color: var(--color-black);
    padding-top: 200px;
    padding-bottom: var(--spacing-xl);
    min-height: 70vh;
}

.hero-title-dark {
    color: var(--color-black);
}

.hero-subtitle-dark {
    color: #555;
}

.btn-secondary-dark {
    border-color: var(--color-black);
    color: var(--color-black);
}

.btn-secondary-dark:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* Solutions Overview Section */
.solutions-overview {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: var(--spacing-xl) 0;
    padding-bottom: var(--spacing-md);
}

.overview-text {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-text-gray);
}

/* Solutions Detail Blocks */
.solutions-detail {
    background-color: var(--color-black);
}

.solution-block {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: var(--spacing-lg) 0;
}

.solution-block:first-child {
    padding-top: var(--spacing-md);
}

.solution-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.solution-content {
    animation: fadeInUp 0.8s ease-out;
}

.solution-visual {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.solution-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-magenta);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.solution-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-gray);
    margin-bottom: var(--spacing-md);
}

.solution-features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.solution-features li {
    font-size: 1.05rem;
    padding-left: 1.8rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--color-white);
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-magenta);
    font-weight: bold;
    font-size: 1.2rem;
}

.solution-closing {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-gray);
    font-style: italic;
}

.solution-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.solution-img.slide-in-right {
    opacity: 1;
    transform: translateX(0);
}



/* Brands Section */
.brands-section {
    background-color: var(--color-white);
    padding: var(--spacing-xl) 0;
}

.brands-section .brand-strip {
    background: transparent;
    padding: 2rem 0;
    margin-top: 0;
}

.brands-section .brand-logo {
    filter: grayscale(100%) brightness(50%);
    opacity: 0.6;
}

.brands-section .brand-logo:hover {
    filter: grayscale(0%) brightness(100%);
    opacity: 1;
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================
   Final CTA
   ========================================= */
.final-cta {
    background-color: var(--color-black);
    padding: var(--spacing-xl) 0;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--color-black);
    color: #888;
    padding-top: var(--spacing-lg);
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: var(--spacing-md);
}

.footer-heading {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--color-magenta);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons img {
    height: 20px;
    width: 20px;
    /* Ensure size */
    /* Filter to match #D50057 */
    filter: brightness(0) saturate(100%) invert(14%) sepia(94%) saturate(5451%) hue-rotate(324deg) brightness(96%) contrast(106%);
    transition: transform 0.3s ease;
    /* Add transition for animation */
}

.social-icons a:hover img {
    transform: scale(1.2);
    /* Scale up on hover */
}

/* =========================================
   Media Queries (Desktop)
   ========================================= */
@media (min-width: 1024px) {
    .nav-menu {
        display: block;
    }

    .mobile-menu-btn {
        display: none;
    }

    /* Hero */
    .hero-title {
        font-size: 4.5rem;
    }

    /* Solutions Grid - 2 columns */
    .solutions-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        /* Vertically center text with cards */
    }

    .solution-text.text-right-align {
        text-align: right;
        /* Explicit align for desktop */
    }

    /* Order change for row 2 to match "Text Left (Retail)" description? 
       Actually user said:
       Row 1: Card(API) | Text(Web Portal)
       Row 2: Text(Retail) | Card(POS)
       The grid flows 1, 2, 3, 4. 
       So DIV structure: Card, Text, Text, Card matches layout.
    */

    /* How It Works - Horizontal */
    .steps-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .step-card {
        flex: 1;
        justify-content: center;
        border-radius: var(--radius-md);
        /* Maybe squarer on desktop? User said "pílula ou quadrados arredondados" */
    }

    /* Dashboard - Two Columns */
    .dashboard-container {
        flex-direction: row;
        align-items: center;
    }

    .dashboard-content {
        flex: 1;
        padding-right: 2rem;
    }

    .dashboard-image {
        flex: 1.5;
    }

    /* Benefits - 2x2 Grid */
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Footer - 4 cols */
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Solutions Page - Desktop Layout */
    .solution-container {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }

    .solution-block-reverse .solution-container {
        direction: rtl;
    }

    .solution-block-reverse .solution-content,
    .solution-block-reverse .solution-visual {
        direction: ltr;
    }

    .hero-light {
        padding-top: 200px;
        min-height: 80vh;
    }
}

@media (min-width: 1280px) {

    /* Larger spacing */
    .container {
        padding: 0;
    }
}

/* Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 1s ease-out forwards;
}

/* =========================================
   Mobile Floating Action Button
   ========================================= */
.mobile-contact-fab {
    display: none;
    /* Hidden on desktop */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--color-magenta), var(--color-purple));
    color: var(--color-white);
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(213, 0, 87, 0.4);
    text-align: center;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-contact-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(213, 0, 87, 0.6);
}

/* =========================================
   Media Queries (Mobile/Tablet)
   ========================================= */
/* =========================================
   Media Queries (Mobile/Tablet)
   ========================================= */
@media (max-width: 1023px) {
    body {
        /* Prevent horizontal scroll if elements overflow */
        overflow-x: hidden;
    }

    .header {
        padding: 1rem 1.5rem;
        width: 95%;
    }

    /* Hide the standard header button on mobile */
    .header-actions .btn {
        display: none;
    }

    /* Show the FAB on mobile */
    .mobile-contact-fab {
        display: block;
    }

    /* Adjust logo size */
    .logo img {
        width: 100px;
    }

    /* Hamburger Menu Visibility */
    .mobile-menu-btn {
        display: block;
        z-index: 3000;
        /* Ensure above menu */
        position: relative;
    }

    /* Slide-out Drawer Style */
    .nav-menu {
        display: block !important;
        /* Force block to allow transition */
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 85%;
        max-width: 350px;
        background: linear-gradient(180deg, #1a1a1a, #000000);
        padding: 6rem 2rem 2rem 2rem;
        z-index: 2500;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);

        /* Animation State: Hidden */
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Active State: Visible */
    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        text-align: left;
    }

    .nav-link {
        font-size: 1.25rem;
        display: block;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Dropdown inside Mobile Menu */
    .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        display: none;
        /* Hide via JS or interaction */
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-item.active .dropdown-menu {
        display: block;
    }

    /* Hero Section - Mobile Adjustments */
    .hero {
        padding-top: 120px;
        min-height: 70vh;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .hero-buttons .btn {
        width: auto;
        min-width: 200px;
    }

    /* Business Fronts Section - Mobile Button Spacing */
    .section-actions {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .section-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Solutions Page - Mobile Adjustments */
    .hero-light {
        padding-top: 120px;
        min-height: 40vh;
        padding-bottom: var(--spacing-md);
    }

    .solution-title {
        font-size: 2rem;
    }

    .solution-description {
        font-size: 1rem;
    }

    .overview-text {
        font-size: 1.1rem;
    }

    .solution-block {
        padding: var(--spacing-md) 0;
    }

    .solution-block:first-child {
        padding-top: var(--spacing-sm);
    }

    .solution-img {
        max-width: 250px;
        margin: 0 auto;
    }

    /* Force text-first order on mobile for all solution blocks */
    .solution-container {
        display: flex;
        flex-direction: column;
    }

    .solution-content {
        order: 1;
    }

    .solution-visual {
        order: 2;
    }

    /* Center images on mobile */
    .solution-visual {
        display: flex;
        justify-content: center;
        margin-top: var(--spacing-md);
    }

    /* Active nav link should be magenta in mobile menu */
    .nav-menu .nav-link.active {
        color: var(--color-magenta);
    }
}