/* ========================================
   DOCS PAGE 2100 - ULTRA PREMIUM DESIGN
   Modern, futuristic styling for docs page
   ======================================== */

/* ===== HERO SECTION 2100 ===== */
.docs-hero-2100 {
    min-height: 55vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e1b4b 100%);
}

.hero-bg-2100 {
    position: absolute;
    inset: 0;
    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: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.hero-gradient-orb.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.3) 0%, transparent 70%);
    bottom: -100px;
    left: -50px;
    animation-delay: 5s;
}

.hero-gradient-orb.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 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%);
}

.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: 30px;
    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: #6366f1;
}

.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: 800px;
    margin: 0 auto;
}

.hero-badge-2100 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: #818cf8;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title-2100 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 20px;
}

.hero-title-2100 span {
    background: linear-gradient(135deg, #6366f1, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description-2100 {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* Search Box */
.docs-search-2100 {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.docs-search-2100 input {
    width: 100%;
    padding: 18px 60px 18px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.docs-search-2100 input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.docs-search-2100 input:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.docs-search-2100 button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.docs-search-2100 button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* ===== CATEGORIES SECTION 2100 ===== */
.docs-categories-2100 {
    padding: 100px 0;
    background: var(--bg-primary);
}

.section-container-2100 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header-2100 {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge-2100 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: #6366f1;
    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, #6366f1, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc-2100 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Category Grid */
.categories-grid-2100 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.category-card-2100 {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.category-card-2100::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--card-color, #6366f1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card-2100:hover {
    transform: translateY(-10px);
    border-color: var(--card-color, #6366f1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.category-card-2100:hover::before {
    opacity: 1;
}

.category-card-2100:nth-child(1) { --card-color: #6366f1; }
.category-card-2100:nth-child(2) { --card-color: #0ea5e9; }
.category-card-2100:nth-child(3) { --card-color: #22c55e; }
.category-card-2100:nth-child(4) { --card-color: #f59e0b; }
.category-card-2100:nth-child(5) { --card-color: #ec4899; }
.category-card-2100:nth-child(6) { --card-color: #8b5cf6; }
.category-card-2100:nth-child(7) { --card-color: #14b8a6; }
.category-card-2100:nth-child(8) { --card-color: #ef4444; }

.category-icon-2100 {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(14, 165, 233, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--card-color, #6366f1);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.category-card-2100:hover .category-icon-2100 {
    transform: scale(1.1) rotate(-5deg);
    background: linear-gradient(135deg, var(--card-color, #6366f1), rgba(14, 165, 233, 0.5));
    color: white;
    border-color: transparent;
}

.category-card-2100 h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.category-card-2100 p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.category-link-2100 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--card-color, #6366f1);
    font-size: 0.9rem;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.category-card-2100:hover .category-link-2100 {
    gap: 12px;
}

/* ===== POPULAR ARTICLES SECTION 2100 ===== */
.popular-section-2100 {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.articles-grid-2100 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.article-card-2100 {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.article-card-2100:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.article-number-2100 {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(14, 165, 233, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #6366f1;
    flex-shrink: 0;
}

.article-content-2100 {
    flex: 1;
}

.article-content-2100 h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.article-content-2100 p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.article-meta-2100 {
    display: flex;
    align-items: center;
    gap: 16px;
}

.article-meta-2100 span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-meta-2100 i {
    color: #6366f1;
}

/* ===== VIDEO TUTORIALS SECTION 2100 ===== */
.videos-section-2100 {
    padding: 100px 0;
    background: var(--bg-primary);
}

.videos-grid-2100 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-card-2100 {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.video-card-2100:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.video-thumbnail-2100 {
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-card-2100:nth-child(1) .video-thumbnail-2100 {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.video-card-2100:nth-child(2) .video-thumbnail-2100 {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.video-card-2100:nth-child(3) .video-thumbnail-2100 {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.video-card-2100:nth-child(4) .video-thumbnail-2100 {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.video-card-2100:nth-child(5) .video-thumbnail-2100 {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.video-card-2100:nth-child(6) .video-thumbnail-2100 {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.play-btn-2100 {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-btn-2100 i {
    font-size: 2rem;
    color: white;
    margin-left: 4px;
}

.video-card-2100:hover .play-btn-2100 {
    transform: scale(1.15);
    background: rgba(255, 255, 255, 0.3);
}

.video-duration-2100 {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
}

.video-info-2100 {
    padding: 24px;
}

.video-info-2100 h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.video-info-2100 p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== CTA SECTION 2100 ===== */
.docs-cta-2100 {
    padding: 100px 0;
    background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e1b4b 100%);
    position: relative;
    overflow: hidden;
}

.docs-cta-2100::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 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-icon-2100 {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(14, 165, 233, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
    color: #818cf8;
}

.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, #6366f1, #0ea5e9);
    -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, #6366f1, #4f46e5);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn-primary-2100:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.4);
}

.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 ===== */
[data-theme="light"] .docs-hero-2100,
[data-theme="light"] .docs-cta-2100 {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 50%, #c7d2fe 100%) !important;
}

[data-theme="light"] .hero-gradient-orb.orb-1 {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
}

[data-theme="light"] .hero-gradient-orb.orb-2 {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
}

[data-theme="light"] .hero-title-2100,
[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 .current {
    color: #1e293b;
}

[data-theme="light"] .docs-search-2100 input {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1e293b;
}

[data-theme="light"] .docs-search-2100 input::placeholder {
    color: #94a3b8;
}

[data-theme="light"] .category-card-2100,
[data-theme="light"] .article-card-2100,
[data-theme="light"] .video-card-2100 {
    background: #ffffff;
    border-color: #e2e8f0;
}

[data-theme="light"] .cta-btn-secondary-2100 {
    border-color: #6366f1;
    color: #6366f1;
}

[data-theme="light"] .cta-btn-secondary-2100:hover {
    background: rgba(99, 102, 241, 0.1);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .categories-grid-2100 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .categories-grid-2100 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .articles-grid-2100 {
        grid-template-columns: 1fr;
    }
    
    .videos-grid-2100 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .docs-hero-2100 {
        padding: 120px 0 60px;
    }
    
    .categories-grid-2100 {
        grid-template-columns: 1fr;
    }
    
    .videos-grid-2100 {
        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;
    }
}

@media (max-width: 480px) {
    .hero-container-2100,
    .section-container-2100,
    .cta-container-2100 {
        padding: 0 1rem;
    }
    
    .category-card-2100 {
        padding: 24px;
    }
    
    .article-card-2100 {
        flex-direction: column;
        text-align: center;
    }
    
    .article-meta-2100 {
        justify-content: center;
    }
}
