/* Phone Cleaner App Page Styles */

/* Import base styles */
@import url('style.css');

/* App Section Specific Styles */
.app-section {
    background: linear-gradient(135deg, #297c78 0%, #449eb9 100%);
    position: relative;
    overflow: hidden;
}

.app-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></radialGradient></defs><circle cx="150" cy="150" r="70" fill="url(%23a)"/><circle cx="850" cy="250" r="110" fill="url(%23a)"/><circle cx="250" cy="750" r="90" fill="url(%23a)"/><circle cx="750" cy="650" r="80" fill="url(%23a)"/></svg>');
    opacity: 0.4;
    animation: float 25s ease-in-out infinite;
}

.app-icon-large {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.app-icon-large i {
    font-size: 3rem;
}

.app-stats {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.stat-item i {
    font-size: 1.2rem;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00c851 0%, #007e33 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Screenshots Gallery */
.screenshot-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.screenshot-item:hover {
    transform: scale(1.05);
}

.screenshot-item img {
    transition: transform 0.3s ease;
}

.screenshot-item:hover img {
    transform: scale(1.1);
}

/* Step Cards */
.step-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00c851 0%, #007e33 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.step-content h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Review Cards */
.review-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.review-stars {
    margin-bottom: 1rem;
}

.review-stars i {
    font-size: 1.2rem;
    color: #ffc107;
}

.review-text {
    font-style: italic;
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.review-author strong {
    color: #2c3e50;
    font-weight: 600;
}

.review-author span {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Accordion customization */
.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 15px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: #f8f9fa;
    border: none;
    font-weight: 600;
    color: #2c3e50;
    border-radius: 15px;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 200, 81, 0.25);
    border-color: #00c851;
}

.accordion-button:not(.collapsed) {
    background: #00c851;
    color: white;
}

.accordion-body {
    background: white;
    padding: 1.5rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Phone mockup */
.phone-mockup {
    animation: phoneFloat 3s ease-in-out infinite;
}

.phone-mockup i {
    opacity: 0.8;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Download section */
#download {
    position: relative;
    background: linear-gradient(135deg, #00c851 0%, #007e33 100%);
}

#download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-section {
        padding: 3rem 0;
    }

    .app-icon-large {
        width: 80px;
        height: 80px;
    }

    .app-icon-large i {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .feature-card, .step-card, .review-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .feature-icon, .step-number {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .step-number {
        font-size: 1.2rem;
    }

    .stat-item {
        margin-bottom: 1rem;
    }

    .stat-number {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .app-section {
        padding: 2rem 0;
    }

    .app-stats {
        padding: 1rem;
    }

    .feature-card, .step-card, .review-card {
        padding: 1rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .d-flex.gap-3 {
        flex-direction: column;
        gap: 1rem !important;
    }

    .btn {
        width: 100%;
    }
}

/* Loading placeholder */
.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 2s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Focus states for accessibility */
.feature-card:focus,
.step-card:focus,
.review-card:focus {
    outline: 2px solid #00c851;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .app-section {
        background: white !important;
        color: black !important;
    }

    .app-section::before {
        display: none;
    }

    .btn {
        display: none;
    }

    .navbar, footer {
        display: none;
    }
} 