/* Custom CSS for SoupX Website */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.6s ease-out forwards;
}

/* Enhanced Navigation Styles */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* Desktop Navigation Enhancement */
.enhanced-nav-link {
    position: relative;
    overflow: hidden;
}

.enhanced-nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #0F4C3A, #0A3D2E);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.enhanced-nav-link:hover::before {
    width: 100%;
}

.enhanced-nav-link:hover {
    transform: translateY(-1px);
    color: #0F4C3A;
}

/* Mobile Navigation Enhancement */
.mobile-nav-link {
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    background: rgba(15, 76, 58, 0.02);
}

.mobile-nav-link:hover {
    border-color: #0F4C3A;
    box-shadow: 0 4px 12px rgba(15, 76, 58, 0.15);
    transform: translateX(4px);
}

.mobile-nav-link i {
    transition: all 0.3s ease;
}

.mobile-nav-link:hover i {
    color: white !important;
    transform: scale(1.1);
}

/* Header Logo Enhancement */
.soupx-logo-css {
    transition: all 0.3s ease;
}

.soupx-logo-css:hover {
    transform: scale(1.05);
}

.soupx-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0F4C3A;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.soupx-tagline {
    font-size: 0.75rem;
    color: #0A3D2E;
    font-weight: 600;
    opacity: 0.9;
}

/* Header Backdrop Enhancement */
nav {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 76, 58, 0.1);
}

/* Mobile Menu Animation */
#mobile-menu {
    animation-duration: 0.3s;
    animation-fill-mode: both;
}

#mobile-menu.mobile-menu-enter {
    animation-name: slideDownFade;
}

#mobile-menu.mobile-menu-leave {
    animation-name: slideUpFade;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }
}

@keyframes slideUpFade {
    from {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
        max-height: 0;
    }
}

/* Button Enhancement */
button, .enhanced-button {
    position: relative;
    overflow: hidden;
}

button::before, .enhanced-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

button:hover::before, .enhanced-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Header Height Responsive */
@media (min-width: 768px) {
    .soupx-text {
        font-size: 1.75rem;
    }
    
    .soupx-tagline {
        font-size: 0.875rem;
    }
}

