/* Bubixo Altın Analizi — koyu tema, altın vurgusu, SADE.
   Tasarım kuralı: kullanıcı finans uzmanı değil. İlk ekranda üç fiyat, bir
   kadran, bir karar ve bir buton olmalı; gerisi katlanabilir bölümlerde. */

:root {
  color-scheme: dark;
  --bg: #0b1017;
  --bg-2: #111823;
  --surface: #151d2a;
  --surface-2: #1b2532;
  --border: #253141;
  --border-strong: #35455a;
  --text: #e8eef6;
  --text-2: #9fb0c4;
  --text-3: #6c7f95;
  --gold: #d4af37;
  --gold-soft: #f0d98a;
  --up: #2fbf71;
  --down: #e5484d;
  --neutral: #8b98a8;
  --radius: 16px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: radial-gradient(1200px 500px at 50% -200px, #16202e 0%, var(--bg) 60%);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: var(--gold-soft); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }

/* --------------------------- üst şerit --------------------------- */

.top {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 0; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #3a2f11, #7a6320);
  border: 1px solid rgba(212, 175, 55, .45);
  font-size: 17px;
}
.brand b { font-weight: 800; letter-spacing: -.01em; }
.brand span { color: var(--gold); font-weight: 800; }
.top-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pill {
  font-size: 12.5px; color: var(--text-2); background: var(--surface);
  border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; white-space: nowrap;
}
.pill.pro { color: #0e1a12; background: var(--gold); border-color: transparent; font-weight: 700; }

/* --------------------------- fiyat kartları --------------------------- */

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 6px 0 18px; }
.price {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; min-width: 0;
}
.price.hero { background: linear-gradient(150deg, #1c2333 0%, #151d2a 60%); border-color: rgba(212,175,55,.32); }
.price h3 { margin: 0 0 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text-3); }
.price .v { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
  font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
.price.hero .v { color: var(--gold-soft); font-size: 34px; }
.price .d { font-size: 14px; font-weight: 700; margin-top: 3px; font-variant-numeric: tabular-nums; }
.price .src { font-size: 11.5px; color: var(--text-3); margin-top: 7px; }
.up { color: var(--up); } .down { color: var(--down); } .flat { color: var(--neutral); }

/* --------------------------- kadran --------------------------- */

.gauge-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 22px 20px 20px; text-align: center; margin-bottom: 14px;
}
.gauge-wrap { max-width: 420px; margin: 0 auto; }
.gauge { width: 100%; height: auto; display: block; }
.needle { transition: transform .9s cubic-bezier(.22,.8,.28,1); transform-origin: 200px 170px; }
.verdict { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 2px; }
.verdict.v-STRONG_BUY, .verdict.v-BUY { color: var(--up); }
.verdict.v-WEAK_BUY { color: #7fd6a3; }
.verdict.v-NEUTRAL { color: var(--neutral); }
.verdict.v-WEAK_SELL { color: #f08b8e; }
.verdict.v-SELL, .verdict.v-STRONG_SELL { color: var(--down); }
.verdict-sub { color: var(--text-2); font-size: 14.5px; }
.verdict-sub b { color: var(--text); }
.conf-bar { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden;
  max-width: 260px; margin: 12px auto 0; }
.conf-bar i { display: block; height: 100%; background: linear-gradient(90deg, #7a6320, var(--gold)); }

.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--gold); color: #1a1405; font-weight: 800; font-size: 16.5px;
  border: 0; border-radius: 14px; padding: 15px 30px; cursor: pointer; margin-top: 18px;
  transition: transform .15s, filter .15s; width: 100%; max-width: 360px;
}
.cta:hover { filter: brightness(1.06); transform: translateY(-1px); }
.cta:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.cta-note { font-size: 12.5px; color: var(--text-3); margin-top: 9px; }

/* --------------------------- neden --------------------------- */

.why { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; margin-bottom: 14px; }
.why h2 { margin: 0 0 12px; font-size: 17px; }
.why ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.why li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.why .dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; margin-top: 8px; background: var(--neutral); }
.why .dot.pos { background: var(--up); } .why .dot.neg { background: var(--down); }

/* --------------------------- olay --------------------------- */

.event { display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: linear-gradient(120deg, #1a1a12, #151d2a 60%); border: 1px solid rgba(212,175,55,.26);
  border-radius: var(--radius); padding: 15px 18px; margin-bottom: 14px; }
.event .ic { font-size: 20px; }
.event b { display: block; font-size: 16px; }
.event small { color: var(--text-2); }

/* --------------------------- bölümler --------------------------- */

.sec { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden; }
.sec > summary { list-style: none; cursor: pointer; padding: 15px 18px; font-weight: 700;
  font-size: 15.5px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sec > summary::-webkit-details-marker { display: none; }
.sec > summary::after { content: "▾"; color: var(--text-3); transition: transform .2s; }
.sec[open] > summary::after { transform: rotate(180deg); }
.sec .body { padding: 0 18px 18px; }
.sec h4 { margin: 16px 0 8px; font-size: 14px; color: var(--text-2); text-transform: uppercase;
  letter-spacing: .04em; }

.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th, .tbl td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--border); }
.tbl th { color: var(--text-3); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em; }
.tbl td { font-variant-numeric: tabular-nums; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.kv { display: grid; gap: 8px; }
.kv > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  border-bottom: 1px dashed var(--border); padding-bottom: 7px; }
.kv dt, .kv .k { color: var(--text-2); font-size: 14px; }
.kv dd, .kv .v2 { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; unicode-bidi: isolate; }

.badge { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 999px;
  padding: 2px 9px; margin-left: 6px; vertical-align: middle; }
.badge.ok { background: rgba(47,191,113,.16); color: #6fe0a3; }
.badge.warn { background: rgba(212,175,55,.16); color: var(--gold-soft); }
.badge.err { background: rgba(229,72,77,.16); color: #ff9296; }
.badge.off { background: rgba(139,152,168,.16); color: var(--text-2); }

.note { font-size: 13px; color: var(--text-3); margin-top: 10px; line-height: 1.55; }
.err-box { background: rgba(229,72,77,.10); border: 1px solid rgba(229,72,77,.35);
  border-radius: 12px; padding: 13px 15px; font-size: 14.5px; margin-bottom: 12px; }
.pro-box { background: linear-gradient(120deg, #241d08, #151d2a 65%);
  border: 1px solid rgba(212,175,55,.35); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.pro-box h3 { margin: 0 0 6px; font-size: 17px; }
.pro-box .cta { margin-top: 12px; }

.stages { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px;
  font-size: 14px; text-align: left; max-width: 360px; margin-inline: auto; }
.stages li { color: var(--text-3); display: flex; gap: 9px; align-items: center; }
.stages li.done { color: var(--text); } .stages li.active { color: var(--gold-soft); }

.foot { color: var(--text-3); font-size: 13px; padding: 24px 0 40px; line-height: 1.7; }
.foot a { color: var(--text-2); }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; }

@media (max-width: 720px) {
  .prices { grid-template-columns: 1fr; }
  .price .v { font-size: 28px; } .price.hero .v { font-size: 32px; }
  .verdict { font-size: 26px; }
  .cta { max-width: none; }
}
