/* ============================================================
   Lojinak — Anasayfa (Lojinak-Web-Site tasarımının statik portu)
   Yalnızca index.html kullanır; diğer sayfalar style.css'te kalır.
   ============================================================ */

/* ---- Satoshi (başlık fontu) ---- */
@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("fonts/Satoshi-900.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

/* ---- Tasarım token'ları (Lojinak-Web-Site globals.css ile birebir) ---- */
:root {
  --brand-50: #eef5ff;
  --brand-200: #bcd7ff;
  --brand-600: #0059b3;
  --brand-700: #004099;
  --navy: #192a49;
  --danger: #d91c1c;
  --warning: #f0a020;
  --canvas: #ffffff;
  --ink: #161616;
  --ink-soft: #5d6c7b;
  --font-display: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, sans-serif;
  --header-h: 96px;
  --space-section: clamp(80px, 12vw, 180px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--canvas);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
/* Yatay taşma kırpma — body'ye DEĞİL (viewport'a propagate olup scroll'u kilitler),
   içerik sarmalayıcısına uygulanır (orijinal Next.js yapısıyla aynı). */
.page-clip { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; cursor: pointer; }

.container { max-width: 80rem; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 640px) { .container { padding-inline: 32px; } }

/* ---- Bölüm başlıkları ---- */
.kicker {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-600);
}
.section-title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-sub {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink-soft);
}
.section-head { max-width: 42rem; }
section { padding-block: var(--space-section); }
.bg-white { background: #fff; }
.bg-canvas { background: var(--canvas); }

/* ---- Reveal (scroll'da belirme) ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   HEADER — mavi→lacivert bant + ortada çentik + merkez buton
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 50; }
.header-band-wrap { position: relative; height: var(--header-h); }
.header-band {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: var(--header-h);
  background: linear-gradient(180deg, #0059b3 0%, #004099 100%);
  border-radius: 0 0 28px 28px;
  transition: box-shadow 0.3s;
}
.site-header.scrolled .header-band {
  box-shadow: 0 12px 30px -14px rgba(0, 64, 153, 0.6);
}
.header-notch {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  filter: drop-shadow(0 10px 22px rgba(0, 64, 153, 0.3));
}
.header-nav {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin-inline: auto;
  height: var(--header-h);
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media (min-width: 640px) { .header-nav { padding-inline: 32px; } }
.header-links { display: none; align-items: center; gap: 24px; }
.header-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s;
}
.header-links a:hover { color: #fff; }
@media (min-width: 768px) {
  .header-links { display: flex; }
  .menu-btn { display: none !important; }
}
.menu-btn {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.menu-btn:hover { background: rgba(255, 255, 255, 0.15); }
.center-btn {
  position: absolute;
  z-index: 20;
  left: calc(50% - 58px);
  top: 24px;
  display: block;
}
.center-btn img {
  width: 116px;
  height: 116px;
  border-radius: 999px;
  transition: transform 0.2s;
}
.center-btn:hover img { transform: scale(1.05); }
.mobile-panel {
  display: none;
  background: linear-gradient(180deg, #0059b3 0%, #004099 100%);
}
.mobile-panel.open { display: block; }
.mobile-panel .inner {
  max-width: 80rem;
  margin-inline: auto;
  padding: 8px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-panel a {
  border-radius: 12px;
  padding: 12px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.2s;
}
.mobile-panel a:hover { background: rgba(255, 255, 255, 0.1); }

/* ============================================================
   SİNEMATİK HERO — maskeli LOJİNAK + kayan bant + açılan kartlar
   ============================================================ */
.hero {
  position: relative;
  height: 260vh;
  overflow-x: clip;
  background: var(--canvas);
  padding-block: 0;
}
.hero-sticky {
  position: sticky;
  top: 88px;
  height: calc(100svh - 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding-top: 32vh;
}
@media (min-width: 768px) {
  .hero-sticky { justify-content: center; padding-top: 8vh; }
}

/* Kayan bant (marquee) */
.marquee {
  position: absolute;
  top: 15vh;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
@media (min-width: 768px) { .marquee { top: 6vh; } }
.marquee-track {
  display: flex;
  width: max-content;
  gap: 32px;
  white-space: nowrap;
  animation: lj-marquee 22s linear infinite;
}
.marquee-track span {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
}
.marquee-track i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--danger);
}
@keyframes lj-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Maskeli başlık — araç görseli harflerin İÇİNDE kayar */
.hero-title {
  pointer-events: none;
  user-select: none;
  padding-inline: 16px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.04em;
  display: grid;
}
.hero-title > span {
  grid-area: 1 / 1;
  font-size: 19vw;
}
@media (min-width: 640px) { .hero-title > span { font-size: 16vw; } }
@media (min-width: 1024px) { .hero-title > span { font-size: 12vw; } }
.hero-title .masked {
  background-image: url("brand/hero-vehicles.jpg"),
    linear-gradient(180deg, #eaf2fb 0%, #dbe8f7 100%);
  background-repeat: repeat-x, no-repeat;
  background-size: auto 100%, 100% 100%;
  background-position: 0 center, center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: lj-pan 30s linear infinite;
}
.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--brand-600);
}
@keyframes lj-pan {
  from { background-position: 0 center, center; }
  to { background-position: calc(-1 * var(--pan-w, 1200px)) center, center; }
}