@media (min-width: 1024px) {
    .enhanced-nav-link {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
}

/* Header Visibility Enhancement */
.header-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.header-hidden {
    opacity: 0.95;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Product cards */
.product-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #0F4C3A;
}

/* Nutrition badge */
.nutrition-badge {
    background: linear-gradient(135deg, #0F4C3A, #0D5940);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin: 2px;
}

/* Custom gradient backgrounds */
.bg-gradient-soup {
    background: linear-gradient(135deg, #F97316 0%, #FB923C 50%, #FBBF24 100%);
}

.bg-gradient-health {
    background: linear-gradient(135deg, #0F4C3A 0%, #0D5940 100%);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #0F4C3A 0%, #0A3D2E 100%);
}

.bg-gradient-accent {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
}

.bg-gradient-franchise {
    background: linear-gradient(135deg, #0F4C3A 0%, #0D5940 50%, #1B6B4F 100%);
}

/* Button hover effects */
.btn-soup {
    background: linear-gradient(135deg, #0F4C3A, #0A3D2E);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-soup::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-soup:hover::before {
    left: 100%;
}

/* Form styling */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 76, 58, 0.2);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { 
        transform: rotate(360deg); 
    }
}

/* Mobile-First Global Styles */

/* Base styles - Mobile first (320px+) */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Ensure all containers don't overflow on mobile */
.max-w-7xl {
    max-width: 100%;
    width: 100%;
}

@media (min-width: 640px) {
    .max-w-7xl {
        max-width: 1280px;
    }
}

/* Touch-friendly interactions */
button,
a,
input,
select,
textarea {
    min-height: 44px;
    min-width: 44px;
}

/* Mobile navigation improvements */
.nav-link {
    padding: 0.75rem 0;
    font-size: 1.125rem;
    border-bottom: 1px solid transparent;
}

.nav-link:hover {
    border-bottom-color: #0F4C3A;
}

/* Mobile typography - Perfect for mobile screens (320px-767px) */
h1 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

h2 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.125rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Mobile section padding */
section {
    padding: 2rem 0;
}

/* Mobile container padding */
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Tablet typography (768px-1023px) */
@media (min-width: 768px) {
    h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    h2 {
        font-size: 2rem;
        margin-bottom: 0.875rem;
    }
    
    h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    h4 {
        font-size: 1.25rem;
        margin-bottom: 0.625rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    section {
        padding: 4rem 0;
    }
}

/* Desktop/Laptop typography (1024px+) */
@media (min-width: 1024px) {
    h1 {
        font-size: 3.5rem;
        margin-bottom: 1.25rem;
    }
    
    h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    h3 {
        font-size: 1.875rem;
        margin-bottom: 0.875rem;
    }
    
    h4 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    p {
        font-size: 1.125rem;
        line-height: 1.7;
    }
    
    section {
        padding: 5rem 0;
    }
}

/* Large Desktop typography (1280px+) */
@media (min-width: 1280px) {
    h1 {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }
    
    h2 {
        font-size: 3rem;
        margin-bottom: 1.25rem;
    }
    
    h3 {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }
    
    h4 {
        font-size: 1.75rem;
        margin-bottom: 0.875rem;
    }
    
    p {
        font-size: 1.25rem;
        line-height: 1.8;
    }
    
    section {
        padding: 6rem 0;
    }
}

/* Extra Large Desktop (1536px+) */
@media (min-width: 1536px) {
    h1 {
        font-size: 4.5rem;
        margin-bottom: 2rem;
    }
    
    h2 {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }
    
    section {
        padding: 8rem 0;
    }
}

/* Mobile-specific layouts */

/* Hero section mobile optimization */
.hero-slider {
    height: 100vh;
    min-height: 500px;
    max-height: 700px;
}

@media (min-width: 640px) {
    .hero-slider {
        min-height: 600px;
        max-height: 800px;
    }
}

@media (min-width: 1024px) {
    .hero-slider {
        height: 100vh;
        min-height: 700px;
        max-height: none;
    }
}

.hero-content {
    padding: 1rem;
    text-align: center;
    max-width: 100%;
}

@media (min-width: 1024px) {
    .hero-content {
        text-align: left;
        padding: 2rem;
    }
}

/* Mobile slider improvements */
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.slider-nav {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 20;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 20;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 1rem;
}

.slider-arrow.next {
    right: 1rem;
}

/* Mobile product grid optimization */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
}

.product-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card img {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 0.5rem;
}

/* Mobile form optimization */
.contact-form {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #f9fafb;
    transition: all 0.3s ease;
    min-height: 50px;
}

.form-input:focus {
    border-color: #0F4C3A;
    background: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.1);
}

/* Mobile button improvements */
.mobile-cta-button {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.75rem;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.mobile-cta-button:hover,
.mobile-cta-button:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.mobile-cta-button:active {
    transform: translateY(0);
}

/* Mobile pricing cards */
.pricing-card {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 2rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: #0F4C3A;
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Mobile stats section */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
}

.stat-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #0F4C3A;
}

/* Mobile footer optimization */
.footer-section {
    margin-bottom: 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: #e5e7eb;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.footer-link:hover {
    color: #F97316;
}

/* Mobile social links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #F97316;
    transform: translateY(-2px);
}

/* Tablet responsive styles (768px+) */
@media (min-width: 768px) {
    /* Hero section */
    .hero-section {
        min-height: 80vh;
        padding: 4rem 2rem;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    /* Product grid - 2 columns on tablets */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 2rem;
    }

    /* Stats grid - 2 columns */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Footer layout */
    .footer-section {
        text-align: left;
        margin-bottom: 1rem;
    }

    .footer-links {
        flex-direction: row;
        gap: 2rem;
    }

    /* Contact form */
    .contact-form {
        padding: 3rem 2rem;
        max-width: 600px;
    }

    /* Mobile CTA button can be smaller on tablets */
    .mobile-cta-button {
        width: auto;
        padding: 0.875rem 2rem;
    }
}

/* Desktop responsive styles (1024px+) */
@media (min-width: 1024px) {
    /* Hero section - Perfect for laptops */
    .hero-slider {
        height: 100vh;
        min-height: 700px;
        max-height: none;
    }

    /* Product grid - 3 columns on desktop */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        padding: 3rem 1rem;
    }

    /* Stats grid - 4 columns */
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }

    /* Contact form - Better for desktop */
    .contact-form {
        padding: 3rem 2.5rem;
        max-width: 700px;
        margin: 0 auto;
    }

    .form-input {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }

    /* Pricing cards in a row */
    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .pricing-card {
        margin-bottom: 0;
        padding: 2.5rem 2rem;
    }

    /* Footer in columns */
    .footer-content {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }

    .footer-section {
        margin-bottom: 0;
    }

    /* Navigation spacing for desktop */
    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    /* Button improvements for desktop */
    .mobile-cta-button {
        width: auto;
        padding: 1rem 2rem;
        min-width: 200px;
    }
}

/* Large desktop styles (1280px+) */
@media (min-width: 1280px) {
    /* Product grid - 4 columns on large screens */
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
        padding: 4rem 2rem;
    }

    /* Enhanced contact form for large screens */
    .contact-form {
        padding: 4rem 3rem;
        max-width: 900px;
    }

    .form-input {
        padding: 1.25rem 1.5rem;
        font-size: 1.125rem;
    }

    /* Pricing cards with more spacing */
    .pricing-card {
        padding: 3rem 2.5rem;
    }

    /* Enhanced navigation for large screens */
    .nav-link {
        padding: 0.75rem 1.25rem;
        font-size: 1.125rem;
    }
}

