/* Task Alarm Specific Styles */

.app-swx {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.swx-bg-alarm {
    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 100 100"><defs><pattern id="alarm-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/><path d="M15,15 Q25,5 35,15 Q25,25 15,15" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23alarm-pattern)"/></svg>');
}

.app-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.app-icon-large {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.app-icon-large .material-icons {
    font-size: 3rem;
    color: white;
}

.app-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.app-tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0.5rem 0 0 0;
    font-weight: 300;
}

.app-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-item .material-icons {
    font-size: 1.5rem;
    opacity: 0.8;
}

.stat-item strong {
    display: block;
    font-size: 1.1rem;
    line-height: 1;
}

.stat-item small {
    display: block;
    opacity: 0.7;
    font-size: 0.875rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Phone Mockup */
.app-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.app-interface {
    padding: 2rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.interface-header {
    text-align: center;
    margin-bottom: 2rem;
}

.time-display {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.challenge-indicator {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: white;
    backdrop-filter: blur(10px);
}

.challenge-area {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.challenge-icon .material-icons {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.challenge-text {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.challenge-input input {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 10px;
    padding: 0.75rem;
    font-size: 1.1rem;
    text-align: center;
    width: 100px;
}

.alarm-controls {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
}

.control-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.control-btn.snooze {
    background: rgba(255, 193, 7, 0.9);
}

.control-btn.stop {
    background: rgba(220, 53, 69, 0.9);
}

.control-btn .material-icons {
    color: white;
    font-size: 1.5rem;
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Feature Cards */
.feature-card-alarm {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card-alarm:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.2);
}

.feature-icon-alarm {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon-alarm .material-icons {
    color: white;
    font-size: 1.8rem;
}

.feature-card-alarm h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

/* Step Cards */
.step-card {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1.5rem;
    border: 3px solid rgba(255, 107, 107, 0.2);
}

.step-icon .material-icons {
    font-size: 2rem;
    color: #ff6b6b;
}

.step-card h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.step-card p {
    color: #666;
    line-height: 1.6;
}

/* Screenshot Cards */
.screenshot-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.15);
}

.screenshot-placeholder {
    height: 300px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.screenshot-placeholder .material-icons {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.screenshot-placeholder p {
    font-weight: 500;
    margin: 0;
}

/* Download CTA */
.download-cta {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    position: relative;
}

.download-cta::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 100 100"><defs><pattern id="cta-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>');
}

.download-cta .container {
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-header {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .app-icon-large {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .app-title {
        font-size: 2rem;
    }
    
    .download-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
        padding: 15px;
    }
    
    .app-interface {
        padding: 1.5rem 1rem;
    }
    
    .time-display {
        font-size: 2.5rem;
    }
    
    .challenge-area {
        padding: 1.5rem;
    }
    
    .challenge-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .feature-card-alarm,
    .step-card {
        margin-bottom: 2rem;
    }
    
    .download-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .download-buttons {
        flex-direction: column;
    }
}
