/* Nexuvio — ortak site stili (nexuvio.app ve player.nexuvio.app aynı dosyayı kullanır).
   Dışarıdan yazı tipi/kütüphane YOK: çerez yok, üçüncü taraf isteği yok. */
:root {
  --bg: #050913; --bg-2: #0a1426; --card: #0e1a31; --card-2: #12213d;
  --line: rgba(120, 170, 255, .14); --line-2: rgba(120, 170, 255, .26);
  --ink: #eaf2ff; --ink-2: #b6c4dc; --ink-3: #8193b2;
  --accent: #2fb8f0; --accent-2: #3fd0ef; --accent-3: #2f6fb0;
  --grad: linear-gradient(135deg, #2f6fb0 0%, #2f9bd6 55%, #3fd0ef 100%);
  --radius: 18px; --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

/* Dil: <html data-lang="tr|en">; [data-l] öğeleri yalnız kendi dilinde görünür */
html[data-lang="tr"] [data-l="en"], html[data-lang="en"] [data-l="tr"] { display: none !important; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; color: var(--ink-3); }

/* Üst çubuk */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(5, 9, 19, .78); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; font-size: 18px; letter-spacing: .2px; }
.brand:hover { text-decoration: none; }
.brand img { width: 44px; }
.brand small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 2.4px; color: var(--accent-2); line-height: 1; margin-top: 2px; }
.brand span { line-height: 1.05; }
.nav .links { display: flex; gap: 22px; margin-left: auto; }
.nav .links a { color: var(--ink-2); font-size: 15px; font-weight: 550; }
.nav .links a:hover { color: var(--ink); text-decoration: none; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang button { appearance: none; border: 0; background: transparent; color: var(--ink-2); font: 700 12.5px var(--font);
  padding: 5px 11px; border-radius: 999px; cursor: pointer; letter-spacing: .6px; }
.lang button[aria-pressed="true"] { background: var(--grad); color: #04101f; }

/* Kahraman alanı */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto -10%; height: 640px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(47, 155, 214, .30), transparent 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--accent-2); }
h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.06; letter-spacing: -1.2px; margin: 14px 0 18px; font-weight: 800; }
h1 .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 560px; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 999px; font-weight: 700;
  font-size: 15.5px; border: 1px solid var(--line-2); color: var(--ink); background: var(--card); }
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn.primary { background: var(--grad); color: #04101f; border: 0; box-shadow: 0 10px 30px rgba(47, 184, 240, .28); }
.btn.soon { cursor: default; }
.btn.soon:hover { border-color: var(--line-2); }
.btn svg { width: 19px; height: 19px; }

/* Telefon çerçevesi */
.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 262px; border-radius: 34px; padding: 9px; background: #0b111d;
  border: 1px solid rgba(255, 255, 255, .10); box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(63, 208, 239, .06) inset; }
.phone img { border-radius: 26px; width: 100%; }
.phones .p1 { left: 8%; top: 0; z-index: 2; }
.phones .p2 { left: 46%; top: 54px; transform: rotate(4deg); opacity: .96; }

/* Bölümler */
section { padding: 64px 0; }
.sec-h { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.sec-h h2 { font-size: clamp(27px, 3.4vw, 38px); letter-spacing: -.6px; line-height: 1.15; margin: 10px 0 12px; }
.sec-h p { color: var(--ink-2); margin: 0; font-size: 17px; }

.notice { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(47, 155, 214, .10), rgba(47, 155, 214, .04)); border: 1px solid var(--line-2); }
.notice svg { flex: none; width: 26px; height: 26px; color: var(--accent-2); margin-top: 2px; }
.notice b { display: block; margin-bottom: 4px; }
.notice p { margin: 0; color: var(--ink-2); }

.grid { display: grid; gap: 16px; }
.grid.f3 { grid-template-columns: repeat(3, 1fr); }
.feat { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.feat .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: rgba(47, 184, 240, .12); color: var(--accent-2); }
.feat .ic svg { width: 22px; height: 22px; }
.feat h3 { margin: 0 0 6px; font-size: 17.5px; }
.feat p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* Ekran galerisi */
.gallery { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 18px;
  margin: 0 -20px; scrollbar-width: thin; }