/* Extra Large Desktop (1536px+) */
@media (min-width: 1536px) {
    /* Maximum width containers for ultra-wide screens */
    .max-w-7xl {
        max-width: 1400px;
    }

    /* Product grid with optimal spacing */
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 3.5rem;
        padding: 5rem 2rem;
    }

    /* Large form optimization */
    .contact-form {
        padding: 5rem 4rem;
        max-width: 1000px;
    }

    .form-input {
        padding: 1.5rem 2rem;
        font-size: 1.25rem;
    }
}

/* Mobile menu animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.mobile-menu-enter {
    animation: slideDown 0.3s ease-out forwards;
}

.mobile-menu-leave {
    animation: slideUp 0.3s ease-out forwards;
}

/* Touch-friendly hover states for mobile */
@media (hover: none) {
    .product-card:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        border-color: transparent;
    }

    .nav-link:hover::after {
        width: 0;
    }

    .btn-soup:hover::before {
        left: -100%;
    }

    .mobile-cta-button:hover {
        transform: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .product-card img,
    .logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Dark mode support for system preference */
@media (prefers-color-scheme: dark) {
    /* Respect system dark mode preference but maintain brand colors */
    .product-card,
    .contact-form,
    .pricing-card,
    .stat-card {
        background: #1f2937;
        color: white;
    }
    
    .form-input {
        background: #374151;
        border-color: #4b5563;
        color: white;
    }
    
    .form-input::placeholder {
        color: #9ca3af;
    }
}

/* Print styles for mobile */
@media print {
    .mobile-menu,
    .slider-nav,
    .slider-arrow,
    .social-links,
    button {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-section {
        min-height: auto;
        padding: 1rem;
    }
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

/* Mobile spacing */
.section-padding {
    padding: 2rem 1rem;
}

/* Mobile cards */
.product-card {
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

/* Mobile forms */
.form-input,
.form-select,
.form-textarea {
    padding: 1rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    border: 2px solid #E5E7EB;
    width: 100%;
    margin-bottom: 1rem;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #0F4C3A;
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 76, 58, 0.1);
}

/* Mobile buttons */
.btn-primary {
    background: linear-gradient(135deg, #0F4C3A, #0A3D2E);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    min-height: 44px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 76, 58, 0.3);
}

.btn-secondary {
    background: white;
    color: #0F4C3A;
    border: 2px solid #0F4C3A;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    min-height: 44px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-secondary:hover {
    background: #0F4C3A;
    color: white;
}

/* Mobile grid improvements */
.mobile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Mobile utility classes */
.mobile-hidden {
    display: none;
}

.mobile-full {
    width: 100% !important;
}

.mobile-text-center {
    text-align: center;
}

.mobile-no-padding {
    padding-left: 0;
    padding-right: 0;
}

.mobile-stack {
    flex-direction: column;
    align-items: stretch;
}

/* Tablet styles (768px+) */
@media (min-width: 768px) {
    .mobile-hidden {
        display: block;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding: 4rem 2rem;
    }
    
    .mobile-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-stack {
        flex-direction: row;
        align-items: center;
    }
}

/* Desktop styles (1024px+) */
@media (min-width: 1024px) {
    .section-padding {
        padding: 6rem 2rem;
    }
    
    .mobile-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

/* Large desktop (1280px+) */
@media (min-width: 1280px) {
    h1 {
        font-size: 4rem;
    }
    
    h2 {
        font-size: 3rem;
    }
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Hero section particles effect */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(15, 76, 58, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 1;
    }
}

/* Success message styling */
.success-message {
    background: linear-gradient(135deg, #28A745, #20C997);
    color: white;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    animation: slideDown 0.3s ease;
}

.error-message {
    background: linear-gradient(135deg, #DC3545, #E74C3C);
    color: white;
    padding: 16px;
    border-radius: 8px;
    margin: 16px 0;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.slide {
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 5;
}

.slide.prev {
    transform: translateX(-100%);
}

/* Slider Navigation Dots */
.slider-dot {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.slider-dot.active {
    background-color: white !important;
    opacity: 1 !important;
    transform: scale(1.2);
}

.slider-dot:hover {
    transform: scale(1.1);
}

/* Slider Animation Classes */
.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-out-left {
    animation: slideOutLeft 0.8s ease-out forwards;
}

.slide-out-right {
    animation: slideOutRight 0.8s ease-out forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Parallax and Depth Effects */
.slide .bg-white\/20 {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.slide .bg-white\/80 {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.slide .bg-white\/90 {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Mobile-First Responsive Design */

/* Base mobile styles (320px and up) */
.hero-slider {
    min-height: 100vh;
    height: 100vh;
}

.slide {
    padding: 1rem;
}

.slide .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
}

.slide h1,
.slide h2 {
    font-size: 1.875rem; /* 30px */
    line-height: 1.2;
    margin-bottom: 1rem;
}

.slide p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.slide .flex-col {
    width: 100%;
    gap: 0.75rem;
}

.slide .flex-col > * {
    width: 100%;
}

.slide button,
.slide a {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    min-height: 44px; /* Touch target size */
}

/* Small mobile (480px and up) */
@media (min-width: 480px) {
    .slide h1,
    .slide h2 {
        font-size: 2.25rem; /* 36px */
    }
    
    .slide p {
        font-size: 1.125rem;
    }
    
    .slide button,
    .slide a {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .hero-slider {
        min-height: 600px;
    }
    
    .slide .grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        text-align: left;
    }
    
    .slide h1,
    .slide h2 {
        font-size: 3rem;
    }
    
    .slide p {
        font-size: 1.25rem;
    }
    
    .slide .flex-col {
        flex-direction: row;
        gap: 1rem;
    }
    
    .slide .flex-col > * {
        width: auto;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .slide h1,
    .slide h2 {
        font-size: 3.75rem;
    }
    
    .slide p {
        font-size: 1.5rem;
    }
}

/* Large desktop (1280px and up) */
@media (min-width: 1280px) {
    .slide h1,
    .slide h2 {
        font-size: 4rem;
    }
}

/* Auto-play pause on hover */
.hero-slider:hover .slide {
    animation-play-state: paused;
}

/* Enhanced button effects for slider */
.slide button,
.slide a {
    position: relative;
    overflow: hidden;
}

.slide button::before,
.slide a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.slide button:hover::before,
.slide a:hover::before {
    left: 100%;
}

/* Logo styling */
.soupx-logo {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.soupx-logo-large {
    max-height: 64px;
    width: auto;
    object-fit: contain;
}

.soupx-logo-footer {
    max-height: 32px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* CSS-based SoupX Logo */
.soupx-logo-css {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.soup-bowl {
    position: relative;
    width: 40px;
    height: 24px;
    background: linear-gradient(135deg, #0F4C3A 0%, #1B6B4F 100%);
    border-radius: 0 0 20px 20px;
    border: 3px solid #0A3D2E;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2px;
}

.soup-bowl::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: #0A3D2E;
    border-radius: 2px;
}

.soup-leaves {
    position: absolute;
    top: -8px;
    left: 4px;
    width: 12px;
    height: 8px;
    background: #059669;
    border-radius: 50% 0;
    transform: rotate(-45deg);
}

.soup-leaves::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 10px;
    height: 6px;
    background: #10B981;
    border-radius: 50% 0;
    transform: rotate(30deg);
}

.soup-steam {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2px;
}

.steam-line {
    width: 2px;
    height: 8px;
    background: #6B7280;
    border-radius: 1px;
    opacity: 0.7;
    animation: steam 2s ease-in-out infinite;
}

.steam-line:nth-child(2) {
    animation-delay: 0.3s;
}

.steam-line:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes steam {
    0%, 100% { 
        transform: translateY(0) scaleY(1);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-3px) scaleY(1.2);
        opacity: 0.4;
    }
}

.soup-spoon {
    position: absolute;
    top: -4px;
    right: -8px;
    width: 16px;
    height: 3px;
    background: #374151;
    border-radius: 0 8px 8px 0;
    transform: rotate(15deg);
}

.soup-spoon::before {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 6px;
    height: 7px;
    background: #374151;
    border-radius: 50%;
}

.soupx-text {
    font-size: 24px;
    font-weight: 800;
    color: #0F4C3A;
    letter-spacing: -0.5px;
}

.soupx-tagline {
    font-size: 10px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: -2px;
}

/* Large logo variant */
.soupx-logo-css-large .soup-bowl {
    width: 56px;
    height: 32px;
}

.soupx-logo-css-large .soup-bowl::before {
    width: 44px;
    height: 4px;
}

.soupx-logo-css-large .soup-leaves {
    width: 16px;
    height: 12px;
    left: 6px;
}

.soupx-logo-css-large .soup-steam {
    top: -16px;
}

.soupx-logo-css-large .steam-line {
    width: 3px;
    height: 12px;
}

.soupx-logo-css-large .soup-spoon {
    width: 20px;
    height: 4px;
    right: -12px;
    top: -6px;
}

.soupx-logo-css-large .soup-spoon::before {
    width: 8px;
    height: 10px;
    top: -3px;
}

.soupx-logo-css-large .soupx-text {
    font-size: 32px;
}

.soupx-logo-css-large .soupx-tagline {
    font-size: 12px;
}

/* Footer logo variant - white */
.soupx-logo-css-footer .soup-bowl {
    background: linear-gradient(135deg, #FFFFFF 0%, #F3F4F6 100%);
    border-color: #E5E7EB;
}

.soupx-logo-css-footer .soup-bowl::before {
    background: #E5E7EB;
}

.soupx-logo-css-footer .soup-leaves {
    background: #10B981;
}

.soupx-logo-css-footer .soup-leaves::after {
    background: #34D399;
}

.soupx-logo-css-footer .soup-spoon {
    background: #E5E7EB;
}

.soupx-logo-css-footer .soup-spoon::before {
    background: #E5E7EB;
}

.soupx-logo-css-footer .soupx-text {
    color: #FFFFFF;
}

.soupx-logo-css-footer .soupx-tagline {
    color: #D1D5DB;
}

/* Mobile-First Logo Responsiveness */

/* Base mobile logo sizes */
.soup-bowl {
    width: 32px;
    height: 20px;
}

.soupx-text {
    font-size: 1.25rem;
}

.soupx-tagline {
    font-size: 0.625rem;
}

/* Large logo mobile */
.soupx-logo-css-large .soup-bowl {
    width: 40px;
    height: 25px;
}

.soupx-logo-css-large .soupx-text {
    font-size: 1.5rem;
}

.soupx-logo-css-large .soupx-tagline {
    font-size: 0.75rem;
}

/* Tablet logo sizes (768px+) */
@media (min-width: 768px) {
    .soup-bowl {
        width: 40px;
        height: 24px;
    }
    
    .soupx-text {
        font-size: 1.5rem;
    }
    
    .soupx-tagline {
        font-size: 0.75rem;
    }
    
    .soupx-logo-css-large .soup-bowl {
        width: 56px;
        height: 32px;
    }
    
    .soupx-logo-css-large .soupx-text {
        font-size: 2rem;
    }
    
    .soupx-logo-css-large .soupx-tagline {
        font-size: 0.875rem;
    }
}

/* Desktop logo sizes (1024px+) */
@media (min-width: 1024px) {
    .soupx-logo-css-large .soupx-text {
        font-size: 2.25rem;
    }
}

/* Logo loading states */
.soupx-logo:not([src]),
.soupx-logo[src=""],
.soupx-logo[src="#"] {
    display: none;
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    .hero-slider {
        height: auto;
        min-height: auto;
    }
    
    .slide {
        position: static;
        opacity: 1;
        transform: none;
    }
    
    .slide:not(.active) {
        display: none;
    }
    
    .soupx-logo,
    .soupx-logo-large,
    .soupx-logo-footer {
        filter: none;
        -webkit-filter: none;
    }
}