/* Alt cümle */
.hero-sub {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 19vh;
  z-index: 10;
  width: 100%;
  max-width: 19ch;
  transform: translateX(-50%);
  padding-inline: 16px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(18px, 4.4vw, 30px);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: #2b2f36;
}
@media (min-width: 640px) { .hero-sub { max-width: 34ch; } }
@media (min-width: 768px) { .hero-sub { top: 22%; } }

/* Sektör kartları */
.hero-cards {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  top: 40vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
@media (min-width: 768px) {
  .hero-cards { align-items: center; top: 18vh; }
}
.hero-cards .stage {
  position: relative;
  height: clamp(260px, 42vw, 460px);
  width: 100%;
  max-width: 64rem;
}
.sector-card {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  margin-left: clamp(-190px, -17vw, -75px);
  margin-top: clamp(-230px, -21vw, -105px);
  transform: translate(calc(var(--x, 0) * 1%), calc(var(--y, 0) * 1px))
    rotate(calc(var(--r, 0) * 1deg)) scale(var(--s, 1));
  will-change: transform;
}
.sector-card:nth-child(2) { z-index: 3; }
.sector-card a { pointer-events: auto; display: block; }
.sector-card .frame {
  position: relative;
  height: clamp(210px, 42vw, 460px);
  width: clamp(150px, 34vw, 380px);
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(160deg, #ffffff 0%, #eef3f8 55%, #dbe6f2 100%);
  box-shadow: 0 30px 80px -30px var(--glow), 0 8px 24px -10px rgba(0, 0, 0, 0.18);
  outline: 1px solid rgba(0, 0, 0, 0.05);
}
@media (min-width: 640px) { .sector-card .frame { border-radius: 22px; } }
.sector-card .glow {
  position: absolute;
  right: -64px;
  top: -64px;
  width: 224px;
  height: 224px;
  border-radius: 999px;
  filter: blur(48px);
  background: var(--glow);
}
.sector-card .frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sector-card .go {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: var(--ring);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s;
}
.sector-card a:hover .go { transform: rotate(12deg); }

/* Kaydır ipucu */
.scroll-hint {
  position: absolute;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  will-change: opacity;
}
.scroll-hint i {
  width: 1px;
  height: 24px;
  background: rgba(93, 108, 123, 0.4);
  animation: lj-pulse 2s ease-in-out infinite;
}
@keyframes lj-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ---- Mağaza rozetleri (App Store / Google Play) ---- */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  outline: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}
.store-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45);
}
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge .txt small { font-size: 10px; font-weight: 500; opacity: 0.85; }
.store-badge .txt strong { font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.store-badge.light { background: #fff; color: var(--navy); outline: 1px solid rgba(25, 42, 73, 0.15); }

/* ============================================================
   KART IZGARALARI — Neden Lojinak / Nasıl Çalışır
   ============================================================ */
.tile-grid {
  margin-top: 64px;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.06);
}
@media (min-width: 640px) { .tile-grid.cols-2sm { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tile-grid.cols-3lg { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .tile-grid.cols-3md { grid-template-columns: repeat(3, 1fr); } }
.tile {
  display: flex;
  height: 100%;
  flex-direction: column;
  background: #fff;
  padding: 36px;
  transition: background 0.3s;
}
.tile:hover { background: rgba(238, 245, 255, 0.4); }
.tile .no {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 900;
  line-height: 1;
  color: rgba(0, 89, 179, 0.15);
}
.tile h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
}
.tile .no + h3 { margin-top: 32px; }
.tile p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.tile .shot {
  position: relative;
  margin-top: 28px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  outline: 1px solid rgba(0, 0, 0, 0.05);
}
.tile .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.tile:hover .shot img { transform: scale(1.05); }

/* ---- Roller ---- */
.roles-grid { margin-top: 56px; display: grid; gap: 28px; }
@media (min-width: 768px) { .roles-grid { grid-template-columns: repeat(3, 1fr); } }
.role-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 36px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.role-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-200);
  box-shadow: 0 30px 60px -30px rgba(0, 89, 179, 0.2);
}
.role-card .idx {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-600);
}
.role-card h3 {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
}
.role-card p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* ============================================================
   İNDİR CTA — mağaza bölümü
   ============================================================ */
