/**
 * =====================================================================
 * SMARTCART STYLESHEET
 * =====================================================================
 * 
 * Purpose: Styling for the SmartCart landing page with interactive features
 * Architecture: Inherits design tokens from main site, adds SmartCart-specific styles
 * Browser Support: Modern browsers with CSS Grid and Flexbox support
 * 
 * Sections:
 * 1. CSS Custom Properties (SmartCart Brand Colors)
 * 2. Global Reset and Base Styles
 * 3. Header and Navigation
 * 4. SmartCart Hero Section
 * 5. Interactive Features Section (from main site)
 * 6. SmartCart CTA Section
 * 7. Footer
 * 8. Responsive Design (Mobile-first)
 * 
 * @author Ingredients2Meals Development Team
 * @version 2.0
 * @since 2025
 */

/* =====================================================================
   1. CSS CUSTOM PROPERTIES (SMARTCART BRAND COLORS)
   SmartCart-specific color tokens with iOS design language
   ===================================================================== */
:root {
    /* SmartCart Brand Colors */
    --color-smartcart-primary: #007AFF;      /* iOS Blue - primary brand color */
    --color-smartcart-secondary: #5856D6;    /* iOS Purple - secondary actions */
    --color-smartcart-accent: #FF9500;       /* iOS Orange - highlights */
    
    /* Inherited from main site */
    --color-primary: #D95921;                /* Original orange for consistency */
    --color-secondary: #000000;              /* Secondary black */
    --color-accent: #F2D940;                 /* Accent yellow */
    
    /* Background Colors */
    --color-bg-main: #FAF7F2;               /* Main background - warm off-white */
    --color-bg-card: #FFFFFF;               /* Card backgrounds - pure white */
    
    /* Typography Colors */
    --color-text-primary: #000000;          /* Primary text */
    --color-text-secondary: #555555;        /* Secondary text */
    --color-text-caption: #888888;          /* Caption text */
}

/* =====================================================================
   2. GLOBAL RESET AND BASE STYLES
   Normalize browser defaults and establish base typography
   ===================================================================== */

/* Universal box-sizing reset for predictable layout behavior */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base body styles with Apple's SF Pro font stack */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'San Francisco', 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: white;
    min-height: 100vh;
}

/* Flexible container for consistent width management */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* =====================================================================
   3. HEADER AND NAVIGATION
   Fixed header with glassmorphism effect and brand identity
   ===================================================================== */

/* Fixed header with backdrop blur for glassmorphism effect */
.header {
    background-color: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Navigation container with flexible layout */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Brand identity section with logo and company name */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Divider between brands */
.nav-divider {
    width: 1px;
    height: 32px;
    background-color: #E5E5E7;
    margin: 0 1rem;
}

/* Logo icon with consistent sizing */
.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
}

/* Company name with brand typography */
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

/* SmartCart logo styling */
.smartcart-logo {
    color: var(--color-smartcart-primary);
}

/* Recyclr+ logo styling */
.recyclr-logo {
    color: #000000 !important;
}

/* HoopVision AI logo styling */
.hoopvision-logo {
    color: #000000 !important;
}

/* Download section container */
.nav-download {
    display: flex;
    align-items: center;
}

/* App Store badge with hover interaction */
.app-store-badge {
    height: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Subtle scale effect on hover for better UX */
.app-store-badge:hover {
    transform: scale(1.05);
}

/* =====================================================================
   4. SMARTCART HERO SECTION
   Primary landing area with SmartCart branding
   ===================================================================== */

/* SmartCart hero container */
.smartcart-hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
    background: white;
}

/* SmartCart hero content (left side) */
.smartcart-hero-content {
    flex: 1;
    text-align: left;
}

/* SmartCart header section */
.smartcart-header {
    margin-bottom: 4rem;
}

/* Large SmartCart icon */
.smartcart-icon-large {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.2);
}

/* SmartCart main title */
.smartcart-main-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-smartcart-primary);
    margin-bottom: 1rem;
    line-height: 1.1;
}

/* SmartCart main subtitle */
.smartcart-main-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    font-weight: 400;
}

