/* page-qi-rehberi sablonundan tasindi (FOUC duzeltmesi). Kaynak: page-qi-rehberi.php */

.qi-guide-wrap { max-width: 980px; margin: 0 auto; padding: 20px 16px 60px; }

.qi-slide { border-radius: 22px; padding: 44px 40px; margin-bottom: 22px; position: relative; overflow: hidden; }
.qi-slide-light { background: var(--color-bg-secondary); }
.qi-slide-dark { background: linear-gradient(150deg, #0f1b33, #16264a); color: #eaf1ff; }
.qi-slide-purple { background: linear-gradient(150deg, #4b3a8f, #6a3fa0); color: #f3ecff; }

.qi-slide-cover { text-align: center; background: linear-gradient(135deg, #4a7fd9, #6a3fa0); color: #fff; padding: 60px 30px; }
.qi-slide-cover h1 { font-size: 2.1rem; font-weight: 800; margin: 12px 0 8px; }
.qi-slide-cover-badge { display: inline-block; background: rgba(255,255,255,0.15); padding: 6px 18px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 6px; }
.qi-slide-cover-sub { font-size: 1.05rem; opacity: 0.92; margin-bottom: 20px; }
.qi-slide-cover-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.qi-slide-cover-tags span { background: rgba(255,255,255,0.15); padding: 6px 16px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.qi-slide-closing { background: linear-gradient(135deg, #0f2547, #4a3a8f); }

.qi-eyebrow { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; color: #4a7fd9; margin-bottom: 6px; }
.qi-eyebrow-light { color: #a9c3ff; }
.qi-slide h2 { font-size: 1.7rem; font-weight: 800; margin: 0 0 18px; color: var(--color-text-primary); }
.qi-slide-title-light { color: #fff !important; }
.qi-slide-sub-light { color: #cfe0ff; margin-bottom: 22px; }

.qi-slide-grid-2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }

.qi-fact-list { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.qi-fact { display: flex; gap: 14px; align-items: flex-start; }
.qi-fact-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.qi-fact h4 { margin: 0 0 4px; font-size: 1rem; color: var(--color-text-primary); }
.qi-fact p { margin: 0; font-size: 0.87rem; color: var(--color-text-muted); line-height: 1.5; }

.qi-mock-card { background: #0f2547; border-radius: 18px; padding: 22px; color: #fff; }
.qi-mock-card-light { background: rgba(255,255,255,0.08); }
.qi-mock-header { font-size: 0.85rem; font-weight: 700; opacity: 0.85; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.qi-mock-sub { font-weight: 400; opacity: 0.6; font-size: 0.7rem; margin-left: auto; }
.qi-mock-balance { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; }
.qi-mock-balance span { font-size: 1rem; opacity: 0.7; }
.qi-mock-tx, .qi-mock-package { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; }
.qi-mock-tx-pos strong { color: #6ee7a0; }
.qi-mock-tx-neg strong { color: #ff8a8a; }
.qi-mock-package strong { color: #a9c3ff; }
.qi-mock-package-featured { background: rgba(255,255,255,0.06); border-radius: 8px; padding: 9px 10px; margin: 4px -10px; border-bottom: none; }
.qi-mock-total { border-top: 2px solid rgba(255,255,255,0.2); border-bottom: none; margin-top: 6px; padding-top: 12px; font-weight: 700; }
.qi-mock-processing { color: #ffd166; }
.qi-mock-waiting { opacity: 0.55; }
.qi-mock-queue-slot { display: flex; justify-content: space-between; font-size: 0.85rem; margin-bottom: 10px; opacity: 0.85; }

.qi-card-row { display: grid; gap: 16px; margin-top: 10px; }
.qi-card-row-2 { grid-template-columns: repeat(2, 1fr); }
.qi-card-row-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.qi-card-row-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.qi-earn-card { background: rgba(255,255,255,0.06); border-radius: 16px; padding: 20px; }
.qi-earn-card-light { background: rgba(255,255,255,0.1); }
.qi-earn-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 12px; font-size: 1.1rem; }
.qi-earn-tag { display: inline-block; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; opacity: 0.6; margin-bottom: 4px; }
.qi-earn-card h4 { margin: 0 0 6px; font-size: 1rem; }
.qi-earn-card p { margin: 0 0 12px; font-size: 0.83rem; opacity: 0.85; line-height: 1.5; }
.qi-earn-rate { font-size: 0.8rem; font-weight: 700; color: #ffd166; }

.qi-steps { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.qi-steps-light { color: #fff; }
.qi-steps-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.qi-step { display: flex; gap: 14px; align-items: flex-start; }
.qi-step-num { width: 30px; height: 30px; border-radius: 50%; background: #4a7fd9; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; flex-shrink: 0; }
.qi-step-num-light { background: rgba(255,255,255,0.2); }
.qi-step h4 { margin: 0 0 4px; font-size: 0.95rem; color: inherit; }
.qi-step p { margin: 0; font-size: 0.82rem; opacity: 0.8; line-height: 1.5; }

.qi-formula-box { background: rgba(74,127,217,0.08); border: 1px solid rgba(74,127,217,0.25); border-radius: 14px; padding: 18px 22px; margin-top: 6px; }
.qi-formula-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; color: #4a7fd9; margin-bottom: 6px; }
.qi-formula { font-size: 1.1rem; font-weight: 700; color: var(--color-text-primary); }
.qi-formula-note { font-size: 0.78rem; color: var(--color-text-muted); margin-top: 8px; }
.qi-status-on { color: #22b07d; font-weight: 700; }
.qi-status-off { color: #eb5757; font-weight: 700; }

.qi-small-note { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 14px; }
.qi-small-note-light { color: #cfe0ff; }

.qi-slide-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; background: #fff; color: #4a3a8f !important; padding: 12px 24px; border-radius: 999px; font-weight: 700; }

/* Dao yolu (mini) */
.qi-dao-path { display: flex; justify-content: space-between; gap: 6px; margin: 26px 0 6px; overflow-x: auto; }
.qi-dao-path-item { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 60px; flex: 1; }
.qi-dao-path-dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,255,255,0.12); }
.qi-dao-path-name { font-size: 0.7rem; font-weight: 700; color: #fff; text-align: center; }
.qi-dao-path-months { font-size: 0.62rem; color: #9db3dd; }

/* Rütbe avantajları tablosu */
.qi-benefits-table-wrap { overflow-x: auto; margin-top: 10px; }
.qi-benefits-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.qi-benefits-table th { text-align: left; font-size: 0.72rem; color: var(--color-text-muted); padding: 10px 12px; border-bottom: 2px solid var(--color-border, #e0e0e0); text-transform: uppercase; letter-spacing: 0.03em; }
.qi-benefits-table td { padding: 12px; font-size: 0.87rem; border-bottom: 1px solid var(--color-border-light, #f0f0f0); color: var(--color-text-primary); }
.qi-benefits-rank-pill { color: #fff; font-weight: 700; font-size: 0.78rem; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }

/* Kapanış linkleri */
.qi-closing-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.qi-closing-link { display: flex; flex-direction: column; align-items: center; gap: 6px; background: rgba(255,255,255,0.1); border-radius: 16px; padding: 20px 26px; color: #fff !important; text-decoration: none; min-width: 160px; transition: transform 0.2s; }
.qi-closing-link:hover { transform: translateY(-3px); background: rgba(255,255,255,0.16); }
.qi-closing-link i { font-size: 1.5rem; }
.qi-closing-link span { font-weight: 700; font-size: 0.95rem; }
.qi-closing-link small { opacity: 0.65; font-size: 0.72rem; }

@media (max-width: 782px) {
    .qi-slide { padding: 28px 22px; }
    .qi-slide-grid-2 { grid-template-columns: 1fr; }
    .qi-slide-cover h1 { font-size: 1.5rem; }
}

/* Sekme navigasyonu */
.qi-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 0 0 26px;
    position: sticky;
    top: 8px;
    z-index: 5;
    background: var(--color-bg-primary, #0f1117);
    padding: 10px 0;
}

.qi-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    color: var(--color-text-secondary, #b8bfcc);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.qi-tab-btn:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.qi-tab-btn.active {
    background: linear-gradient(135deg, #4a7fd9, #6a3fa0);
    border-color: transparent;
    color: #fff;
}

.qi-tab-panel {
    display: none;
}

.qi-tab-panel.active {
    display: block;
    animation: qi-tab-fade-in 0.25s ease;
}

@keyframes qi-tab-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Diğer Özellikler — kart ızgarası */
.qi-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.qi-feature-card {
    display: block;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, background 0.2s ease;
}

a.qi-feature-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.09);
}

.qi-feature-card-static {
    opacity: 0.85;
}

.qi-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.qi-feature-card h4 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: var(--color-text-primary);
}

.qi-feature-card p {
    margin: 0;
    font-size: 0.83rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

@media (max-width: 640px) {
    .qi-tabs-nav {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .qi-tab-btn {
        flex: 0 0 auto;
    }
}