.download-cta {
  border-radius: 32px;
  background: linear-gradient(135deg, #0059b3 0%, #004099 60%, #192a49 100%);
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 80px);
  text-align: center;
  color: #fff;
  box-shadow: 0 40px 90px -40px rgba(0, 64, 153, 0.55);
}
.download-cta .kicker { color: #8ebdff; }
.download-cta h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.download-cta p {
  margin: 20px auto 0;
  max-width: 44ch;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
.download-cta .stores {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.download-cta .store-badge { padding: 14px 24px; }
.download-cta .store-badge svg { width: 30px; height: 30px; }
.download-cta .store-badge .txt strong { font-size: 19px; }

/* ============================================================
   FOOTER — lacivert zemin + cam-mavi iç panel
   ============================================================ */
.site-footer { background: linear-gradient(180deg, #002f66 0%, #001d42 100%); }
.site-footer .shell {
  max-width: 80rem;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) 16px;
}
@media (min-width: 640px) { .site-footer .shell { padding-inline: 24px; } }
.site-footer .white-back { border-radius: 0 0 32px 32px; background: #fff; }
.site-footer .glass {
  border-radius: 0 0 32px 32px;
  border: 20px solid #fff;
  padding: clamp(40px, 6vw, 72px) 24px;
  background: linear-gradient(180deg, rgba(89, 204, 242, 0.55) 0%, rgba(64, 179, 230, 0.45) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
@media (min-width: 640px) {
  .site-footer .white-back, .site-footer .glass { border-radius: 0 0 40px 40px; }
  .site-footer .glass { padding-inline: 40px; }
}
@media (min-width: 1024px) { .site-footer .glass { padding-inline: 56px; } }
.footer-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer-brand { max-width: 24rem; }
.footer-brand .mark { display: flex; align-items: center; gap: 10px; }
.footer-brand .mark img { width: 36px; height: 36px; border-radius: 8px; }
.footer-brand .mark span {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
}
.footer-brand p { margin-top: 20px; font-size: 16px; line-height: 1.6; color: rgba(25, 42, 73, 0.8); }
.footer-brand .mail {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  transition: opacity 0.2s;
}
.footer-brand .mail:hover { opacity: 0.7; }
.footer-col h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy);
}
.footer-col ul { margin-top: 20px; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(25, 42, 73, 0.75);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--navy); }
.footer-bottom {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(25, 42, 73, 0.15);
  padding-top: 32px;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; } }
.footer-bottom p { font-size: 14px; color: rgba(25, 42, 73, 0.7); }
.footer-bottom .stores { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-bottom .store-badge { padding: 8px 14px; border-radius: 10px; }
.footer-bottom .store-badge svg { width: 20px; height: 20px; }
.footer-bottom .store-badge .txt small { font-size: 9px; }
.footer-bottom .store-badge .txt strong { font-size: 14px; }

/* ---- Hareket azaltma ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-title .masked, .marquee-track, .scroll-hint i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
