/* ===== Temel: renkler, tipografi, header, hero, footer ===== */
:root {
  --navy: #1C2361;
  --magenta: #AD4482;
  --lilac: #E4E0E8;
  --purple: #43127F;
  --ink: #14183f;
  --navy-deep: #12173f;
  --white: #fff;
  --muted: #5b5f80;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(28, 35, 97, .35);
  --font-head: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1240px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 10px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--magenta); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 12px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--magenta); margin-bottom: 18px;
}
.kicker::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: var(--navy); margin-bottom: 24px; }
.lead { font-size: 1.15em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-primary { background: var(--magenta); color: #fff; }
.btn-primary:hover { background: #c0508f; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-wa { background: #25D366; color: #0b3d1f; margin-top: 8px; }
.btn-wa svg { width: 22px; height: 22px; fill: currentColor; }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.is-solid { background: rgba(28, 35, 97, .94); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -15px rgba(0,0,0,.5); --header-h: 70px; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand img { width: 58px; height: auto; }
.brand-text { font-family: var(--font-head); font-weight: 500; font-size: 12px; line-height: 1.25; letter-spacing: .04em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: #fff; text-decoration: none; font-weight: 500; font-size: 14.5px; padding: 10px 14px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav a:hover { background: rgba(255,255,255,.12); }
.nav .nav-cta { border: 2px solid var(--magenta); margin-left: 6px; }
.nav .nav-cta:hover { background: var(--magenta); }

.header-tools { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 3px; }
.lang button { background: none; border: 0; color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--navy); }

.burger { display: none; width: 46px; height: 46px; border: 0; background: rgba(255,255,255,.12); border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 6px;
    background: radial-gradient(circle at 30% 20%, var(--purple), var(--navy) 70%);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav a { font-family: var(--font-head); font-size: 22px; }
  .nav .nav-cta { margin: 12px 0 0; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
}

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  color: #fff; overflow: hidden; background: var(--navy-deep);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Geniş ekranda videodaki logo, başlığın arkasına gelmesin diye sağa kaydırılır. */
@media (min-width: 901px) {
  .hero-video { transform: scale(1.25) translateX(11%); transform-origin: center; }
}
/* Hero videosu açık renkli olduğu için perde soldan güçlü, sağda şeffaf;
   üst ve alt şeritler menü, "Kaydır" ve ses düğmesinin okunmasını sağlar. */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 23, 63, .6) 0%, transparent 22%, transparent 68%, rgba(18, 23, 63, .65) 100%),
    linear-gradient(95deg, rgba(18, 23, 63, .95) 0%, rgba(18, 23, 63, .85) 30%, rgba(28, 35, 97, .5) 50%, rgba(28, 35, 97, .12) 70%, transparent 100%);
}
@media (max-width: 900px) {
  .hero-overlay {
    background: linear-gradient(180deg, rgba(18, 23, 63, .78) 0%, rgba(18, 23, 63, .55) 38%, rgba(18, 23, 63, .88) 72%, rgba(18, 23, 63, .92) 100%);
  }
}
/* Dikey telefonda video ekranı kaplarsa aşırı yakınlaşıp logo devleşiyor.
   Bu yüzden video tam genişlikte bir şerit olarak yerleşir, kenarları zemine erir. */
@media (max-width: 900px) and (orientation: portrait) {
  .hero-video {
    inset: auto 0 auto 0;
    top: 11%;
    width: 100%;
    height: auto;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
  }
}
.hero-content { position: relative; padding-top: var(--header-h); padding-bottom: 80px; }
.eyebrow { font-family: var(--font-head); font-size: 13px; letter-spacing: .25em; text-transform: uppercase; color: var(--lilac); opacity: .9; margin-bottom: 22px; }
.hero-title { font-size: clamp(40px, 7.4vw, 96px); font-weight: 800; max-width: 13ch; margin-bottom: 26px; }
.hero-title em { font-style: normal; color: var(--magenta); background: linear-gradient(90deg, #d56aa8, var(--magenta)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-lead { font-size: clamp(17px, 1.6vw, 21px); max-width: 560px; color: rgba(255,255,255,.88); margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.sound-toggle {
  position: absolute; right: 24px; bottom: 28px; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff;
  padding: 10px 18px; border-radius: 999px; backdrop-filter: blur(6px); font-size: 14px; font-weight: 500;
}
.sound-toggle:hover { background: rgba(255,255,255,.22); }
.sound-toggle svg { width: 20px; height: 20px; fill: #fff; }
.sound-toggle .wave, .sound-toggle .mute { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.sound-toggle .wave { display: none; }
.sound-toggle[aria-pressed="true"] .wave { display: block; }
.sound-toggle[aria-pressed="true"] .mute { display: none; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  color: rgba(255,255,255,.75); text-decoration: none; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue::after { content: ''; width: 2px; height: 42px; background: linear-gradient(#fff, transparent); animation: cue 2s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 640px) { .scroll-cue { display: none; } .sound-toggle { right: 16px; bottom: 16px; } }

/* ===== Footer ===== */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 64px 0 28px; font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand img { width: 110px; height: auto; margin-bottom: 16px; }
.footer-brand p { margin: 0; }
.footer-addr { font-style: normal; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.6); margin-top: 10px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--magenta); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; font-size: 13.5px; }
.footer-bottom p { margin: 0; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; transition-delay: calc(var(--i, 0) * 60ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue::after { animation: none; }
}
