/* ==========================================================================
   İSGDenetim — Premium kurumsal site
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --bg-2: #ebf0f7;
  --bg-3: #ffffff;
  --surface: #ffffff;
  --surface-2: #f8fafd;
  --line: rgba(3, 38, 67, 0.1);
  --line-2: rgba(3, 38, 67, 0.17);
  --text: #0b1d33;
  --muted: #55657b;
  --dim: #8492a6;
  --hl: #d40a0a;            /* vurgu metni: logodaki kırmızı (açık zeminde okunur) */
  --ghost-bg: rgba(255, 255, 255, 0.75);
  --ghost-hover: rgba(3, 38, 67, 0.3);
  --shadow: 0 1px 2px rgba(3, 38, 67, 0.04), 0 12px 32px -14px rgba(3, 38, 67, 0.18);
  --accent: #ffd21a;
  --brand-red: #e90101;
  --brand-navy: #032643;
  --accent-ink: #0b1626;
  --accent-2: #5cf2d6;
  --warn: #ffa53d;
  --danger: #ff4d5e;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}


/* Koyu kalan alanlar (uygulama ekranı ve iletişim bandı) için yerel renkler */
.mock, .cta__box {
  --bg: #0a1426;
  --bg-3: #10203a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef2f8;
  --muted: #9aa6b8;
  --dim: #66748a;
  --hl: var(--accent);
  --ghost-bg: rgba(255, 255, 255, 0.04);
  --ghost-hover: rgba(255, 255, 255, 0.4);
  color: var(--text);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
body.is-loading { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

svg:not([fill]) { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 1000;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700;
  transition: top 0.3s;
}
.skip:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(90px, 12vw, 160px) 0; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--hl);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.6; }
.hero .eyebrow::before { display: none; }
.title {
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.title em { color: var(--hl); font-size: 1.08em; }
.lead { color: var(--muted); font-size: clamp(16px, 1.3vw, 18.5px); max-width: 620px; margin-top: 26px; }
.section-head { margin-bottom: clamp(50px, 7vw, 90px); }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.4s;
  isolation: isolate; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(255, 210, 26, 0); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.65) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.9s var(--ease);
}
.btn--primary:hover { box-shadow: 0 10px 40px -8px rgba(255, 210, 26, 0.55); }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--ghost { border: 1px solid var(--line-2); background: var(--ghost-bg); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--ghost-hover); background: var(--surface); }
.btn--ghost svg { width: 18px; height: 18px; }
.btn--ghost:hover svg { transform: none; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 999; background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { display: grid; justify-items: center; gap: 26px; }
.loader__mark { width: 84px; height: auto; opacity: 0; transform: translateY(14px) scale(0.86); animation: emblemIn 0.5s var(--ease) 0.05s forwards; filter: drop-shadow(0 12px 30px rgba(233, 1, 1, 0.25)); }
@keyframes emblemIn { to { opacity: 1; transform: none; } }
.loader__bar { width: 140px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; animation: load 0.6s var(--ease-in-out) forwards; transform: scaleX(0); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes load { to { transform: scaleX(1); } }

/* ---------- Ambient ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-5%, 3%); }
  40% { transform: translate(3%, -6%); }
  60% { transform: translate(-7%, 2%); }
  80% { transform: translate(4%, 5%); }
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(255, 210, 26, 0.16), transparent 60%);
  transform: translate3d(var(--mx, -999px), var(--my, -999px), 0);
  transition: opacity 0.4s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__emblem { height: 44px; width: auto; flex: none; filter: drop-shadow(0 6px 12px rgba(3, 38, 67, 0.2)); transition: transform 0.6s var(--ease); }
.brand:hover .brand__emblem { transform: rotate(-6deg) scale(1.05); }
.brand__word { display: grid; line-height: 1; }
.brand__name { position: relative; font-weight: 800; font-size: 21px; letter-spacing: -0.035em; white-space: nowrap; }
/* Logodaki gibi: İ harfinin noktası kırmızı, eğik bir çizgi */
.brand__i { position: relative; display: inline-block; }
.brand__i::before {
  content: ""; position: absolute; left: 50%; top: -0.2em; width: 0.5em; height: 0.17em; border-radius: 1px;
  background: var(--brand-red); transform: translateX(-38%) skewX(-28deg) rotate(-14deg);
}
.brand__pro {
  display: inline-block; margin-left: 5px; padding: 3px 6px 2px; border-radius: 6px; transform: translateY(-0.55em) rotate(-4deg);
  background: var(--accent); color: var(--accent-ink); font-size: 10px; font-weight: 800; font-style: italic; letter-spacing: 0.02em;
  box-shadow: 0 4px 10px -2px rgba(255, 210, 26, 0.45);
}
.brand__sub {
  display: flex; align-items: center; gap: 6px; margin-top: 5px;
  font-size: 8.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.brand__sub::before, .brand__sub::after { content: ""; flex: 1; min-width: 6px; height: 1.5px; border-radius: 1px; background: var(--brand-red); }
.footer .brand__emblem { height: 60px; }
.footer .brand__name { font-size: 25px; }
.footer .brand__sub { font-size: 9.5px; }
@media (max-width: 640px) {
  .brand__emblem { height: 38px; }
  .brand__name { font-size: 19px; }
  .brand__sub { font-size: 7.5px; letter-spacing: 0.12em; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 90;
  padding: 0 var(--gutter);
  transition: transform 0.6s var(--ease);
}
.nav.is-hidden { transform: translateY(-140%); }
.nav__pill {
  max-width: var(--container); margin: 0 auto; height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 12px 0 22px; border-radius: 999px;
  border: 1px solid transparent; transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
.nav.is-scrolled .nav__pill {
  background: rgba(255, 255, 255, 0.82); border-color: var(--line); box-shadow: var(--shadow);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--muted);
  transition: color 0.3s, background 0.3s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: rgba(3, 38, 67, 0.06); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--text); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 80; background: rgba(245, 247, 251, 0.98); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  clip-path: circle(0 at calc(100% - 50px) 50px); transition: clip-path 0.8s var(--ease);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 50px) 50px); visibility: visible; }
.mobile-menu nav { display: grid; gap: 6px; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 16px; font-size: clamp(36px, 10vw, 56px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.15;
  opacity: 0; transform: translateY(30px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.mobile-menu nav a small { font-family: var(--mono); font-size: 12px; color: var(--hl); letter-spacing: 0.1em; }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: 0.05s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: 0.1s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: 0.15s; }
.menu-open .mobile-menu nav a:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu-open { overflow: hidden; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .hero-in { opacity: 1 !important; transform: none !important; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px 0 100px; overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.7; }
.hero__aurora { position: absolute; inset: 0; pointer-events: none; filter: blur(80px); }
.hero__aurora span { position: absolute; border-radius: 50%; mix-blend-mode: normal; animation: float 18s var(--ease-in-out) infinite alternate; }
.hero__aurora span:nth-child(1) { width: 42vw; height: 42vw; background: rgba(255, 210, 26, 0.32); top: -12vw; right: -6vw; }
.hero__aurora span:nth-child(2) { width: 36vw; height: 36vw; background: rgba(233, 1, 1, 0.07); bottom: -14vw; left: -8vw; animation-delay: -6s; }
.hero__aurora span:nth-child(3) { width: 26vw; height: 26vw; background: rgba(3, 80, 160, 0.1); top: 30%; left: 35%; animation-delay: -12s; }
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(4vw, -3vw) scale(1.1); } 100% { transform: translate(-3vw, 2vw) scale(0.95); } }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 200px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__title {
  font-size: clamp(44px, 6vw, 92px); line-height: 0.98; letter-spacing: -0.05em; font-weight: 600;
}
.hero__title .line { display: block; overflow: hidden; padding: 0.14em 0 0.1em; margin: -0.14em 0 -0.1em; white-space: nowrap; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.hero__title em { color: var(--hl); font-size: 1.1em; padding-right: 0.04em; }
.is-ready .hero__title .line > span { transform: none; }
.is-ready .hero__title .line:nth-child(2) > span { transition-delay: 0.12s; }

.hero-in { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.is-ready .hero-in { opacity: 1; transform: none; }
.is-ready .hero__lead { transition-delay: 0.2s; }
.is-ready .hero__cta { transition-delay: 0.28s; }
.is-ready .hero__chips { transition-delay: 0.36s; }
.is-ready .hero__visual { transition-delay: 0.3s; transition-duration: 1.5s; }

.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 210, 26, 0.6); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(255, 210, 26, 0.55); } 70% { box-shadow: 0 0 0 10px rgba(255, 210, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 210, 26, 0); } }

.hero__lead { margin-top: 30px; max-width: 560px; color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); }
.rotator { display: block; margin-top: 14px; height: 1.6em; overflow: hidden; color: var(--text); font-weight: 600; }
.rotator__track { display: flex; flex-direction: column; animation: rotate 12.5s var(--ease) infinite; }
.rotator__track span { height: 1.6em; display: flex; align-items: center; gap: 10px; }
.rotator__track span::before { content: "→"; color: var(--hl); }
@keyframes rotate {
  0%, 16% { transform: translateY(0); }
  20%, 36% { transform: translateY(-1.6em); }
  40%, 56% { transform: translateY(-3.2em); }
  60%, 76% { transform: translateY(-4.8em); }
  80%, 96% { transform: translateY(-6.4em); }
  100% { transform: translateY(0); }
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; color: var(--muted); font-size: 14px; }
.hero__chips li { display: flex; align-items: center; gap: 8px; }
.hero__chips svg { width: 16px; height: 16px; color: var(--hl); stroke-width: 2.4; }