/* SmartCart description section */
.smartcart-description h2 {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

/* SmartCart lead text */
.smartcart-lead {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0;
}

/* SmartCart hero image (right side) */
.smartcart-hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* SmartCart hero buttons */
.smartcart-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    justify-content: flex-start;
}

/* SmartCart primary button */
.btn-smartcart-primary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-smartcart-primary);
    color: white;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
}

/* SmartCart primary button hover */
.btn-smartcart-primary:hover {
    background-color: #0056CC;
    transform: translateY(-2px);
}

/* SmartCart app image */
.smartcart-app-image {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
}

/* Phone mockup container with realistic proportions */
.phone-mockup {
    width: 400px;
    height: 800px;
    background: white;
    border-radius: 30px;
    padding: 20px;
    max-width: 100%;
}

/* Phone screen area with overflow management */
.phone-screen {
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

/* SmartCart hero image container for rotating images */
.smartcart-hero-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Individual SmartCart rotating image */
.smartcart-rotating-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Active SmartCart rotating image state */
.smartcart-rotating-image.active {
    opacity: 1;
}

/* =====================================================================
   5. IN-STORE SECTION
   In-store experience section with image-left, text-right layout
   ===================================================================== */

/* In-Store section container */
.instore-section {
    padding: 6rem 0;
    background-color: #007AFF;
    color: white;
}

/* In-Store main container */
.instore-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* In-Store image (centered at top) */
.instore-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* In-Store image styling */
.instore-img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
}

/* In-Store content (below image) */
.instore-content {
    width: 100%;
    max-width: 800px;
}

/* In-Store main title */
.instore-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* In-Store main description */
.instore-content > p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* In-Store features container */
.instore-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Individual in-store feature item */
.instore-feature-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.instore-feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* In-Store feature title */
.instore-feature-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

/* In-Store feature description */
.instore-feature-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* =====================================================================
   6. ANALYTICS SECTION
   Analytics and insights section with image-left, text-right layout
   ===================================================================== */

/* Analytics section container */
.analytics-section {
    padding: 6rem 0;
    background-color: #2c2c2c;
    color: white;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

/* Analytics main container */
.analytics-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Analytics content layout */
.analytics-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Analytics image (centered) */
.analytics-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Analytics image styling */
.analytics-img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
}

/* Analytics title section (top) */
.analytics-title-section {
    text-align: center;
    margin-bottom: 3rem;
}

.analytics-title-section h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0;
    line-height: 1.2;
}

/* Analytics description text (below image) */
.analytics-description {
    text-align: center;
    margin-top: 2rem;
}

.analytics-description p {
    font-size: 1.5rem;
    color: white;
    margin: 0;
}


/* =====================================================================
   7. LISTS SECTION
   Lists management section with same layout as analytics
   ===================================================================== */

/* Lists section container */
.lists-section {
    padding: 6rem 0;
    background-color: white;
    color: #000000;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

/* Lists main container */
.lists-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Lists content layout - image left, options right */
.lists-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

/* Lists image (left side) */
.lists-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Lists image styling */
.lists-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
}

