:root {
    /* Colors */
    --status-operational: #34c759;
    --status-warning: #ff9500;
    --status-error: #ff3b30;
    --status-maintenance: #007aff;
    --status-resolved: #8e8e93;
    
    --background-light: #f5f5f7;
    --card-background: #ffffff;
    --border-color: #d2d2d7;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --button-primary: #0071e3;
    --button-primary-hover: #0077ed;
    
    /* Font Family */
    --font-family-heading: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 
        "Helvetica Neue", Arial, sans-serif;
    --font-family-body: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, 
        "Helvetica Neue", Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family-body);
    -webkit-font-smoothing: antialiased;
    background-color: #fff;
}

/* Status Main */
.status-main {
    background-color: #fff;
}

.status-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.status-hero {
    background-color: var(--background-light);
    padding: 80px 0 60px;
    text-align: center;
}

.status-hero h1 {
    font-size: 56px;
    font-weight: 600;
    margin: 0 0 40px;
    letter-spacing: -0.005em;
    line-height: 1.07143;
    color: var(--text-primary);
    font-family: var(--font-family-heading);
}

.current-status {
    max-width: 600px;
    margin: 0 auto;
}

.status-indicator-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: var(--card-background);
    border-radius: 18px;
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.status-dot-large {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-operational {
    background-color: var(--status-operational);
}

.status-warning {
    background-color: var(--status-warning);
}

.status-error {
    background-color: var(--status-error);
}

.status-maintenance {
    background-color: var(--status-maintenance);
}

.status-resolved {
    background-color: var(--status-resolved);
}

.status-text {
    text-align: left;
}

.status-text h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--text-primary);
    font-family: var(--font-family-heading);
}

.status-text p {
    font-size: 17px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.47059;
}

/* Services Status */
.services-status {
    padding: 80px 0;
    background-color: #fff;
}

.services-status h2 {
    font-size: 40px;
    font-weight: 600;
    margin: 0 0 48px;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.003em;
    font-family: var(--font-family-heading);
}

.services-grid {
    display: grid;
    gap: 16px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: var(--card-background);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.service-info h3 {
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--text-primary);
    font-family: var(--font-family-heading);
}

.service-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.42857;
}

.service-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Uptime Metrics */
.uptime-metrics {
    padding: 80px 0;
    background-color: var(--background-light);
}

.uptime-metrics h2 {
    font-size: 40px;
    font-weight: 600;
    margin: 0 0 48px;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.003em;
    font-family: var(--font-family-heading);
}

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

.metric-card {
    background: var(--card-background);
    border-radius: 18px;
    padding: 32px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.metric-card h3 {
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--text-primary);
    font-family: var(--font-family-heading);
}

.uptime-percentage {
    font-size: 48px;
    font-weight: 600;
    color: var(--status-operational);
    margin-bottom: 16px;
    font-family: var(--font-family-heading);
}

.uptime-bar {
    background: #e5e5e7;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}

.uptime-fill {
    background: var(--status-operational);
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.uptime-details {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Incident History */
.incident-history {
    padding: 80px 0;
    background-color: #fff;
}

.incident-history h2 {
    font-size: 40px;
    font-weight: 600;
    margin: 0 0 48px;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.003em;
    font-family: var(--font-family-heading);
}

.incidents-list {
    display: grid;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.incident-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--card-background);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.incident-item.resolved {
    border-left: 4px solid var(--status-resolved);
}

.incident-status {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 80px;
}

.incident-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.incident-content {
    flex: 1;
}

.incident-content h3 {
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--text-primary);
    font-family: var(--font-family-heading);
}

.incident-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0 0 16px;
    line-height: 1.46667;
}

.incident-meta {
    display: flex;
    gap: 24px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Planned Maintenance */
.planned-maintenance {
    padding: 80px 0;
    background-color: var(--background-light);
}

.planned-maintenance h2 {
    font-size: 40px;
    font-weight: 600;
    margin: 0 0 48px;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.003em;
    font-family: var(--font-family-heading);
}

.maintenance-list {
    max-width: 800px;
    margin: 0 auto;
}

.maintenance-item {
    padding: 24px;
    background: var(--card-background);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--status-maintenance);
}

.maintenance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.maintenance-header h3 {
    font-size: 19px;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
    font-family: var(--font-family-heading);
}

.maintenance-date {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.maintenance-item p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0 0 16px;
    line-height: 1.46667;
}

.maintenance-impact {
    font-size: 12px;
    color: var(--text-secondary);
}

.impact-label {
    font-weight: 500;
    margin-right: 8px;
}

.impact-services {
    color: var(--status-maintenance);
}

/* Status Subscriptions */
.status-subscriptions {
    padding: 80px 0;
    background-color: #fff;
}

.status-subscriptions h2 {
    font-size: 40px;
    font-weight: 600;
    margin: 0 0 48px;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.003em;
    font-family: var(--font-family-heading);
}

.subscription-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.subscription-card {
    background: var(--card-background);
    border-radius: 18px;
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.subscription-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.subscription-icon {
    margin-bottom: 20px;
}

.subscription-icon svg {
    width: 48px;
    height: 48px;
    color: var(--button-primary);
}

.subscription-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--text-primary);
    letter-spacing: -0.007em;
    font-family: var(--font-family-heading);
}

