/* ============================================================
   Mobile App Section - Dynamic & Attractive Design
   Red Primary, Black Text, Light Grey Accents
   ============================================================ */

:root {
    --wadai-red: #d90217;
    --wadai-red-dark: #a60112;
    --wadai-red-soft: rgba(217, 2, 23, 0.08);
    --wadai-text-black: #000000;
    --wadai-text-gray: #6c757d;
    --wadai-light-grey: #e9ecef;
    --wadai-bg-light: #f8f9fa;
}

/* ========== MOBILE APP SECTION ========== */
.mobile-app-modern-section {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.mobile-app-modern-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
}

.mobile-app-content {
    position: relative;
    z-index: 1;
}

.mobile-app-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--wadai-text-black) !important;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.mobile-app-description {
    font-size: 1.15rem;
    color: var(--wadai-text-gray) !important;
    line-height: 1.6;
    margin-bottom: 0;
}

.mobile-app-modern-section .badge {
    background: rgba(217, 2, 23, 0.1) !important;
    border: 1px solid rgba(217, 2, 23, 0.2);
    color: var(--wadai-red) !important;
}

/* Feature Grid */
.app-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2.5rem 0;
}

.app-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: white;
    border-radius: 16px;
    border: 2px solid var(--wadai-light-grey);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.app-feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: top;
}

.app-feature-item:hover::before {
    transform: scaleY(1);
}

.app-feature-item:hover {
    transform: translateY(-4px) translateX(5px);
    box-shadow: 0 8px 25px rgba(217, 2, 23, 0.15);
    border-color: var(--wadai-red-soft);
    background: linear-gradient(180deg, #ffffff 0%, #fefefe 100%);
}

.feature-icon-wrapper {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--wadai-red) 0%, var(--wadai-red-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(217, 2, 23, 0.25);
    transition: all 0.4s ease;
}

.app-feature-item:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(217, 2, 23, 0.35);
}

.feature-icon {
    font-size: 1.35rem;
    color: white;
    transition: transform 0.4s ease;
}

.app-feature-item:hover .feature-icon {
    transform: scale(1.15);
}

.feature-content {
    flex: 1;
}

.feature-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--wadai-text-black) !important;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.app-feature-item:hover .feature-title {
    color: var(--wadai-red) !important;
}

/* Download Buttons */
.app-modern-download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-app-store,
.btn-google-play {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: var(--wadai-text-black);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--wadai-text-black);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 160px;
}

.btn-app-store:hover,
.btn-google-play:hover {
    background: var(--wadai-red);
    border-color: var(--wadai-red);
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 2, 23, 0.3);
}

.btn-app-store i,
.btn-google-play i {
    font-size: 1.75rem;
    line-height: 1;
}

.btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn-label {
    font-size: 0.7rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-name {
    font-size: 1rem;
    font-weight: 700;
}

/* Phone Mockup */
.mobile-app-showcase {
    position: relative;
    text-align: center;
    padding: 2rem 0;
}

.phone-mockup {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.phone-screen {
    position: relative;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 30px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 8px rgba(217, 2, 23, 0.1);
    border: 3px solid var(--wadai-light-grey);
    transition: all 0.4s ease;
}

.mobile-app-showcase:hover .phone-screen {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 70px rgba(217, 2, 23, 0.2), 0 0 0 8px rgba(217, 2, 23, 0.15);
    border-color: var(--wadai-red-soft);
}

.phone-screen img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.phone-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: var(--wadai-text-gray);
    min-height: 400px;
}

.phone-placeholder i {
    font-size: 4rem;
    color: var(--wadai-red);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.phone-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .mobile-app-modern-section {
        padding: 4rem 0;
    }
    
    .mobile-app-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .mobile-app-description {
        text-align: center;
    }
    
    .app-features-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
    
    .app-feature-item {
        padding: 1rem 1.25rem;
    }
    
    .app-modern-download-buttons {
        justify-content: center;
    }
    
    .mobile-app-showcase {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-app-title {
        font-size: 1.75rem;
    }
    
    .mobile-app-description {
        font-size: 1rem;
    }
    
    .feature-icon-wrapper {
        width: 45px;
        height: 45px;
        min-width: 45px;
    }
    
    .feature-icon {
        font-size: 1.2rem;
    }
    
    .feature-title {
        font-size: 0.95rem;
    }
    
    .btn-app-store,
    .btn-google-play {
        min-width: 140px;
        padding: 0.75rem 1.25rem;
    }
    
    .btn-app-store i,
    .btn-google-play i {
        font-size: 1.5rem;
    }
    
    .phone-screen {
        padding: 1rem;
        border-radius: 25px;
    }
}

/* Animation */
.app-feature-item[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.app-feature-item[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.app-feature-item[data-delay="100"] {
    transition-delay: 0.1s;
}

.app-feature-item[data-delay="200"] {
    transition-delay: 0.2s;
}

.app-feature-item[data-delay="300"] {
    transition-delay: 0.3s;
}

.mobile-app-showcase[data-animate] {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