.gallery figure { flex: none; width: 236px; margin: 0; scroll-snap-align: center; }
.gallery .phone { position: static; width: 100%; }
.gallery figcaption { text-align: center; color: var(--ink-2); font-size: 14px; margin-top: 12px; }
.wide { margin-top: 26px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.note { text-align: center; margin-top: 12px; }

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust div { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-align: center; }
.trust b { display: block; font-size: 18px; margin: 8px 0 4px; }
.trust svg { width: 30px; height: 30px; color: var(--accent-2); }

/* SSS */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 650; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink-2); }

/* Ürün kartları (nexuvio.app) */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--card);
  border: 1px solid var(--line); color: var(--ink); transition: transform .18s ease, border-color .18s ease; }
.product:hover { transform: translateY(-3px); border-color: var(--line-2); text-decoration: none; }
.product .shot { aspect-ratio: 16 / 9.2; overflow: hidden; background: #0a1220; border-bottom: 1px solid var(--line); }
.product .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.product .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product .tag { font-size: 12px; font-weight: 750; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent-2); }
.product h3 { margin: 0; font-size: 21px; }
.product p { margin: 0; color: var(--ink-2); font-size: 15px; flex: 1; }
.product .go { font-weight: 700; color: var(--accent-2); margin-top: 6px; }

.contact { text-align: center; padding: 40px 24px; border-radius: 24px; background: var(--card);
  border: 1px solid var(--line-2); max-width: 760px; margin: 0 auto; }
.contact h2 { margin: 0 0 10px; font-size: 28px; }
.contact a.mail { font-size: 20px; font-weight: 750; }

footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--ink-3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
footer a { color: var(--ink-2); }
footer .sp { flex: 1; }

/* Belge sayfası (gizlilik) */
.doc { max-width: 780px; margin: 0 auto; padding: 56px 20px 40px; }
.doc h1 { font-size: clamp(30px, 4.4vw, 42px); }
.doc h2 { font-size: 21px; margin: 34px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 22px; }
.doc .date { color: var(--ink-3); font-size: 14px; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phones { height: 500px; max-width: 520px; margin: 0 auto; width: 100%; }
  .grid.f3, .products { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav .links { display: none; }
  .lang { margin-left: auto; }
  .hero { padding-top: 44px; }
  .grid.f3, .products { grid-template-columns: 1fr; }
  .phones { height: 430px; }
  .phone { width: 206px; border-radius: 28px; padding: 7px; }
  .phone img { border-radius: 22px; }
  .phones .p1 { left: 2%; }
  .phones .p2 { left: 40%; top: 40px; }
  section { padding: 48px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .product { transition: none; } }

/* Yardımcılar (satır içi stil yok: güvenlik kuralı style-src 'self') */
section.tight { padding-top: 8px; }
.push { margin-left: auto; }

/* nexuvio.app kahraman alanı: büyük marka işareti */
.hero-mark { display: grid; place-items: center; min-height: 360px; position: relative; }
.hero-mark::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(63, 208, 239, .22), transparent 70%); }
.hero-mark img { position: relative; width: min(340px, 80%); filter: drop-shadow(0 20px 50px rgba(47, 155, 214, .35)); }
@media (max-width: 960px) { .hero-mark { min-height: 220px; } }

/* Masaüstünde beş telefon yan yana, kesilmeden */
@media (min-width: 1100px) {
  .gallery { justify-content: center; overflow-x: visible; margin: 0; padding: 6px 0 18px; }
  .gallery figure { width: 204px; }
}

/* nexuvio.app: ürünler büyük görselli satırlar (görsel + metin yan yana, sırayla yer değiştirir) */
.products.rows { grid-template-columns: 1fr; gap: 28px; }
.products.rows .product { flex-direction: row; align-items: stretch; }
.products.rows .product:nth-child(even) { flex-direction: row-reverse; }
.products.rows .shot { flex: 0 0 62%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
.products.rows .product:nth-child(even) .shot { border-right: 0; border-left: 1px solid var(--line); }
.products.rows .shot img { height: 100%; object-fit: cover; object-position: top center; }
.products.rows .body { padding: 30px 32px; justify-content: center; }
.products.rows h3 { font-size: 26px; }
.products.rows .product p { flex: 0; font-size: 16px; }
.products.rows .product p.small { font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 960px) {
  .products.rows .product, .products.rows .product:nth-child(even) { flex-direction: column; }
  .products.rows .shot { flex: none; border: 0; border-bottom: 1px solid var(--line); }
  .products.rows .product:nth-child(even) .shot { border: 0; border-bottom: 1px solid var(--line); }
  .products.rows .body { padding: 22px; }
}