.subscription-card p {
    font-size: 17px;
    color: var(--text-secondary);
    margin: 0 0 24px;
    line-height: 1.47059;
}

.subscription-button {
    display: inline-block;
    background: var(--button-primary);
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscription-button:hover {
    background: var(--button-primary-hover);
    transform: scale(1.02);
}

/* Response Times Chart */
.response-times {
    padding: 80px 0;
    background-color: var(--background-light);
}

.response-times h2 {
    font-size: 40px;
    font-weight: 600;
    margin: 0 0 48px;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.003em;
    font-family: var(--font-family-heading);
}

.chart-container {
    background: var(--card-background);
    border-radius: 18px;
    padding: 32px;
    border: 1px solid var(--border-color);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.chart-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
    font-family: var(--font-family-heading);
}

.chart-metrics {
    display: flex;
    gap: 24px;
}

.metric {
    font-size: 12px;
    color: var(--text-secondary);
}

.chart-placeholder {
    height: 200px;
    position: relative;
}

.chart-bars {
    display: flex;
    align-items: end;
    height: 160px;
    gap: 4px;
    margin-bottom: 16px;
}

.chart-bar {
    flex: 1;
    background: var(--button-primary);
    border-radius: 2px 2px 0 0;
    min-height: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chart-bar:hover {
    background: var(--button-primary-hover);
    transform: scaleY(1.1);
}

.chart-timeline {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: var(--card-background);
    margin: 15% auto;
    padding: 32px;
    border-radius: 18px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    color: #888;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    width: 32px;
    height: 32px;
    background-color: #f2f2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    margin-top: -8px;
    margin-right: -8px;
}

.close-modal:hover {
    color: #333;
    background-color: #e5e5e5;
}

.close-modal svg {
    width: 16px;
    height: 16px;
}

.modal-content h2 {
    margin-top: 8px;
    margin-bottom: 16px;
    font-size: 28px;
    font-weight: 600;
    font-family: var(--font-family-heading);
}

.modal-content p {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.47059;
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 17px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    font-family: var(--font-family-body);
}

.form-group input[type="email"]:focus {
    border-color: var(--button-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.checkbox-group {
    display: grid;
    gap: 12px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.46667;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--button-primary);
}

.modal-note {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 20px;
    text-align: center;
}

.button {
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    font-size: 17px;
    line-height: 1.17648;
    font-weight: 500;
    letter-spacing: -0.022em;
    border-radius: 980px;
    padding: 12px 24px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-family-body);
}

.button.primary {
    background-color: var(--button-primary);
    color: white;
}

.button.primary:hover {
    background-color: var(--button-primary-hover);
}

/* Responsive Design */
@media (max-width: 768px) {
    .status-hero h1 {
        font-size: 40px;
    }
    
    .status-indicator-large {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .status-text {
        text-align: center;
    }
    
    .services-status h2,
    .uptime-metrics h2,
    .incident-history h2,
    .planned-maintenance h2,
    .status-subscriptions h2,
    .response-times h2 {
        font-size: 32px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .subscription-cards {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .incident-item {
        flex-direction: column;
        gap: 16px;
    }
    
    .maintenance-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .chart-metrics {
        flex-direction: column;
        gap: 8px;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .status-hero h1 {
        font-size: 32px;
    }
    
    .status-text h2 {
        font-size: 24px;
    }
    
    .services-status h2,
    .uptime-metrics h2,
    .incident-history h2,
    .planned-maintenance h2,
    .status-subscriptions h2,
    .response-times h2 {
        font-size: 28px;
    }
    
    .status-indicator-large,
    .metric-card,
    .subscription-card,
    .chart-container {
        padding: 24px;
    }
    
    .uptime-percentage {
        font-size: 36px;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
} 