/* Lists options container (right side) */
.lists-options {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Individual list option */
.list-option {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* List option hover state */
.list-option:hover {
    border-color: #000000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    .list-option:hover {
        transform: none;
    }
    
    .btn-smartcart-primary:hover {
        transform: none;
    }
    
    .app-store-badge:hover {
        transform: none;
    }
}

/* List option active state */
.list-option.active,
.list-option[data-active="true"] {
    border-color: #000000;
    background: rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Option content */
.option-content {
    flex: 1;
}

.option-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.option-content p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Lists title section (top) */
.lists-title-section {
    text-align: center;
    margin-bottom: 3rem;
}

.lists-title-section h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0;
    line-height: 1.2;
}

/* Lists description text (below image) */
.lists-description {
    text-align: center;
    margin-top: 2rem;
}

.lists-description p {
    font-size: 1.5rem;
    color: #555555;
    margin: 0;
}

/* =====================================================================
   8. INTERACTIVE FEATURES SECTION (COPIED FROM MAIN SITE)
   Interactive carousel showcasing SmartCart capabilities
   ===================================================================== */

/* Features section container */
.features {
    padding: 4rem 0;
    background-color: white;
    min-height: 50vh;
}

/* Features content container with max-width constraint */
.features-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Two-column layout for feature display */
.feature-showcase {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    min-height: 300px;
    position: relative;
}

/* Left panel for feature images */
.feature-image-panel {
    flex: 1;
    max-width: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Feature images with smooth transitions */
.feature-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    transition: all 0.5s ease;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Right panel for feature content and controls */
.feature-content-panel {
    flex: 1;
    padding-left: 1.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

/* Feature text content area */
.feature-text-content {
    margin-bottom: 0;
}

/* Feature category label */
.feature-category {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-smartcart-primary);
    margin-bottom: 1rem;
    display: block;
}

/* Feature title */
.feature-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
}

/* Feature description */
.feature-description {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Navigation controls container */
.feature-nav-controls {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 2rem;
}

/* Navigation buttons */
.feature-nav-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 122, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Navigation button hover effects */
.feature-nav-btn:hover {
    background: var(--color-smartcart-primary);
    border-color: var(--color-smartcart-primary);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
}

.feature-nav-btn:hover svg {
    fill: white;
}

/* Navigation button icons */
.feature-nav-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--color-smartcart-primary);
    transition: fill 0.3s ease;
}

/* Disabled navigation buttons */
.feature-nav-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.feature-nav-btn:disabled:hover {
    transform: scale(1);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 122, 255, 0.2);
}

.feature-nav-btn:disabled:hover svg {
    fill: var(--color-smartcart-primary);
}

/* Feature indicators container */
.feature-indicators {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
    justify-content: flex-start;
}

/* Individual indicator dots */
.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #E0E0E0;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Active indicator */
.indicator.active {
    background-color: var(--color-smartcart-primary);
    transform: scale(1.2);
}

/* Indicator hover effect */
.indicator:hover {
    background-color: var(--color-smartcart-secondary);
}

/* =====================================================================
   8. SMARTCART CTA SECTION
   Call-to-action section with iOS design language
   ===================================================================== */

