/* Mentoria kurumsal site. Yazı tipi Poppins sitenin içinde (Google'a istek
   yok, KVKK). 3D sahneler saf CSS (perspective + preserve-3d); hareketi
   site.js yönetir ve "hareketi azalt" açıksa durur. */

@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("/fonts/Poppins-Regular.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("/fonts/Poppins-Medium.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("/fonts/Poppins-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("/fonts/Poppins-Bold.ttf") format("truetype"); }

:root {
  color-scheme: light;
  --navy-950: #060D24;
  --navy-900: #0A1633;
  --navy-800: #11214A;
  --navy-700: #1B2F63;
  --ink: #0F172A;
  --text: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FC;
  --accent: #5B4FE8;
  --accent-2: #8B7FF0;
  --honey: #F5A300;
  --honey-soft: #FFC531;
  --good: #16A34A;
  --risk: #DC2626;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .04);
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-xl: 0 40px 80px -20px rgba(6, 13, 36, .45), 0 20px 40px -20px rgba(6, 13, 36, .3);
  --max: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* ------------------------------------------------------------- Üst çubuk */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), color .3s;
  color: #fff;
}
.nav.solid, .nav.light {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -.01em; color: inherit; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 14.5px; opacity: .78; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav .login { text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 14px; border-radius: 10px; }
.nav .login:hover { background: rgba(127, 127, 127, .12); }
@media (max-width: 960px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }
@media (max-width: 480px) { .nav .login { display: none; } }

/* --------------------------------------------------------------- Düğmeler */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 22px; border-radius: 12px;
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(91, 79, 232, .7); }
.btn-primary:hover { background: #4B3FD8; transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(91, 79, 232, .8); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: #CBD5E1; box-shadow: var(--shadow-sm); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; border-radius: 10px; }
.btn svg { width: 18px; height: 18px; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }

/* ------------------------------------------------------------ Giriş bölümü */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 600px at 75% -10%, rgba(91, 79, 232, .45), transparent 60%),
    radial-gradient(800px 500px at 10% 110%, rgba(245, 163, 0, .16), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800));
  padding: 150px 0 120px;
}
.hero::before {
  /* İnce ızgara (3D zemin) */
  content: ""; position: absolute; inset: auto -20% -10% -20%; height: 60%;
  background-image:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(700px) rotateX(62deg);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--accent); background: rgba(91, 79, 232, .1);
  border: 1px solid rgba(91, 79, 232, .2);
  padding: 6px 12px; border-radius: 999px;
}
.hero .eyebrow { color: #C9C3FF; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--honey-soft); box-shadow: 0 0 0 4px rgba(255, 197, 49, .2); }
.hero h1 { color: #fff; font-size: clamp(36px, 5.2vw, 62px); margin: 20px 0 20px; letter-spacing: -.03em; }
.hero h1 .grad {
  background: linear-gradient(90deg, #FFFFFF, #C9C3FF 45%, var(--honey-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 18.5px; color: #B8C2DC; max-width: 34em; margin: 0 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 34px 0 0; padding: 0; list-style: none; color: #9AA6C4; font-size: 14px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; stroke: var(--honey-soft); fill: none; stroke-width: 2.4; }
@media (max-width: 1020px) {
  .hero { padding: 120px 0 80px; }
  .hero .wrap { grid-template-columns: 1fr; }
}

/* 3D sahne: eğik masaüstü + yüzen kartlar + telefon */
.scene { position: relative; perspective: 1600px; height: 520px; }
.scene-inner {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(calc(14deg + var(--rx, 0deg))) rotateY(calc(-22deg + var(--ry, 0deg))) rotateZ(2deg);
  transition: transform .9s var(--ease);
}
.device {
  position: absolute; border-radius: 16px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, .5);
}
.device-desk { width: 640px; left: 0; top: 30px; transform: translateZ(0); }
.device-desk .bar { display: flex; gap: 6px; padding: 9px 12px; background: #EEF1F7; border-bottom: 1px solid #E2E8F0; }
.device-desk .bar i { width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; }
.device-desk .bar i:nth-child(1) { background: #F87171; }
.device-desk .bar i:nth-child(2) { background: #FBBF24; }
.device-desk .bar i:nth-child(3) { background: #34D399; }
.device-phone {
  width: 190px; right: -10px; top: 150px; border-radius: 30px;
  border: 7px solid #0B1220; transform: translateZ(120px);
}
.float {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .96); color: var(--ink);
  border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-xl);
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .7);
}
.float small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.float .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float .ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.f1 { left: -30px; top: 0; transform: translateZ(90px); }
.f2 { left: 300px; top: 420px; transform: translateZ(160px); }
.f3 { left: 360px; top: -30px; transform: translateZ(200px); }
.ic-violet { background: #EEF0FF; color: var(--accent); }
.ic-green { background: #E8F7EE; color: var(--good); }
.ic-honey { background: #FFF6DE; color: #B87700; }
.ic-red { background: #FDECEC; color: var(--risk); }
.ic-blue { background: #E8F1FF; color: #2563EB; }
.bob { animation: bob 6s ease-in-out infinite; }
.bob.d2 { animation-delay: -2s; }
.bob.d3 { animation-delay: -4s; }
@keyframes bob { 50% { translate: 0 -10px; } }
@media (max-width: 1020px) {
  .scene { height: 440px; max-width: 640px; margin: 0 auto; width: 100%; }
  .device-desk { width: 88%; }
  .device-phone { width: 30%; right: 0; top: 120px; }
  .f2 { left: 40%; top: 360px; }
}
@media (max-width: 560px) {
  .scene { height: 300px; }
  .float { font-size: 12px; padding: 9px 12px; }
  .float .ic { width: 30px; height: 30px; }
  .f1 { left: 0; top: -10px; }
  .f2 { left: 22%; top: 250px; }
  .f3 { display: none; }
}

/* ------------------------------------------------------------- Modül şeridi */
.strip { position: relative; margin-top: -48px; z-index: 5; }
.strip-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(8, 1fr);
}
.strip-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 8px; text-align: center; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; transition: background .2s; }
.strip-item:hover { background: var(--bg-soft); }
.strip-item + .strip-item { border-left: 1px solid var(--line); }
.strip-item .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.strip-item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) {
  .strip-card { grid-template-columns: repeat(4, 1fr); }
  .strip-item:nth-child(5) { border-left: 0; }
  .strip-item:nth-child(n+5) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .strip-card { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(odd) { border-left: 0; }
  .strip-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* -------------------------------------------------------------- Bölümler */
section { padding: 110px 0; position: relative; }
.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
h2 { font-size: clamp(30px, 3.8vw, 44px); margin: 16px 0 16px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }
@media (max-width: 760px) { section { padding: 76px 0; } .section-head { margin-bottom: 40px; } }

/* Dağınık araçlar → tek platform */
.consolidate { display: grid; grid-template-columns: 1fr 120px 1fr; gap: 24px; align-items: center; }
.tools-pile { position: relative; height: 380px; perspective: 1000px; }
.tool-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; font-weight: 600; font-size: 14px; color: var(--ink);
  box-shadow: var(--shadow); white-space: nowrap;
  transition: transform 1s var(--ease), opacity 1s var(--ease);
}
.tool-chip s { color: var(--muted); text-decoration-color: rgba(220, 38, 38, .6); font-weight: 500; }
.tool-chip .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; }
.tool-chip svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tc1 { left: 4%; top: 6%; transform: rotate(-6deg) translateZ(20px); }
.tc2 { left: 42%; top: 0; transform: rotate(5deg); }
.tc3 { left: 12%; top: 30%; transform: rotate(3deg) translateZ(40px); }
.tc4 { left: 50%; top: 34%; transform: rotate(-4deg); }
.tc5 { left: 0; top: 58%; transform: rotate(-2deg); }
.tc6 { left: 40%; top: 66%; transform: rotate(6deg) translateZ(30px); }
.tc7 { left: 18%; top: 84%; transform: rotate(-5deg); }
.consolidate.in .tool-chip { opacity: .55; filter: grayscale(.6); translate: 18px 0; scale: .96; }
.consolidate.in .tc2, .consolidate.in .tc4, .consolidate.in .tc6 { translate: 26px 0; transition-delay: .12s; }
/* Hareket kapalı / JS yok: yığın görünür kalsın */
.consolidate.static .tool-chip { opacity: 1 !important; transform: none !important; position: static; margin: 6px; display: inline-flex; }
.consolidate.static .tools-pile { height: auto; }
.arrow-merge { display: grid; place-items: center; }
.arrow-merge svg { width: 72px; height: 72px; stroke: var(--accent); fill: none; stroke-width: 1.6; }
.platform-card {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff; border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  transition: transform .8s var(--ease);
}
.platform-card:hover { transform: perspective(1000px) rotateY(0) rotateX(0); }
.platform-card h3 { color: #fff; font-size: 22px; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.platform-card h3 img { width: 40px; height: 40px; border-radius: 10px; }
.platform-card ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.platform-card li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: #D5DBEC; }
.platform-card li svg { width: 18px; height: 18px; stroke: var(--honey-soft); fill: none; stroke-width: 2.4; flex: none; }
.platform-card .one-login { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: #9AA6C4; }
@media (max-width: 960px) {
  .consolidate { grid-template-columns: 1fr; }
  .arrow-merge svg { transform: rotate(90deg); width: 56px; height: 56px; }
  .tools-pile { height: 330px; max-width: 520px; width: 100%; margin: 0 auto; }
}

/* Modül anlatımları */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.feature + .feature { margin-top: 130px; }
.feature.reverse .feature-visual { order: -1; }
.feature h3 { font-size: clamp(26px, 3vw, 34px); margin: 14px 0 14px; }
.feature p.lead2 { color: var(--muted); font-size: 17px; margin: 0 0 22px; }
.checks { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; color: var(--text); }
.checks li strong { color: var(--ink); font-weight: 600; }
.checks .tick { width: 24px; height: 24px; border-radius: 7px; background: #EEF0FF; display: grid; place-items: center; margin-top: 1px; }
.checks .tick svg { width: 14px; height: 14px; stroke: var(--accent); fill: none; stroke-width: 3; }
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature.reverse .feature-visual { order: 0; }
  .feature + .feature { margin-top: 90px; }
}

.feature-visual { position: relative; perspective: 1400px; min-height: 420px; display: grid; place-items: center; }
.tilt { transform-style: preserve-3d; transition: transform .9s var(--ease); will-change: transform; }
.glow {
  position: absolute; inset: 10% 8%; border-radius: 40%;
  background: radial-gradient(closest-side, rgba(91, 79, 232, .22), transparent);
  filter: blur(20px); z-index: -1;
}

/* Telefon çifti (SMS + veli) */
.phones { position: relative; width: 100%; max-width: 480px; height: 520px; }
.phone {
  position: absolute; width: 230px; border-radius: 34px; overflow: hidden;
  border: 8px solid #0B1220; background: #0B1220; box-shadow: var(--shadow-xl);
}
.phone img { border-radius: 26px; }
.phones .p1 { left: 4%; top: 30px; transform: rotateY(18deg) rotateX(6deg) translateZ(0); }
.phones .p2 { right: 4%; top: 0; transform: rotateY(-16deg) rotateX(6deg) translateZ(80px); }
.phones .badge {
  position: absolute; left: 50%; bottom: 10px; translate: -50% 0;
  transform: translateZ(160px);
}
@media (max-width: 560px) {
  .phones { height: 420px; }
  .phone { width: 180px; border-width: 6px; border-radius: 28px; }
}

/* Ders programı: 3D haftalık ızgara */
.tt-stage { width: 100%; max-width: 560px; transform: rotateX(28deg) rotateZ(-8deg) rotateY(6deg); }
.tt {
  background: #fff; border-radius: 18px; padding: 18px; box-shadow: var(--shadow-xl);
  border: 1px solid var(--line); transform-style: preserve-3d;
}
.tt-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.tt-head b { color: var(--ink); font-size: 15px; }
.tt-head span { font-size: 12px; color: var(--good); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.tt-head span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.tt-grid { display: grid; grid-template-columns: 44px repeat(5, 1fr); gap: 6px; transform-style: preserve-3d; }
.tt-grid .h { font-size: 11px; font-weight: 600; color: var(--muted); text-align: center; padding-bottom: 2px; }
.tt-grid .t { font-size: 10.5px; color: var(--muted); display: grid; place-items: center; }
.tt-grid .c { height: 46px; border-radius: 8px; background: var(--bg-soft); border: 1px dashed #E2E8F0; }
.lesson {
  height: 46px; border-radius: 8px; padding: 6px 7px; font-size: 10.5px; line-height: 1.25;
  color: var(--ink); font-weight: 600; border-left: 3px solid; overflow: hidden;
  transform: translateZ(22px); box-shadow: 0 8px 16px -8px rgba(15, 23, 42, .35);
  transition: transform .7s var(--ease), opacity .7s var(--ease);
}
.lesson small { display: block; font-weight: 500; color: var(--muted); font-size: 9.5px; }
.l-mat { background: #EEF0FF; border-color: var(--accent); }
.l-fiz { background: #E8F1FF; border-color: #2563EB; }
.l-kim { background: #E8F7EE; border-color: var(--good); }
.l-tur { background: #FFF6DE; border-color: var(--honey); }
.l-biy { background: #FDF0F7; border-color: #DB2777; }
.l-tar { background: #F1F5F9; border-color: #475569; }
.reveal-lessons .lesson { opacity: 0; transform: translateZ(180px) translateY(-30px); }
.reveal-lessons.in .lesson { opacity: 1; transform: translateZ(22px); }
.tt-wizard {
  position: absolute; right: -6px; bottom: 6px; transform: translateZ(140px);
}

/* Deneme analizi: 3D sütunlar + kazanım ısı haritası */
.an-stage { width: 100%; max-width: 560px; height: 430px; position: relative; transform: rotateX(18deg) rotateY(-18deg); }
.an-card {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-xl); padding: 18px;
}
.an-main { left: 0; top: 0; width: 78%; transform: translateZ(0); }
.an-card h4 { font-size: 14px; margin-bottom: 4px; }
.an-card .sub { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.bars { display: flex; align-items: flex-end; gap: 12px; height: 170px; padding: 0 4px; border-bottom: 1px solid var(--line); }
.bar { flex: 1; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--accent-2), var(--accent)); height: var(--h); position: relative; transform-origin: bottom; transition: transform 1.1s var(--ease); }
.bar.last { background: linear-gradient(180deg, var(--honey-soft), var(--honey)); }
.bar span { position: absolute; top: -20px; left: 50%; translate: -50% 0; font-size: 11px; font-weight: 600; color: var(--ink); }
.bars-x { display: flex; gap: 12px; padding: 6px 4px 0; font-size: 10.5px; color: var(--muted); }
.bars-x span { flex: 1; text-align: center; }
.reveal-bars .bar { transform: scaleY(.05); }
.reveal-bars.in .bar { transform: scaleY(1); }
.reveal-bars.in .bar:nth-child(2) { transition-delay: .08s; }
.reveal-bars.in .bar:nth-child(3) { transition-delay: .16s; }
.reveal-bars.in .bar:nth-child(4) { transition-delay: .24s; }
.reveal-bars.in .bar:nth-child(5) { transition-delay: .32s; }
.reveal-bars.in .bar:nth-child(6) { transition-delay: .4s; }
.an-heat { right: 0; top: 150px; width: 56%; transform: translateZ(110px); }
.heat { display: grid; grid-template-columns: 74px repeat(4, 1fr); gap: 4px; font-size: 10.5px; }
.heat .k { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.heat .v { height: 20px; border-radius: 5px; display: grid; place-items: center; font-weight: 600; font-size: 10px; color: #fff; }
.v1 { background: #16A34A; } .v2 { background: #4ADE80; color: #14532D !important; } .v3 { background: #FBBF24; color: #713F12 !important; } .v4 { background: #F87171; }
.an-pill { left: 6%; bottom: 0; transform: translateZ(170px); }
@media (max-width: 560px) {
  .an-stage { height: 380px; }
  .an-main { width: 92%; }
  .an-heat { width: 72%; top: 170px; }
}

/* Masaüstü + telefon (koçluk) */
.desk-stage { width: 100%; max-width: 600px; position: relative; height: 420px; }
.desk-stage .device-desk { width: 92%; top: 0; transform: rotateY(-16deg) rotateX(8deg); }
.desk-stage .device-phone { width: 30%; right: 0; top: 110px; transform: rotateY(-16deg) rotateX(8deg) translateZ(110px); }

/* Finans kartı */
.fin-stage { width: 100%; max-width: 520px; position: relative; height: 400px; transform: rotateX(14deg) rotateY(16deg); }
.fin-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-xl); padding: 20px; }
.fin-main { inset: 0 12% auto 0; transform: translateZ(0); }
.fin-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 16px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.kpi small { display: block; color: var(--muted); font-size: 11px; }
.kpi b { color: var(--ink); font-size: 16px; }
.inst { display: grid; gap: 8px; }
.inst-row { display: flex; align-items: center; justify-content: space-between; border-radius: 10px; padding: 9px 12px; background: var(--bg-soft); font-size: 12.5px; }
.inst-row b { color: var(--ink); font-weight: 600; }
.chip { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.chip-ok { background: #E8F7EE; color: var(--good); }
.chip-late { background: #FDECEC; color: var(--risk); }
.chip-wait { background: #FFF6DE; color: #B87700; }
.fin-receipt { right: 0; bottom: 0; width: 46%; transform: translateZ(130px); }
.fin-receipt .line { height: 8px; border-radius: 4px; background: var(--bg-soft); margin: 8px 0; }
.fin-receipt .line.w60 { width: 60%; }
.fin-receipt .stamp { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--good); }

/* Kendi markanız */
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1200px; }
.brand-tile {
  border-radius: var(--radius-lg); padding: 22px; color: #fff; min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow); transform: rotateY(var(--r, 0deg)) translateZ(0);
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.brand-tile:hover { transform: rotateY(0) translateZ(30px); box-shadow: var(--shadow-xl); }
.brand-tile .logo { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.brand-tile b { font-size: 18px; }
.brand-tile .mini { display: flex; gap: 6px; margin-top: 14px; }
.brand-tile .mini i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .35); flex: 1; }
.brand-tile .mini i:first-child { flex: 2; background: rgba(255, 255, 255, .7); }
.bt1 { background: linear-gradient(150deg, #5B4FE8, #2E2A8C); --r: 14deg; }
.bt2 { background: linear-gradient(150deg, #0F766E, #064E3B); }
.bt3 { background: linear-gradient(150deg, #B91C1C, #7F1D1D); --r: -14deg; }
@media (max-width: 860px) { .brands { grid-template-columns: 1fr; } .brand-tile { --r: 0deg !important; min-height: 160px; } }

/* Nasıl çalışır */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; position: relative; box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: s; content: "0" counter(s);
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--navy-900); color: #fff; font-weight: 700; margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Roller */
.roles4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.role-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.role-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.role-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.role-card svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.role-card h3 { font-size: 17px; margin-bottom: 6px; }
.role-card p { margin: 0; font-size: 14.5px; color: var(--muted); }
@media (max-width: 960px) { .roles4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .roles4 { grid-template-columns: 1fr; } }

/* Güvenlik (koyu) */
.dark { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); color: #B8C2DC; overflow: hidden; }
.dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: #C9C3FF; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.dark .section-head p { color: #9AA6C4; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-item { border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); border-radius: var(--radius-lg); padding: 26px; }
.trust-item .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(139, 127, 240, .16); color: #C9C3FF; margin-bottom: 14px; }
.trust-item svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.trust-item h3 { font-size: 17px; margin-bottom: 6px; }
.trust-item p { margin: 0; font-size: 14.5px; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr; } }

/* İletişim */
.contact {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px 32px; text-align: center; color: #fff;
  background:
    radial-gradient(600px 300px at 80% 0%, rgba(139, 127, 240, .5), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(245, 163, 0, .25), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  box-shadow: var(--shadow-xl);
}
.contact h2 { color: #fff; margin-top: 0; }
.contact p { color: #C3CBE0; max-width: 600px; margin: 0 auto 30px; font-size: 18px; }
.contact .cta { justify-content: center; }

/* Alt bilgi */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer .brand { color: var(--ink); font-size: 17px; }
footer .brand img { width: 28px; height: 28px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
footer a { text-decoration: none; font-weight: 500; }
footer a:hover { color: var(--ink); }

/* Belirme (site.js .in ekler) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-lessons .lesson, .reveal-bars .bar { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal-lessons .lesson { transform: translateZ(22px) !important; }
  .bob { animation: none; }
  .scene-inner, .tilt { transition: none; }
}

/* ------------------------------------------------ Yasal sayfalar, 404, demo */
.page-top { height: 72px; }
.doc { max-width: 780px; margin: 0 auto; padding: 56px 24px 96px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 18px; }
.doc h2 { font-size: 23px; margin-top: 40px; }
.doc h3 { font-size: 18px; margin-top: 28px; }
.doc p, .doc li { color: var(--text); }
.doc strong { color: var(--ink); }
.doc .table { overflow-x: auto; margin: 16px 0; }
.doc table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; vertical-align: top; }
.doc th { background: var(--bg-soft); color: var(--ink); }
.doc blockquote { margin: 16px 0; padding: 10px 16px; border-left: 3px solid var(--accent); background: var(--bg-soft); border-radius: 0 8px 8px 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); }
.icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #EEF0FF; color: var(--accent); flex: none; }
.icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 640px) { .roles { grid-template-columns: 1fr; } }
.role { display: flex; gap: 16px; align-items: center; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.role:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.role h3 { margin: 0 0 2px; font-size: 18px; }
.role p { margin: 0; color: var(--muted); }

/* Dar ekran: yığın sıralı dizilir, yüzen etiket taşmaz, yatay kaydırma yok */
html { overflow-x: clip; }
@media (max-width: 560px) {
  .tools-pile { height: auto; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
  .tool-chip { position: static; transform: none !important; font-size: 13px; padding: 9px 12px; }
  .consolidate.in .tool-chip { translate: 0 0; scale: 1; }
  .phones .badge { white-space: normal; max-width: 88%; }
  .float { white-space: normal; }
  .platform-card { padding: 24px; transform: none; }
  .platform-card ul { grid-template-columns: 1fr; }
}

/* ---------------------------------------- Lacivert tema (yalnız ana sayfa)
   Bütün bölümler girişteki gibi lacivert; ürün görselleri (beyaz ekranlar,
   yüzen etiketler) açık renkte kalır. Yasal sayfalar beyaz. */
body.navy {
  --ink: #FFFFFF; --text: #C3CBE0; --muted: #9AA6C4; --line: rgba(255, 255, 255, .1);
  --bg: var(--navy-950); --bg-soft: var(--navy-900);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3); --shadow: 0 14px 34px rgba(0, 0, 0, .35);
  background: var(--navy-950);
}
.navy :is(.device, .tt, .an-card, .fin-card, .tool-chip, .float) {
  --ink: #0F172A; --text: #334155; --muted: #64748B; --line: #E2E8F0; --bg-soft: #F6F8FC;
}
.navy section {
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(91, 79, 232, .14), transparent 60%),
    var(--navy-950);
}
.navy section.soft {
  background:
    radial-gradient(900px 460px at 10% 10%, rgba(91, 79, 232, .16), transparent 60%),
    radial-gradient(700px 380px at 95% 100%, rgba(245, 163, 0, .07), transparent 60%),
    linear-gradient(180deg, var(--navy-900), #0D1B3D);
}
.navy section.dark { background: linear-gradient(180deg, #081230, var(--navy-950)); }
.navy .nav.solid {
  background: rgba(6, 13, 36, .82); color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.navy .eyebrow { color: #C9C3FF; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.navy .btn-outline { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); }
.navy .btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .32); }
.navy .strip-card {
  background: rgba(17, 33, 74, .92); border-color: rgba(255, 255, 255, .1);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6);
}
.navy .strip-item:hover { background: rgba(255, 255, 255, .05); }
.navy :is(.strip-item, .role-card) .ic-violet { background: rgba(139, 127, 240, .18); color: #C9C3FF; }
.navy :is(.strip-item, .role-card) .ic-green { background: rgba(74, 222, 128, .14); color: #86EFAC; }
.navy :is(.strip-item, .role-card) .ic-honey { background: rgba(255, 197, 49, .15); color: #FFD466; }
.navy :is(.strip-item, .role-card) .ic-red { background: rgba(248, 113, 113, .15); color: #FCA5A5; }
.navy :is(.strip-item, .role-card) .ic-blue { background: rgba(96, 165, 250, .15); color: #93C5FD; }
.navy .checks .tick { background: rgba(139, 127, 240, .2); }
.navy .checks .tick svg { stroke: #C9C3FF; }
.navy :is(.step, .role-card) { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.navy .role-card:hover { background: rgba(255, 255, 255, .07); }
.navy .step::before { background: linear-gradient(150deg, var(--accent-2), var(--accent)); }
.navy .glow { background: radial-gradient(closest-side, rgba(91, 79, 232, .38), transparent); }
.navy .phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), var(--shadow-xl); }
.navy :is(.platform-card, .contact) { border: 1px solid rgba(255, 255, 255, .12); }
.navy .platform-card { background: linear-gradient(160deg, var(--navy-800), #2A3F7E); }
.navy footer { background: #040A1C; border-top-color: rgba(255, 255, 255, .08); }

/* Beş rol (öğretmen ayrı) ve tanıtım sayfasındaki demo kartları */
.roles5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .roles5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .roles5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .roles5 { grid-template-columns: 1fr; } }
.demo-roles { grid-template-columns: repeat(3, 1fr); max-width: 1040px; margin: 0 auto; }
@media (max-width: 960px) { .demo-roles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .demo-roles { grid-template-columns: 1fr; } }
.navy .demo-roles .card { --ink: #0F172A; --text: #334155; --muted: #64748B; color: var(--text); }
.navy .demo-roles .role h3 { color: var(--ink); }
