/* Mobile-Optimized Splash Page Styles */

/* ===== Mobile Base Overrides ===== */
@media (max-width: 768px) {
    /* Reset container padding for full-width mobile experience */
    .splash-container {
        margin: -2rem -1rem 0 -1rem;
    }
    
    /* ===== Hero Section Mobile ===== */
    .splash-hero {
        padding: 3rem 1rem 4rem 1rem;
        min-height: 100vh;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    /* Simplify background for performance */
    .splash-hero::before {
        background-image: 
            radial-gradient(circle at 50% 20%, rgba(255,255,255,0.15) 0%, transparent 40%);
    }
    
    .hero-content {
        width: 100%;
        padding: 0 1rem;
        z-index: 2;
    }
    
    /* Mobile-optimized typography */
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 1rem;
        font-weight: 700;
        letter-spacing: -0.5px;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.25rem);
        line-height: 1.5;
        margin-bottom: 2rem;
        font-weight: 400;
        opacity: 0.95;
        padding: 0 1rem;
    }
    
    /* Mobile CTA buttons */
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
        padding: 0 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 30px;
        font-weight: 600;
        min-height: 48px; /* Touch-friendly height */
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Enhanced mobile button states */
    .btn-primary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    }
    
    .btn-primary:active {
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    }
    
    .btn-secondary {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.8);
    }
    
    .btn-secondary:active {
        transform: scale(0.98);
        background: rgba(255, 255, 255, 0.25);
    }
    
    /* Hide floating clock on mobile */
    .hero-visual {
        display: none;
    }
    
    /* ===== Features Banner Mobile ===== */
    .features-banner {
        padding: 1rem 0;
        margin: 2rem 0;
    }
    
    .feature-item {
        padding: 0 1.5rem;
        font-size: 0.875rem;
        gap: 0.5rem;
    }
    
    .feature-item i {
        font-size: 1rem;
    }
    
    /* Speed up animation on mobile */
    .features-track {
        animation-duration: 30s;
    }
    
    /* ===== Features Grid Mobile ===== */
    .features-grid {
        padding: 3rem 1rem;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2rem);
        margin-bottom: 2rem;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        border-radius: 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    
    /* Reduce icon size on mobile */
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* ===== Statistics Mobile ===== */
    .statistics {
        padding: 3rem 1rem;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .statistics .section-title {
        font-size: clamp(1.75rem, 6vw, 2rem);
        margin-bottom: 2rem;
    }
    
    .stat-item {
        width: 100%;
    }
    
    .stat-number {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 0.25rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    /* ===== Testimonials Mobile ===== */
    .testimonials {
        padding: 3rem 1rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        box-shadow: 0 4px 12px rgba(31, 38, 135, 0.08);
    }
    
    .testimonial-card p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    /* ===== Pricing Mobile ===== */
    .pricing {
        padding: 3rem 1rem;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
    }
    
    /* Remove scale on featured card for mobile */
    .pricing-card.featured {
        transform: none;
        margin-top: 2rem;
    }
    
    .pricing-card h3 {
        font-size: 1.5rem;
    }
    
    .price {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .pricing-features li {
        padding: 0.5rem 0;
        font-size: 0.95rem;
    }
    
    .btn-pricing {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* ===== Final CTA Mobile ===== */
    .final-cta {
        padding: 3rem 1rem;
    }
    
    .final-cta h2 {
        font-size: clamp(1.75rem, 6vw, 2rem);
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }
    
    .final-cta p {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .btn-primary.large {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        max-width: 280px;
        width: 100%;
    }
}

/* ===== Small Mobile Devices (max-width: 480px) ===== */
@media (max-width: 480px) {
    .splash-hero {
        padding: 2rem 0.5rem 3rem 0.5rem;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .pricing-card {
        padding: 1.5rem 1rem;
    }
}

/* ===== Landscape Mobile ===== */
@media (max-width: 812px) and (orientation: landscape) {
    .splash-hero {
        min-height: auto;
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: auto;
        min-width: 160px;
    }
}

/* ===== Touch Device Enhancements ===== */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .feature-card:hover {
        transform: none;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    }
    
    .pricing-card:hover {
        transform: none;
    }
    
    .testimonial-card:hover {
        transform: none;
    }
    
    /* Add touch feedback */
    .btn-primary:active,
    .btn-secondary:active,
    .btn-pricing:active {
        transform: scale(0.95);
    }
}

/* ===== Performance Optimizations ===== */
@media (max-width: 768px) {
    /* Reduce animation complexity on mobile */
    .splash-hero {
        animation: none;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    
    .statistics {
        animation: none;
        background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
    }
    
    .final-cta {
        animation: none;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    
    /* Simplify animations */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ===== Accessibility Improvements ===== */
@media (max-width: 768px) {
    /* Ensure sufficient tap targets */
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve focus states for mobile */
    *:focus {
        outline: 3px solid #667eea;
        outline-offset: 2px;
    }
    
    /* High contrast mode support */
    @media (prefers-contrast: high) {
        .btn-primary {
            border: 2px solid white;
        }
        
        .btn-secondary {
            background: white;
            color: #667eea;
            border: 2px solid #667eea;
        }
    }
}