/**
 * TerfiGYS - Konu / Category Hub Sayfası Modüler CSS
 */

:root {
    --hub-primary: #2563eb;
    --hub-success: #047857;
    --hub-bg: #f8fafc;
    --hub-text-main: #1f2937;
    --hub-text-muted: #6b7280;
    --hub-border: #e5e7eb;
}

/* ── AKILLI ÇALIŞMA DASHBOARD DİZİNİ (DEMO KARTLAR - EKRAN GÖRÜNTÜSÜ BİREBİR) ───────────────── */
.gd-hub-demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 0px;
    margin-bottom: 16px;
}


.gd-hub-demo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px 0 14px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease;
}

/* ── İlerleme Halkası Renk Temaları ───────────────── */
.gd-hub-ring-fill.ring-blue { stroke: #2563eb; }
.gd-hub-ring-fill.ring-indigo { stroke: #4f46e5; }
.gd-hub-ring-fill.ring-cyan { stroke: #0891b2; }
.gd-hub-ring-fill.ring-violet { stroke: #7c3aed; }
.gd-hub-ring-fill.ring-amber { stroke: #d97706; }
.gd-hub-ring-fill.ring-emerald { stroke: #047857; }
.gd-hub-ring-fill.ring-orange { stroke: #ea580c; }
.gd-hub-ring-fill.ring-rose { stroke: #e11d48; }
.gd-hub-ring-fill.ring-purple { stroke: #9333ea; }
.gd-hub-ring-fill.ring-complete { stroke: #10b981 !important; }




.gd-hub-demo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.gd-hub-demo-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.gd-hub-demo-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gd-hub-demo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
}

.gd-hub-demo-title {
    font-size: 20.5px;
    font-weight: 800;
    color: #2563eb;
    margin: 0;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}





.gd-hub-ring-wrap {
    position: relative;
    width: 44px;
    height: 44px;
    margin-top: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gd-hub-ring-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gd-hub-ring-bg {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 3.8;
}

.gd-hub-ring-fill {
    fill: none;
    stroke: #0088ff;
    stroke-width: 3.8;
    stroke-linecap: round;
    transition: stroke-dasharray 0.6s ease;
}

.gd-hub-ring-text {
    position: absolute;
    font-size: 11px;
    font-weight: 800;
    color: #0f172a;
}

.gd-hub-demo-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.gd-hub-demo-stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

.gd-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.gd-dot.green {
    background: #16a34a;
}

.gd-dot.red {
    background: #dc2626;
}

.gd-hub-demo-footer {
    border-top: 1px solid #f1f5f9;
    margin-left: -14px;
    margin-right: -14px;
    padding: 7px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 500;
}


.gd-hub-demo-sublinks {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}


.gd-hub-sublink-fav,
.gd-hub-sublink-wrong,
.gd-hub-sublink-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.gd-hub-sublink-fav {
    color: #d97706;
}

.gd-hub-sublink-stat.green {
    color: #16a34a;
}


.gd-hub-sublink-wrong,
.gd-hub-sublink-stat.red {
    color: #dc2626;
}

.gd-hub-sublink-fav:hover,
.gd-hub-sublink-wrong:hover {
    opacity: 0.8;
    text-decoration: underline;
}


.gd-hub-demo-time {
    display: flex;
    align-items: center;
    gap: 6px;
}


.gd-hub-demo-chart-icon {
    display: flex;
    align-items: center;
}

@media (max-width: 991px) {
    .gd-hub-demo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gd-hub-demo-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Sayfa Gövdesi (Kural 20 Uyumlu) ──────────────────────────── */
.hub-page-content {

    padding: 10px 0 60px;
    color: var(--hub-text-main);
}

/* ── Category Select Header Bar (User Screenshot 1:1) ──────────── */
.gd-cat-select-container {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-bottom: 8px;
}

.gd-cat-select-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    outline: none;
}

.gd-cat-select-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.gd-cat-select-left {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.gd-cat-select-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gd-cat-select-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    padding: 0;
    line-height: inherit;
}

.gd-cat-select-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 12px;
}

.gd-cat-tour-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    outline: none;
}

.gd-cat-tour-btn:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);
}

.gd-cat-edit-btn {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: #0f172a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

.gd-cat-edit-btn:hover {
    background: #1e293b;
    transform: scale(1.04);
}

/* Back Button */
.hub-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hub-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 20px;
    transition: color 0.2s;
}

.hub-back-btn:hover {
    color: var(--hub-primary);
}

/* Hero Section */
.hub-hero {
    background: #ffffff;
    border: 1px solid var(--hub-border);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.hub-hero-title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.hub-hero-desc {
    color: var(--hub-text-muted);
    font-size: 15px;
    line-height: 1.5;
    max-width: 800px;
}

.hub-hero-stats {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.hub-hero-stat-item {
    background: #f1f5f9;
    padding: 10px 16px;
    border-radius: 12px;
    text-align: center;
    min-width: 100px;
}

.hub-hero-stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--hub-primary);
}

.hub-hero-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--hub-text-muted);
    text-transform: uppercase;
}

/* Grid & Cards */
.hub-main-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.hub-card {
    background: #ffffff;
    border: 1px solid var(--hub-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hub-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.hub-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.hub-card-icon {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    color: var(--hub-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.hub-card-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.hub-card-body {
    flex: 1;
    font-size: 14px;
    color: var(--hub-text-muted);
    line-height: 1.5;
}

.hub-card-footer {
    margin-top: 20px;
}

/* Progress UI */
.hub-progress-track {
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
    margin: 10px 0;
}

.hub-progress-bar {
    height: 100%;
    background: var(--hub-primary);
    border-radius: 4px;
}

/* Simplified List */
.hub-simple-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.hub-simple-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.hub-simple-item:last-child {
    border-bottom: none;
}

.hub-simple-link {
    color: var(--hub-text-main);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-simple-link:hover {
    color: var(--hub-primary);
}

/* Buttons - Standard */
.hub-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
    border: 1px solid transparent;
    gap: 8px;
}

.hub-btn-primary {
    background: var(--hub-primary);
    color: white;
}

.hub-btn-primary:hover {
    background: #1d4ed8;
}

.hub-btn-outline {
    background: #f8fafc;
    border-color: var(--hub-border);
    color: var(--hub-text-main);
}

.hub-btn-outline:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* Sub-categories Pills */
.hub-pill {
    display: inline-block;
    padding: 6px 12px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    margin: 0 8px 8px 0;
    border: 1px solid var(--hub-border);
}

.hub-pill:hover {
    background: #e2e8f0;
    color: var(--hub-primary);
}

/* ── Action Cards matching User Screenshot ─────────────────────── */
.hub-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.hub-action-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #cbd5e1;
    border-radius: 4px;
    padding: 16px 18px;
    text-align: left;
    text-decoration: none;
    color: #1e293b;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.hub-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Accent Left Borders */
.hub-action-card.active-blue { border-left-color: #2563eb; }
.hub-action-card.active-purple { border-left-color: #7c3aed; }
.hub-action-card.active-cyan { border-left-color: #0891b2; }
.hub-action-card.active-orange { border-left-color: #d97706; }
.hub-action-card.active-emerald { border-left-color: #047857; }

.hub-action-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.hub-action-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.hub-action-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hub-card-title-text {
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.hub-card-subtitle-text {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-top: 2px;
}

.hub-action-chevron {
    flex-shrink: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Progress Bar */
.hub-mini-progress-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    width: 100%;
}

.hub-mini-progress {
    flex: 1;
    height: 5px;
    background: #f1f5f9;
    border-radius: 3px;
    overflow: hidden;
}

.hub-mini-progress-fill {
    height: 100%;
    background: #2563eb;
    border-radius: 3px;
}

.hub-mini-percent {
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
}

/* Sublinks */
.hub-card-sublinks {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    font-size: 13px;
    font-weight: 700;
}

.sublink-fav {
    color: #d97706;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sublink-wrong {
    color: #dc2626;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 992px) {
    .hub-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hub-actions-grid {
        grid-template-columns: 1fr;
    }
}

/* Neumorphism Stats */
.hub-neu-ann {
    background: #f1f5f9;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 8px 8px 16px #d1d9e6, -8px -8px 16px #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hub-neu-ann:hover {
    box-shadow: 4px 4px 8px #d1d9e6, -4px -4px 8px #ffffff;
    transform: scale(0.98);
}

.neu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 769px) {
    .neu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hub-card-full { grid-column: span 12; }
.hub-card-half { grid-column: span 6; }

/* HUB CAT SELECTOR */
.hub-cat-selector-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hub-cat-selector-modal {
    background: #fff;
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    max-height: 80vh;
    overflow: hidden;
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hub-cat-selector-header {
    padding: 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.hub-cat-selector-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
}

.hub-cat-selector-close {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    transition: 0.2s;
}

.hub-cat-selector-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.hub-cat-selector-list {
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hub-cat-selector-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    text-decoration: none;
    color: #334155;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
}

.hub-cat-selector-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    color: #2563eb;
}

.hub-cat-selector-item.active {
    background: #2563eb;
    color: #fff;
    border-color: #1d4ed8;
}

.hub-cat-selector-icon {
    margin-right: 14px;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    opacity: 0.7;
}

.hub-cat-selector-item.active .hub-cat-selector-icon {
    opacity: 1;
}

.hub-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    gap: 15px;
}

.hub-cat-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 20px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hub-cat-trigger:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.hub-cat-trigger svg {
    color: #2563eb;
}

/* OVERALL PROGRESS COMPACT */
.overall-progress-card {
    background: #ffffff;
    border: 1px solid var(--hub-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.overall-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.overall-progress-title {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.overall-progress-value {
    font-size: 16px;
    font-weight: 900;
    color: var(--hub-primary);
}

.overall-progress-bar-bg {
    height: 12px;
    background: #f1f5f9;
    border-radius: 6px;
    overflow: hidden;
}

.overall-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #10b981);
    border-radius: 6px;
    transition: width 0.8s ease-in-out;
}

.overall-progress-stats {
    display: flex;
    gap: 15px;
    margin-top: 12px;
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.overall-stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.overall-stat-item svg {
    font-size: 10px;
    opacity: 0.7;
}

/* Media Queries */
@media (max-width: 1024px) {
    .hub-main-grid { grid-template-columns: repeat(2, 1fr); }
    .hub-card-full { grid-column: span 2 !important; }
    .hub-card-half { grid-column: span 1 !important; }
}

@media (max-width: 768px) {
    .gd-cat-select-container {
        gap: 6px;
        margin-bottom: 12px;
    }

    .gd-cat-select-btn {
        padding: 8px 12px;
        height: 42px;
        border-radius: 10px;
    }

    .gd-cat-select-left {
        gap: 8px;
    }

    .gd-cat-select-title {
        font-size: 13px;
        font-weight: 800;
    }

    .gd-cat-tour-btn,
    .gd-cat-edit-btn {
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 10px;
    }

    .hub-actions-grid { grid-template-columns: 1fr !important; gap: 10px; }
    .hub-main-grid { grid-template-columns: 1fr; gap: 15px; }
    .hub-card-full { grid-column: span 1 !important; }
    .hub-card-half { grid-column: span 1 !important; }
    .hub-page-content { padding: 10px 0 40px; }
    .hub-action-card { border-left-width: 6px; border-right: none; padding: 14px 16px; }
}

/* ── By Type Segment Bar ───────────────────────────────────────── */
.hub-bytype-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px 16px;
    margin-bottom: 22px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.hub-bytype-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 10px;
}

.hub-bytype-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hub-bytype-title svg { color: #2563eb; }

.hub-bytype-pct {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.hub-bytype-bar {
    display: flex;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    gap: 2px;
    margin-bottom: 12px;
}

.hub-bytype-seg {
    border-radius: 999px;
    overflow: hidden;
    min-width: 4px;
    flex-shrink: 0;
}

.hub-bytype-seg-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
}

.hub-bytype-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.hub-bytype-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #475569;
    font-weight: 500;
}

.hub-bytype-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .hub-bytype-bar { height: 8px; }
    .hub-bytype-legend { gap: 8px 14px; }
}

/* ── 7-Card Performance Stats Grid ────────────────────────────── */
.hub-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 15px;
}

@media (max-width: 992px) {
    .hub-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hub-stats-grid {
        grid-template-columns: 1fr;
    }
}

.hub-stat-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.hub-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

/* Card Borders */
.hub-stat-card.border-blue { border-color: #2563eb; }
.hub-stat-card.border-cyan { border-color: #06b6d4; }
.hub-stat-card.border-emerald { border-color: #059669; }
.hub-stat-card.border-red { border-color: #f43f5e; }
.hub-stat-card.border-amber { border-color: #f59e0b; }
.hub-stat-card.border-sky { border-color: #0284c7; }
.hub-stat-card.border-purple { border-color: #8b5cf6; }

/* Icon Box Backgrounds */
.hub-stat-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.hub-stat-icon.bg-blue { background: #2563eb; }
.hub-stat-icon.bg-cyan { background: #06b6d4; }
.hub-stat-icon.bg-emerald { background: #059669; }
.hub-stat-icon.bg-red { background: #f43f5e; }
.hub-stat-icon.bg-amber { background: #f59e0b; }
.hub-stat-icon.bg-sky { background: #0284c7; }
.hub-stat-icon.bg-purple { background: #8b5cf6; }

.hub-stat-info {
    flex: 1;
}

.hub-stat-label {
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.hub-stat-value {
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
}

.hub-stat-desc {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
}

/* ── Sayfa Tanıtım Turu Modal Styles ───────────────────────────── */
.gd-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 25000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gd-modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    border-radius: 24px;
    padding: 30px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideUp 0.3s ease-out;
}

.gd-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.2s;
}

.gd-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.gd-tour-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    color: #2563eb;
    padding: 4px 12px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.gd-tour-slide {
    display: none;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.gd-tour-slide.active {
    display: flex;
}

.gd-tour-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.3);
}

.gd-tour-icon.bg-blue { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.gd-tour-icon.bg-purple { background: linear-gradient(135deg, #7c3aed, #8b5cf6); }
.gd-tour-icon.bg-cyan { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.gd-tour-icon.bg-emerald { background: linear-gradient(135deg, #059669, #10b981); }

.gd-tour-slide h3 {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.gd-tour-slide p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.gd-tour-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 24px 0 20px 0;
}

.gd-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s;
}

.gd-dot.active {
    width: 24px;
    border-radius: 99px;
    background: #2563eb;
}

.gd-tour-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.gd-tour-footer .gd-btn {
    flex: 1;
}

/* ── Misafir Dönüşüm CTA Kartı (gc-inline-cta) ────────────────── */
.gc-inline-cta {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #6366f1 100%);
    border-radius: 20px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 8px 30px -8px rgba(37, 99, 235, 0.45);
    position: relative;
    overflow: hidden;
    animation: gcCtaFadeIn 0.5s ease-out;
}

@keyframes gcCtaFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.gc-cta-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.gc-cta-ring--top {
    right: -40px;
    top: -40px;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.06);
}

.gc-cta-ring--bottom {
    right: 40px;
    bottom: -60px;
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.04);
}

.gc-cta-left {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.gc-cta-icon-wrap {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.gc-cta-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gc-cta-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.gc-cta-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
    line-height: 1.4;
}

.gc-cta-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.gc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gc-cta-btn--primary {
    background: #ffffff;
    color: #1e3a8a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gc-cta-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gc-cta-btn--ghost {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    font-weight: 700;
}

.gc-cta-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.25);
}

@media (max-width: 600px) {
    .gc-inline-cta {
        padding: 18px 16px;
        flex-direction: column;
        align-items: flex-start;
    }

    .gc-cta-actions {
        width: 100%;
    }

    .gc-cta-btn {
        flex: 1;
        justify-content: center;
    }
}

/* ==========================================================================
   Breadcrumb Truncation (Uzun Başlık Kısaltma - sorular/ Sayfası Uyumlu)
   ========================================================================== */
.gd-breadcrumb-item a,
.gd-breadcrumb-item span {
    max-width: 240px;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .gd-breadcrumb-item a,
    .gd-breadcrumb-item span {
        max-width: 130px !important;
    }
}

/* ── Sıkça Sorulan Sorular (sample_page.php ile 1:1 Uyumlu 2 Kolonlu Düzen) ───── */
.sp-faq-clean-section {
    margin-top: 32px;
    margin-bottom: 32px;
}

.sp-faq-clean-title {
    margin: 0 0 20px 0;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.sp-faq-clean-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}

.sp-faq-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sp-faq-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sp-faq-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.sp-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.35;
}

.sp-faq-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.sp-faq-card.active .sp-faq-chevron {
    transform: rotate(180deg);
}

.sp-faq-answer {
    display: none;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid #f1f5f9;
    font-size: 14px;
    color: #475569;
    line-height: 1.55;
}

.sp-faq-card.active .sp-faq-answer {
    display: block;
}

@media (max-width: 768px) {
    .sp-faq-clean-grid {
        grid-template-columns: 1fr;
    }
}

