/* ========================================
   API PAGE 2100 - ULTRA PREMIUM DESIGN
   Modern, futuristic styling for API docs
======================================== */

/* ===== HERO SECTION 2100 ===== */
.api-hero-2100 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e1b4b 100%);
}

/* Background Effects */
.hero-bg-2100 {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e1b4b 100%);
    z-index: 0;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orb-float 20s ease-in-out infinite;
}

.hero-gradient-orb.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.hero-gradient-orb.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: 5s;
}

.hero-gradient-orb.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 30px) scale(0.95); }
    75% { transform: translate(40px, 20px) scale(1.02); }
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}

/* Code Rain Effect */
.code-rain {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.1;
}

.code-rain span {
    position: absolute;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    color: #10b981;
    animation: code-fall 10s linear infinite;
    text-shadow: 0 0 10px #10b981;
}

@keyframes code-fall {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* Hero Container */
.hero-container-2100 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Breadcrumb */
.breadcrumb-2100 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    justify-content: center;
}

.breadcrumb-2100 a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.breadcrumb-2100 a:hover {
    color: #10b981;
}

.breadcrumb-2100 .separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
}

.breadcrumb-2100 .current {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Hero Content */
.hero-content-2100 {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge-2100 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    color: #34d399;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.hero-badge-2100 .badge-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
    animation: badge-shine 3s ease-in-out infinite;
}

@keyframes badge-shine {
    0% { transform: translateX(-100%); }
    50%, 100% { transform: translateX(100%); }
}

.hero-title-2100 {
    margin-bottom: 28px;
}

.hero-title-2100 .title-line {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.1;
}

.hero-title-2100 .title-gradient {
    background: linear-gradient(135deg, #10b981, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description-2100 {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Hero Code Preview */
.hero-code-preview {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    padding: 24px;
    text-align: left;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.hero-code-preview .code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-code-preview .code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hero-code-preview .code-dot.red { background: #ef4444; }
.hero-code-preview .code-dot.yellow { background: #f59e0b; }
.hero-code-preview .code-dot.green { background: #10b981; }

.hero-code-preview code {
    color: #94a3b8;
    line-height: 1.8;
}

.hero-code-preview .code-keyword { color: #c084fc; }
.hero-code-preview .code-string { color: #34d399; }
.hero-code-preview .code-property { color: #60a5fa; }
.hero-code-preview .code-number { color: #fbbf24; }

/* ===== API CONTENT SECTION ===== */
.api-content-2100 {
    padding: 80px 0 120px;
    background: var(--bg-primary);
}

.api-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sidebar */
.api-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-section {
    margin-bottom: 32px;
}

.sidebar-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-left: 12px;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 4px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-left-color: #10b981;
}

.sidebar-nav a.active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-left-color: #10b981;
    font-weight: 600;
}

.sidebar-nav a i {
    width: 20px;
    font-size: 0.9rem;
}

/* Main Content */
.api-main {
    min-width: 0;
}

/* Section Header */
.section-header-2100 {
    margin-bottom: 40px;
}

.section-badge-2100 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    color: #10b981;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title-2100 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-title-2100 span {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc-2100 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* API Section */
.api-section {
    margin-bottom: 80px;
    scroll-margin-top: 100px;
}

.api-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.api-section-title i {
    color: #10b981;
}

.api-section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Code Block */
.code-block-2100 {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
}

.code-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-block-dots {
    display: flex;
    gap: 8px;
}

.code-block-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-block-dots span:nth-child(1) { background: #ef4444; }
.code-block-dots span:nth-child(2) { background: #f59e0b; }
.code-block-dots span:nth-child(3) { background: #10b981; }

.code-block-lang {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.code-block-copy {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    color: #94a3b8;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.code-block-copy:hover {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.code-block-content {
    padding: 20px;
    overflow-x: auto;
}

.code-block-content pre {
    margin: 0;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #e2e8f0;
}

.code-comment { color: #64748b; }
.code-keyword { color: #c084fc; }
.code-string { color: #34d399; }
.code-property { color: #60a5fa; }
.code-number { color: #fbbf24; }
.code-method { color: #f472b6; }

/* Endpoint Card */
.endpoint-card-2100 {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.endpoint-card-2100:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.endpoint-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.method-badge {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.method-badge.get {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.method-badge.post {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.method-badge.put {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.method-badge.delete {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.endpoint-path {
    font-family: 'Fira Code', monospace;
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.endpoint-body {
    padding: 24px;
}

.endpoint-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.endpoint-params {
    margin-bottom: 20px;
}

.endpoint-params-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.param-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.param-row:last-child {
    border-bottom: none;
}

.param-name {
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    color: #10b981;
    min-width: 120px;
}

.param-type {
    font-size: 0.8rem;
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    min-width: 60px;
    text-align: center;
}

.param-desc {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.param-required {
    font-size: 0.75rem;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Rate Limit Cards */
.rate-limit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.rate-limit-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.rate-limit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-gradient);
}

.rate-limit-card:nth-child(1) { --card-gradient: linear-gradient(90deg, #10b981, #34d399); }
.rate-limit-card:nth-child(2) { --card-gradient: linear-gradient(90deg, #3b82f6, #60a5fa); }
.rate-limit-card:nth-child(3) { --card-gradient: linear-gradient(90deg, #8b5cf6, #a78bfa); }

.rate-limit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.rate-limit-plan {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.rate-limit-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--card-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.rate-limit-unit {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Error Codes Table */
.error-table-2100 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 30px;
}

.error-table-2100 th,
.error-table-2100 td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.error-table-2100 th {
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.error-table-2100 th:first-child {
    border-radius: 12px 0 0 0;
}

.error-table-2100 th:last-child {
    border-radius: 0 12px 0 0;
}

.error-table-2100 td {
    color: var(--text-secondary);
}

.error-table-2100 tr:last-child td:first-child {
    border-radius: 0 0 0 12px;
}

.error-table-2100 tr:last-child td:last-child {
    border-radius: 0 0 12px 0;
}

.error-code {
    font-family: 'Fira Code', monospace;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.error-code.code-200 { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.error-code.code-400 { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.error-code.code-401 { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.error-code.code-403 { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.error-code.code-404 { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.error-code.code-429 { background: rgba(236, 72, 153, 0.15); color: #ec4899; }
.error-code.code-500 { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

/* SDK Cards */
.sdk-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.sdk-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sdk-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.sdk-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--sdk-color, #10b981);
    transition: all 0.3s ease;
}

.sdk-card:hover .sdk-icon {
    transform: scale(1.1);
    background: var(--sdk-color, #10b981);
    color: white;
}

.sdk-card:nth-child(1) .sdk-icon { --sdk-color: #3b82f6; color: #3b82f6; }
.sdk-card:nth-child(2) .sdk-icon { --sdk-color: #f59e0b; color: #f59e0b; }
.sdk-card:nth-child(3) .sdk-icon { --sdk-color: #10b981; color: #10b981; }
.sdk-card:nth-child(4) .sdk-icon { --sdk-color: #ef4444; color: #ef4444; }

.sdk-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.sdk-version {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===== CTA SECTION 2100 ===== */
.api-cta-2100 {
    padding: 120px 0;
    background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e1b4b 100%);
    position: relative;
    overflow: hidden;
}

.api-cta-2100::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-container-2100 {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-badge-2100 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    color: #34d399;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.cta-title-2100 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 20px;
}

.cta-title-2100 span {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-desc-2100 {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-buttons-2100 {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn-primary-2100 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn-primary-2100::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #059669, #10b981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-btn-primary-2100:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.4);
}

.cta-btn-primary-2100:hover::before {
    opacity: 1;
}

.cta-btn-primary-2100 span,
.cta-btn-primary-2100 i {
    position: relative;
    z-index: 1;
}

.cta-btn-secondary-2100 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn-secondary-2100:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* ===== LIGHT THEME SUPPORT ===== */
[data-theme="light"] .api-hero-2100,
[data-theme="light"] .api-cta-2100 {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%) !important;
}

[data-theme="light"] .hero-bg-2100 {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%) !important;
}

[data-theme="light"] .hero-gradient-orb.orb-1 {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
}

[data-theme="light"] .hero-gradient-orb.orb-2 {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
}

[data-theme="light"] .hero-gradient-orb.orb-3 {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

[data-theme="light"] .hero-grid-pattern {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

[data-theme="light"] .code-rain span {
    color: #059669;
    text-shadow: 0 0 10px #059669;
}

[data-theme="light"] .hero-title-2100 .title-line,
[data-theme="light"] .cta-title-2100 {
    color: #1e293b !important;
}

[data-theme="light"] .hero-description-2100,
[data-theme="light"] .cta-desc-2100 {
    color: #64748b !important;
}

[data-theme="light"] .breadcrumb-2100 a {
    color: #64748b;
}

[data-theme="light"] .breadcrumb-2100 .separator {
    color: #94a3b8;
}

[data-theme="light"] .breadcrumb-2100 .current {
    color: #1e293b;
}

[data-theme="light"] .hero-code-preview {
    background: #1e293b;
    border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .endpoint-card-2100,
[data-theme="light"] .rate-limit-card,
[data-theme="light"] .sdk-card {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .error-table-2100 th {
    background: #f1f5f9;
}

[data-theme="light"] .sidebar-nav a:hover,
[data-theme="light"] .sidebar-nav a.active {
    background: rgba(16, 185, 129, 0.08);
}

[data-theme="light"] .cta-btn-secondary-2100 {
    border-color: #94a3b8;
    color: #1e293b;
}

[data-theme="light"] .cta-btn-secondary-2100:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: #64748b;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .sdk-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .api-layout {
        grid-template-columns: 1fr;
    }
    
    .api-sidebar {
        position: relative;
        top: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px;
        background: var(--bg-secondary);
        border-radius: 16px;
        margin-bottom: 40px;
    }
    
    .sidebar-section {
        margin-bottom: 0;
    }
    
    .sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .sidebar-nav a {
        padding: 8px 14px;
        border-left: none;
        border-radius: 20px;
    }
    
    .rate-limit-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .api-hero-2100 {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-code-preview {
        font-size: 0.8rem;
    }
    
    .endpoint-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .param-row {
        flex-wrap: wrap;
    }
    
    .sdk-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons-2100 {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn-primary-2100,
    .cta-btn-secondary-2100 {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .error-table-2100 {
        font-size: 0.85rem;
    }
    
    .error-table-2100 th,
    .error-table-2100 td {
        padding: 12px 10px;
    }
}

@media (max-width: 480px) {
    .hero-container-2100,
    .api-layout,
    .cta-container-2100 {
        padding: 0 1rem;
    }
    
    .code-block-content {
        padding: 15px;
    }
    
    .code-block-content pre {
        font-size: 0.8rem;
    }
    
    .endpoint-body {
        padding: 16px;
    }
}
