/* ================================================
   zaman harcama — minimal, siyah-beyaz (monochrome) tasarım
   ================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    background: #ffffff;
    color: #111111;
    font-family: 'DM Sans', -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; }

/* ── Header ──────────────────────────────────── */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    max-width: 780px;
    margin: 0 auto;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 17px;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.3px;
}

.logo span { color: #555555; }

.nav-links { display: flex; gap: 4px; }

.nav-link {
    font-size: 13px;
    font-weight: 500;
    color: #666666;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.nav-link:hover { background: #f0f0f0; color: #111111; }

/* ── Main ─────────────────────────────────────── */
main {
    flex: 1;
    padding: 32px 16px 64px;
}

.wrap {
    max-width: 680px;
    margin: 0 auto;
}

/* ── INDEX — Hero ─────────────────────────────── */
.hero {
    text-align: center;
    padding: 40px 0 32px;
}

.hero-tag {
    display: inline-block;
    background: #f0f0f0;
    color: #333333;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    color: #111111;
}

.hero h1 em {
    font-style: normal;
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.hero-desc {
    font-size: 15px;
    color: #555555;
    max-width: 460px;
    margin: 0 auto 28px;
    line-height: 1.65;
}

.btn-start {
    display: inline-block;
    background: #111111;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
}
.btn-start:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-start:active { transform: translateY(0); }

.hero-meta {
    font-size: 12px;
    color: #999999;
    margin-top: 10px;
}

/* ── Matchfyn promo card ─────────────────────── */
.promo-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px 24px;
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 0 0 36px;
}

.promo-icon {
    font-size: 36px;
    flex-shrink: 0;
    line-height: 1;
}

.promo-body { flex: 1; }

.promo-eyebrow {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #888888;
    margin-bottom: 4px;
}

.promo-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 4px;
    line-height: 1.3;
}

.promo-body p {
    font-size: 13px;
    color: #555555;
    line-height: 1.55;
    margin-bottom: 12px;
}

.btn-promo {
    display: inline-block;
    background: #111111;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
    transition: opacity 0.2s;
}
.btn-promo:hover { opacity: 0.85; }

/* ── Feature row ─────────────────────────────── */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 48px;
}

.feat {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px 16px;
}

