/* Odextra Developer Portal Styling System */

:root {
    --bg-dark: #0b0f19;
    --bg-card: #111827;
    --bg-darker: #070a10;
    --text-primary: #f9fafb;
    --text-muted: #9ca3af;
    --text-light-50: rgba(249, 250, 251, 0.6);
    --brand-color: #6366f1; /* Indigo */
    --brand-hover: #4f46e5;
    
    --purple: #a855f7;
    --blue: #3b82f6;
    --green: #10b981;
    --yellow: #f59e0b;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
}

.text-brand { color: var(--brand-color); }
.text-light-50 { color: var(--text-light-50); }
.hover-light:hover { color: #fff !important; }

/* Glowing Background Gradients */
.hero-section {
    position: relative;
    z-index: 1;
}

.blur-glow-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0) 70%);
    top: -100px;
    left: -100px;
    z-index: -1;
}

.blur-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, rgba(168, 85, 247, 0) 70%);
    bottom: -150px;
    right: -100px;
    z-index: -1;
}

/* Buttons */
.btn-brand {
    background-color: var(--brand-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-brand:hover {
    background-color: var(--brand-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.btn-outline-brand {
    border: 1px solid var(--brand-color);
    color: var(--brand-color);
    background: transparent;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-outline-brand:hover {
    background: rgba(99, 102, 241, 0.08);
    color: #fff;
    border-color: #fff;
}

/* API Service Cards */
.api-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 28px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.api-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.api-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.api-icon.purple { background: rgba(168, 85, 247, 0.1); color: var(--purple); }
.api-icon.blue { background: rgba(59, 130, 246, 0.1); color: var(--blue); }
.api-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--green); }
.api-icon.yellow { background: rgba(245, 158, 11, 0.1); color: var(--yellow); }

.api-link {
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    display: inline-block;
    margin-top: 16px;
}

/* Code Terminal Mockup */
.code-terminal {
    background: #080C14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }

.code-tab {
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
    transition: 0.2s;
}

.code-tab:hover, .code-tab.active {
    color: #fff;
    border-bottom: 2px solid var(--brand-color);
    padding-bottom: 4px;
}

/* Code Syntax Highlighting */
.text-keyword { color: #f472b6; }
.text-string { color: #34d399; }
.text-json { color: #38bdf8; }
.text-secondary { color: #6b7280; }

/* Dashboard Layout styles */
.sidebar-panel {
    width: 280px;
    background: #080c14;
    display: flex;
    flex-direction: column;
}

.bg-darker {
    background: #0c111d;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    transition: 0.2s;
}

.nav-item:hover, .nav-item.active {
    background: rgba(99, 102, 241, 0.08);
    color: #fff;
}

.nav-item.active {
    color: var(--brand-color);
    font-weight: 500;
}

/* Stats Widgets */
.stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.stat-card h6 {
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.stat-card .value {
    font-size: 32px;
    font-weight: 600;
}

/* Custom form elements */
.form-control, .form-select {
    background-color: #1f2937;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}

.form-control:focus, .form-select:focus {
    background-color: #1f2937;
    color: #fff;
    border-color: var(--brand-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}
