/* ==========================================================================
   Knowledge Hub Styles (Built on global.css)
   Theme: Digital Library, Locked Doorways, Premium Portals
   ========================================================================== */

/* --- SECTION 1: HERO --- */
.hub-hero {
    position: relative;
    padding: 14rem 0 8rem 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hub-data-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 20%, rgba(255, 94, 0, 0.08) 0%, transparent 70%);
}

.hub-hero-title {
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 1.5rem 0;
    font-family: var(--font-heading);
}

.hub-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

/* --- SECTION 2: THE DOORWAYS (Portals Grid) --- */
.hub-doorways-section .section-header-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.hub-doorways-section h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.hub-doorways-section p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.doorway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.doorway-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 4rem 2.5rem 2.5rem 2.5rem;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 280px;
}

.doorway-content { position: relative; z-index: 2; }

.doorway-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.doorway-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Coming Soon Badge */
.status-badge {
    position: absolute;
    top: 2rem;
    left: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
}

.doorway-card:hover .status-badge {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(255, 94, 0, 0.05);
}

/* Premium Hover Glow Tracker */
.doorway-glow {
    position: absolute;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255, 94, 0, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.doorway-card:hover {
    border-color: var(--border-premium-hover);
    transform: translateY(-5px);
}

.doorway-card:hover .doorway-glow { opacity: 1; }

@media (max-width: 768px) {
    .doorway-grid { grid-template-columns: 1fr; }
    .doorway-card { padding: 3rem 2rem 2rem 2rem; min-height: 240px; }
    .status-badge { top: 1.5rem; left: 2rem; }
}

/* --- SECTION 3: ROADMAP / COMING SOON LIST --- */
.roadmap-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.roadmap-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.roadmap-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.roadmap-list-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
}

.list-title {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.upcoming-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.upcoming-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

.upcoming-list li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-orange-glow);
}

@media (max-width: 992px) {
    .roadmap-split-layout { grid-template-columns: 1fr; gap: 3rem; }
    .roadmap-list-wrapper { padding: 2.5rem 1.5rem; }
}

/* --- SECTION 4: CTA --- */
.hub-cta-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.hero-action-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

@media (max-width: 500px) {
    .hero-action-group { flex-direction: column; }
}