/* EasyTrashMail - Status Page Styles */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: white;
    min-height: 100vh;
    color: #1e293b;
    overflow-x: hidden;
}

/* Animated Background */
.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.-z-10 {
    z-index: -10;
}

.overflow-hidden {
    overflow: hidden;
}

.absolute {
    position: absolute;
}

.gradient-mesh {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    filter: blur(100px);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Main Content */
.main-content {
    padding-top: 120px;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    margin-bottom: 3rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 2rem;
    color: #166534;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse 2s infinite;
}

.status-dot.operational {
    background: #22c55e;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.status-dot.offline {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e293b, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-description {
    font-size: 1rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Status Grid */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.status-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.status-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.2);
}

.status-card.main-status {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.status-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.status-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.status-description {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.operational {
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-badge.offline {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-badge.degraded {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.metric {
    text-align: center;
    padding: 1rem;
    background: rgba(248, 250, 252, 0.8);
    border-radius: 0.75rem;
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

/* SEO Content Section */
.seo-content {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
    margin-top: 4rem;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.seo-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.seo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.seo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.2);
}

.seo-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.seo-card h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    flex-shrink: 0;
}

.seo-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.seo-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-card li {
    color: #64748b;
    margin-bottom: 0.75rem;
    padding-left: 2rem;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
}

.seo-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
    font-size: 1rem;
    top: 0;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .main-content {
        padding-top: 100px;
    }

    .container {
        padding: 0 1rem;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        padding: 6rem 0 2rem;
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1.25rem;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .hero-description {
        font-size: 0.9375rem;
        padding: 0 0.5rem;
    }

    .status-card.main-status {
        grid-column: span 1;
    }

    .status-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .status-card {
        padding: 1.5rem;
    }

    .status-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .status-icon {
        width: 40px;
        height: 40px;
    }
    
    .status-title {
        font-size: 1.125rem;
    }
    
    .status-description {
        font-size: 0.8125rem;
    }

    .status-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .metric {
        padding: 0.875rem 0.5rem;
    }
    
    .metric-value {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .seo-content {
        padding: 3rem 0;
        margin-top: 3rem;
    }
    
    .seo-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .seo-card {
        padding: 2rem 1.5rem;
    }
    
    .seo-card h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .seo-card p {
        font-size: 0.9375rem;
        margin-bottom: 1rem;
    }
    
    .seo-card li {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .main-content {
        padding-top: 90px;
    }
    
    .hero-section {
        padding: 5rem 0 1.5rem;
        margin-top: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
    }
    
    .hero-description {
        font-size: 0.875rem;
    }

    .status-card {
        padding: 1.25rem;
        border-radius: 1rem;
    }
    
    .status-icon {
        width: 36px;
        height: 36px;
    }
    
    .status-title {
        font-size: 1rem;
    }

    .status-metrics {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .metric {
        padding: 0.75rem 0.5rem;
    }
    
    .metric-label {
        font-size: 0.6875rem;
    }
    
    .metric-value {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .seo-content {
        padding: 2.5rem 0;
        margin-top: 2.5rem;
    }
    
    .seo-card {
        padding: 1.5rem 1.25rem;
        border-radius: 1rem;
    }
    
    .seo-card h3 {
        font-size: 1.125rem;
    }
    
    .seo-card p {
        font-size: 0.875rem;
    }
    
    .seo-card li {
        font-size: 0.8125rem;
        padding-left: 1.5rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .status-card:hover {
        transform: none;
    }
    
    .seo-card:hover {
        transform: none;
    }
}
