/* CSS Custom Properties for consistent colors */
:root {
    --main-primary: #667eea;
    --main-secondary: #764ba2;
    --main-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Comprehensive Cross-Browser Compatibility */
/* Vendor prefixes for maximum browser support */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* IE10+ specific fixes */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .hero-container, .features-grid, .specs-grid {
        display: block !important;
    }
    .btn {
        display: inline-block !important;
        zoom: 1;
    }
    .hero-content h1 {
        display: block !important;
    }
}

/* Safari specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .hero-container {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    .btn {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
}

/* Firefox specific fixes */
@-moz-document url-prefix() {
    .btn {
        line-height: normal;
    }
    .hero-content h1 {
        line-height: 1.2;
    }
}

/* Opera specific fixes */
@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
    .hero-container {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Edge specific fixes */
@supports (-ms-ime-align: auto) {
    .hero-container {
        display: -ms-flexbox;
        -ms-flex-direction: column;
        -ms-flex-align: center;
    }
}

/* Comprehensive Device Compatibility */
/* Ultra-wide screens */
@media (min-width: 2000px) {
    .container {
        max-width: 1800px;
        margin: 0 auto;
    }
    .hero-content h1 {
        font-size: 4.5rem;
        line-height: 1.1;
    }
}

/* 4K displays */
@media (min-width: 2560px) {
    .container {
        max-width: 2200px;
    }
    .hero-content h1 {
        font-size: 5rem;
    }
    .btn {
        font-size: 1.2rem;
        padding: 18px 36px;
    }
}

/* Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: pixelated;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 3px solid #000;
        background: #fff;
        color: #000;
    }
    .hero {
        background: #000;
        color: #fff;
    }
    .whatsapp-button {
        border: 3px solid #000;
        background: #fff;
        color: #000;
    }
}

/* Focus visible for accessibility */
@media (focus-visible: visible) {
    .btn:focus-visible,
    .whatsapp-button:focus-visible,
    .hero-logo:focus-visible {
        outline: 3px solid #000;
        outline-offset: 3px;
        background: #fff;
        color: #000;
    }
}

/* Hover capable devices */
@media (hover: hover) and (pointer: fine) {
    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }
    .whatsapp-button:hover {
        transform: scale(1.1);
    }
}

/* Touch-only devices */
@media (hover: none) {
    .btn:active,
    .whatsapp-button:active {
        transform: scale(0.95);
    }
    .hero {
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
    }
    .whatsapp-widget {
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
    }
}

/* Data saving mode */
@media (prefers-reduced-data: reduce) {
    .hero {
        background: #f8f9fa;
        background-image: none;
    }
    .btn-primary {
        background: #667eea;
        background-image: none;
    }
    .whatsapp-button {
        background: #25d366;
        background-image: none;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 20px 0;
    }
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .hero-logos {
        display: none;
    }
}

/* Portrait orientation on mobile */
@media (max-width: 767px) and (orientation: portrait) {
    .hero {
        min-height: 100vh;
        padding: 40px 0;
    }
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
}

/* Very small screens */
@media (max-width: 280px) {
    .container {
        padding: 0 10px;
    }
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
    .btn {
        font-size: 0.9rem;
        padding: 12px 20px;
        min-width: 120px;
    }
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    .whatsapp-button i {
        font-size: 1.2rem;
    }
}

/* Low height screens */
@media (max-height: 400px) {
    .hero {
        min-height: 100vh;
        padding: 20px 0;
    }
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    .hero-logos {
        display: none;
    }
}

/* Landscape orientation with low height */
@media (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: 100vh;
        padding: 15px 0;
    }
    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    .hero-logos {
        display: none;
    }
}

/* Enhanced Cross-Browser Compatibility */
@supports not (display: grid) {
    /* Fallback for older browsers that don't support CSS Grid */
    .hero-container,
    .features-grid,
    .specs-grid {
        display: block;
    }
    
    .hero-container > *,
    .features-grid > *,
    .specs-grid > * {
        display: block;
        margin-bottom: 2rem;
    }
}

/* Animated Text Effect for Community Button */
.btn-secondary {
    position: relative;
    overflow: hidden;
}

