* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #444bfc;
    --primary-light: rgba(68, 75, 252, 0.1);
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --green: #22c55e;
    --yellow: #eab308;
    --red: #ef4444;
    --orange: #f97316;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--gray-900);
    color: var(--white);
    line-height: 1.6;
}

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

.header {
    padding: 1rem 0;
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(68, 75, 252, 0.2);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.hero {
    padding: 4rem 0 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.overall-status {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(34, 197, 94, 0.2);
    color: var(--green);
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: currentColor;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.last-updated {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.main {
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(68, 75, 252, 0.2);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.service-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 1rem;
}

.service-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
}

.service-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
}

.service-status.operational {
    background: rgba(34, 197, 94, 0.2);
    color: var(--green);
}

.service-status.degraded {
    background: rgba(234, 179, 8, 0.2);
    color: var(--yellow);
}

.service-status.partial_outage {
    background: rgba(249, 115, 22, 0.2);
    color: var(--orange);
}

.service-status.major_outage {
    background: rgba(239, 68, 68, 0.2);
    color: var(--red);
}

.service-status.maintenance {
    background: rgba(68, 75, 252, 0.2);
    color: var(--primary);
}

.service-description {
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.service-uptime {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-400);
}

.uptime-percentage {
    font-weight: 600;
    color: var(--green);
}

.incidents-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid rgba(68, 75, 252, 0.2);
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 2rem;
    text-align: center;
}

.no-incidents {
    text-align: center;
    color: var(--gray-400);
    font-size: 1.1rem;
    padding: 2rem 0;
}

.incident-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(68, 75, 252, 0.1);
    margin-bottom: 1rem;
}

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

.incident-title {
    font-weight: 600;
    color: var(--white);
}

.incident-status {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 600;
}

.incident-status.resolved {
    background: rgba(34, 197, 94, 0.2);
    color: var(--green);
}

.incident-status.investigating {
    background: rgba(249, 115, 22, 0.2);
    color: var(--orange);
}

.incident-description {
    color: var(--gray-300);
    margin-bottom: 0.5rem;
}

.incident-time {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.metrics-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(68, 75, 252, 0.2);
    text-align: center;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: var(--gray-300);
    font-size: 0.9rem;
}

.subscription-section {
    text-align: center;
    padding: 3rem;
    background: rgba(68, 75, 252, 0.1);
    border-radius: 1rem;
    border: 1px solid rgba(68, 75, 252, 0.2);
}

.subscription-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.subscription-section p {
    color: var(--gray-300);
    margin-bottom: 2rem;
}

.subscription-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(68, 75, 252, 0.3);
    border-radius: 0.5rem;
    color: var(--white);
}

.email-input::placeholder {
    color: var(--gray-400);
}

.subscribe-button {
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.subscribe-button:hover {
    background: #3339db;
}

.footer {
    padding: 2rem 0;
    background: var(--black);
    border-top: 1px solid rgba(68, 75, 252, 0.2);
    text-align: center;
}

.footer a {
    color: var(--gray-400);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .subscription-form {
        flex-direction: column;
    }
}
