/**
 * Modern Mobile Landing Page Styles
 * Fresh, engaging mobile-first design for homepage
 */

/* ============================================
   MOBILE HERO SECTION - REDESIGNED
   ============================================ */

@media (max-width: 991px) {
    /* Hide desktop hero, show mobile hero */
    .hero-section .hero-content > .row {
        display: none !important;
    }
    
    .hero-section {
        min-height: 100vh;
        padding: 0 !important;
        display: flex;
        flex-direction: column;
    }
    
    /* Mobile Hero Header */
    .mobile-hero-header {
        background: linear-gradient(180deg, rgba(28, 164, 211, 0.95) 0%, rgba(21, 132, 179, 0.98) 100%);
        padding: calc(56px + 1.5rem) 1.5rem 3rem 1.5rem;
        position: relative;
        overflow: hidden;
    }
    
    .mobile-hero-header::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -30%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        border-radius: 50%;
        animation: float 20s infinite ease-in-out;
    }
    
    .mobile-hero-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(180deg, transparent 0%, rgba(26,26,30,0.1) 100%);
    }
    
    @keyframes float {
        0%, 100% { transform: translate(0, 0) rotate(0deg); }
        33% { transform: translate(30px, -30px) rotate(120deg); }
        66% { transform: translate(-20px, 20px) rotate(240deg); }
    }
    
    .mobile-hero-content {
        position: relative;
        z-index: 2;
        text-align: center;
    }
    
    .mobile-hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 0.5rem 1rem;
        border-radius: 50px;
        color: white;
        font-size: 0.75rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        animation: slideDown 0.6s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .mobile-hero-title {
        font-size: 2.25rem;
        font-weight: 800;
        color: white;
        line-height: 1.2;
        margin-bottom: 1rem;
        animation: fadeIn 0.8s ease-out 0.2s both;
    }
    
    .mobile-hero-subtitle {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.6;
        margin-bottom: 2rem;
        animation: fadeIn 0.8s ease-out 0.4s both;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Mobile CTA Buttons */
    .mobile-hero-cta {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        animation: fadeIn 0.8s ease-out 0.6s both;
    }
    
    .mobile-cta-primary {
        background: white;
        color: #1ca4d3;
        padding: 1rem 2rem;
        border-radius: 50px;
        font-weight: 700;
        font-size: 1.05rem;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }
    
    .mobile-cta-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
        color: #1584b3;
    }
    
    .mobile-cta-secondary {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border: 2px solid white;
        color: white;
        padding: 1rem 2rem;
        border-radius: 50px;
        font-weight: 600;
        font-size: 1rem;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
    }
    
    .mobile-cta-secondary:hover {
        background: rgba(255, 255, 255, 0.25);
        color: white;
    }
    
    /* Feature Cards Mobile */
    .mobile-features-grid {
        padding: 2rem 1.5rem;
        background: #f8f9fa;
    }
    
    .mobile-section-title {
        font-size: 1.75rem;
        font-weight: 700;
        color: #1a1a1e;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .mobile-section-subtitle {
        font-size: 0.95rem;
        color: #6c757d;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .mobile-feature-card {
        background: white;
        border-radius: 20px;
        padding: 1.5rem;
        margin-bottom: 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .mobile-feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 100%;
        background: var(--gradient-primary);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }
    
    .mobile-feature-card:active {
        transform: scale(0.98);
    }
    
    .mobile-feature-card:active::before {
        transform: scaleY(1);
    }
    
    .mobile-feature-icon {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .mobile-feature-icon.speed {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }
    
    .mobile-feature-icon.reliable {
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        color: white;
    }
    
    .mobile-feature-icon.support {
        background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
        color: white;
    }
    
    .mobile-feature-icon.fiber {
        background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
        color: white;
    }
    
    .mobile-feature-title {
        font-size: 1.1rem;
        font-weight: 700;
        color: #1a1a1e;
        margin-bottom: 0.5rem;
    }
    
    .mobile-feature-description {
        font-size: 0.9rem;
        color: #6c757d;
        line-height: 1.6;
        margin: 0;
    }
    
    /* Packages Preview Mobile */
    .mobile-packages-preview {
        padding: 3rem 1.5rem;
        background: linear-gradient(180deg, #1a1a1e 0%, #2d2d35 100%);
    }
    
    .mobile-packages-preview .mobile-section-title {
        color: white;
    }
    
    .mobile-packages-preview .mobile-section-subtitle {
        color: rgba(255, 255, 255, 0.7);
    }
    
    .mobile-package-card {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        padding: 1.5rem;
        margin-bottom: 1rem;
        position: relative;
        overflow: hidden;
    }
    
    .mobile-package-card.popular {
        border-color: #1ca4d3;
        box-shadow: 0 0 0 2px rgba(28, 164, 211, 0.2);
    }
    
    .mobile-package-badge {
        position: absolute;
        top: 0.65rem;
        right: 0.65rem;
        background: var(--gradient-primary);
        color: white;
        padding: 0.15rem 0.4rem;
        border-radius: 8px;
        font-size: 0.55rem;
        font-weight: 600;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        gap: 0.2rem;
    }
    
    .mobile-package-badge i {
        font-size: 0.5rem;
    }
    
    .mobile-package-name {
        font-size: 1.5rem;
        font-weight: 700;
        color: white;
        margin-bottom: 0.5rem;
    }
    
    .mobile-package-speed {
        font-size: 2.5rem;
        font-weight: 800;
        color: #1ca4d3;
        margin-bottom: 0.25rem;
    }
    
    .mobile-package-speed small {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.6);
    }
    
    .mobile-package-price {
        font-size: 1.75rem;
        font-weight: 700;
        color: white;
        margin-bottom: 1rem;
    }
    
    .mobile-package-price small {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.6);
        font-weight: 500;
    }
    
    .mobile-package-features {
        list-style: none;
        padding: 0;
        margin: 0 0 1.5rem 0;
    }
    
    .mobile-package-features li {
        color: rgba(255, 255, 255, 0.8);
        padding: 0.5rem 0;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .mobile-package-features li i {
        color: #1ca4d3;
        font-size: 0.8rem;
    }
    
    .mobile-package-btn {
        width: 100%;
        background: white;
        color: #1ca4d3;
        padding: 0.875rem;
        border-radius: 12px;
        border: none;
        font-weight: 700;
        font-size: 1rem;
        text-decoration: none;
        display: block;
        text-align: center;
        transition: all 0.3s ease;
    }
    
    .mobile-package-btn:hover {
        background: #f0f0f0;
        transform: translateY(-2px);
        color: #1584b3;
    }
    
    .mobile-view-all {
        margin-top: 1.5rem;
        text-align: center;
    }
    
    .mobile-view-all a {
        color: #1ca4d3;
        text-decoration: none;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1rem;
    }
    
    .mobile-view-all a:hover {
        gap: 0.75rem;
    }
    
    /* Stats Section Mobile */
    .mobile-stats-section {
        padding: 3rem 1.5rem;
        background: white;
    }
    
    .mobile-stat-card {
        text-align: center;
        padding: 2rem 1rem;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 20px;
        margin-bottom: 1rem;
    }
    
    .mobile-stat-icon {
        font-size: 2.5rem;
        color: #1ca4d3;
        margin-bottom: 1rem;
    }
    
    .mobile-stat-value {
        font-size: 2.5rem;
        font-weight: 800;
        color: #1a1a1e;
        line-height: 1;
        margin-bottom: 0.5rem;
    }
    
    .mobile-stat-label {
        font-size: 0.95rem;
        color: #6c757d;
        font-weight: 500;
    }
    
    /* CTA Section Mobile */
    .mobile-cta-section {
        padding: 3rem 1.5rem;
        background: linear-gradient(135deg, #1ca4d3 0%, #1584b3 100%);
        text-align: center;
        position: relative;
        overflow: hidden;
    }
    
    .mobile-cta-section::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        animation: rotate 30s linear infinite;
    }
    
    @keyframes rotate {
        from { transform: rotate(0deg); }
        to { transform: rotate(360deg); }
    }
    
    .mobile-cta-section h2 {
        font-size: 2rem;
        font-weight: 800;
        color: white;
        margin-bottom: 1rem;
        position: relative;
        z-index: 2;
    }
    
    .mobile-cta-section p {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 2rem;
        position: relative;
        z-index: 2;
    }
    
    .mobile-cta-section .mobile-cta-primary {
        background: white;
        color: #1ca4d3;
        position: relative;
        z-index: 2;
    }
    
    /* Testimonial Carousel Mobile */
    .mobile-testimonial-section {
        padding: 3rem 1.5rem;
        background: #f8f9fa;
    }
    
    .mobile-testimonial-card {
        background: white;
        border-radius: 20px;
        padding: 2rem 1.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        margin-bottom: 1rem;
        position: relative;
    }
    
    .mobile-testimonial-quote {
        font-size: 3rem;
        color: #1ca4d3;
        opacity: 0.2;
        position: absolute;
        top: 1rem;
        left: 1rem;
        line-height: 1;
    }
    
    .mobile-testimonial-text {
        font-size: 0.95rem;
        color: #495057;
        line-height: 1.8;
        margin-bottom: 1.5rem;
        position: relative;
        z-index: 2;
    }
    
    .mobile-testimonial-author {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    
    .mobile-testimonial-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: var(--gradient-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 700;
        font-size: 1.25rem;
    }
    
    .mobile-testimonial-info h4 {
        font-size: 1rem;
        font-weight: 700;
        color: #1a1a1e;
        margin: 0 0 0.25rem 0;
    }
    
    .mobile-testimonial-info p {
        font-size: 0.85rem;
        color: #6c757d;
        margin: 0;
    }
    
    .mobile-testimonial-stars {
        color: #ffc107;
        margin-bottom: 1rem;
        font-size: 1rem;
    }
}

/* Small phones optimization */
@media (max-width: 375px) {
    .mobile-hero-title {
        font-size: 2rem;
    }
    
    .mobile-package-speed {
        font-size: 2rem;
    }
    
    .mobile-stat-value {
        font-size: 2rem;
    }
}
