/* signaldock.si "yakında" sayfası — ana sayfanın (sd-landing.css) görsel dili: aynı renk belirteçleri, Manrope, aurora + ızgara + ışık. */
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope_400Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope_700Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope_800ExtraBold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/IBMPlexMono_500Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
    --bg: #050C16; --card: #101F33; --border: #1C3150;
    --text: #EAF1F8; --text2: #B4C4D8; --muted: #8FA3BC;
    --accent: #2DB8EC; --accent-soft: #7FD3F4; --long: #3FD68A; --teal: #2DD4C4; --violet: #8B7CFF;
    --pad: 32px;
    color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); color: var(--text); font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
svg.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.i-sm { width: 14px; height: 14px; }

/* clip: taşan aurora kesilir ama kutu odak / kaydırma ile yana KAYMAZ (hidden kaydırılabilir) */
.ys { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; overflow: hidden; overflow: clip; }

/* ---------- Arka plan: aurora + ızgara + fare ışığı (ana sayfa ile aynı) ---------- */
.ys-aurora { position: absolute; z-index: -3; left: -10%; right: -10%; top: -260px; height: 1100px; pointer-events: none; filter: blur(90px); opacity: .5; }
.ys-aurora span { position: absolute; border-radius: 50%; }
.ys-aurora .b1 { width: 640px; height: 640px; left: 0; top: 80px; background: radial-gradient(circle, #2DB8EC 0, transparent 66%); animation: ys-d1 19s ease-in-out infinite alternate; }
.ys-aurora .b2 { width: 560px; height: 560px; right: 4%; top: 0; background: radial-gradient(circle, #8B7CFF 0, transparent 66%); opacity: .8; animation: ys-d2 23s ease-in-out infinite alternate; }
.ys-aurora .b3 { width: 500px; height: 500px; left: 42%; top: 360px; background: radial-gradient(circle, #2DD4C4 0, transparent 66%); opacity: .55; animation: ys-d3 27s ease-in-out infinite alternate; }
@keyframes ys-d1 { to { transform: translate(120px, 60px) scale(1.12); } }
@keyframes ys-d2 { to { transform: translate(-140px, 90px) scale(.92); } }
@keyframes ys-d3 { to { transform: translate(-80px, -70px) scale(1.15); } }
.ys-grid { position: absolute; z-index: -2; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(127, 211, 244, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 211, 244, .055) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 100%); }
.ys-spot { position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(560px circle at var(--mx, 70%) var(--my, 40%), rgba(45, 184, 236, .14), transparent 62%); }

/* ---------- Üst çubuk ---------- */
.ys-top { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; max-width: 1280px; margin: 0 auto; padding: 22px var(--pad) 0; }
.ys-logo { display: block; flex: none; }
.ys-logo img { display: block; height: 40px; width: auto; }
.ys-lang { position: relative; flex: none; }
.ys-lang-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); background: rgba(16, 31, 51, .55); color: var(--text2); font-size: 13px; font-weight: 700; letter-spacing: .04em; cursor: pointer; transition: border-color .2s, color .2s, background .2s; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ys-lang-btn:hover, .ys-lang.is-open .ys-lang-btn { border-color: rgba(45, 184, 236, .55); color: var(--text); }
.ys-lang.is-open .ys-lang-btn .i-sm { transform: rotate(180deg); }
.ys-lang-menu { position: absolute; right: 0; top: calc(100% + 8px); display: grid; min-width: 190px; padding: 6px; border-radius: 14px; border: 1px solid var(--border); background: rgba(10, 22, 38, .96); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.ys-lang.is-open .ys-lang-menu { opacity: 1; visibility: visible; transform: none; }
.ys-lang-menu button { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 10px; border: 0; border-radius: 9px; background: none; color: var(--text2); font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.ys-lang-menu button:hover { background: rgba(45, 184, 236, .1); color: var(--text); }
.ys-lang-menu button[aria-checked="true"] { color: var(--text); background: rgba(45, 184, 236, .14); }
.ys-lang-menu small { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; color: var(--muted); }

/* ---------- Ana bölüm ---------- */
.ys-main { flex: 1 1 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px; width: 100%; max-width: 1280px; margin: 0 auto; padding: 24px var(--pad); }
.ys-copy { position: relative; z-index: 2; min-width: 0; }
.ys-eyebrow { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid rgba(45, 184, 236, .32); background: rgba(45, 184, 236, .08); font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--accent-soft); }
.ys-eyebrow b { display: inline-flex; flex: none; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; background: rgba(45, 184, 236, .16); color: var(--text); letter-spacing: .06em; font-size: 11px; }
.ys-eyebrow-t { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ys-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--long); animation: ys-ping 1.8s infinite; }
@keyframes ys-ping { 0% { box-shadow: 0 0 0 0 rgba(63, 214, 138, .6); } 100% { box-shadow: 0 0 0 9px rgba(63, 214, 138, 0); } }

.ys-h1 { margin: 26px 0 0; font-size: clamp(46px, min(7.4vw, 12svh), 108px); line-height: 1; letter-spacing: -.045em; font-weight: 800; }
.ys-h1 i { font-style: normal; background: linear-gradient(90deg, #22D3EE, #8B5CF6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ys-si { margin: 14px 0 0; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: clamp(15px, 1.5vw, 20px); font-weight: 500; letter-spacing: .02em; color: var(--accent-soft); }
.ys-lead { max-width: 560px; margin: 26px 0 0; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--text2); }
.ys-note { display: flex; align-items: center; gap: 14px; max-width: 560px; margin: 26px 0 0; font-size: 14px; font-weight: 700; color: var(--muted); }
.ys-bar { position: relative; flex: none; width: 72px; height: 4px; border-radius: 4px; background: rgba(45, 184, 236, .14); overflow: hidden; }
.ys-bar span { position: absolute; inset: 0 auto 0 0; width: 40%; border-radius: 4px; background: linear-gradient(90deg, #22D3EE, #8B5CF6); animation: ys-bar 2.4s ease-in-out infinite; }
@keyframes ys-bar { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

/* ---------- 3B sahne ---------- */
.ys-stage { position: relative; justify-self: center; width: min(100%, 620px, 72svh); aspect-ratio: 1 / 1; }
.ys-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s ease; }
.ys.has-3d .ys-canvas { opacity: 1; }
/* WebGL yoksa (ya da yüklenene kadar) yedek: parlayan çekirdek */
.ys-orb { position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(127, 243, 230, .95) 0, rgba(45, 184, 236, .55) 18%, rgba(139, 124, 255, .22) 46%, transparent 70%); filter: blur(2px); transition: opacity .8s ease; }
.ys-orb span { position: absolute; inset: -14%; border-radius: 50%; border: 1px solid rgba(127, 211, 244, .28); animation: ys-spin 30s linear infinite; }
.ys.has-3d .ys-orb { opacity: 0; }
@keyframes ys-spin { to { transform: rotate(360deg); } }

/* ---------- Alt bilgi ---------- */
.ys-foot { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 var(--pad) 22px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.ys-sep { opacity: .6; }

/* ---------- Duyarlı ---------- */
@media (max-width: 960px) {
    .ys-main { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-top: 8px; text-align: center; }
    .ys-stage { order: -1; width: min(86vw, 46svh, 460px); }
    .ys-copy { display: flex; flex-direction: column; align-items: center; }
    .ys-h1 { margin-top: 18px; font-size: clamp(44px, 13.6vw, 84px); }
    .ys-lead, .ys-note { margin-left: auto; margin-right: auto; }
    .ys-note { flex-direction: column; justify-content: center; gap: 12px; }
}
@media (max-width: 520px) {
    :root { --pad: 16px; }
    .ys-top { padding-top: 16px; }
    .ys-logo img { height: 32px; }
    .ys-lang-btn { height: 36px; padding: 0 10px; }
    /* dar ekranda üst etiket yalnız "YAKINDA"; aynı bilgi alttaki açıklamada (uzun DE/RU metni kesilmesin) */
    .ys-eyebrow { padding-right: 6px; }
    .ys-eyebrow-t { display: none; }
    .ys-lead { margin-top: 18px; }
    .ys-note { margin-top: 18px; font-size: 13px; }
    .ys-bar { width: 44px; }
}
/* Geniş ve alçak ekran (ör. 49" ultra geniş): boyu sınırla, sahneyi yüksekliğe göre küçült */
@media (min-aspect-ratio: 21/9) and (min-width: 961px) {
    .ys-top, .ys-main { max-width: 1440px; }
    .ys-stage { width: min(100%, 76svh); }
}
@media (prefers-reduced-motion: reduce) {
    .ys-aurora span, .ys-dot, .ys-bar span, .ys-orb span { animation: none; }
}
