
/* ===== LANDING PAGE STYLES ===== */

/* Main container */
.main-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
}

/* Header */
.header {
    margin-bottom: 60px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.logo-icon {
    font-size: 48px;
}

.logo-text {
    font-size: 42px;
    font-weight: 800;
    color: #f1f5f9;
}

.logo-highlight {
    color: #10b981;
}

.tagline {
    font-size: 18px;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Hero section */
.hero {
    width: 100%;
    margin: 60px 0;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-highlight {
    color: #10b981;
}

.hero-description {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 16px;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #10b981;
    color: white;
}

.btn-outline {
    background: transparent;
    border-color: #475569;
    color: #e2e8f0;
}

.btn-outline:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

/* API Status */
.api-status {
    width: 100%;
    margin: 60px 0;
}

.status-card {
    background: #1e293b;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #334155;
    max-width: 500px;
    margin: 0 auto;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    justify-content: center;
}

.status-header i {
    font-size: 28px;
    color: #3b82f6;
}

.status-header h3 {
    font-size: 24px;
    font-weight: 600;
}

.status-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #334155;
}

.status-item:last-child {
    border-bottom: none;
}

.status-label {
    color: #cbd5e1;
    font-size: 16px;
}

.status-value {
    font-weight: 600;
    font-size: 16px;
}

.status-value.online {
    color: #10b981;
}

.status-value.offline {
    color: #ef4444;
}

.status-value.error {
    color: #f59e0b;
}

/* Stats */
.stats {
    width: 100%;
    margin: 60px 0;
}

.stats-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #f1f5f9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.stat {
    background: #1e293b;
    border-radius: 12px;
    padding: 25px 15px;
    border: 1px solid #334155;
    transition: all 0.3s ease;
}

.stat:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Documentation */
.documentation {
    width: 100%;
    margin: 60px 0;
}

.docs-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #f1f5f9;
}

.endpoints {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.endpoint {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #1e293b;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #334155;
    transition: all 0.3s ease;
}

.endpoint:hover {
    border-color: #3b82f6;
}

.endpoint-method {
    background: #10b98120;
    color: #10b981;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

.endpoint-url {
    flex: 1;
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    text-align: left;
    word-break: break-all;
}

.endpoint-desc {
    color: #94a3b8;
    font-size: 14px;
    min-width: 150px;
    text-align: right;
}

/* Footer */
.footer {
    width: 100%;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #334155;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-info {
    text-align: center;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f1f5f9;
}

.footer-info p {
    color: #94a3b8;
    margin-bottom: 8px;
}

.footer-version {
    font-size: 14px;
    color: #64748b;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #3b82f6;
}

.footer-copyright {
    color: #64748b;
    font-size: 14px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .endpoint {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .endpoint-desc {
        text-align: left;
        min-width: auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 32px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
