/* --- Development Hub Page Styles --- */
.dev-hub-page .container {
    max-width: 1100px;
}

.dev-hero {
    position: relative; /* This is required for absolute positioning of the child button */
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.hero-actions {
    position: absolute;
    top: 0;
    right: 0;
}
.dev-hero h1 {
    border-bottom: none;
    font-size: 2.8rem;
}
.dev-hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.video-showcase {
    margin-top: 40px;
}
.video-showcase h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.video-placeholder {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
}
.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(0, 0, 0, 0.4);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background-color 0.3s;
    pointer-events: none;
}
.video-placeholder:hover .play-button-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgba(255, 129, 89, 0.8);
}

/* --- Main Documentation Layout --- */
.manual-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 60px;
}
.side-nav {
    position: sticky;
    top: 120px; /* Adjust based on main nav height */
    width: 240px;
    flex-shrink: 0;
}
.side-nav h3 {
    font-size: 1.2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    margin-top: 0;
}
.side-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.side-nav li a {
    display: block;
    padding: 10px 15px;
    margin: 5px 0;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
}
.side-nav li a:hover {
    color: var(--brand-orange);
    background-color: #f0f0f0;
    text-decoration: none;
}
.side-nav li a.active {
    background-color: var(--brand-orange);
    color: #fff;
    font-weight: 700;
}

.content-area {
    flex-grow: 1;
    min-width: 0;
}
.manual-section {
    padding-top: 20px; /* Provides space for anchor links to scroll to */
    margin-bottom: 60px;
}
.manual-section h2 {
    text-align: left;
    display: block;
    position: static;
    transform: none;
    border-bottom-width: 2px;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 25px;
}
.manual-section h3 {
    margin-top: 30px;
    font-size: 1.5rem;
}
pre {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}
.note, .warning {
    padding: 15px 20px;
    margin: 20px 0;
    border-left-width: 5px;
    border-left-style: solid;
    border-radius: 4px;
}
.note { background-color: #e7f3fe; border-color: #2196F3; }
.warning { background-color: #fff3cd; border-color: #ffc107; }

/* Responsive for Dev Page */
@media (max-width: 992px) {
    .manual-container {
        flex-direction: column;
    }
    .side-nav {
        position: static;
        width: 100%;
        margin-bottom: 30px;
        border-bottom: 2px solid var(--border-color);
        padding-bottom: 20px;
    }
}
@media (max-width: 768px) {
    .dev-hero {
        padding-top: 80px; /* Add space at the top to prevent overlap */
    }
    .hero-actions {
        top: 20px; /* Adjust position for mobile */
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        text-align: center;
    }
}