/* --- Mockup --- */
.hero__visual { position: relative; perspective: 1400px; }
.mock {
  position: relative; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 26, 42, 0.92), rgba(10, 14, 24, 0.95));
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 100px -30px rgba(3, 38, 67, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.02) inset, 0 0 80px -20px rgba(255, 210, 26, 0.18);
  transform: rotateY(calc(var(--ry, 0) * 1deg - 8deg)) rotateX(calc(var(--rx, 0) * 1deg + 4deg));
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease);
}
.mock::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,0.07), transparent 40%); pointer-events: none; z-index: 3; }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.mock__url { margin-left: 12px; font-family: var(--mono); font-size: 11px; color: var(--dim); background: rgba(255,255,255,.04); padding: 4px 12px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__body { display: grid; grid-template-columns: 52px 1fr; min-height: 380px; }
.mock__side { border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 0; }
.mock__side span { width: 22px; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, 0.06); }
.mock__side .mock__logo { background: var(--accent); border-radius: 8px; margin-bottom: 8px; }
.mock__side .is-active { background: rgba(255, 210, 26, 0.2); box-shadow: inset 0 0 0 1px rgba(255, 210, 26, 0.5); }
.mock__main { padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mock__head { display: flex; justify-content: space-between; align-items: center; }
.mock__head small { display: block; font-size: 11px; color: var(--dim); font-family: var(--mono); letter-spacing: 0.05em; }
.mock__head strong { font-size: 15px; font-weight: 600; }
.badge-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--hl); padding: 5px 10px; border-radius: 999px; background: rgba(255, 210, 26, 0.08); border: 1px solid rgba(255, 210, 26, 0.25); }
.badge-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: 0.2; } }