.btn-secondary p {
    font-size: 50px;
    font-weight: 800;
    margin-top: 20px;
    display: inline-block;
    width: 300px;
    background: #111 -webkit-linear-gradient(left, #111, #fff) no-repeat 0 0 / 30px;
    background-clip: text;
    -webkit-text-fill-color: rgba(255, 255, 255, .3);
    animation: sweep 2.5s ease-in infinite;
}

@keyframes sweep {
    0% {
        background-position: 0 0;
    }
  
    100% {
        background-position: 100% 100%;
    }
}

/* Modern CSS with fallbacks */
@supports (display: flex) {
    .hero-container,
    .features-grid,
    .specs-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
    }
}

@supports (display: grid) {
    .hero-container,
    .features-grid,
    .specs-grid {
        display: grid;
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Enhanced touch device support */
@media (pointer: coarse) {
    .btn,
    .whatsapp-button,
    .hero-logo {
        min-height: 44px; /* iOS recommended minimum touch target */
        min-width: 44px;
    }
    
    .nav-menu a {
        padding: 12px 16px; /* Larger touch targets for mobile */
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --main-primary: #8b9df3;
        --main-secondary: #9b6bb8;
    }
}

/* Reduced motion support for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .btn-primary {
        animation: none !important;
    }
    
    .whatsapp-button {
        animation: none !important;
    }
}

/* Print styles */
@media print {
    .whatsapp-widget,
    .hero-buttons,
    .cta-buttons {
        display: none !important;
    }
    
    .hero {
        background: white !important;
        color: black !important;
        min-height: auto !important;
    }
    
    body {
        font-size: 12pt !important;
        line-height: 1.4 !important;
    }
}

/* Focus styles for accessibility */
.btn:focus,
.whatsapp-button:focus,
.hero-logo:focus {
    outline: 2px solid var(--main-primary);
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--main-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 4px;
}

.skip-link:focus {
    top: 6px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    font-size: 16px; /* Base font size for mobile */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Ensure proper mobile rendering */
html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
    scroll-behavior: smooth;
}

/* iPhone/iOS specific optimizations */
@supports (-webkit-touch-callout: none) {
    /* iOS Safari specific styles */
    body {
        -webkit-overflow-scrolling: touch;
        -webkit-tap-highlight-color: transparent;
    }
    
    .btn, .whatsapp-button {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

/* Android specific optimizations */
@supports (-webkit-appearance: none) and (not (overflow: -webkit-marquee)) and (not (-ms-ime-align: auto)) and (not (-moz-appearance: none)) {
    .btn,
    .whatsapp-button {
        -webkit-appearance: none;
        appearance: none;
    }
}

/* Windows Phone/Edge specific */
@supports (-ms-ime-align: auto) {
    .hero-container {
        display: -ms-flexbox;
        -ms-flex-direction: column;
        -ms-flex-align: center;
        -ms-flex-pack: center;
    }
}

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



/* Hero Section */
.hero {
    background: var(--main-gradient);
    background: -webkit-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: -moz-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: -o-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 40px 0;
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 0;
    position: relative;
}

.hero-container {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 3rem;
    -ms-grid-row-align: center;
    -ms-grid-column-align: center;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: -webkit-linear-gradient(45deg, #fff, #f0f0f0);
    background: -moz-linear-gradient(45deg, #fff, #f0f0f0);
    background: -o-linear-gradient(45deg, #fff, #f0f0f0);
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    text-fill-color: transparent;
    text-align: center;
}

.hero-content .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #e2e8f0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero-content {
    margin-bottom: 2rem;
}

.hero-buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* Hero Logos Section */
.hero-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-logo {
    max-height: 60px;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Makes logos white */
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.hero-logo:hover {
    opacity: 1;
}

.hero-buttons .btn-primary {
    background: #f1c40f;
    border: 2px solid #f1c40f;
    color: #000000;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-animation: button-bounce 2s infinite;
    -moz-animation: button-bounce 2s infinite;
    -o-animation: button-bounce 2s infinite;
    animation: button-bounce 2s infinite;
    min-height: 48px; /* Mobile touch target size */
    min-width: 200px; /* Minimum width for mobile */
    text-align: center;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-buttons .btn-primary:hover {
    background: #f39c12;
    border-color: #f39c12;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.4);
}

/* Button bounce animation */
@-webkit-keyframes button-bounce {
    0%, 20%, 50%, 80%, 100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-8px);
        transform: translateY(-8px);
    }
    60% {
        -webkit-transform: translateY(-4px);
        transform: translateY(-4px);
    }
}

@-moz-keyframes button-bounce {
    0%, 20%, 50%, 80%, 100% {
        -moz-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -moz-transform: translateY(-8px);
        transform: translateY(-8px);
    }
    60% {
        -moz-transform: translateY(-4px);
        transform: translateY(-4px);
    }
}

@keyframes button-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-height: 48px; /* Touch target size for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: #fff;
    color: #2563eb;
}

.btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.btn-secondary {
    background: #16a085;
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(22, 160, 133, 0.4);
    position: relative;
    overflow: hidden;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    -webkit-animation: light-swipe 3s infinite;
    -moz-animation: light-swipe 3s infinite;
    animation: light-swipe 3s infinite;
}



.btn-secondary:hover {
    background: #14a085;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 160, 133, 0.6);
}



.btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    background: rgba(255,255,255,0.1);
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.image-placeholder p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Features Section */
.features {
    padding: 60px 0 80px 0;
    background: #f8fafc;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #2563eb;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease, -moz-box-shadow 0.3s ease;
    -o-transition: -o-transform 0.3s ease, -o-box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: -webkit-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: -moz-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: -o-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: #fff;
}

.feature-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Detailed Features */
.detailed-features {
    padding: 80px 0;
    background: #fff;
}

.feature-row {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    -ms-grid-row-align: center;
    -ms-grid-column-align: center;
    align-items: center;
    margin-bottom: 6rem;
}

.feature-row:last-child {
    margin-bottom: 0;
}

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

.feature-row.reverse .feature-content {
    direction: ltr;
}

.feature-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.feature-content p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 1rem;
    color: #64748b;
}

.feature-list i {
    color: #10b981;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image .image-placeholder {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.feature-image .image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2563eb;
}

.feature-image .image-placeholder p {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

/* Specifications Section */
.specifications {
    padding: 80px 0;
    background: #f8fafc;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.spec-category h3 {
    color: #2563eb;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.spec-content h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.spec-content p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.learn-more {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: inline-block;
    min-height: 44px; /* Touch target size */
}

.learn-more:hover {
    color: #1d4ed8;
}

.spec-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.spec-item h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.spec-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Sharing Section */
.sharing {
    padding: 80px 0;
    background: #fff;
}

.sharing-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.sharing-content h3 {
    color: #2563eb;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.sharing-content h4 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.sharing-content p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.sharing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.sharing-feature h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.sharing-feature p {
    color: #64748b;
    line-height: 1.6;
}

/* Reach Section */
.reach {
    padding: 80px 0;
    background: #f8fafc;
}

.reach-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.reach-content h3 {
    color: #2563eb;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.reach-content h4 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.reach-content p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.reach-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.reach-feature h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.reach-feature p {
    color: #64748b;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: -webkit-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: -moz-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: -o-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background: var(--main-gradient);
    color: #fff;
    text-align: center;
}

.cta-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    margin-top: 2rem;
}

.cta-note {
    margin-top: 1rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #1e293b;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4,
.footer-section h5 {
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-section h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-section h5 {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: inline-block;
    min-height: 44px; /* Touch target size */
}

.footer-section ul li a:hover {
    color: #fff;
}

.certifications {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 1rem;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.cert {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: #cbd5e1;
}

/* Floating WhatsApp Button */
.whatsapp-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-button i {
    color: #fff;
    font-size: 1.8rem;
}

/* WhatsApp pulse animation */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* WhatsApp Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--main-primary);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    pointer-events: none;
    z-index: 1001;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--main-primary);
}



/* Enhanced Mobile-First Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-container {
        gap: 3rem;
    }
    
    .feature-row {
        gap: 3rem;
    }
    
    .specs-grid {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-container {
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-header h3 {
        font-size: 2.2rem;
    }
    
    .feature-row {
        gap: 2rem;
    }
    
    .specs-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    

    

    
    .hero {
        padding: 100px 0 60px;
        min-height: 90vh;
    }
    
    .hero-container {
        gap: 2rem;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        gap: 0.75rem;
        justify-content: center;
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-logos {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .hero-logo {
        max-height: 50px;
        max-width: 100px;
    }
    
    .hero-buttons .btn-primary {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
        min-width: 160px;
        width: 100%;
        max-width: 260px;
        min-height: 52px; /* Larger touch target for mobile */
        animation: button-bounce-mobile 3s infinite; /* Slower, gentler animation for mobile */
    }
    
    .hero-buttons .btn-secondary {
        padding: 1rem 1.5rem;
        font-size: 0.85rem;
        min-width: 160px;
        width: 100%;
        max-width: 260px;
        min-height: 52px;
        border-radius: 25px;
    }
    
    /* Mobile-optimized bounce animation */
    @keyframes button-bounce-mobile {
        0%, 20%, 50%, 80%, 100% {
            transform: translateY(0);
        }
        40% {
            transform: translateY(-4px);
        }
        60% {
            transform: translateY(-2px);
        }
    }
    
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
        min-height: 44px;
    }
    
    .image-placeholder {
        min-height: 250px;
        padding: 2rem;
    }
    
    .image-placeholder i {
        font-size: 3rem;
    }
    
    .feature-image .image-placeholder {
        min-height: 200px;
        padding: 1.5rem;
    }
    
    .feature-image .image-placeholder i {
        font-size: 2.5rem;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h3 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .detailed-features {
        padding: 60px 0;
    }
    
    .feature-row {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }
    
    .feature-row.reverse {
        direction: ltr;
    }
    
    .feature-content h3 {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .feature-content p {
        text-align: center;
        font-size: 1rem;
    }
    
    .feature-list {
        text-align: left;
    }
    
    .specifications {
        padding: 60px 0;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .spec-content h4 {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .spec-content p {
        text-align: center;
        font-size: 1rem;
    }
    
    .sharing,
    .reach {
        padding: 60px 0;
    }
    
    .sharing-content h4,
    .reach-content h4 {
        font-size: 2rem;
    }
    
    .sharing-content p,
    .reach-content p {
        font-size: 1rem;
    }
    
    .sharing-features,
    .reach-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .cta {
        padding: 60px 0;
    }
    
    .cta-content h3 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 1rem;
    }
    
    .certifications {
        justify-content: center;
    }
    
    .whatsapp-widget {
        bottom: 1rem;
        right: 1rem;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 1.2rem;
    }
    
    .whatsapp-tooltip {
        right: 65px;
        font-size: 11px;
        padding: 5px 8px;
    }
    
    .whatsapp-widget:hover .whatsapp-tooltip {
        right: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0 40px;
        min-height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
        max-width: 100%;
    }
    
    .hero-buttons {
        gap: 0.75rem;
        justify-content: center;
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-logos {
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .hero-logo {
        max-height: 45px;
        max-width: 90px;
    }
    
    .hero-buttons .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-buttons .btn-secondary {
        padding: 1rem 2rem;
        font-size: 0.85rem;
        border-radius: 25px;
        width: 100%;
        max-width: 300px;
    }
    
    .btn {
        width: 100%;
        padding: 1rem;
        font-size: 0.9rem;
        min-height: 48px;
    }
    
    .image-placeholder {
        min-height: 200px;
        padding: 1.5rem;
    }
    
    .image-placeholder i {
        font-size: 2.5rem;
    }
    
    .feature-image .image-placeholder {
        min-height: 180px;
        padding: 1.25rem;
    }
    
    .feature-image .image-placeholder i {
        font-size: 2rem;
    }
    
    .image-placeholder p {
        font-size: 1rem;
    }
    
    .features {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 0.9rem;
    }
    
    .section-header h3 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .features-grid {
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-card h4 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
    
    .detailed-features {
        padding: 40px 0;
    }
    
    .feature-row {
        margin-bottom: 3rem;
    }
    
    .feature-content h3 {
        font-size: 1.5rem;
    }
    
    .feature-content p {
        font-size: 0.95rem;
    }
    
    .specifications {
        padding: 40px 0;
    }
    
    .spec-content h4 {
        font-size: 1.5rem;
    }
    
    .spec-content p {
        font-size: 0.95rem;
    }
    
    .spec-item h5 {
        font-size: 1.1rem;
    }
    
    .spec-item p {
        font-size: 0.95rem;
    }
    
    .sharing,
    .reach {
        padding: 40px 0;
    }
    
    .sharing-content h4,
    .reach-content h4 {
        font-size: 1.75rem;
    }
    
    .sharing-content p,
    .reach-content p {
        font-size: 0.95rem;
    }
    
    .sharing-feature h5,
    .reach-feature h5 {
        font-size: 1.1rem;
    }
    
    .sharing-feature p,
    .reach-feature p {
        font-size: 0.95rem;
    }
    
    .cta {
        padding: 40px 0;
    }
    
    .cta-content h3 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 0.95rem;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-section h4 {
        font-size: 1.25rem;
    }
    
    .footer-section h5 {
        font-size: 1rem;
    }
    
    .footer-section p,
    .footer-section ul li a {
        font-size: 0.9rem;
    }
    
    .cert {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-header h3 {
        font-size: 1.5rem;
    }
    
    .feature-content h3 {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 0.875rem;
        font-size: 0.85rem;
    }
    
    .image-placeholder {
        min-height: 180px;
        padding: 1.25rem;
    }
    
    .image-placeholder i {
        font-size: 2rem;
    }
    
    .whatsapp-button i {
        font-size: 0.9rem;
    }
    
    .whatsapp-tooltip {
        right: 60px;
        font-size: 10px;
        padding: 4px 6px;
    }
    
    .whatsapp-widget:hover .whatsapp-tooltip {
        right: 55px;
    }
}

/* iPhone SE and small iPhone screens */
@media only screen 
    and (max-device-width: 375px) 
    and (max-device-height: 667px) 
    and (-webkit-device-pixel-ratio: 2) {
    
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn {
        min-height: 44px;
        padding: 0.9rem 1.8rem;
    }
}

/* iPhone X and newer models */
@media only screen 
    and (min-device-width: 375px) 
    and (max-device-width: 428px) 
    and (-webkit-device-pixel-ratio: 3) {
    
    .hero {
        padding: 60px 0 30px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }
    
    .feature-card:hover {
        transform: none;
    }
    
    .whatsapp-button:hover {
        transform: none;
    }
    
    /* Increase touch targets */
    .nav-menu a,
    .dropdown-menu a,
    .footer-section ul li a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Disable hover effects on touch devices */
    .feature-card:hover,
    .btn:hover,
    .whatsapp-button:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    

}

/* Additional mobile optimizations */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    /* Optimize animations for mobile */
    .feature-card,
    .feature-row,
    .spec-item,
    .sharing-feature,
    .reach-feature {
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    /* Reduce animation intensity on mobile */
    .hero-buttons .btn-primary {
        animation: button-bounce-mobile 3s infinite;
    }
    
    /* Ensure proper spacing on small screens */
    .container {
        padding: 0 15px;
    }
    
    /* Fix hero section height on mobile */
    .hero {
        min-height: 100vh;
        padding: 80px 0 60px;
    }
}

/* Landscape mobile optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 60px 0 40px;
    }
    
    .hero-container {
        gap: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        margin-bottom: 1rem;
    }
    
    .image-placeholder {
        min-height: 150px;
        padding: 1rem;
    }
}

/* Device-specific optimization classes */

/* Mobile device optimizations */
.mobile-device .hero {
    padding: 60px 0 30px 0;
}

.mobile-device .btn {
    min-height: 48px;
    font-size: 1rem;
}

/* Tablet device optimizations */
.tablet-device .hero-container {
    max-width: 900px;
}

.tablet-device .hero-content h1 {
    font-size: 3.5rem;
}

/* Touch device optimizations */
.touch-device .btn:hover,
.touch-device .feature-card:hover,
.touch-device .whatsapp-button:hover {
    transform: none;
    box-shadow: none;
}

.touch-device .btn:active,
.touch-device .feature-card:active,
.touch-device .whatsapp-button:active {
    transform: scale(0.98);
}

/* Low-end device optimizations */
.low-end-device .btn-primary {
    animation: none;
}

.low-end-device .whatsapp-button {
    animation: none;
}

.low-end-device .hero {
    background: var(--main-primary);
    background-image: none;
}

/* Mobile layout optimizations */
.mobile-layout .container {
    padding: 0 15px;
}

.mobile-layout .hero {
    padding: 50px 0 30px 0;
}

.mobile-layout .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
}

/* Landscape orientation optimizations */
@media (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: auto;
        padding: 30px 0 20px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-logos {
        margin-top: 1rem;
    }
}

/* Additional device-specific optimizations */

/* Ultra-wide screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-content h1 {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
}

/* Large tablets in landscape */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .hero {
        min-height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

/* iPad Pro specific */
@media only screen 
    and (min-width: 1024px) 
    and (max-height: 1366px) 
    and (orientation: portrait) {
    .hero {
        min-height: 85vh;
        padding: 60px 0 40px 0;
    }
    
    .hero-content h1 {
        font-size: 3.2rem;
        line-height: 1.1;
    }
}

/* Samsung Galaxy Fold and similar narrow devices */
@media (max-width: 280px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
        min-height: 40px;
    }
    
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-button i {
        font-size: 1.2rem;
    }
}

/* Very small height devices (like some mobile browsers) */
@media (max-height: 400px) {
    .hero {
        min-height: auto;
        padding: 40px 0 20px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-logos {
        margin-top: 1rem;
    }
}

/* Device orientation changes */
@media (orientation: landscape) and (max-height: 500px) {
    .hero {
        min-height: auto;
        padding: 30px 0 20px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid #000;
        background: #fff;
        color: #000;
    }
    
    .hero {
        background: #000;
        color: #fff;
    }
    
    .whatsapp-button {
        border: 2px solid #000;
        background: #fff;
        color: #000;
    }
}

/* Focus visible for keyboard navigation */
@media (focus-visible: visible) {
    .btn:focus-visible,
    .whatsapp-button:focus-visible {
        outline: 3px solid var(--main-primary);
        outline-offset: 3px;
    }
}

/* Hover effects only on devices that support hover */
@media (hover: hover) and (pointer: fine) {
    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }
    
    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }
    
    .whatsapp-button:hover {
        transform: scale(1.1);
    }
}

/* No hover support (touch devices) */
@media (hover: none) {
    .btn:active,
    .whatsapp-button:active {
        transform: scale(0.95);
    }
}

/* Safe area support for devices with notches */
@supports (padding: max(0px)) {
    .hero {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .whatsapp-widget {
        bottom: max(20px, env(safe-area-inset-bottom));
        right: max(20px, env(safe-area-inset-right));
    }
}

/* Performance optimizations for low-end devices */
@media (prefers-reduced-data: reduce) {
    .hero {
        background: var(--main-primary);
        background-image: none;
    }
    
    .btn-primary {
        animation: none;
    }
    
    .whatsapp-button {
        animation: none;
    }
}

/* Ensure text remains readable on all devices */
@media (max-width: 320px) {
    body {
        font-size: 14px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
    
    .section-header h3 {
        font-size: 1.2rem;
    }
}

/* Landscape phone optimization */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        min-height: 70vh;
        padding: 40px 0 30px 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-logos {
        margin-top: 1rem;
    }
}

/* Ensure buttons are always accessible */
.btn,
.whatsapp-button {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Fallback for older browsers */
@supports not (gap: 1rem) {
    .hero-container > * + *,
    .features-grid > * + *,
    .specs-grid > * + * {
        margin-top: 2rem;
    }
    
    .hero-buttons > * + * {
        margin-left: 1rem;
    }
    
    .hero-logos > * + * {
        margin-left: 1.5rem;
    }
}

/* Light Swipe Animation for Secondary Button */
@-webkit-keyframes light-swipe {
    0% {
        box-shadow: 0 4px 15px rgba(22, 160, 133, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(22, 160, 133, 0.8), 0 0 30px rgba(22, 160, 133, 0.3);
    }
    100% {
        box-shadow: 0 4px 15px rgba(22, 160, 133, 0.4);
    }
}

@-moz-keyframes light-swipe {
    0% {
        box-shadow: 0 4px 15px rgba(22, 160, 133, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(22, 160, 133, 0.8), 0 0 30px rgba(22, 160, 133, 0.3);
    }
    100% {
        box-shadow: 0 4px 15px rgba(22, 160, 133, 0.4);
    }
}

@keyframes light-swipe {
    0% {
        box-shadow: 0 4px 15px rgba(22, 160, 133, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(22, 160, 133, 0.8), 0 0 30px rgba(22, 160, 133, 0.3);
    }
    100% {
        box-shadow: 0 4px 15px rgba(22, 160, 133, 0.4);
    }
}

/* ===== NEW LOOPING ANIMATIONS ===== */

/* Floating animation for hero elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Continuous rotation for icons */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Pulse glow effect */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(102, 126, 234, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.8), 0 0 30px rgba(102, 126, 234, 0.6);
    }
}

/* Wave animation for text */
@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-5px);
    }
    75% {
        transform: translateY(5px);
    }
}

/* Shimmer effect */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Bounce with rotation */
@keyframes bounce-rotate {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(5deg);
    }
    75% {
        transform: translateY(-5px) rotate(-5deg);
    }
}

/* Continuous slide */
@keyframes slide {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Apply floating animation to hero elements */
.hero-content h1 {
    animation: float 3s ease-in-out infinite;
}

.hero-content .hero-subtitle {
    animation: float 3s ease-in-out infinite 0.5s;
}

.hero-buttons {
    animation: float 3s ease-in-out infinite 1s;
}

/* Apply rotation to feature icons */
.feature-icon {
    animation: rotate 20s linear infinite;
}

.feature-icon:hover {
    animation: rotate 5s linear infinite;
}

/* Apply glow effect to primary button */
.btn-primary {
    animation: glow 2s ease-in-out infinite;
}

/* Apply wave animation to section headers */
.section-header h2 {
    animation: wave 2s ease-in-out infinite;
}

.section-header h3 {
    animation: wave 2s ease-in-out infinite 0.3s;
}

/* Apply shimmer effect to secondary button */
.btn-secondary {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Apply bounce-rotate to hero logos */
.hero-logo {
    animation: bounce-rotate 4s ease-in-out infinite;
}

.hero-logo:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-logo:nth-child(3) {
    animation-delay: 1s;
}

/* Apply continuous slide to background elements */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(102, 126, 234, 0.1) 50%, transparent 70%);
    animation: slide 8s linear infinite;
    pointer-events: none;
}

/* Floating animation for feature cards */
.feature-card {
    animation: float 4s ease-in-out infinite;
}

.feature-card:nth-child(2) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(3) {
    animation-delay: 1s;
}

/* Continuous rotation for spec icons */
.spec-content h4 i {
    animation: rotate 15s linear infinite;
}

/* Pulse animation for CTA section */
.cta {
    animation: glow 3s ease-in-out infinite;
}

/* Wave animation for footer elements */
.footer-section h4 {
    animation: wave 3s ease-in-out infinite;
}

/* Enhanced floating for mobile */
@media (max-width: 768px) {
    .hero-content h1 {
        animation: float 2s ease-in-out infinite;
    }
    
    .feature-card {
        animation: float 3s ease-in-out infinite;
    }
    
    .hero-logo {
        animation: bounce-rotate 3s ease-in-out infinite;
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .hero-content h1,
    .hero-content .hero-subtitle,
    .hero-buttons,
    .feature-icon,
    .btn-primary,
    .section-header h2,
    .section-header h3,
    .btn-secondary,
    .hero-logo,
    .hero::before,
    .feature-card,
    .spec-content h4 i,
    .cta,
    .footer-section h4 {
        animation: none;
    }
}

/* High performance animations for modern devices */
@media (min-width: 1024px) {
    .hero-content h1 {
        animation: float 4s ease-in-out infinite;
    }
    
    .feature-icon {
        animation: rotate 25s linear infinite;
    }
    
    .hero-logo {
        animation: bounce-rotate 5s ease-in-out infinite;
    }
}

/* Ultra-wide screen animations */
@media (min-width: 2000px) {
    .hero-content h1 {
        animation: float 5s ease-in-out infinite;
    }
    
    .feature-card {
        animation: float 6s ease-in-out infinite;
    }
}