/* CTA section with gradient background */
.smartcart-cta-section {
    background: linear-gradient(135deg, var(--color-smartcart-primary) 0%, var(--color-smartcart-secondary) 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

/* CTA content container */
.smartcart-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.smartcart-cta-content p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA buttons container */
.smartcart-cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

/* Large SmartCart button */
.btn-smartcart-large {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: not-allowed;
    transition: all 0.3s ease;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SmartCart availability text */
.smartcart-availability {
    font-size: 1rem;
    opacity: 0.8;
    margin: 0;
}

/* =====================================================================
   9. FOOTER
   Footer styling for SmartCart page
   ===================================================================== */

/* Footer container */
.footer {
    background-color: var(--color-bg-main);
    border-top: 1px solid #E0E0E0;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

/* SmartCart footer variant */
.smartcart-footer {
    background: linear-gradient(135deg, #F8F9FA 0%, #F0F8FF 100%);
}

/* Footer content layout */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* Footer brand section */
.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-smartcart-primary);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--color-text-secondary);
    font-size: 1rem;
}

/* Footer links */
.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-links a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Override main site styles for SmartCart footer */
.smartcart-footer {
    background: linear-gradient(135deg, #F8F9FA 0%, #F0F8FF 100%) !important;
    color: initial !important;
}

.smartcart-footer .footer-brand h3 {
    color: var(--color-smartcart-primary) !important;
}

.smartcart-footer .footer-links a {
    color: #000000 !important;
}

.smartcart-footer .footer-links a:hover {
    color: var(--color-smartcart-primary) !important;
    border-bottom-color: var(--color-smartcart-primary) !important;
}

.footer-links a:hover {
    color: var(--color-smartcart-primary);
}

/* Footer bottom section */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #E0E0E0;
}

.footer-bottom p {
    color: var(--color-text-caption);
    font-size: 0.9rem;
}

/* =====================================================================
   10. RESPONSIVE DESIGN (MOBILE-FIRST)
   Responsive breakpoints for optimal viewing on all devices
   ===================================================================== */

/* Tablet breakpoint */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .nav-brand {
        flex: 1;
        min-width: 0;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .app-store-badge {
        height: 35px;
    }
    
    .smartcart-hero {
        flex-direction: column;
        padding: 5rem 1rem 3rem;
        gap: 2.5rem;
        min-height: auto;
    }
    
    .smartcart-hero-content {
        text-align: center;
    }
    
    .smartcart-hero-buttons {
        justify-content: center;
    }
    
    .smartcart-hero-image {
        order: -1;
    }
    
    .smartcart-app-image {
        max-width: 350px;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
        max-width: 90vw;
        margin: 0 auto;
    }
    
    .smartcart-main-title {
        font-size: 3rem;
    }
    
    .smartcart-description h2 {
        font-size: 2.5rem;
    }
    
    .instore-section {
        padding: 4rem 0;
    }
    
    .instore-container {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .instore-content h2 {
        font-size: 2.5rem;
    }
    
    .instore-img {
        max-width: 700px;
        border-radius: 16px;
    }
    
    .analytics-section {
        padding: 4rem 0;
    }
    
    .analytics-container {
        padding: 0 1rem;
    }
    
    .analytics-title-section h2 {
        font-size: 2.5rem;
    }
    
    .lists-section {
        padding: 4rem 0;
    }
    
    .lists-container {
        padding: 0 1rem;
    }
    
    .lists-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .lists-title-section h2 {
        font-size: 2.5rem;
    }
    
    .feature-showcase {
        flex-direction: column;
        gap: 2rem;
        min-height: auto;
    }
    
    .feature-image-panel {
        max-width: 100%;
    }
    
    .feature-content-panel {
        padding-left: 0;
        min-height: 350px;
    }
    
    .feature-title {
        font-size: 1.75rem;
    }
    
    .feature-indicators {
        justify-content: center;
    }
    
    .smartcart-cta-buttons {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Mobile breakpoint */
@media (max-width: 480px) {
    .nav {
        padding: 0.5rem 1rem;
    }
    
    .nav-brand {
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .nav-divider {
        margin: 0 0.5rem;
        height: 28px;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
        border-radius: 5px;
    }
    
    .app-store-badge {
        height: 32px;
    }
    
    .smartcart-icon-large {
        width: 80px;
        height: 80px;
    }
    
    .smartcart-main-title {
        font-size: 2.5rem;
    }
    
    .smartcart-main-subtitle {
        font-size: 1.25rem;
    }
    
    .smartcart-description h2 {
        font-size: 2.2rem;
    }
    
    .smartcart-lead {
        font-size: 1.1rem;
    }
    
    .smartcart-app-image {
        max-width: 280px;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
        max-width: 85vw;
    }
    
    .smartcart-hero-buttons {
        margin-top: 2rem;
        justify-content: center;
    }
    
    .btn-smartcart-primary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .instore-section {
        padding: 3rem 0;
    }
    
    .instore-container {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .instore-content h2 {
        font-size: 2.2rem;
    }
    
    .instore-content > p {
        font-size: 1.1rem;
    }
    
    .instore-feature-item h3 {
        font-size: 1.25rem;
    }
    
    .instore-feature-item p {
        font-size: 0.9rem;
    }
    
    .instore-img {
        max-width: 600px;
        border-radius: 12px;
    }
    
    .analytics-img {
        border-radius: 12px;
    }
    
    .lists-img {
        border-radius: 12px;
        max-width: 300px;
    }
    
    .analytics-section {
        padding: 3rem 0;
    }
    
    .analytics-container {
        padding: 0 1rem;
    }
    
    .analytics-title-section h2 {
        font-size: 2.2rem;
    }
    
    .lists-section {
        padding: 3rem 0;
    }
    
    .lists-container {
        padding: 0 1rem;
    }
    
    .lists-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .lists-title-section h2 {
        font-size: 2.2rem;
    }
    
    .list-option {
        padding: 1.25rem;
    }
    
    .option-content h3 {
        font-size: 1.1rem;
    }
    
    .option-content p {
        font-size: 0.95rem;
    }
    
    .features {
        padding: 3rem 0;
    }
    
    .features-container {
        padding: 0 1rem;
    }
    
    .feature-title {
        font-size: 1.5rem;
    }
    
    .feature-nav-btn {
        width: 36px;
        height: 36px;
    }
    
    .feature-nav-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .smartcart-cta-section {
        padding: 4rem 1rem;
    }
    
    .smartcart-cta-content h2 {
        font-size: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
}

/* Extra small mobile breakpoint */
@media (max-width: 360px) {
    .nav {
        padding: 0.5rem 0.75rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .smartcart-hero {
        padding: 4rem 0.75rem 2rem;
        gap: 1.5rem;
    }
    
    .smartcart-description h2 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .smartcart-lead {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .smartcart-app-image {
        max-width: 260px;
    }
    
    .phone-mockup {
        width: 180px;
        height: 360px;
        max-width: 80vw;
    }
    
    .btn-smartcart-primary {
        width: 100%;
        max-width: 260px;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    
    .smartcart-cta-section {
        padding: 2.5rem 0.75rem;
    }
    
    .smartcart-cta-content h2 {
        font-size: 1.8rem;
    }
    
    .smartcart-cta-content p {
        font-size: 1rem;
    }
    
    .btn-smartcart-large {
        width: 100%;
        max-width: 260px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .smartcart-cta-buttons {
        justify-content: center;
    }
    
    .instore-content h2,
    .analytics-title-section h2,
    .lists-title-section h2 {
        font-size: 2rem;
    }
    
    .analytics-description p,
    .lists-description p {
        font-size: 1.3rem;
    }
}

/* =====================================================================
   MOBILE NAVIGATION IMPROVEMENTS
   ===================================================================== */

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-text-primary);
    z-index: 1001;
}

.mobile-menu-btn:focus {
    outline: 2px solid var(--color-smartcart-primary);
    border-radius: 4px;
}

/* Hamburger icon */
.hamburger {
    width: 25px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-text-primary);
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* Hamburger animation when menu is open */
.mobile-menu-btn.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile navigation overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-nav-overlay.active {
    display: block;
}

/* Mobile navigation menu */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    background-color: var(--color-bg-main);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
}

.mobile-nav-menu.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    text-decoration: none;
    border-radius: 12px;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
}

.mobile-nav-link:hover {
    background-color: rgba(0, 122, 255, 0.1);
}

.mobile-nav-link.active {
    background-color: #000000;
    border-color: #000000;
}

.mobile-nav-link.active .logo {
    color: #FFFFFF;
}

/* SmartCart+ active state - blue text on SmartCart page */
.mobile-nav-link:nth-child(2).active .logo {
    color: #007AFF !important;
}

.mobile-nav-link .logo-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.mobile-nav-link .logo {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    color: var(--color-primary); /* Default orange for Ingredients2Meals */
}

/* SmartCart+ mobile navigation color (blue) */
.mobile-nav-link:nth-child(2) .logo {
    color: #007AFF !important;
}

/* Recyclr+ mobile navigation color (black) */
.mobile-nav-link:nth-child(3) .logo {
    color: #000000 !important;
}

/* HoopVision AI mobile navigation color (black) */
.mobile-nav-link:nth-child(4) .logo {
    color: #000000 !important;
}

.mobile-app-store {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.mobile-app-store .app-store-badge {
    height: 50px;
    width: auto;
}

/* Mobile responsive updates */
@media (max-width: 768px) {
    .nav {
        padding: 1rem;
        position: relative;
    }
    
    /* Hide desktop navigation elements on mobile */
    .nav-brand {
        display: none;
    }
    
    .nav-download {
        display: none;
    }
    
    /* Show mobile menu button and current page indicator */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* Show current page brand on mobile */
    .mobile-current-brand {
        display: flex !important;
        align-items: center;
        gap: 10px;
        text-decoration: none;
    }
    
    .mobile-current-brand .logo-icon {
        width: 32px;
        height: 32px;
        border-radius: 6px;
    }
    
    .mobile-current-brand .logo {
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0;
        color: var(--color-smartcart-primary);
    }
}

/* Additional mobile breakpoint improvements */
@media (max-width: 480px) {
    .mobile-current-brand .logo {
        font-size: 1.3rem;
    }
    
    .mobile-current-brand .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .mobile-nav-menu {
        width: 280px;
        padding: 4rem 1.5rem 2rem;
    }
}