﻿/**
 * Timer Resources Pages Shared Styles
 * Author: AtivoLabs
 * Version: 1.0.0
 * Used by: help.aspx, docs.aspx, api.aspx, status.aspx
 * Note: These pages also use landing.css for base styles
 */

/* ====== RESOURCES HERO SECTION ====== */
.timer-resources-hero {
    background: linear-gradient(135deg, #9D3EF5 0%, #4ECDC4 100%);
    padding: 120px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

    /* Hero background patterns */
    .timer-resources-hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

    .timer-resources-hero::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

/* ====== RESOURCES HEADER ====== */
.timer-resources-header {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.timer-resources-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation: floatAnimation 3s ease-in-out infinite;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.timer-resources-icon i {
    font-size: 36px;
    color: #ffffff;
}

.timer-resources-title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timer-resources-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ====== RESOURCES CONTENT AREA ====== */
.timer-resources-content {
    max-width: 1200px;
    margin: -60px auto 0;
    padding: 0 20px 80px;
    position: relative;
    z-index: 10;
}

/* ====== RESOURCES MAIN CARD ====== */
.timer-resources-main {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(157, 62, 245, 0.1);
    padding: 60px;
    position: relative;
    min-height: 600px;
}

/* ====== COMING SOON CONTENT ====== */
.timer-resources-coming-soon {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.timer-coming-soon-emoji {
    font-size: 64px;
    margin-bottom: 24px;
    display: block;
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.timer-coming-soon-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.timer-coming-soon-description {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* ====== FEATURES PREVIEW ====== */
.timer-features-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 60px 0;
}

.timer-feature-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .timer-feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #9D3EF5 0%, #4ECDC4 100%);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .timer-feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(157, 62, 245, 0.1);
        border-color: #e0d4fc;
    }

        .timer-feature-card:hover::before {
            transform: translateX(0);
        }

.timer-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #9D3EF5 0%, #4ECDC4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .timer-feature-icon i {
        font-size: 20px;
        color: #ffffff;
    }

.timer-feature-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.timer-feature-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* ====== CALL TO ACTION SECTION ====== */
.timer-resources-cta {
    background: linear-gradient(135deg, rgba(157, 62, 245, 0.05) 0%, rgba(78, 205, 196, 0.05) 100%);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
    margin-top: 60px;
}

.timer-cta-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.timer-cta-text {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 32px;
}

.timer-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.timer-cta-btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.timer-cta-btn-primary {
    background: linear-gradient(135deg, #9D3EF5 0%, #4ECDC4 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(157, 62, 245, 0.3);
}

    .timer-cta-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(157, 62, 245, 0.4);
    }

.timer-cta-btn-secondary {
    background: #ffffff;
    color: #9D3EF5;
    border: 2px solid #9D3EF5;
}

    .timer-cta-btn-secondary:hover {
        background: #9D3EF5;
        color: #ffffff;
        transform: translateY(-2px);
    }

/* ====== RESOURCES FOOTER ====== */
.timer-resources-footer {
    margin-top: 80px;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

.timer-resources-footer-links {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

    .timer-resources-footer-links a {
        color: #6b7280;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s ease;
    }

        .timer-resources-footer-links a:hover {
            color: #9D3EF5;
        }

.timer-resources-footer-note {
    color: #9ca3af;
    font-size: 14px;
}

/* ====== STATUS PAGE SPECIFIC ====== */
.timer-status-grid {
    display: grid;
    gap: 16px;
    margin: 40px 0;
}

.timer-status-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.timer-status-service {
    display: flex;
    align-items: center;
    gap: 12px;
}

.timer-status-icon {
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .timer-status-icon i {
        color: #6b7280;
        font-size: 18px;
    }

.timer-status-name {
    font-weight: 600;
    color: #1a1a1a;
}

.timer-status-badge {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.timer-status-operational {
    background: #d1fae5;
    color: #065f46;
}

.timer-status-pulse {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 768px) {
    .timer-resources-hero {
        padding: 100px 20px 60px;
    }

    .timer-resources-title {
        font-size: 36px;
    }

    .timer-resources-subtitle {
        font-size: 16px;
    }

    .timer-resources-main {
        padding: 40px 24px;
        min-height: 500px;
    }

    .timer-features-preview {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .timer-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .timer-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .timer-resources-footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .timer-resources-icon {
        width: 64px;
        height: 64px;
    }

        .timer-resources-icon i {
            font-size: 28px;
        }

    .timer-coming-soon-emoji {
        font-size: 48px;
    }

    .timer-resources-main {
        padding: 32px 20px;
    }
}