.map { position: relative; flex: 1; min-height: 210px; border-radius: 14px; overflow: hidden; background: radial-gradient(ellipse at 30% 30%, rgba(92, 242, 214, 0.06), transparent 60%), #0b101c; border: 1px solid var(--line); color: #fff; }
.map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__road { fill: none; stroke: rgba(255, 255, 255, 0.09); stroke-width: 7; stroke-linecap: round; }
.map__road.thin { stroke-width: 3; }
.map__route { fill: none; stroke: url(#routeG); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 6 7; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -26; } }
.pin__dot { fill: var(--accent); stroke: #0b101c; stroke-width: 2; }
.pin__pulse { fill: var(--accent); opacity: 0.5; transform-box: fill-box; transform-origin: center; animation: pulse 2.2s var(--d, 0s) infinite var(--ease); }
.pin--warn .pin__dot, .pin--warn .pin__pulse { fill: var(--warn); }
.pin--muted .pin__dot { fill: rgba(255, 255, 255, 0.35); }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(4); opacity: 0; } }
.map__walker { fill: #fff; filter: drop-shadow(0 0 6px var(--accent)); offset-path: path("M70 160 C 110 130, 140 90, 210 80 S 300 120, 330 90"); animation: walk 6s var(--ease-in-out) infinite alternate; }
@keyframes walk { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.map__tag {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -140%);
  font-size: 11px; padding: 5px 10px; border-radius: 8px; white-space: nowrap;
  background: rgba(10, 14, 24, 0.9); border: 1px solid rgba(255, 210, 26, 0.3); color: var(--muted);
  animation: bob 4s var(--ease-in-out) infinite;
}
.map__tag b { color: var(--hl); font-weight: 600; }
.map__tag--warn { border-color: rgba(255, 165, 61, 0.35); animation-delay: -2s; }
.map__tag--warn b { color: var(--warn); }
@keyframes bob { 50% { transform: translate(-50%, -160%); } }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__kpis div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.035); border: 1px solid var(--line); }
.mock__kpis small { display: block; font-size: 10.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock__kpis strong { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.mock__kpis .warn strong { color: var(--warn); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line); backdrop-filter: blur(16px);
  box-shadow: 0 20px 44px -16px rgba(3, 38, 67, 0.35); z-index: 4;
  animation: hover 6s var(--ease-in-out) infinite;
}
.float-card small { display: block; font-size: 11px; color: var(--dim); }
.float-card strong { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.float-card--a { left: -34px; bottom: 70px; }
.float-card--b { right: -20px; top: -24px; animation-delay: -3s; }
@keyframes hover { 50% { transform: translateY(-12px); } }
.ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.ico svg { width: 18px; height: 18px; stroke-width: 2.2; }
.ico--ok { background: rgba(255, 210, 26, 0.28); color: var(--brand-navy); }
.ico--warn { background: rgba(255, 165, 61, 0.14); color: var(--warn); }

.scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--accent); border-radius: 2px; animation: scroll 2s var(--ease) infinite; }
@keyframes scroll { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; padding: 26px 0; border-block: 1px solid var(--line); overflow: hidden; background: var(--bg); z-index: 2; }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-size: clamp(22px, 3vw, 40px); font-weight: 600; letter-spacing: -0.03em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(3, 38, 67, 0.32); transition: color 0.4s; }
.marquee span:hover { color: var(--text); }
.marquee i { font-style: normal; color: var(--hl); font-size: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   PANELS
   ========================================================================== */
.panels__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }

