* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #151932;
    --bg-card: #1e2337;
    --text-primary: #e8e9ed;
    --text-secondary: #9ca3af;
    --accent: #007bff;
    --accent-hover: #0056b3;
    --border: #2d3348;
    --error: #ff4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    padding: 40px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-radius: 20px;
    margin-bottom: 60px;
    border: 1px solid var(--border);
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.stat-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    margin-bottom: 80px;
}

.features h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* API Info Section */
.api-info {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 15px;
    border: 1px solid var(--border);
    margin-bottom: 80px;
}

.api-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.api-info p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.api-example {
    background: var(--bg-primary);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.api-example code {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.api-example pre {
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    line-height: 1.8;
    overflow-x: auto;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
}

/* Expired Page */
.expired-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
}

.expired-content {
    max-width: 600px;
    padding: 60px 40px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
}

.expired-icon {
    margin-bottom: 40px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.expired-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--error);
}

.expired-content p {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.expired-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    border-top: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .features h3 {
        font-size: 2rem;
    }
    
    .api-info {
        padding: 30px 20px;
    }
    
    .expired-content h1 {
        font-size: 1.8rem;
    }
    
    .expired-content p {
        font-size: 1.2rem;
    }
}