/* TigerTrade herkese açık site. Renk değişkenleri app.css'ten gelir. */
:root {
  --display: "Saira", "IBM Plex Sans", system-ui, sans-serif;
  --slant: 11deg;                 /* logodaki T'lerin eğimi */
  --wrap: 1180px;
}
body.public { font-size: 16px; line-height: 1.6; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------- Üst menü ---------------- */
.sitebar { position: sticky; top: 0; z-index: 20; background: rgba(0, 0, 0, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.sitebar .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex: none; }
.logo-link img { height: 38px; width: auto; }
.logo-link span { font: italic 700 21px/1 var(--display); letter-spacing: -0.01em; }
.sitenav { display: flex; gap: 6px; }
.sitenav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: var(--r-sm); font-size: 15px; }
.sitenav a:hover { color: var(--text); }
.sitenav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.sitebar .end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.langs { display: flex; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; font-size: 13px; }
.langs a { padding: 5px 9px; color: var(--muted); text-decoration: none; }
.langs a[aria-current="true"] { background: var(--raised); color: var(--text); }
.menu-toggle { display: none; }
.sitebar .btn { white-space: nowrap; }
@media (max-width: 820px) {
  .sitebar .wrap { gap: 12px; }
  .sitenav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #000; border-bottom: 1px solid var(--line); padding: 8px 16px 14px; }
  .sitenav.open { display: flex; }
  .sitenav a[aria-current="page"] { box-shadow: inset 2px 0 0 var(--brand); }
  .menu-toggle { display: inline-flex; }
  .logo-link span { display: none; }
  .hide-sm { display: none; }
  .sitebar .end { gap: 8px; }
  .sitebar .btn { padding: 7px 11px; font-size: 14px; }
  .langs a { padding: 5px 7px; }
}

/* ---------------- Açılış ---------------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 120px; }
.hero::after {   /* logodaki eğimle kesilen alt kenar */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background: var(--panel); clip-path: polygon(0 100%, 100% 22%, 100% 100%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.hero h1 {
  font: italic 700 clamp(44px, 6.4vw, 84px)/0.98 var(--display); letter-spacing: -0.02em; margin: 0 0 22px;
  background: linear-gradient(180deg, #fff 0%, #fff 48%, var(--brand-hi) 49%, var(--brand) 78%, var(--brand-lo) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { color: #d4d4d8; font-size: 18px; max-width: 34em; margin: 0 0 30px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-row .btn { padding: 12px 20px; font-size: 16px; }
.chart-frame {
  position: relative; background: var(--panel); border: 1px solid var(--line); padding: 14px 14px 10px;
  clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 42px, 100% 100%, 0 100%);
}
.chart-frame canvas { display: block; width: 100%; height: 380px; }
.chart-frame figcaption { color: var(--muted); font-size: 13px; padding: 8px 4px 0; }
.chart-legend { position: absolute; top: 18px; left: 22px; display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.chart-legend i { display: inline-block; width: 14px; height: 2px; vertical-align: middle; margin-right: 6px; }
@media (max-width: 960px) {
  .hero { padding: 40px 0 96px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .chart-frame canvas { height: 300px; }
}

/* ---------------- Bölümler ---------------- */
.band { padding: 88px 0; }
.band.alt { background: var(--panel); }
.band h2 { font: italic 700 clamp(30px, 3.6vw, 44px)/1.05 var(--display); letter-spacing: -0.015em; margin: 0 0 12px; }
.band .lead { color: var(--muted); font-size: 17px; max-width: 40em; margin: 0 0 40px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { position: relative; padding-top: 58px; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  font: italic 700 40px/1 var(--display); color: var(--brand);
}
.steps li::after { content: ""; position: absolute; top: 20px; left: 44px; right: -14px; height: 2px; background: linear-gradient(90deg, var(--brand) 0, var(--line) 40%); transform: skewX(calc(var(--slant) * -1)); }
.steps li:last-child::after { display: none; }
.steps h3 { font: 600 19px/1.3 var(--display); margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps li::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.rules { list-style: none; margin: 0 0 28px; padding: 0; }
.rules li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); color: #d4d4d8; }
.rules li:last-child { border-bottom: 1px solid var(--line); }
.rules li::before { content: ""; position: absolute; left: 4px; top: 20px; width: 12px; height: 4px; background: var(--brand); transform: skewX(calc(var(--slant) * -2)); }

/* bant cetveli (paneldeki risk cetvelinin tanıtım sürümü) */
.ruler-demo { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 26px 26px; }
.ruler-demo strong { display: block; font-weight: 600; margin-bottom: 26px; }
.ruler-demo .track { position: relative; height: 10px; border-radius: 5px; background: var(--raised); margin: 0 8px; }
.ruler-demo .seg { position: absolute; top: 0; bottom: 0; }
.ruler-demo .tick { position: absolute; top: -6px; width: 2px; height: 22px; background: var(--muted); transform: translateX(-1px); }
.ruler-demo .tick span { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; color: var(--muted); text-align: center; }
.ruler-demo .tick b { display: block; color: var(--text); font-weight: 500; }
.ruler-demo .knob { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: var(--text); border: 3px solid var(--bg); transform: translate(-50%, -50%); transition: left 1.2s ease; }
.ruler-demo .foot { height: 40px; }
@media (prefers-reduced-motion: reduce) { .ruler-demo .knob { transition: none; } }

.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 48px; }
.points li { padding: 18px 0; border-top: 1px solid var(--line); }
.points h3 { font: 600 18px/1.3 var(--display); margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.points h3::before { content: ""; width: 10px; height: 18px; background: linear-gradient(180deg, var(--brand-hi), var(--brand-lo)); transform: skewX(calc(var(--slant) * -2)); flex: none; }
.points p { margin: 0; color: var(--muted); font-size: 15px; }

.custom {
  position: relative; color: #140700; padding: 76px 0 82px;
  background: linear-gradient(115deg, var(--brand-hi) 0%, var(--brand) 45%, var(--brand-lo) 100%);
  clip-path: polygon(0 34px, 100% 0, 100% calc(100% - 34px), 0 100%);
}
.custom h2 { font: italic 700 clamp(30px, 4vw, 50px)/1.02 var(--display); margin: 0 0 12px; max-width: 18em; }
.custom p { font-size: 18px; margin: 0 0 26px; max-width: 34em; color: #2b1200; }
.custom .btn { background: #000; color: #fff; border-color: #000; padding: 12px 22px; font-size: 16px; }
.custom .btn:hover { border-color: #000; background: #1a1a1a; }

/* ---------------- Sayfa başlığı ---------------- */
.page-hero { padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font: italic 700 clamp(36px, 5vw, 64px)/1.02 var(--display); letter-spacing: -0.02em; margin: 0 0 16px; max-width: 16em; }
.page-hero p { color: #d4d4d8; font-size: 18px; max-width: 40em; margin: 0; }

/* ---------------- Trading Bots ---------------- */
.botgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; padding: 48px 0 88px; }
.botcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.botcard .mini { height: 120px; border-radius: 8px; background: var(--bg); overflow: hidden; }
.botcard .mini canvas { width: 100%; height: 100%; display: block; }
.botcard h2 { font: italic 700 26px/1.1 var(--display); margin: 0; }
.botcard p { margin: 0; color: var(--muted); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--raised); color: #d4d4d8; }
.botcard .btn { align-self: flex-start; margin-top: auto; }
.botcard.soon { background: transparent; border-style: dashed; justify-content: center; }

/* ---------------- İletişim ---------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; padding: 56px 0 96px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.services { list-style: none; margin: 0 0 48px; padding: 0; }
.services li { padding: 22px 0; border-top: 1px solid var(--line); }
.services h2 { font: italic 700 24px/1.2 var(--display); margin: 0 0 8px; color: var(--brand-hi); }
.services p { margin: 0; color: #d4d4d8; }
.process h2 { font: italic 700 26px/1.2 var(--display); margin: 0 0 16px; }
.process ol { margin: 0; padding-left: 22px; color: #d4d4d8; }
.process li { padding: 6px 0 6px 6px; }
.process li::marker { color: var(--brand); font-weight: 700; font-family: var(--display); }
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; position: sticky; top: 96px; }
.form-card h2 { font: italic 700 28px/1.1 var(--display); margin: 0 0 6px; }
.form-card .lead { color: var(--muted); margin: 0 0 22px; font-size: 15px; }
.form-card .field > span small { color: var(--muted); font-weight: 400; }
.form-card textarea.input { min-height: 140px; resize: vertical; padding: 10px 11px; line-height: 1.5; }
.form-card .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .form-card .row2 { grid-template-columns: 1fr; } }
.form-card .check { font-size: 14px; color: var(--muted); margin: 6px 0 16px; }
.form-card .btn { width: 100%; padding: 12px; font-size: 16px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------- Yasal metinler ---------------- */
.legal { max-width: 760px; padding: 48px 24px 96px; }
.legal h1 { font: italic 700 clamp(32px, 4vw, 48px)/1.05 var(--display); margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.legal h2 { font: 600 21px/1.3 var(--display); margin: 36px 0 10px; }
.legal p, .legal li { color: #d4d4d8; }
.legal ul { padding-left: 22px; }

/* ---------------- Alt bilgi ---------------- */
.sitefoot { border-top: 1px solid var(--line); padding: 44px 0 36px; color: var(--muted); font-size: 14px; }
.sitefoot .wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
@media (max-width: 760px) { .sitefoot .wrap { grid-template-columns: 1fr; } }
.sitefoot h3 { color: var(--text); font: 600 15px/1.3 var(--display); margin: 0 0 10px; }
.sitefoot ul { list-style: none; margin: 0; padding: 0; }
.sitefoot li { padding: 3px 0; }
.sitefoot a { color: var(--muted); text-decoration: none; }
.sitefoot a:hover { color: var(--text); }
.sitefoot .risk { max-width: 40em; margin: 12px 0 0; }
.sitefoot .copy { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; }

/* =====================================================================
   Ana sayfa (hizmet odaklı)
   ===================================================================== */
.btn.ghost { background: transparent; border-color: #3a3a42; }
.btn.ghost:hover { border-color: var(--brand); }

.hero2 { position: relative; overflow: hidden; min-height: min(86vh, 760px); display: flex; align-items: center; padding: 40px 0 60px; }
.hero2::before {   /* logonun arkasındaki sıcak parıltı */
  content: ""; position: absolute; right: -10%; top: 50%; width: 900px; height: 900px; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(255, 122, 0, .22), rgba(232, 65, 15, .08) 55%, transparent 72%);
  pointer-events: none;
}
.hero2 .wrap { position: relative; width: 100%; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px; align-items: center; }
.hero2 h1 { font: italic 700 clamp(40px, 5.6vw, 82px)/1 var(--display); letter-spacing: -0.025em; margin: 0 0 24px; }
.hero2 h1 span { display: block; }
.hero2 .lead { color: #c9c9cf; font-size: 19px; max-width: 30em; margin: 0 0 32px; }
.hero2 .cta-row .btn { padding: 13px 22px; font-size: 16px; }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-height: 640px; justify-self: end; width: 100%; }
.claws { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 18px rgba(255, 122, 0, .55)); }
.claw { fill: none; stroke: url(#claw); stroke-width: 26; stroke-linecap: round; stroke-dasharray: 720; stroke-dashoffset: 720;
        animation: claw .9s cubic-bezier(.2, .7, .2, 1) forwards; opacity: .9; }
.claw.c2 { animation-delay: .12s; stroke-width: 30; }
.claw.c3 { animation-delay: .24s; }
@keyframes claw { to { stroke-dashoffset: 0; } }
.hero-logo { position: absolute; left: 50%; top: 52%; width: 86%; height: auto; transform: translate(-50%, -50%);
             filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .7)); animation: logo-in .7s .55s ease-out both; }
@keyframes logo-in { from { opacity: 0; transform: translate(-50%, -46%) scale(.94); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@media (prefers-reduced-motion: reduce) { .claw { animation: none; stroke-dashoffset: 0; } .hero-logo { animation: none; } }
@media (max-width: 900px) {
  .hero2 { min-height: 0; padding: 24px 0 48px; }
  .hero2 .wrap { grid-template-columns: 1fr; gap: 8px; }
  .hero-art { order: -1; max-width: 420px; justify-self: center; margin: -20px 0 -30px; }
}

/* Canlı fiyat şeridi */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #070708; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tk { display: inline-flex; align-items: baseline; gap: 10px; padding: 14px 34px; border-right: 1px solid var(--line); white-space: nowrap; font-size: 15px; }
.tk b { font-weight: 600; }
.tk em { font-style: normal; color: #d4d4d8; }
.tk i { font-style: normal; font-size: 13px; }
.tk i.up { color: var(--long); } .tk i.down { color: var(--short); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker { overflow-x: auto; } .ticker-track { animation: none; } }

/* Hizmet kutuları */
.bento { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 16px; margin-top: 32px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 230px;
  padding: 24px; color: var(--text); text-decoration: none; background: linear-gradient(160deg, #18181c, #0d0d10);
  border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  transition: border-color .2s;
}
.tile:hover { border-color: var(--brand); }
.tile h3 { font: italic 700 26px/1.1 var(--display); margin: 0; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tile .art { flex: 1; width: 100%; min-height: 110px; margin-bottom: 14px; }
.t-bots { grid-row: 1 / span 2; }
.t-bots .art { min-height: 260px; }
.t-bots .art canvas { width: 100%; height: 100%; display: block; }
.t-web3 { grid-column: 2 / span 2; }
.tile svg.art { max-height: 130px; }
.flow rect { fill: none; stroke: #3a3a42; stroke-width: 2; }
.flow rect.on { fill: rgba(255, 122, 0, .16); stroke: var(--brand); }
.flow path { fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.flow .tick { stroke: var(--brand-hi); stroke-width: 3; }
.t-ind .lvl { stroke: #3a3a42; stroke-width: 1.5; stroke-dasharray: 5 6; fill: none; }
.t-ind .wave { fill: none; stroke-width: 3; stroke-linecap: round; }
.t-ind .wave.a { stroke: var(--brand); filter: drop-shadow(0 0 6px rgba(255, 122, 0, .6)); }
.t-ind .wave.b { stroke: #5b5b66; stroke-width: 2; }
.hexes polygon { fill: none; stroke: #3a3a42; stroke-width: 2; }
.hexes polygon.on { fill: rgba(255, 122, 0, .18); stroke: var(--brand); filter: drop-shadow(0 0 8px rgba(255, 122, 0, .6)); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .t-bots { grid-row: auto; grid-column: 1 / -1; }
  .t-bots .art { min-height: 180px; }
  .t-web3 { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }

/* Üç adım */
.steps3 { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps3 li { counter-increment: s; position: relative; padding: 0 0 0 0; }
.steps3 li::before { content: counter(s); display: block; font: italic 700 clamp(64px, 8vw, 112px)/0.9 var(--display);
  background: linear-gradient(180deg, var(--brand-hi), var(--brand) 55%, var(--brand-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps3 li::after { content: ""; position: absolute; left: 0; right: 24px; top: calc(clamp(64px, 8vw, 112px) * .95 + 10px); height: 3px;
  background: linear-gradient(90deg, var(--brand), transparent); transform: skewX(-30deg); }
.steps3 span { display: block; margin-top: 26px; font: 600 22px/1.25 var(--display); }
@media (max-width: 700px) { .steps3 { grid-template-columns: 1fr; gap: 28px; } }

/* Güven şeridi */
.trust { padding: 72px 0; border-top: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.trust .wrap > div { display: flex; flex-direction: column; gap: 8px; padding-left: 22px; border-left: 3px solid var(--brand); }
.trust b { font: italic 700 clamp(44px, 5vw, 72px)/1 var(--display); letter-spacing: -0.02em; }
.trust span { color: var(--muted); font-size: 16px; max-width: 18em; }
@media (max-width: 760px) { .trust .wrap { grid-template-columns: 1fr; } }

.custom .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.custom h2 { margin: 0; }