.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; margin: 0 auto; }
.orbit__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit__lines circle { fill: none; stroke: var(--line-2); stroke-width: 1; }
.orbit__lines .dashed { stroke-dasharray: 3 8; stroke: rgba(255, 210, 26, 0.3); animation: spin 60s linear infinite reverse; transform-origin: center; }
.orbit__core {
  position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(circle at 35% 30%, #fff3b0, var(--accent) 45%, #d99a00);
  color: var(--accent-ink); box-shadow: 0 20px 60px -10px rgba(255, 180, 0, 0.6);
}
.orbit__core small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.7; }
.orbit__core strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; }
.orbit__ring { position: absolute; inset: -14px; border-radius: 50%; border: 1px solid rgba(255, 210, 26, 0.4); animation: ring 3s var(--ease) infinite; }
.orbit__ring.r2 { animation-delay: 1.5s; }
@keyframes ring { 0% { transform: scale(0.9); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.orbit__spin { position: absolute; inset: 0; animation: spin 50s linear infinite; }
.orbit:hover .orbit__spin, .orbit:hover .orbit__node span { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit__node {
  position: absolute; left: 50%; top: 50%; width: 19%; aspect-ratio: 1; margin: -9.5% 0 0 -9.5%;
  transform: rotate(var(--a)) translateY(-200%) rotate(calc(var(--a) * -1));
}
.orbit__node span {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
  background: var(--bg-3); border: 1px solid var(--line-2); font-weight: 600; font-size: clamp(12px, 1.1vw, 14px);
  animation: spin 50s linear infinite reverse;
  transition: background 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.orbit__node:hover span { border-color: rgba(255, 210, 26, 0.6); }
.orbit__node.is-active span { background: var(--text); color: var(--bg); border-color: var(--text); box-shadow: 0 10px 30px -6px rgba(3, 38, 67, 0.45); }

.roles__tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 36px; }
.roles__tabs button { padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background 0.35s, color 0.35s; }
.roles__tabs button:hover { color: var(--text); }
.roles__tabs button.is-active { background: var(--accent); color: var(--accent-ink); }
.roles__panes { position: relative; min-height: 360px; }
.role { animation: roleIn 0.7s var(--ease) both; }
.role[hidden] { display: none; }
@keyframes roleIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.role__num { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: 0.1em; }
.role h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.035em; line-height: 1.1; font-weight: 600; margin: 12px 0 18px; }
.role p { color: var(--muted); font-size: 17px; max-width: 520px; }
.role ul { margin-top: 28px; display: grid; gap: 2px; }
.role li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.role li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); flex: none; }

/* ==========================================================================
   STATEMENT
   ========================================================================== */
