/* QLogSign — pfSense tarzı tanıtım demosu (gerçek GUI değildir) */

:root {
    --mock-bg: #e9ecef;
    --mock-top: #1a1d21;
    --mock-top-border: #0d0f12;
    --mock-pagebar: #f5f5f5;
    --mock-tab-active: #c9302c;
    --mock-heading: #3c3c3c;
    --mock-breadcrumb: #666;
    --pfsense-gold: #d4a017;
    --demo-bar-bg: #0b0e14;
    --demo-bar-text: #a0aec0;
}

.page-demo {
    margin: 0;
    min-height: 100vh;
    background: var(--mock-bg);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    color: #333;
}

.demo-site-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 20px;
    background: var(--demo-bar-bg);
    color: var(--demo-bar-text);
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-site-bar a {
    color: #0193b1;
    font-weight: 600;
    text-decoration: none;
}

.demo-site-bar a:hover {
    text-decoration: underline;
}

.pfsense-mock {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 12px 48px;
}

/* Üst siyah menü çubuğu */
.mock-pfsense-top {
    background: linear-gradient(180deg, #252525 0%, var(--mock-top) 100%);
    border: 1px solid var(--mock-top-border);
    border-radius: 4px 4px 0 0;
    color: #ddd;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.mock-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: #fff;
}

.mock-brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: linear-gradient(145deg, var(--pfsense-gold), #a67c00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: #1a1a1a;
}

.mock-brand-sub {
    font-size: 0.62rem;
    font-weight: 600;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mock-mainmenu {
    display: none;
    gap: 4px;
    font-size: 0.78rem;
}

@media (min-width: 900px) {
    .mock-mainmenu {
        display: flex;
    }
}

.mock-mainmenu span {
    padding: 6px 10px;
    color: #bbb;
    border-radius: 3px;
    user-select: none;
}

.mock-mainmenu span:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.mock-user {
    font-size: 0.75rem;
    color: #888;
    padding: 6px;
}

/* Sayfa başlığı şeridi */
.mock-page-head {
    background: var(--mock-pagebar);
    border: 1px solid #ccc;
    border-top: none;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mock-page-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--mock-heading);
}

.mock-page-help {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #c9302c;
    color: #c9302c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    opacity: 0.7;
    user-select: none;
}

/* Sekmeler */
.mock-tabs {
    display: flex;
    gap: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    padding: 0 8px;
}

.mock-tab {
    appearance: none;
    font: inherit;
    border: none;
    background: transparent;
    padding: 12px 20px;
    cursor: pointer;
    color: #555;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    font-weight: 600;
    font-size: 0.9rem;
}

.mock-tab:hover {
    color: #222;
    background: rgba(0, 0, 0, 0.03);
}

.mock-tab[aria-selected='true'] {
    color: var(--mock-tab-active);
    border-bottom-color: var(--mock-tab-active);
}

/* Görüntü alanı */
.mock-viewport {
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    overflow: auto;
    max-height: min(85vh, 1200px);
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.mock-viewport figure {
    margin: 0;
    line-height: 0;
}

.mock-viewport img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.demo-intro {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 12px 12px;
}

.demo-intro h1 {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    color: #1a1d21;
    margin: 0 0 8px;
}

.demo-intro p {
    margin: 0;
    color: #555;
    line-height: 1.55;
    max-width: 65ch;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
