/* Akolya ortak tasarım: renkler, gezinme, düğmeler, kartlar, alt bilgi.
   Her sayfa <body class="t-..."> ile kendi renklerini seçer. */
:root {
  --bg: #0b1a13;
  --bg-2: #10241a;
  --card: #142d21;
  --card-2: #1a3a2b;
  --line: rgba(214, 240, 222, .12);
  --ink: #eef6ef;
  --ink-soft: #a9c3b2;
  --accent: #7bd389;
  --accent-ink: #0a2414;
  --sun: #ffb84d;
  --sun-deep: #ff7a3d;
  --glow: rgba(123, 211, 137, .18);
  --radius: 22px;
  --max: 1180px;
  --nav-bg: rgba(11, 26, 19, .97);
}
body.t-ww { --bg: #140d24; --bg-2: #1b1230; --card: #231838; --card-2: #2d2048; --line: rgba(233, 220, 255, .13); --ink: #fbf6ee; --ink-soft: #c9bcdc; --accent: #ffb84d; --accent-ink: #2a1406; --glow: rgba(255, 184, 77, .2); --nav-bg: rgba(20, 13, 36, .97); }
body.t-bl { --bg: #0f2a3d; --bg-2: #123247; --card: #163a52; --card-2: #1c4661; --line: rgba(214, 236, 250, .13); --ink: #f3f9fd; --ink-soft: #a9c6d8; --accent: #ff6b4a; --accent-ink: #2b0c04; --sun: #ffc94d; --glow: rgba(255, 107, 74, .2); --nav-bg: rgba(15, 42, 61, .97); }
body.t-rd { --bg: #0a1730; --bg-2: #0e2040; --card: #13294d; --card-2: #1a3460; --line: rgba(205, 222, 250, .13); --ink: #f3f7fe; --ink-soft: #a8bbd8; --accent: #ffc52e; --accent-ink: #2a1a00; --glow: rgba(255, 197, 46, .18); --nav-bg: rgba(10, 23, 48, .97); }
body.t-r2 { --bg: #14171d; --bg-2: #191d25; --card: #1f242e; --card-2: #272d39; --line: rgba(230, 235, 245, .12); --ink: #f5f6f8; --ink-soft: #aeb5c2; --accent: #ffb72b; --accent-ink: #2a1a00; --glow: rgba(255, 183, 43, .16); --nav-bg: rgba(20, 23, 29, .97); }
body.t-tu { --bg: #06110c; --bg-2: #0a1a12; --card: #0f2419; --card-2: #143020; --line: rgba(190, 240, 210, .12); --ink: #effaf3; --ink-soft: #9dbbaa; --accent: #2bd46b; --accent-ink: #03200f; --glow: rgba(43, 212, 107, .18); --nav-bg: rgba(6, 17, 12, .97); }

* { box-sizing: border-box; }
html { scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: "Bricolage Grotesque", Inter, sans-serif; line-height: 1.06; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.soft { color: var(--ink-soft); }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border: 0; border-radius: 999px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sun { background: linear-gradient(135deg, var(--sun), var(--sun-deep)); color: #2a1406; box-shadow: 0 10px 30px -10px rgba(255, 140, 60, .7); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px var(--accent); }
.btn-ghost { border: 1px solid var(--line); background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { background: rgba(255, 255, 255, .09); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Üst menü */
header.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s; }
header.nav.scrolled, header.nav.open { background: var(--nav-bg); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Bricolage Grotesque", Inter, sans-serif; font-weight: 800; font-size: 22px; text-decoration: none; }
.brand svg { width: 34px; height: 34px; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover svg { transform: rotate(-14deg) scale(1.1); }
.nav-links { display: flex; align-items: center; gap: 19px; font-size: 15px; color: var(--ink-soft); }
.nav-links a { position: relative; text-decoration: none; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .05); cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .25s; }
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links a[aria-current="page"] { color: var(--accent); }
}

/* Bölümler */
main, footer { position: relative; z-index: 1; }
section { position: relative; padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; margin: 14px 0 14px; }
.section-head p { color: var(--ink-soft); font-size: 18px; }
@media (max-width: 700px) { section { padding: 68px 0; } .section-head { margin-bottom: 30px; } }

/* Etiketler */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); white-space: nowrap; }
.chip.live { display: inline-flex; align-items: center; gap: 7px; border-color: rgba(43, 212, 107, .5); background: rgba(43, 212, 107, .12); color: #7cf0a8; font-weight: 600; }
.chip.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2bd46b; animation: pulse 1.8s infinite; }
.chip.soon { border-color: rgba(255, 184, 77, .5); background: rgba(255, 184, 77, .1); color: var(--sun); font-weight: 600; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(43, 212, 107, .6); } 100% { box-shadow: 0 0 0 9px rgba(43, 212, 107, 0); } }

/* İstatistik satırı */
.stats { display: flex; gap: 32px; flex-wrap: wrap; }
.stats b { display: block; font-family: "Bricolage Grotesque", Inter, sans-serif; font-size: 34px; font-weight: 800; line-height: 1.1; }
.stats span { font-size: 14px; color: var(--ink-soft); }

/* Telefon çerçevesi */
.phone { position: relative; width: 100%; max-width: 270px; aspect-ratio: 9 / 19; padding: 9px; border-radius: 38px; background: linear-gradient(160deg, #39434d, #0d1216); box-shadow: 0 34px 60px -28px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.phone.vid { aspect-ratio: 250 / 430; }
.phone > video, .phone > img, .phone > .screen { width: 100%; height: 100%; object-fit: cover; border-radius: 30px; background: #000; }

/* Kayan galeri */
.gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 6px 20px 20px; margin: 0 -20px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; cursor: grab; }
.gallery.drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.gallery > * { flex: none; scroll-snap-align: center; }
.gallery.center { justify-content: safe center; }
.gallery img { width: 210px; height: auto; border-radius: 20px; background: var(--card); border: 1px solid var(--line); -webkit-user-drag: none; user-select: none; transition: transform .3s; }
.gallery img:hover { transform: translateY(-6px); }

/* Özellik kartları */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .24); }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }
.card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: var(--glow); color: var(--accent); }
.card .ic svg { width: 24px; height: 24px; }
.card .ic img { width: 34px; height: 34px; object-fit: contain; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Çağrı kutusu */
.cta { position: relative; overflow: hidden; border-radius: 32px; padding: 64px 24px; text-align: center; background: radial-gradient(circle at 50% 0%, var(--glow), transparent 62%), var(--card); border: 1px solid var(--line); }
.cta h2 { font-size: clamp(30px, 5vw, 56px); font-weight: 800; margin: 12px 0 14px; }
.cta p { color: var(--ink-soft); font-size: 18px; max-width: 560px; margin: 0 auto 28px; }
.cta .btn-row { justify-content: center; }

/* Alt bilgi */
footer { padding: 44px 0 52px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* Kaydırınca beliren öğeler (JS yoksa içerik görünür kalır) */
.js .reveal { opacity: 0; translate: 0 18px; transition: opacity .45s ease, translate .45s cubic-bezier(.2, .7, .3, 1), transform .3s, border-color .3s, box-shadow .3s; }
.js .reveal.in { opacity: 1; translate: var(--px, 0) var(--py, 0); }

/* Fareyle eğilen kart */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; }

/* Uçuşan yapraklar */
.leaves { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.leaves span { position: absolute; top: -40px; width: 14px; height: 14px; background: var(--accent); opacity: .13; border-radius: 0 70% 0 70%; animation: fall linear infinite; }
@keyframes fall { to { transform: translate(var(--dx, 60px), 110vh) rotate(540deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; translate: none; transition: none; }
  .leaves { display: none; }
  .chip.live::before { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
