/* Mobile Override CSS - Only applies on mobile devices */

/* Hide desktop-only elements on mobile */
@media (max-width: 768px) {
    /* Hide the original desktop layout */
    .desktop-version {
        display: none !important;
    }
    
    /* Show mobile version */
    .mobile-version {
        display: block !important;
    }
}

/* Show desktop version on larger screens */
@media (min-width: 769px) {
    /* Show desktop version */
    .desktop-version {
        display: block !important;
    }
    
    /* Hide mobile version */
    .mobile-version {
        display: none !important;
    }
}

/* Mobile-specific styles when mobile version is active */
@media (max-width: 768px) {
    /* Reset all desktop styles for mobile */
    body {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        line-height: 1.6;
        color: #1f2937;
        background-color: #f9fafb;
        font-size: 16px;
        overflow-x: hidden;
        position: relative;
        min-height: 100vh;
        margin: 0;
        padding: 0;
    }
    
    /* Mobile container */
    .mobile-version .container {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    /* Mobile typography */
    .mobile-version h1 {
        font-size: 2rem;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 1rem;
        color: #ffffff;
    }
    
    .mobile-version h2 {
        font-size: 1.75rem;
        font-weight: 600;
        line-height: 1.3;
        margin-bottom: 1rem;
        color: #1f2937;
    }
    
    .mobile-version h3 {
        font-size: 1.25rem;
        font-weight: 600;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    .mobile-version p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        color: #6b7280;
    }
    
    /* Mobile header */
    .mobile-version header {
        background: #f9fafb;
        padding: 1rem 0;
        border-bottom: 1px solid #e5e7eb;
        position: sticky;
        top: 0;
        z-index: 100;
        backdrop-filter: blur(10px);
    }
    
    .mobile-version .logo h1 {
        color: #2c5aa0;
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
    /* Mobile hero */
    .mobile-version .hero {
        background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
        color: #ffffff;
        padding: 3rem 0;
        text-align: center;
    }
    
    .mobile-version .hero-content h1 {
        color: #ffffff;
        font-size: 2.25rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .mobile-version .hero-content p {
        color: rgba(255, 255, 255, 0.9);
        font-size: 1.125rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    
    .mobile-version .hero-image {
        margin-top: 2rem;
    }
    
    .mobile-version .hero-image img {
        width: 100%;
        max-width: 300px;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    
    /* Mobile CTA button */
    .mobile-version .cta-button {
        display: inline-block;
        background: #34d399;
        color: #1f2937;
        padding: 1rem 2rem;
        border-radius: 12px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.125rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .mobile-version .cta-button:hover {
        background: #10b981;
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    
    /* Mobile sections */
    .mobile-version section {
        padding: 3rem 0;
    }
    
    .mobile-version .trust-section {
        background: #f9fafb;
    }
    
    .mobile-version .trust-section h2 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .mobile-version .trust-grid {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .mobile-version .trust-item {
        text-align: center;
        padding: 1.5rem;
        background: white;
        border-radius: 12px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-version .trust-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .mobile-version .trust-item h3 {
        color: #1f2937;
        margin-bottom: 0.75rem;
    }
    
    .mobile-version .trust-item p {
        color: #6b7280;
        font-size: 0.95rem;
        margin-bottom: 0;
    }
    
    /* Mobile how it works */
    .mobile-version .how-it-works {
        background: white;
    }
    
    .mobile-version .how-it-works h2 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .mobile-version .content-block {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .mobile-version .text-content p {
        margin-bottom: 1.5rem;
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .mobile-version .image-content {
        text-align: center;
    }
    
    .mobile-version .image-content img {
        width: 100%;
        max-width: 320px;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    
    /* Mobile success story */
    .mobile-version .success-story {
        background: #f9fafb;
    }
    
    .mobile-version .success-story h2 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .mobile-version .story-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .mobile-version .story-image {
        text-align: center;
    }
    
    .mobile-version .story-image img {
        width: 100%;
        max-width: 280px;
        height: auto;
        border-radius: 12px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-version .story-stats {
        display: flex;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .mobile-version .story-stat {
        flex: 1;
        text-align: center;
        padding: 1rem;
        background: #2c5aa0;
        color: #ffffff;
        border-radius: 12px;
    }
    
    .mobile-version .story-stat .stat-number {
        font-size: 1.75rem;
        font-weight: 700;
        color: #34d399;
        margin-bottom: 0.25rem;
    }
    
    .mobile-version .story-stat .stat-label {
        font-size: 0.875rem;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .mobile-version blockquote {
        background: white;
        padding: 1.5rem;
        border-left: 4px solid #34d399;
        border-radius: 12px;
        margin: 1.5rem 0;
        font-style: italic;
        color: #6b7280;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-version .recovery-details {
        background: white;
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-version .recovery-details p {
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
    }
    
    .mobile-version .recovery-details p:last-child {
        margin-bottom: 0;
    }
    
    /* Mobile contact */
    .mobile-version .contact-section {
        background: #34d399;
        text-align: center;
        color: #1f2937;
    }
    
    .mobile-version .contact-section h2 {
        color: #1f2937;
        margin-bottom: 1rem;
    }
    
    .mobile-version .contact-section p {
        color: #1f2937;
        font-size: 1.125rem;
        margin-bottom: 2rem;
        opacity: 0.9;
    }
    
    .mobile-version .contact-button {
        display: inline-block;
        background: #2c5aa0;
        color: #ffffff;
        padding: 1rem 2rem;
        border-radius: 12px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.125rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .mobile-version .contact-button:hover {
        background: #1e40af;
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
    
    /* Ensure mobile version has proper bottom spacing */
    .mobile-version {
        min-height: 100vh;
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
    }
    
    .mobile-version main {
        flex: 1;
        padding-bottom: 0;
    }
    
    /* Remove spacing from contact section */
    .mobile-version .contact {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    /* Redesigned Mobile footer - Compact and reliable */
    .mobile-version footer {
        background: #1f2937;
        color: #ffffff;
        padding: 3rem 1rem 4rem 1rem;
        text-align: center;
        width: 100%;
        position: relative;
        flex-shrink: 0;
        box-sizing: border-box;
        border-top: 3px solid #34d399;
        margin-top: 0;
    }
    
    .mobile-version .footer-logo {
        display: none; /* Hide the logo section */
    }
    
    /* Simple copyright footer content */
    .mobile-version footer::after {
        content: "© 2025 BTCSavior - Crypto Recovery Services";
        display: block;
        color: #ffffff;
        font-size: 0.95rem;
        font-weight: 500;
        line-height: 1.4;
        margin: 0;
        padding: 0;
    }
    
    /* Add safe area for mobile devices */
    @supports (padding-bottom: env(safe-area-inset-bottom)) {
        .mobile-version footer {
            padding-bottom: calc(4rem + env(safe-area-inset-bottom));
        }
    }
}

