/* features.php her modül için kompakt mockup kartlar */

.fv-card {
    aspect-ratio: 4/3;
    border-radius: var(--r-lg, 16px);
    background: linear-gradient(160deg, #131c2e 0%, #0c1424 100%);
    border: 1px solid var(--line, #1f2a3f);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}
.fv-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}
.fv-card > * { position: relative; z-index: 1; }

.fv-head {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}
.fv-tag {
    font-family: var(--font-mono, ui-monospace);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted, #9BA8BD);
}
.fv-val {
    font-family: var(--font-mono, ui-monospace);
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}
.fv-val.warn { color: #FFCC00; }
.fv-val.green { color: #22C55E; }
.fv-val.red { color: #FF4D4D; }

.fv-chart { width: 100%; height: auto; }
.fv-foot { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.fv-pill {
    font-family: var(--font-mono, ui-monospace);
    font-size: 9px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 999px;
    letter-spacing: 0.04em;
}
.fv-pill.green  { background: rgba(34, 197, 94, 0.15);  color: #22C55E; }
.fv-pill.yellow { background: rgba(255, 204, 0, 0.15);  color: #FFCC00; }
.fv-pill.red    { background: rgba(255, 77, 77, 0.15);  color: #FF4D4D; }
.fv-pill.blue   { background: rgba(10, 132, 255, 0.15); color: #0A84FF; }

/* Microcycle weekly grid */
.fv-grid7 {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-top: auto;
    align-items: end;
    flex: 1;
}
.fv-day { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.fv-day-name {
    font-family: var(--font-mono, ui-monospace);
    font-size: 9px;
    color: var(--muted, #9BA8BD);
}
.fv-bar-bg {
    width: 100%;
    height: 90px;
    background: rgba(31, 42, 58, 0.5);
    border-radius: 4px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.fv-bar-fill {
    width: 100%;
    transition: height 0.3s;
}
.fv-day-tag {
    font-family: var(--font-mono, ui-monospace);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Phone mockup */
.fv-phones { display: flex; justify-content: center; flex: 1; align-items: center; }
.fv-phone {
    width: 145px;
    border-radius: 18px;
    background: linear-gradient(180deg, #1A2438, #131c2e);
    border: 1px solid rgba(148, 163, 184, 0.15);
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.fv-phone-screen {
    background: #0c1424;
    border-radius: 12px;
    padding: 12px;
    color: #fff;
}
.fv-phone-h {
    font-size: 11px;
    color: var(--muted, #9BA8BD);
    margin-bottom: 8px;
}
.fv-rpe {
    display: flex;
    gap: 3px;
    margin-bottom: 10px;
}
.fv-rpe-dot {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: rgba(148, 163, 184, 0.2);
}
.fv-rpe-dot.on {
    background: linear-gradient(90deg, #22C55E, #FFCC00);
}
.fv-phone-row {
    display: flex; justify-content: space-between;
    font-size: 10px;
    color: var(--muted, #9BA8BD);
    padding: 4px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}
.fv-strong { color: #fff; font-weight: 700; font-family: var(--font-mono, ui-monospace); }
.fv-phone-btn {
    margin-top: 8px;
    padding: 7px;
    background: #0A84FF;
    color: #fff;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    border-radius: 6px;
}

/* PDF mockup */
.fv-pdf {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.fv-pdf-doc {
    width: 140px;
    height: 170px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
    z-index: 2;
}
.fv-pdf-doc.behind {
    position: absolute;
    width: 130px;
    height: 158px;
    background: #e5e7eb;
    z-index: 1;
    transform: rotate(-6deg) translate(-12px, 8px);
}
.fv-pdf-band { height: 18px; background: #C40000; }
.fv-pdf-name {
    padding: 6px 8px 4px;
    font-size: 8px;
    font-weight: 700;
    color: #1A1A1A;
    letter-spacing: 0.04em;
}
.fv-pdf-rows {
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.fv-pdf-rows > div {
    height: 4px;
    background: #E5E7EB;
    border-radius: 2px;
}
.fv-pdf-rows > div:nth-child(2) { width: 75%; }
.fv-pdf-rows > div:nth-child(3) { width: 60%; }
.fv-pdf-rows > div:nth-child(5) { width: 80%; }
.fv-pdf-chart {
    margin: 6px 8px;
    height: 50px;
    background: linear-gradient(180deg, rgba(196, 0, 0, 0.1), rgba(196, 0, 0, 0));
    border-radius: 4px;
    position: relative;
}
.fv-pdf-chart::before {
    content: "";
    position: absolute;
    bottom: 8px; left: 8px; right: 8px;
    height: 1.5px;
    background: #C40000;
    clip-path: polygon(0 60%, 20% 30%, 40% 50%, 60% 20%, 80% 40%, 100% 0%, 100% 100%, 0 100%);
}

/* Alerts list */
.fv-alerts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}
.fv-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    border-left: 3px solid;
}
.fv-alert.red    { background: rgba(255, 77, 77, 0.08);  border-color: #FF4D4D; }
.fv-alert.yellow { background: rgba(255, 204, 0, 0.08);  border-color: #FFCC00; }
.fv-alert.green  { background: rgba(34, 197, 94, 0.08);  border-color: #22C55E; }
.fv-alert-icon {
    font-size: 14px;
    width: 26px; height: 26px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: grid;
    place-items: center;
}
.fv-alert-t { font-size: 11px; font-weight: 700; color: #fff; }
.fv-alert-d { font-size: 9px; color: var(--muted, #9BA8BD); margin-top: 1px; }

/* Calendar */
.fv-cal {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    flex: 1;
}
.fv-cal-h {
    font-family: var(--font-mono, ui-monospace);
    font-size: 8px;
    text-align: center;
    color: var(--muted, #9BA8BD);
    padding: 2px;
}
.fv-cal-d {
    aspect-ratio: 1;
    background: rgba(31, 42, 58, 0.3);
    border-radius: 3px;
    display: grid; place-items: center;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-mono, ui-monospace);
}
.fv-cal-d.match  { background: #FF4D4D; color: #fff; font-weight: 700; }
.fv-cal-d.cup    { background: #0A84FF; color: #fff; font-weight: 700; }
.fv-cal-d.today  { background: rgba(34, 197, 94, 0.3); color: #22C55E; border: 1px solid #22C55E; font-weight: 700; }

/* Roster */
.fv-roster {
    display: flex; flex-direction: column;
    gap: 4px; flex: 1;
}
.fv-roster-row {
    display: grid;
    grid-template-columns: 36px 1fr 36px 12px;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    background: rgba(31, 42, 58, 0.3);
    border-radius: 4px;
    font-size: 11px;
}
.fv-roster-n {
    font-family: var(--font-mono, ui-monospace);
    color: var(--muted, #9BA8BD);
    font-weight: 700;
}
.fv-roster-name { color: #fff; font-weight: 600; }
.fv-roster-pos {
    font-family: var(--font-mono, ui-monospace);
    font-size: 9px;
    color: var(--muted, #9BA8BD);
}
.fv-roster-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* API code */
.fv-code {
    background: #0c1424;
    border-radius: 6px;
    padding: 10px;
    font-family: var(--font-mono, ui-monospace);
    font-size: 11px;
    flex: 1;
    border: 1px solid rgba(148, 163, 184, 0.08);
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.fv-code-line { display: flex; gap: 8px; align-items: center; }
.fv-c-m {
    background: #22C55E;
    color: #0c1424;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    min-width: 36px;
    text-align: center;
}
.fv-c-m.post { background: #FFCC00; }
.fv-c-p { color: #fff; }

/* Security icons */
.fv-sec {
    display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.fv-sec-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    background: rgba(31, 42, 58, 0.3);
    border-radius: 6px;
}
.fv-sec-icon {
    width: 28px; height: 28px;
    border-radius: 6px;
    display: grid; place-items: center;
    font-size: 14px;
}
.fv-sec-icon.green { background: rgba(34, 197, 94, 0.15); }
.fv-sec-t { font-size: 11px; font-weight: 700; color: #fff; }
.fv-sec-d { font-size: 9px; color: var(--muted, #9BA8BD); margin-top: 1px; }

/* Mobile responsive */
@media (max-width: 880px) {
    .fv-card { padding: 14px; gap: 10px; }
    .fv-tag, .fv-val { font-size: 11px; }
}

/* Brand image (header & footer) */
.brand-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px;
}
.footer-brand .brand-img {
    background: rgba(255, 255, 255, 0.06);
}

/* Footer brand: sadece logo, text yok, görsel orantısı koru */
.footer-brand-logo { display: block; margin-bottom: 16px; }
.footer-logo-img {
    display: block;
    width: auto;
    max-width: 200px;
    height: auto;
    object-fit: contain;
    background: transparent;
    padding: 0;
}

/* Modül kartlarında küçük preview (index.php) */
.module-art-wrap {
    margin: 12px 0;
}
.module-art-wrap .fv-card {
    aspect-ratio: auto;
    height: 140px;
    padding: 10px;
    gap: 6px;
}
.module-art-wrap .fv-tag { font-size: 8px; }
.module-art-wrap .fv-val { font-size: 11px; }
.module-art-wrap .fv-foot,
.module-art-wrap .fv-day-tag,
.module-art-wrap .fv-cal-d,
.module-art-wrap .fv-roster-pos,
.module-art-wrap .fv-pdf-doc.behind { display: none; }
.module-art-wrap .fv-bar-bg { height: 60px; }
.module-art-wrap .fv-alerts { gap: 4px; }
.module-art-wrap .fv-alert { padding: 4px 6px; }
.module-art-wrap .fv-alert-icon { width: 18px; height: 18px; font-size: 10px; }
.module-art-wrap .fv-alert-t { font-size: 9px; }
.module-art-wrap .fv-alert-d { font-size: 8px; }

/* Legal sayfaları (Gizlilik / KVKK / Terms / Çerez) */
.legal-container { max-width: 820px; }
.legal-content { color: var(--subtext, #BFC9D8); line-height: 1.7; font-size: 15px; }
.legal-content h2 {
    font-family: var(--font-sora, 'Sora', sans-serif);
    font-size: 22px;
    color: var(--text, #fff);
    margin: 40px 0 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line, #1f2a3f);
}
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-content p { margin: 0 0 14px; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; }
.legal-content li { margin-bottom: 8px; }
.legal-content strong { color: var(--text, #fff); }
.legal-content a {
    color: var(--primary-2, #3DA5FF);
    text-decoration: underline;
    text-decoration-color: rgba(61, 165, 255, 0.4);
    text-underline-offset: 3px;
}
.legal-content a:hover { text-decoration-color: var(--primary-2, #3DA5FF); }
.legal-content code {
    font-family: var(--font-mono, ui-monospace);
    font-size: 13px;
    background: rgba(148, 163, 184, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--text, #fff);
}
.legal-meta {
    font-family: var(--font-mono, ui-monospace);
    font-size: 12px;
    color: var(--muted, #9BA8BD);
    margin-top: 12px;
}

/* Cookie table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0 18px;
    font-size: 13px;
}
.cookie-table th,
.cookie-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line, #1f2a3f);
    vertical-align: top;
}
.cookie-table th {
    font-family: var(--font-mono, ui-monospace);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted, #9BA8BD);
    background: rgba(31, 42, 58, 0.4);
}
.cookie-table tr:last-child td { border-bottom: 0; }

/* ──────────────────────────────────────────────────────────────
 * Training Builder mockup (drill library + cart)
 * ────────────────────────────────────────────────────────────── */
.fv-builder {
    display: grid; grid-template-columns: 1fr 1.05fr;
    gap: 10px; margin-top: 10px;
    flex: 1;
}
.fv-lib {
    background: rgba(15, 22, 38, 0.5);
    border: 1px solid rgba(31, 47, 68, 0.6);
    border-radius: 10px; padding: 8px;
    display: flex; flex-direction: column; gap: 5px;
}
.fv-lib-search {
    display: flex; align-items: center; gap: 6px;
    padding: 5px 8px; margin-bottom: 4px;
    background: rgba(31, 47, 68, 0.5);
    border-radius: 6px;
    font-size: 9.5px; color: var(--muted, #9BA8BD);
    font-family: var(--font-mono, ui-monospace, monospace);
}
.fv-lib-search svg { color: #0A84FF; }
.fv-lib-item {
    display: flex; align-items: center; gap: 6px;
    padding: 5px 8px;
    background: rgba(20, 34, 49, 0.5);
    border-radius: 6px;
    font-size: 10px; color: #E8F0FB;
    font-weight: 600;
}
.fv-lib-yt {
    display: inline-flex; align-items: center; justify-content: center;
    width: 14px; height: 14px; border-radius: 3px;
    background: #FF0000; color: #fff;
    font-size: 8px; font-weight: 900;
}
.fv-cart {
    display: flex; flex-direction: column; gap: 5px;
}
.fv-cart-block {
    background: linear-gradient(135deg, rgba(20, 34, 49, 0.75), rgba(15, 26, 36, 0.55));
    border: 1px solid rgba(31, 47, 68, 0.6);
    border-radius: 10px; padding: 7px 9px;
}
.fv-cart-h {
    display: flex; align-items: center; gap: 5px;
    font-size: 9px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: 3px;
    font-family: var(--font-mono, ui-monospace, monospace);
}
.fv-cart-dot { width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 6px currentColor; }
.fv-cart-i { font-size: 10px; color: var(--muted, #9BA8BD); }

/* ──────────────────────────────────────────────────────────────
 * Club Memory — 9 departman grid'i
 * ────────────────────────────────────────────────────────────── */
.fv-memory {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 7px; margin-top: 10px;
    flex: 1;
}
.fv-mem-cell {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 9px;
    background: linear-gradient(135deg, rgba(20, 34, 49, 0.75), rgba(15, 26, 36, 0.55));
    border: 1px solid var(--accent, rgba(31, 47, 68, 0.6));
    border-radius: 10px;
    position: relative; overflow: hidden;
}
.fv-mem-cell::before {
    content: ""; position: absolute; inset: 0;
    background: var(--accent); opacity: 0.06;
    pointer-events: none;
}
.fv-mem-icon { font-size: 14px; line-height: 1; }
.fv-mem-t {
    flex: 1; font-size: 10px; font-weight: 700;
    color: #fff; line-height: 1.2;
}
.fv-mem-c {
    font-size: 11px; font-weight: 800;
    color: var(--accent);
    font-family: var(--font-mono, ui-monospace, monospace);
}