.feat-icon { font-size: 24px; margin-bottom: 10px; display: block; }
.feat h4 { font-size: 14px; font-weight: 700; color: #111111; margin-bottom: 6px; }
.feat p { font-size: 12px; color: #666666; line-height: 1.55; }

/* ── TEST PAGE ───────────────────────────────── */
.test-wrap {
    max-width: 620px;
    margin: 0 auto;
    padding: 16px 0 64px;
}

/* Progress */
.progress-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.progress-txt {
    font-size: 12px;
    font-weight: 600;
    color: #888888;
}

.progress-pct {
    font-size: 12px;
    font-weight: 700;
    color: #111111;
}

.progress-track {
    height: 3px;
    background: #e0e0e0;
    border-radius: 99px;
    margin-bottom: 24px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #111111;
    border-radius: 99px;
    transition: width 0.35s ease;
}

/* Step visibility */
.q-step { display: none; }
.q-step.active { display: block; }

/* Onboarding card */
.onboard-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 28px 24px;
    margin-bottom: 16px;
}

.onboard-card h2 {
    font-size: 20px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.onboard-card .sub {
    font-size: 13px;
    color: #666666;
    margin-bottom: 24px;
}

.field-group { margin-bottom: 20px; }

.field-lbl {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #777777;
    display: block;
    margin-bottom: 8px;
}

.pick-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pick-btn {
    padding: 10px 18px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
    color: #333333;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.pick-btn:hover { border-color: #999999; color: #111111; }
.pick-btn.chosen {
    border-color: #111111;
    color: #ffffff;
    background: #111111;
}

/* Question card */
.q-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 28px 24px;
    margin-bottom: 16px;
}

.q-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #666666;
    margin-bottom: 14px;
    display: block;
}

.q-text {
    font-size: 18px;
    font-weight: 700;
    color: #111111;
    line-height: 1.45;
    margin-bottom: 22px;
    letter-spacing: -0.2px;
}

.q-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.opt-btn {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
    color: #333333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.12s, background 0.12s, color 0.12s;
}

.opt-btn:hover {
    border-color: #999999;
    background: #fafafa;
}

.opt-btn.picked {
    border-color: #111111;
    background: #111111;
    color: #ffffff;
}

.opt-key {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #f0f0f0;
    color: #666666;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.12s, color 0.12s;
}

.opt-btn:hover .opt-key { background: #e0e0e0; color: #333333; }
.opt-btn.picked .opt-key { background: #ffffff; color: #111111; }

.q-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-back-q {
    background: none;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    color: #888888;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}
.btn-back-q:hover { border-color: #999999; color: #111111; }

.btn-next-big {
    width: 100%;
    padding: 14px;
    background: #111111;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 4px;
}
.btn-next-big:hover { opacity: 0.9; }

/* Loading */
.loading-box {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 64px 24px;
    text-align: center;
}
.loading-box.show { display: flex; }

.spin {
    width: 40px; height: 40px;
    border: 3px solid #f0f0f0;
    border-top-color: #111111;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    margin-bottom: 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.load-title { font-size: 17px; font-weight: 700; color: #111111; margin-bottom: 6px; }
.load-status { font-size: 13px; color: #888888; }

/* Small test ad */
.test-ad-bar {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 24px;
    font-size: 13px;
    color: #666666;
    text-align: center;
}
.test-ad-bar a { color: #111111; font-weight: 700; text-decoration: underline; }

/* ── RESULT PAGE ─────────────────────────────── */
.result-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 16px 0 64px;
}

.result-top {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    margin-bottom: 12px;
}

.result-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #888888;
    margin-bottom: 24px;
}

.score-ring {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
}
.score-ring svg { transform: rotate(-90deg); }

.ring-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ring-num {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    color: #111111;
}

.ring-sub {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888888;
    margin-top: 2px;
}

.verdict-name {
    font-size: 22px;
    font-weight: 800;
    color: #111111;
    letter-spacing: -0.4px;
    margin-bottom: 12px;
}

.verdict-desc {
    font-size: 14px;
    color: #555555;
    line-height: 1.65;
    max-width: 420px;
    margin: 0 auto 20px;
}

.advice-box {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 18px;
    text-align: left;
    max-width: 420px;
    margin: 0 auto 28px;
    position: relative;
}

.advice-label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #111111;
    margin-bottom: 4px;
}

.advice-text {
    font-size: 13px;
    color: #333333;
    font-style: italic;
    line-height: 1.6;
}

.result-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-redo {
    background: #111111;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 11px 24px;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s;
    display: inline-block;
}
.btn-redo:hover { opacity: 0.9; }

.btn-share {
    background: #ffffff;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: 7px;
    border: 1.5px solid #e0e0e0;
    cursor: pointer;
    transition: border-color 0.2s;
}
.btn-share:hover { border-color: #888888; }

/* Matchfyn result card */
.result-promo {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 12px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.result-promo-icon { font-size: 32px; flex-shrink: 0; }

.result-promo h3 {
    font-size: 15px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 4px;
}

.result-promo p {
    font-size: 13px;
    color: #555555;
    line-height: 1.55;
    margin-bottom: 12px;
}

/* Breakdown */
.breakdown-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 12px;
}

.breakdown-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #888888;
    margin-bottom: 20px;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.cat-list { display: flex; flex-direction: column; gap: 14px; }

.cat-row {}
.cat-head { display: flex; justify-content: space-between; margin-bottom: 5px; }
.cat-n { font-size: 12px; font-weight: 600; color: #555555; }
.cat-p { font-size: 12px; font-weight: 700; color: #111111; }

.cat-track {
    height: 4px;
    background: #f0f0f0;
    border-radius: 99px;
    overflow: hidden;
}

.cat-fill {
    height: 100%;
    background: #333333;
    border-radius: 99px;
}

.radar-box {
    aspect-ratio: 1;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 10px;
}

/* ── PRIVACY PAGE ────────────────────────────── */
.privacy-wrap {
    max-width: 580px;
    margin: 32px auto;
}

.privacy-wrap h1 {
    font-size: 26px;
    font-weight: 800;
    color: #111111;
    margin-bottom: 4px;
    letter-spacing: -0.3px;
}

.privacy-sub {
    font-size: 13px;
    color: #888888;
    margin-bottom: 28px;
}

.privacy-section {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 10px;
}

.privacy-section h2 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #111111;
    margin-bottom: 8px;
}

.privacy-section p {
    font-size: 13px;
    color: #555555;
    line-height: 1.65;
}

/* ── FOOTER ──────────────────────────────────── */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    padding: 20px 24px;
}

.footer-inner {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-copy { font-size: 13px; color: #888888; }

.footer-note {
    font-size: 11px;
    color: #888888;
    background: #f7f7f5;
    border: 1px solid #e0e0e0;
    padding: 3px 10px;
    border-radius: 4px;
}

/* ── SCORE RING COLORS ───────────────────────── */
.ring-low  { stroke: #777777; }
.ring-mid  { stroke: #555555; }
.ring-high { stroke: #222222; }
.ring-top  { stroke: #000000; }

/* ── UTILS ───────────────────────────────────── */
@media (max-width: 540px) {
    .features { grid-template-columns: 1fr; }
    .promo-card { flex-direction: column; }
    .breakdown-grid { grid-template-columns: 1fr; }
    .result-promo { flex-direction: column; }
    .q-footer { flex-direction: column; gap: 8px; }
}

/* ── Minimal Sponsor App Promo Card ── */
.minimal-promo-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 16px 20px;
    margin: 24px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.promo-app-logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid #e0e0e0;
}

.promo-app-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-app-info {
    flex: 1;
}

.promo-app-info h3 {
    font-size: 14.5px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 2px 0;
}

.promo-app-info .dev {
    font-size: 12px;
    color: #00875a;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.promo-app-info p {
    font-size: 12.5px;
    color: #555555;
    line-height: 1.5;
    margin: 0;
}

.promo-app-action {
    flex-shrink: 0;
}

.playstore-badge-link img {
    display: block;
    height: 38px;
    transition: opacity 0.15s;
}

.playstore-badge-link img:hover {
    opacity: 0.85;
}

.appstore-badge-coming {
    font-size: 10px;
    color: #999999;
    font-weight: 600;
    display: block;
    text-align: center;
    margin-top: 4px;
}

@media (max-width: 580px) {
    .minimal-promo-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .promo-app-action {
        width: 100%;
        text-align: left;
    }
}