.statement { position: relative; padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.statement__text { font-size: clamp(28px, 4.2vw, 58px); line-height: 1.15; letter-spacing: -0.035em; font-weight: 500; max-width: 1100px; }
.statement__text em { color: var(--hl); }
.statement__text .w { opacity: 0.14; transition: opacity 0.3s; }
.statement__text .w.on { opacity: 1; }
.no-js .statement__text .w { opacity: 1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); }
.stat { padding: 34px 24px 0 0; border-right: 1px solid var(--line); padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(56px, 7vw, 104px); font-weight: 600; letter-spacing: -0.06em; line-height: 1; background: linear-gradient(180deg, var(--text), rgba(11, 29, 51, 0.45)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { display: block; margin-top: 12px; color: var(--muted); font-size: 15px; }

/* ==========================================================================
   FEATURES (horizontal)
   ========================================================================== */
.features { position: relative; background: var(--bg-2); border-block: 1px solid var(--line); }
.features__pin { padding: clamp(90px, 10vw, 130px) 0 clamp(60px, 7vw, 90px); overflow: hidden; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.features__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.features__meta p { color: var(--muted); max-width: 420px; }
.progress { margin-top: 26px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; max-width: 420px; }
.progress__bar { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.features__viewport { padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); }
.features__track { display: flex; gap: 20px; width: max-content; padding-right: var(--gutter); }

.fgroup {
  position: relative; width: clamp(320px, 31vw, 430px); flex: none; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: 30px; display: flex; flex-direction: column; gap: 4px;
  transition: border-color 0.4s, transform 0.6s var(--ease);
}
.fgroup:hover { border-color: rgba(255, 210, 26, 0.35); }
.fgroup header { display: flex; gap: 16px; padding-bottom: 22px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.fgroup__no { font-family: var(--serif); font-style: italic; font-size: 54px; line-height: 0.8; color: var(--hl); }
.fgroup h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.fgroup header p { color: var(--muted); font-size: 14px; margin-top: 6px; }
.fitem { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.fitem:last-child { border-bottom: 0; }
.fitem h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.fitem p { color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.55; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.tags span { font-family: var(--mono); font-size: 10.5px; padding: 3px 8px; border-radius: 6px; background: rgba(3, 38, 67, 0.04); color: var(--muted); border: 1px solid var(--line); }
.tags span.all { color: var(--hl); border-color: rgba(212, 10, 10, 0.25); background: rgba(212, 10, 10, 0.05); }
.fgroup--end { justify-content: center; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.fgroup--end:hover { border-color: var(--accent); }
.fend .eyebrow { color: var(--accent-ink); }
.fend h3 { font-size: clamp(36px, 3.4vw, 50px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; }
.fend h3 em { font-weight: 400; }
.fend p { margin: 18px 0 30px; opacity: 0.75; }
.fend .btn--primary { background: var(--accent-ink); color: var(--accent); }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.flow { position: relative; }
.flow__line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; }
.flow__track { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 4 8; vector-effect: non-scaling-stroke; }
.flow__draw { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(255, 210, 26, 0.6)); }
.flow__steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.step { text-align: center; display: grid; justify-items: center; }
.step:nth-child(odd) { padding-top: 26px; }
.step:nth-child(even) { padding-top: 46px; }
.step__ico {
  width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--bg-3); border: 1px solid var(--line-2); color: var(--hl);
  box-shadow: 0 0 0 8px var(--bg); transition: transform 0.5s var(--ease), background 0.4s, color 0.4s;
}
.step:hover .step__ico { transform: translateY(-6px) rotate(-6deg); background: var(--accent); color: var(--accent-ink); }
.step__ico svg { width: 26px; height: 26px; }
.step b { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 190px; }

/* ==========================================================================
   WHY — bento
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  --sx: 50%; --sy: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px;
  background: var(--surface); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 260px;
  transition: border-color 0.4s, transform 0.6s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--sx) var(--sy), rgba(255, 210, 26, 0.16), transparent 45%);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(300px circle at var(--sx) var(--sy), rgba(240, 170, 0, 0.9), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card__tag { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hl); margin-bottom: 12px; }
.card h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.card p { color: var(--muted); font-size: 15px; margin-top: 10px; }
.card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 210, 26, 0.2); border: 1px solid rgba(255, 190, 0, 0.35); color: var(--hl); transition: transform 0.6s var(--ease); }
.card:hover .card__icon { transform: rotate(-8deg) scale(1.06); }
.card__icon svg { width: 24px; height: 24px; }

.card--ai { grid-column: span 2; grid-row: span 2; }
.card--data { grid-column: span 2; }
.card--alert { grid-column: span 2; }
.card--wide { grid-column: span 4; min-height: 0; display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 30px; }

.ai-visual { flex: 1; display: grid; place-items: center; position: relative; min-height: 240px; }
.matrix { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; width: min(280px, 80%); transform: perspective(700px) rotateX(30deg) rotateZ(-10deg); }
.matrix i {
  aspect-ratio: 1; border-radius: 8px;
  background: color-mix(in srgb, var(--accent) calc(var(--c) * 16%), rgba(255, 90, 80, calc((var(--c) - 3) * 0.35)));
  opacity: 0.25; animation: cell 4s var(--ease-in-out) infinite; animation-delay: calc(var(--c) * 0.25s);
}
.matrix i:nth-child(n + 15) { background: rgba(255, 120, 70, 0.75); }
.matrix i:nth-child(25), .matrix i:nth-child(24), .matrix i:nth-child(20) { background: var(--danger); }
@keyframes cell { 0%, 100% { opacity: 0.22; transform: translateZ(0); } 50% { opacity: 0.95; transform: translateZ(14px); } }
.ai-chip {
  position: absolute; bottom: 10px; left: 4%; right: 4%; text-align: center;
  font-size: 13px; color: var(--muted); padding: 10px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.95); border: 1px solid rgba(255, 190, 0, 0.5); backdrop-filter: blur(10px); box-shadow: var(--shadow);
  animation: hover 5s var(--ease-in-out) infinite;
}
.ai-chip b { color: var(--text); font-weight: 600; }
.spark { color: var(--hl); display: inline-block; animation: spin 4s linear infinite; }

.sync-visual { position: relative; height: 110px; }
.sync__core { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 30px var(--accent); }
.sync__n {
  position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--text);
  transform: rotate(calc(var(--i) * 72deg)) translateX(var(--r, 80px));
  --r: clamp(60px, 12vw, 130px);
}
.sync__n::after {
  content: ""; position: absolute; right: 100%; top: 50%; height: 1px; width: var(--r); background: linear-gradient(90deg, var(--accent), transparent);
  transform-origin: right; animation: syncline 2.5s var(--ease) infinite; animation-delay: calc(var(--i) * 0.2s);
}
@keyframes syncline { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }

.alerts-visual { display: grid; gap: 8px; }
.alert-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; transform: translateX(0); transition: transform 0.5s var(--ease); }
.card--alert:hover .alert-row:nth-child(1) { transform: translateX(6px); }
.card--alert:hover .alert-row:nth-child(2) { transform: translateX(12px); transition-delay: 0.05s; }
.card--alert:hover .alert-row:nth-child(3) { transform: translateX(18px); transition-delay: 0.1s; }
.alert-row i { width: 8px; height: 8px; border-radius: 50%; }
.alert-row i.r { background: var(--danger); box-shadow: 0 0 10px var(--danger); animation: blink 1.2s infinite; }
.alert-row i.y { background: var(--warn); }
.alert-row i.g { background: var(--accent); }
.alert-row b { font-family: var(--mono); font-size: 11.5px; font-weight: 500; color: var(--muted); }
.alert-row:first-child b { color: var(--danger); }

.mini-marquee { overflow: hidden; margin: 0 -28px 0 0; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.mini-marquee div { display: flex; gap: 10px; width: max-content; animation: marquee 22s linear infinite; }
.mini-marquee span { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); white-space: nowrap; }
.mini-marquee span:nth-child(3n) { color: var(--hl); border-color: rgba(255, 210, 26, 0.3); }

/* ==========================================================================
   OUTCOMES
   ========================================================================== */
.outcomes { padding-top: 0; }
.outcome-list { border-top: 1px solid var(--line); }
.outcome-list li {
  position: relative; display: grid; grid-template-columns: 80px 1.6fr 1fr; align-items: center; gap: 24px;
  padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); overflow: hidden;
}
.outcome-list li::before {
  content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); z-index: -1;
}
.outcome-list li:hover::before { transform: scaleY(1); }
.outcome-list li > * { transition: color 0.4s, transform 0.6s var(--ease); }
.outcome-list li:hover > * { color: var(--accent-ink); }
.outcome-list li:hover h3 { transform: translateX(16px); }
.outcome-list span { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.outcome-list h3 { font-size: clamp(26px, 3.4vw, 46px); letter-spacing: -0.04em; font-weight: 600; line-height: 1.1; }
.outcome-list p { color: var(--muted); font-size: 16px; justify-self: end; text-align: right; }
.outcome-list { position: relative; z-index: 0; }
.outcome-list li { isolation: isolate; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { padding-bottom: clamp(60px, 8vw, 100px); }
.cta__box {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(50px, 8vw, 110px) clamp(24px, 6vw, 80px);
  text-align: center; background: linear-gradient(160deg, #10284a, #061629); border: 1px solid var(--line); box-shadow: 0 40px 90px -40px rgba(3, 38, 67, 0.6);
}
.cta__glow { position: absolute; left: 50%; top: 100%; width: 900px; height: 600px; transform: translate(-50%, -45%); background: radial-gradient(ellipse, rgba(255, 210, 26, 0.28), transparent 60%); filter: blur(30px); animation: glow 6s var(--ease-in-out) infinite alternate; }
@keyframes glow { to { transform: translate(-50%, -55%) scale(1.15); opacity: 0.8; } }
.cta__box::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); opacity: 0.5; }
.cta__box > *:not(.cta__glow) { position: relative; }
.cta h2 { font-size: clamp(32px, 5vw, 66px); letter-spacing: -0.04em; line-height: 1.04; font-weight: 600; max-width: 900px; margin: 0 auto; }
.cta h2 em { color: var(--hl); }
.cta p { color: var(--muted); font-size: 18px; margin: 24px auto 0; max-width: 560px; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { padding-top: clamp(60px, 8vw, 100px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.cinfo { margin-top: 44px; display: grid; gap: 10px; }
.cinfo a, .cinfo div { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); transition: border-color 0.3s, background 0.3s, transform 0.5s var(--ease); }
.cinfo a:hover { border-color: rgba(255, 210, 26, 0.35); background: var(--surface-2); transform: translateX(6px); }
.cinfo small { display: block; font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.08em; text-transform: uppercase; }
.cinfo__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(255, 210, 26, 0.22); color: var(--brand-navy); }
.cinfo__ico svg { width: 20px; height: 20px; }

.form { padding: clamp(26px, 4vw, 44px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 80px -40px rgba(3, 38, 67, 0.35); }
.form h3 { font-size: 26px; letter-spacing: -0.03em; font-weight: 700; }
.form__sub { color: var(--muted); font-size: 15px; margin: 6px 0 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { position: relative; display: block; margin-bottom: 12px; }
.field input, .field textarea {
  width: 100%; padding: 24px 16px 10px; border-radius: 14px; font: inherit; font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); outline: none; resize: vertical;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { min-height: 120px; }
.field span { position: absolute; left: 17px; top: 17px; color: var(--dim); font-size: 15px; pointer-events: none; transition: transform 0.3s var(--ease), font-size 0.3s, color 0.3s; transform-origin: left; }
.field input:focus, .field textarea:focus { border-color: var(--brand-navy); background: var(--surface); box-shadow: 0 0 0 4px rgba(255, 210, 26, 0.35); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { transform: translateY(-10px); font-size: 11.5px; color: var(--hl); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--danger); }
.chips { border: 0; padding: 0; margin: 6px 0 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips legend { font-size: 13px; color: var(--muted); margin-bottom: 10px; padding: 0; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); transition: all 0.3s; }
.chips input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 22px; cursor: pointer; }
.consent input { appearance: none; width: 20px; height: 20px; flex: none; border-radius: 6px; border: 1px solid var(--line-2); margin: 1px 0 0; background: var(--bg); display: grid; place-items: center; cursor: pointer; transition: all 0.3s; }
.consent input:checked { background: var(--accent); border-color: var(--accent); }
.consent input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink); transform: rotate(-45deg) translate(1px, -1px); }
.consent.is-invalid input { border-color: var(--danger); }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.form__status { margin-top: 14px; font-size: 14px; min-height: 1.4em; text-align: center; color: #15803d; }
.form__status.err { color: var(--danger); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; padding-top: 40px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__big {
  font-size: clamp(56px, 14.5vw, 196px); font-weight: 800; letter-spacing: -0.07em; line-height: 0.8;
  text-align: center; margin: 20px 0 clamp(40px, 6vw, 80px); white-space: nowrap;
  background: linear-gradient(180deg, rgba(3, 38, 67, 0.1), rgba(3, 38, 67, 0)); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer__brand p { color: var(--muted); font-size: 14.5px; margin: 18px 0 22px; max-width: 340px; }
.footer h3 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.footer__grid > div > a:not(.brand):not(.social) { display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color 0.3s, transform 0.3s var(--ease); }
.footer__grid > div > a:not(.brand):not(.social):hover { color: var(--hl); transform: translateX(4px); }
.footer__grid > div > p { color: var(--muted); font-size: 14.5px; margin-top: 5px; }
.social { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); transition: all 0.3s; }
.social:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px 0 32px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }
.to-top { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text); transition: all 0.3s; }
.to-top:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: translateY(-4px); }
.to-top svg { width: 18px; height: 18px; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 40px -10px rgba(37, 211, 102, 0.6);
  transform: scale(0); transition: transform 0.6s var(--ease);
}
.wa-float.show { transform: scale(1); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .burger { display: inline-block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: left; }
  .hero__visual { max-width: 640px; margin: 30px auto 0; width: 100%; }
  .float-card--a { left: -10px; }
  .float-card--b { right: -6px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--ai { grid-row: auto; }
  .card--wide { grid-column: span 2; grid-template-columns: 1fr; }
  .mini-marquee { margin: 0 -28px; }
  .flow__steps { grid-template-columns: repeat(3, 1fr); row-gap: 50px; }
  .flow__line { display: none; }
  .step:nth-child(n) { padding-top: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .panels__wrap { grid-template-columns: 1fr; }
  .orbit { max-width: 400px; }
  .features__head { grid-template-columns: 1fr; }
  .features__pin { min-height: 0; }
  .features__viewport { padding-left: 0; }
  .features__track { flex-direction: column; width: auto; padding: 0 var(--gutter); }
  .fgroup { width: 100%; }
  .progress { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 30px 20px 30px 20px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(2) { border-right: 0; }
  .outcome-list li { grid-template-columns: 50px 1fr; }
  .outcome-list p { grid-column: 2; justify-self: start; text-align: left; margin-top: -12px; }
}

@media (max-width: 640px) {
  .nav { top: 10px; }
  .nav__pill { height: 58px; padding: 0 8px 0 16px; }
  .nav__actions .btn { display: none; }
  .hero { padding-top: 110px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .mock { transform: none !important; }
  .mock__body { grid-template-columns: 1fr; min-height: 0; }
  .mock__side { display: none; }
  .mock__kpis strong { font-size: 18px; }
  .float-card { position: relative; left: auto; right: auto; top: auto; bottom: auto; margin-top: 12px; }
  .float-card--b { display: none; }
  .scroll-hint { display: none; }
  .bento { grid-template-columns: 1fr; }
  .card { min-height: 0; gap: 22px; }
  .card--ai, .card--data, .card--alert, .card--wide { grid-column: auto; }
  .flow__steps { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .roles__tabs button { padding: 8px 13px; font-size: 13px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal, .hero-in { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .statement__text .w { opacity: 1; }
  .rotator__track { animation: none; }
  .grain { display: none; }
}

/* ---------- No-JS fallbacks ---------- */
.no-js .loader { display: none; }
.no-js .hero__title .line > span { transform: none; }

/* Grid çocukları içerikleri yüzünden taşmasın */
.hero__grid > *, .panels__wrap > *, .contact__grid > *, .features__head > *, .bento > * { min-width: 0; }

/* Sabitlenen özellik bölümü tek ekrana sığsın */
@media (min-width: 901px) {
  .features__pin { padding: 96px 0 36px; }
  .features__head { grid-template-columns: 1.5fr 1fr; margin-bottom: 32px; }
  .features__head .title { font-size: clamp(34px, 3.9vw, 56px); }
  .features__head .eyebrow { margin-bottom: 14px; }
  .fgroup { padding: 24px 26px; }
  .fgroup header { padding-bottom: 16px; margin-bottom: 2px; }
  .fitem { padding: 12px 0; }
  .tags { margin-top: 8px; }
}
@media (min-width: 901px) and (max-height: 780px) {
  .fitem p { display: none; }
}

/* OSGB merkezde: çekirdek tıklanabilir, aktifken halka belirginleşir */
button.orbit__core { border: 0; cursor: pointer; font: inherit; z-index: 2; transition: transform 0.5s var(--ease), box-shadow 0.5s; }
button.orbit__core:hover { transform: translate(-50%, -50%) scale(1.04); }
.orbit__core.is-active { box-shadow: 0 0 0 6px rgba(255, 210, 26, 0.35), 0 20px 60px -10px rgba(255, 180, 0, 0.6); }
.orbit__core strong { font-family: var(--font); font-style: normal; font-weight: 800; letter-spacing: -0.03em; font-size: clamp(24px, 2.6vw, 34px); }
.role__badge {
  display: inline-flex; align-items: center; gap: 8px; margin: -6px 0 16px; padding: 5px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: var(--brand-navy); background: rgba(255, 210, 26, 0.3); border: 1px solid rgba(240, 180, 0, 0.45);
}
.role__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hl); }
.section-head .lead + .lead { margin-top: 14px; }

/* ---------- Sayfalar arası geçiş (destekleyen tarayıcılarda; diğerlerinde etkisiz) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.28s var(--ease-in-out) both vt-out; }
::view-transition-new(root) { animation: 0.5s var(--ease) 0.06s both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
