/* ==========================================================================
   Isletio landing demo · site.css
   Tokens first, then sections in page order, then the mobile composition.
   The engine stylesheet (scrollcraft.css) is the floor; nothing here edits it.
   ========================================================================== */

@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url(../fonts/schibsted-grotesk-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-display: swap; font-weight: 400 900;
  src: url(../fonts/schibsted-grotesk-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/geist-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Geist"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/geist-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/geist-mono-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/geist-mono-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ------------------------------------------------------------------ tokens */
:root {
  /* Brand: navy #07111F (live site), paper #F4F7FB, brand blue from the mark. */
  --navy: #07111F;
  --navy-2: #0C1A2E;
  --paper: #F4F7FB;
  --white: #FFFFFF;
  --blue: #1747E6;          /* accent + peak ground; white text 6.8:1 */
  --blue-deep: #1238BD;
  --blue-on-dark: #5E86FF;  /* links/marks on navy; 5.7:1 */
  --live: #00B8E6;          /* status dot only */

  --ink-light: #07111F;
  --soft-light: #4B5B73;
  --line-light: #DCE3EE;
  --soft-dark: #9DB0C9;
  --line-dark: rgba(255, 255, 255, 0.12);
  --soft-blue: #D3DEFF;

  --sc-canvas: #07111F;
  --sc-surface: #0C1A2E;
  --sc-ink: #FFFFFF;
  --sc-ink-soft: #9DB0C9;
  --sc-accent: #1747E6;
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Schibsted Grotesk", "Geist", system-ui, sans-serif;
  --sc-font-text: "Geist", system-ui, sans-serif;
  /* Mono font kullanılmıyor: küçük etiketler de metin fontuyla (Geist) yazılır. */
  --sc-font-mono: "Geist", system-ui, sans-serif;
  --sc-shadow-color: 218 64% 8%;
  --sc-maxw: 84rem;

  --nav-h: 76px;
  --r-card: 28px;
  --r-ui: 14px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);

  --shadow-panel:
    0 2px 4px hsl(218 64% 8% / 0.10),
    0 18px 40px -12px hsl(218 64% 8% / 0.28),
    0 60px 120px -40px hsl(218 64% 8% / 0.40);
  --shadow-card:
    0 1px 2px hsl(218 50% 20% / 0.06),
    0 20px 50px -24px hsl(218 50% 20% / 0.22);
}

html.lenis, html.lenis body { height: auto; }
.lenis-smooth { scroll-behavior: auto !important; }
.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--sc-font-text);
  background: var(--sc-canvas);
  transition: none;
}
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-on-dark); outline-offset: 3px; border-radius: 6px; }
[data-ground="light"] :focus-visible { outline-color: var(--blue); }
[data-ground="blue"] :focus-visible { outline-color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: #fff; color: var(--navy); padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--sc-maxw); margin-inline: auto; padding-inline: var(--sc-gutter); }

/* grounds re-ink their subtree (color is inherited as a computed value) */
[data-ground="dark"]  { color: #fff; --soft: var(--soft-dark); --line: var(--line-dark); }
[data-ground="light"] { color: var(--ink-light); --soft: var(--soft-light); --line: var(--line-light); }
[data-ground="blue"]  { color: #fff; --soft: var(--soft-blue); --line: rgba(255,255,255,0.2); }

/* ------------------------------------------------------------- type scale */
h1, h2, h3, p { margin: 0; }
.h2 {
  font-family: var(--sc-font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 1.3rem + 3.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.042em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--sc-font-display);
  font-weight: 650;
  font-size: clamp(1.7rem, 1.2rem + 1.5vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.lede { color: var(--soft); font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.25rem); line-height: 1.55; max-width: 44ch; text-wrap: pretty; }
.soft { color: var(--soft); }
.eyebrow { font-family: var(--sc-font-text); font-size: 0.95rem; font-weight: 520; letter-spacing: -0.005em; color: var(--soft); }
[data-ground="dark"] .lede, [data-ground="blue"] .lede { letter-spacing: 0.002em; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --bh: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: var(--bh); padding: 0 24px;
  border-radius: 14px;
  font-weight: 560; font-size: 1rem; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease), transform 160ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--sm { --bh: 42px; padding: 0 16px; font-size: 0.92rem; border-radius: 11px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #E6ECFF; }
.btn--ghost { color: inherit; border-color: color-mix(in oklab, currentColor 26%, transparent); }
.btn--ghost:hover { background: color-mix(in oklab, currentColor 8%, transparent); border-color: color-mix(in oklab, currentColor 40%, transparent); }
.btn__arrow {
  width: 16px; height: 12px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M0 6h14M9 1l5 5-5 5' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M0 6h14M9 1l5 5-5 5' fill='none' stroke='black' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 260ms var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.link {
  color: inherit; text-decoration: none; padding-block: 10px;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 100% 1px no-repeat;
  transition: background-size 320ms var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% calc(100% - 6px); }

/* ------------------------------------------------------------------- nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  padding-top: 14px;
  transition: transform 520ms var(--ease);
  pointer-events: none;
}
.nav[data-hidden="true"] { transform: translateY(-130%); }
.nav__inner {
  pointer-events: auto;
  max-width: calc(var(--sc-maxw) - 2 * var(--sc-gutter) + 32px);
  width: calc(100% - 2 * var(--sc-gutter) + 32px);
  margin-inline: auto;
  height: 60px;
  display: flex; align-items: center; gap: 24px;
  padding: 0 10px 0 16px;
  border-radius: 18px;
  border: 1px solid transparent;
  transition: background-color 360ms var(--ease), border-color 360ms var(--ease), box-shadow 360ms var(--ease);
}
.nav[data-scrolled="true"] .nav__inner { backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.nav[data-scrolled="true"][data-theme="dark"] .nav__inner,
.nav[data-scrolled="true"][data-theme="blue"] .nav__inner { background: rgba(7, 17, 31, 0.78); border-color: rgba(255, 255, 255, 0.08); }
.nav[data-scrolled="true"][data-theme="light"] .nav__inner { background: rgba(255, 255, 255, 0.82); border-color: rgba(7, 17, 31, 0.08); box-shadow: 0 10px 30px -18px hsl(218 50% 20% / 0.3); }

.nav__brand { position: relative; display: block; width: 116px; height: 31px; flex: none; }
.nav__logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 300ms var(--ease); }
.nav__logo--dark { opacity: 0; }
.nav[data-scrolled="true"][data-theme="light"] .nav__logo--dark { opacity: 1; }
.nav[data-scrolled="true"][data-theme="light"] .nav__logo--light { opacity: 0; }

.nav__links { display: flex; gap: 6px; margin-left: 12px; }
.nav__links a, .nav__login {
  color: rgba(255, 255, 255, 0.74); text-decoration: none; font-size: 0.95rem;
  padding: 10px 12px; border-radius: 10px;
  transition: color 200ms var(--ease), background-color 200ms var(--ease);
}
.nav__links a:hover, .nav__login:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav[data-scrolled="true"][data-theme="light"] :is(.nav__links a, .nav__login) { color: var(--soft-light); }
.nav[data-scrolled="true"][data-theme="light"] :is(.nav__links a, .nav__login):hover { color: var(--navy); background: rgba(7, 17, 31, 0.05); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__toggle { display: none; }

/* mobile sheet */
.sheet {
  position: fixed; inset: 0; z-index: 79;
  background: var(--navy); color: #fff;
  padding: calc(var(--nav-h) + 32px) var(--sc-gutter) calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transform: translateY(-12px);
  transition: opacity 320ms var(--ease), transform 420ms var(--ease);
}
.sheet[hidden] { display: none; }
.sheet:not(.is-open) { pointer-events: none; }
.sheet.is-open { opacity: 1; transform: none; }
.sheet__links { display: flex; flex-direction: column; }
.sheet__links a {
  font-family: var(--sc-font-display); font-weight: 650; font-size: 2.4rem; letter-spacing: -0.035em;
  color: #fff; text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line-dark);
}
.sheet__foot { display: grid; gap: 10px; }
.sheet__ig { color: var(--soft-dark); text-align: center; padding: 14px 0; text-decoration: none; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding-top: calc(var(--nav-h) + clamp(48px, 9vh, 110px)); z-index: 2; overflow-x: clip; }

/* crossfade between light and dark grounds (driven from main.js) */
main > section > * { opacity: var(--vis, 1); }
.hero__mark {
  position: absolute; z-index: 0; pointer-events: none;
  width: min(74vw, 1180px); height: auto;
  right: -14vw; top: 6vh;
  opacity: 0.075;
  filter: saturate(0.6);
  will-change: transform;
}
.hero__wrap { position: relative; z-index: 1; }
.hero__copy { max-width: 52rem; }
.hero__title {
  font-family: var(--sc-font-display);
  font-weight: 700;
  font-size: clamp(3.1rem, 1.1rem + 6.6vw, 8.2rem);
  line-height: 0.9;
  letter-spacing: -0.052em;
  margin: 22px 0 30px;
}
.line { display: block; overflow: hidden; padding: 0.2em 0 0.08em; margin: -0.2em 0 -0.08em; }
.line > span { display: inline-block; }
.hero__lede { color: var(--soft); font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem); line-height: 1.55; max-width: 36ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

.hero__panel {
  position: absolute; z-index: 3;
  right: var(--sc-gutter); top: 76vh; top: 76svh;
  width: min(58vw, 940px);
  will-change: transform;
}

/* entrance: once, on load */
.js [data-enter] { opacity: 0; transform: translateY(26px); }
.js .line > [data-enter] { opacity: 1; transform: translateY(135%); }
.js .hero__panel-in[data-enter] { transform: translateY(60px); }
.is-loaded [data-enter] {
  opacity: 1; transform: none;
  transition: transform 1100ms var(--ease) calc(120ms + var(--d) * 85ms), opacity 900ms var(--ease) calc(120ms + var(--d) * 85ms);
}
.is-loaded .line > [data-enter] { transform: none; }
.is-loaded .hero__panel-in[data-enter] { transform: none; transition-duration: 1400ms, 1000ms; }

/* ----------------------------------------------------------------- panel */
.panel {
  display: grid; grid-template-columns: 196px minmax(0, 1fr);
  background: #fff; color: var(--ink-light);
  border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-panel);
  font-size: 14px; line-height: 1.4;
  --soft: var(--soft-light);
  text-align: left;
}
.panel__side { background: #F2F5FA; border-right: 1px solid #E4EAF2; padding: 20px 12px; }
.panel__biz { display: flex; align-items: center; gap: 10px; padding: 0 8px; font-weight: 620; font-size: 13px; margin-bottom: 22px; min-height: 22px; }
.panel__biz img { width: 30px; height: auto; flex: none; }
.panel__nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.panel__nav li { padding: 9px 10px; border-radius: 10px; color: var(--soft-light); white-space: nowrap; }
.panel__nav li.is-on { background: #fff; color: var(--navy); font-weight: 600; box-shadow: 0 1px 2px hsl(218 50% 20% / 0.08), 0 4px 10px -4px hsl(218 50% 20% / 0.12); }
.panel__main { padding: 22px 24px 20px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.panel__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.panel__kicker { font-size: 12px; color: var(--soft-light); margin-bottom: 4px; }
.panel__title { font-family: var(--sc-font-display); font-size: 23px; font-weight: 650; letter-spacing: -0.025em; line-height: 1.1; }
.panel__badge { flex: none; font-family: var(--sc-font-mono); font-size: 11px; padding: 4px 9px; border: 1px solid var(--line-light); border-radius: 99px; color: var(--soft-light); white-space: nowrap; }
.panel__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 12px; }
.w { border: 1px solid #E4EAF2; border-radius: var(--r-ui); padding: 14px 16px; background: #fff; min-width: 0; }
.w--list { grid-row: span 2; }
.w__label { font-size: 12px; color: var(--soft-light); margin-bottom: 8px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid #EEF2F7; }
.rows li:first-child { border-top: 0; }
.rows b { font-family: var(--sc-font-mono); font-weight: 500; font-size: 12px; color: var(--soft-light); white-space: nowrap; }
.rows span { font-weight: 560; min-width: 0; overflow-wrap: break-word; }
.rows em { font-style: normal; font-size: 12px; color: var(--blue); background: #EDF2FF; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.w__value { font-family: var(--sc-font-display); font-size: 28px; font-weight: 680; letter-spacing: -0.03em; line-height: 1.05; }
.w__note { font-size: 12px; color: var(--soft-light); margin-top: 2px; }
.w__text { font-weight: 560; text-wrap: balance; }
.bars { display: flex; gap: 6px; align-items: flex-end; height: 40px; margin-top: 12px; }
.bars i { flex: 1; height: 100%; border-radius: 4px; background: #DCE5FF; transform: scaleY(var(--h)); transform-origin: 50% 100%; transition: transform 700ms var(--ease); }
.bars i:last-child { background: var(--blue); }
.panel__foot { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--soft-light); }
.panel__foot i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px #DDF6FD; flex: none; }

.panel--large { font-size: 15px; }
.panel--large .panel__title { font-size: 28px; }
.panel--large .panel__main { padding: 26px 28px 24px; gap: 18px; }
.panel--large .w__value { font-size: 32px; }

/* roll: the sector rewrite (signature) */
.roll { display: inline-grid; overflow: hidden; vertical-align: bottom; max-width: 100%; }
.roll > span { grid-area: 1 / 1; white-space: inherit; min-width: 0; }
.panel__head > div { min-width: 0; }

/* --------------------------------------------------------------- problem */
.problem { position: relative; z-index: 1; }
.problem__stage { display: block; }
.problem__wrap { position: relative; height: 100%; }
.problem__head { position: absolute; top: calc(var(--nav-h) + 9vh); left: var(--sc-gutter); max-width: 34rem; }
.problem__head .lede { margin-top: 22px; max-width: 34ch; }

.problem {
  --e: clamp(0, (var(--sc-p, 0) - 0.14) / 0.44, 1);
  --ee: calc(var(--e) * var(--e) * (3 - 2 * var(--e)));
  --m: clamp(0, (var(--sc-p, 0) - 0.5) / 0.18, 1);
}
.problem__tags { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; pointer-events: none; }
.problem__tags li {
  position: absolute; left: 50%; top: 50%;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 20px 12px 12px;
  background: #fff; color: var(--ink-light);
  border: 1px solid var(--line-light); border-radius: 18px;
  white-space: nowrap; text-align: left;
  box-shadow: var(--shadow-card);
  transform:
    translate(-50%, -50%)
    translate(calc(var(--x) * (1 - var(--ee))), calc(var(--y) * (1 - var(--ee))))
    rotate(calc(var(--r, 0deg) * (1 - var(--ee))))
    scale(calc(1 - 0.6 * var(--ee)));
  opacity: calc(1 - var(--ee) * 1.08);
  will-change: transform, opacity;
}
.problem__tags li > span { display: grid; gap: 2px; }
.problem__tags b { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.problem__tags small { font-size: 0.82rem; color: var(--soft-light); }
/* Her araç kendi rengiyle: dağınıklık; birleşince tek marka rengi kalır. */
.tag__ic {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  background: var(--tb, #EEF2F8); position: relative;
}
.tag__ic::before {
  content: ""; position: absolute; inset: 11px; background: var(--tf, var(--soft-light));
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat;
}
[data-ic="site"]  { --tb: #E8EEFF; --tf: #1747E6; --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Cpath d='M3 9h18M7 6.5h.01M10 6.5h.01'/%3E%3C/svg%3E"); }
[data-ic="chat"]  { --tb: #E2F6EA; --tf: #17914F; --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11.5a8.5 8.5 0 0 1-12.4 7.6L3.5 20.5l1.4-4.4A8.5 8.5 0 1 1 20.5 11.5z'/%3E%3C/svg%3E"); }
[data-ic="cal"]   { --tb: #FFF1DB; --tf: #B86E00; --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2.5'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
[data-ic="table"] { --tb: #E0F4EF; --tf: #0F7A64; --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Cpath d='M3 9.5h18M3 14.5h18M9.5 4v16'/%3E%3C/svg%3E"); }
[data-ic="qr"]    { --tb: #EEE9FF; --tf: #6243D1; --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='6' height='6' rx='1'/%3E%3Crect x='14' y='4' width='6' height='6' rx='1'/%3E%3Crect x='4' y='14' width='6' height='6' rx='1'/%3E%3Cpath d='M14 14h2v2M20 14v.01M14 20h.01M17 17v3h3'/%3E%3C/svg%3E"); }
[data-ic="star"]  { --tb: #FFF5D6; --tf: #A87A00; --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 2.7 5.6 6.1.9-4.4 4.3 1 6.1L12 17l-5.4 2.9 1-6.1-4.4-4.3 6.1-.9z'/%3E%3C/svg%3E"); }
[data-ic="chart"] { --tb: #DFF4FB; --tf: #00809F; --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20h18M6 16v-5M11 16V6M16 16v-8'/%3E%3C/svg%3E"); }

/* Dar veya alçak masaüstü ekranlarda kartlar biraz küçülür, üst üste binmesin. */
@media (max-width: 1180px), (max-height: 800px) {
  .problem__tags li { gap: 11px; padding: 9px 16px 9px 9px; border-radius: 15px; }
  .problem__tags b { font-size: 0.92rem; }
  .problem__tags small { font-size: 0.76rem; }
  .tag__ic { width: 36px; height: 36px; border-radius: 10px; }
  .tag__ic::before { inset: 9px; }
}

.problem__one {
  position: absolute; left: 50%; top: 46%;
  width: clamp(120px, 13vw, 200px);
  transform: translate(-50%, -50%) scale(calc(0.7 + 0.3 * var(--m)));
  opacity: var(--m);
}
.problem__one img { width: 100%; height: auto; }
.problem__resolve { position: absolute; left: 0; right: 0; top: calc(46% + clamp(80px, 9vw, 130px)); text-align: center; padding-inline: var(--sc-gutter); }
.problem__resolve .lede { margin: 18px auto 0; }

/* ---------------------------------------------------------------- modules */
.modules { position: relative; padding: calc(var(--sc-section) * 0.9) 0 var(--sc-section); }
.section-head { margin-bottom: clamp(40px, 6vh, 72px); max-width: 48rem; }
.deck { list-style: none; margin: 0; padding: 0; }
.deck__item { position: sticky; top: calc(var(--nav-h) + 18px + var(--i) * 14px); margin-bottom: 7vh; }
.deck__item:last-child { margin-bottom: 0; }
.mod {
  --q: 0;
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(32px, 4vw, 72px); align-items: center;
  min-height: min(74vh, 640px);
  padding: clamp(32px, 4vw, 60px);
  background: #fff; color: var(--ink-light);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  transform: scale(calc(1 - var(--q) * 0.05));
  transform-origin: 50% 0;
  overflow: hidden;
  --soft: var(--soft-light);
}
.mod::after { content: ""; position: absolute; inset: 0; background: var(--navy); opacity: calc(var(--q) * 0.08); pointer-events: none; border-radius: inherit; }
.mod__name { font-family: var(--sc-font-mono); font-size: 0.85rem; color: var(--blue); margin-bottom: 18px; }
.mod__copy .h3 { margin-bottom: 18px; max-width: 16ch; }
.mod__copy > p:not(.mod__name):not(.status) { color: var(--soft); max-width: 42ch; line-height: 1.6; }
.mod__visual { min-width: 0; }

.status { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-family: var(--sc-font-mono); font-size: 0.8rem; color: var(--soft); }
.status + .status { margin-top: 10px; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.status--live::before { background: var(--live); box-shadow: 0 0 0 3px color-mix(in oklab, var(--live) 22%, transparent); }
.status--dev::before { border: 1.5px solid currentColor; }

.chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 0.88rem; padding: 7px 12px; border-radius: 99px; border: 1px solid var(--line); }

/* web: browser */
.browser { border: 1px solid var(--line-light); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow-card); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid #EEF2F7; background: #FAFBFD; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #DCE3EE; }
.browser__bar span { margin-left: 12px; font-family: var(--sc-font-mono); font-size: 12px; color: var(--soft-light); background: #EEF2F7; padding: 4px 12px; border-radius: 8px; }
.browser__body { position: relative; padding: 34px 32px 40px; min-height: 340px; background: linear-gradient(#F4F7FB, #F4F7FB) 0 0 / 100% 100%; }
.site__brand { font-weight: 650; font-size: 14px; margin-bottom: 36px; }
.site__title { font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(1.6rem, 1rem + 1.4vw, 2.3rem); letter-spacing: -0.035em; line-height: 1; margin-bottom: 24px; max-width: 11ch; }
.site__row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.site__row span { font-size: 12px; padding: 6px 10px; border-radius: 8px; background: #fff; border: 1px solid #E4EAF2; }
.site__cta { display: inline-block; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; padding: 10px 16px; border-radius: 10px; }
.site__phone { position: absolute; right: 28px; bottom: -40px; width: 168px; padding: 10px; border-radius: 26px; background: var(--navy); box-shadow: var(--shadow-panel); }
.site__phone-in { background: #fff; border-radius: 18px; padding: 16px 12px 40px; display: grid; gap: 7px; }
.site__phone-in p { font-weight: 650; font-size: 13px; margin-bottom: 4px; }
.site__phone-in span { font-size: 12px; padding: 8px 10px; border-radius: 9px; border: 1px solid #E4EAF2; }
.site__phone-in span.is-on { background: var(--blue); color: #fff; border-color: var(--blue); }

/* connect: chat */
.chat { max-width: 440px; margin-inline: auto; border-radius: 24px; overflow: hidden; background: #EEF2F8; border: 1px solid var(--line-light); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border-bottom: 1px solid #E4EAF2; }
.chat__head p { font-weight: 620; font-size: 14px; }
.chat__head small { color: var(--soft-light); font-size: 12px; }
.chat__avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }
.chat__body { padding: 22px 16px 26px; display: grid; gap: 10px; }
.msg { max-width: 82%; padding: 11px 14px 20px; border-radius: 16px; font-size: 14px; line-height: 1.45; position: relative; }
.msg small { position: absolute; right: 12px; bottom: 5px; font-size: 10px; opacity: 0.7; }
.msg--out { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.msg--in { justify-self: start; background: #fff; border-bottom-left-radius: 6px; }
.msg--sys { justify-self: center; background: transparent; padding: 6px 0 0; font-family: var(--sc-font-mono); font-size: 11px; color: var(--soft-light); }

/* tap: photo on navy */
/* Kart renkleri: her modül kendi tonunda, deste kayarken renk değişir. */
.mod--web { background: linear-gradient(155deg, #EEF3FF 0%, #DCE6FF 100%); }
.mod--insights { background: linear-gradient(155deg, #EAF8FC 0%, #D2EEF7 100%); }
.mod--insights .mod__name { color: #00799A; }
.mod--connect, .mod--cal { color: #fff; --soft: var(--soft-blue); --line: rgba(255, 255, 255, 0.22); }
.mod--connect { background: linear-gradient(155deg, #2A5BF0 0%, var(--blue) 55%, var(--blue-deep) 100%); }
.mod--cal { background: linear-gradient(155deg, var(--blue-deep) 0%, #0D2A8F 100%); }
.mod--connect .mod__name, .mod--cal .mod__name { color: #fff; opacity: 0.8; }
.mod--connect .chat, .mod--cal .cal { border-color: transparent; box-shadow: 0 30px 60px -28px rgba(4, 12, 40, 0.55); }
.mod--tap { background: var(--navy); color: #fff; --soft: var(--soft-dark); --line: var(--line-dark); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.mod--tap .mod__name { color: var(--blue-on-dark); }
.mod__photo { position: relative; display: grid; place-items: center; }
.mod__photo::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(23, 71, 230, 0.55), rgba(23, 71, 230, 0) 72%); }
.mod__photo img { position: relative; width: min(100%, 440px); height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45)); transition: transform 600ms var(--ease); }
.mod--tap:hover .mod__photo img { transform: scale(1.025); }

/* insights: report */
.report { border: 1px solid var(--line-light); border-radius: 18px; padding: 20px 20px 22px; background: #fff; box-shadow: var(--shadow-card); }
.report__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 620; font-size: 14px; }
.report__chart { width: 100%; height: 190px; }
.report__grid { stroke: #EEF2F7; stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.report__area { fill: #EDF2FF; }
.report__line { stroke: var(--blue); stroke-width: 2.5; fill: none; vector-effect: non-scaling-stroke; }
.report__note { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #F4F7FB; border-left: 3px solid var(--blue); font-size: 14px; line-height: 1.5; }
.report__k { font-family: var(--sc-font-mono); font-size: 11px; color: var(--blue); margin-bottom: 4px; }

/* calendar */
.cal { border: 1px solid var(--line-light); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow-card); font-size: 12px; }
.cal__head { display: grid; grid-template-columns: 40px repeat(5, 1fr); border-bottom: 1px solid #EEF2F7; background: #FAFBFD; }
.cal__head span { padding: 12px 8px; color: var(--soft-light); font-weight: 560; }
.cal__body { display: grid; grid-template-columns: 40px 1fr; }
.cal__hours { display: grid; grid-template-rows: repeat(5, 1fr); }
.cal__hours span { padding: 6px 8px; color: var(--soft-light); font-family: var(--sc-font-mono); font-size: 11px; border-top: 1px solid #F1F4F9; }
.cal__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(7, 46px);
  gap: 4px; padding: 6px;
  background-image: linear-gradient(90deg, #F1F4F9 1px, transparent 1px);
  background-size: 20% 100%;
}
.ev { grid-column: var(--c) / span 1; grid-row: var(--r) / span var(--s); font-style: normal; background: #EDF2FF; color: var(--blue-deep); border-left: 3px solid var(--blue); border-radius: 8px; padding: 6px 8px; font-weight: 600; line-height: 1.3; overflow: hidden; }
.ev small { display: block; font-weight: 450; color: var(--soft-light); }
.ev--alt { background: #E9F8FD; border-left-color: var(--live); color: #0B5D76; }
.ev--ghost { background: transparent; border: 1.5px dashed #C5D1E3; color: var(--soft-light); }

/* ---------------------------------------------------------------- journey */
.journey { position: relative; }
.journey__stage { display: flex; flex-direction: column; justify-content: center; gap: clamp(48px, 8vh, 96px); }
.journey__intro .lede { margin-top: 20px; }
.journey__rail { position: relative; display: block; width: max-content; padding-inline: var(--sc-gutter); }
.journey__rail::before { content: ""; position: absolute; left: var(--sc-gutter); right: var(--sc-gutter); top: 19px; height: 2px; background: var(--line-dark); }
.journey__thread { position: absolute; left: var(--sc-gutter); width: calc(100% - 2 * var(--sc-gutter)); top: 0; height: 40px; overflow: visible; }
.journey__thread path { fill: none; stroke: var(--blue-on-dark); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: calc(1 - clamp(0, var(--sc-p, 0) * 1.08, 1)); }
.stops { list-style: none; margin: 0; padding: 0; display: flex; }
.stop { position: relative; width: clamp(280px, 25vw, 380px); padding: 56px 48px 0 0; }
.stop__dot { position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); border: 2px solid var(--blue-on-dark); }
.stop__k { font-family: var(--sc-font-display); font-weight: 650; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.3rem); letter-spacing: -0.03em; margin-bottom: 12px; }
.stop__t { color: var(--soft); max-width: 24ch; line-height: 1.55; }
.stop__m { margin-top: 16px; font-family: var(--sc-font-mono); font-size: 0.8rem; color: var(--blue-on-dark); }

/* --------------------------------------------------------------- sectors */
.sectors { position: relative; }
.sectors__stage { display: flex; align-items: center; }
/* Sektörler zemini: lacivert + "Neden tek panel?" panelindeki mavi ve turkuaz ışıltı */
.sectors__stage {
  background:
    radial-gradient(60% 45% at 85% 42%, rgba(23, 71, 230, 0.42), rgba(23, 71, 230, 0) 62%),
    radial-gradient(45% 40% at 8% 72%, rgba(0, 184, 230, 0.14), rgba(0, 184, 230, 0) 70%);
}
.sectors__wrap { display: grid; grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr); gap: clamp(32px, 4.5vw, 80px); align-items: center; padding-top: var(--nav-h); }
@media (min-width: 861px) {
  .sectors .h2 { font-size: clamp(2.2rem, 1.1rem + 2.7vw, 3.9rem); }
  .sectors__panel .panel { grid-template-columns: 200px minmax(0, 1fr); }
  .panel--large { font-size: 15.5px; }
  .panel--large .panel__side { padding: 24px 14px; }
  .panel--large .panel__nav li { padding: 10px 12px; }
  .panel--large .panel__main { padding: 30px 32px 26px; gap: 20px; }
  .panel--large .panel__title { font-size: 31px; }
  .panel--large .panel__grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 14px; }
  .panel--large .w { padding: 18px 20px; }
  .panel--large .rows li { grid-template-columns: 54px minmax(0, 1fr) auto; padding: 13px 0; }
  .panel--large .w__value { font-size: 36px; }
  .panel--large .bars { height: 52px; }
}
.sectors__copy .lede { margin-top: 20px; max-width: 40ch; }
.sector-list { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); }
.sector-list button {
  width: 100%; min-height: 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 9px 0; background: none; border: 0; border-bottom: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.6); cursor: pointer; text-align: left;
  font-family: var(--sc-font-display); font-weight: 560; font-size: clamp(1.05rem, 0.9rem + 0.45vw, 1.35rem); letter-spacing: -0.015em;
  transition: color 260ms var(--ease);
}
.sector-list button > span { display: inline-flex; align-items: center; gap: 12px; transition: transform 420ms var(--ease); }
.sector-list button > span::before { content: ""; width: 0; height: 2px; background: #fff; transition: width 420ms var(--ease); }
.sector-list button:hover { color: #fff; }
.sector-list button[aria-selected="true"] { color: #fff; }
.sector-list button[aria-selected="true"] > span::before { width: 22px; }
.sector-list em { font-style: normal; font-family: var(--sc-font-mono); font-size: 0.74rem; letter-spacing: 0; color: var(--soft); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.sector-list em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.sector-list em.is-live { color: #fff; }
.sector-list em.is-live::before { border: 0; background: #7FE3FF; }
.sectors__panel { min-width: 0; }
.sectors__panel .panel { box-shadow: 0 2px 4px hsl(226 80% 15% / 0.18), 0 30px 60px -20px hsl(226 80% 12% / 0.5), 0 80px 140px -50px hsl(226 80% 10% / 0.55); }

/* ------------------------------------------------------------- advantages */
/* Lacivert: sektörler -> Neden tek panel? -> SSS kesintisiz. */
.adv { padding: calc(var(--sc-section) * 0.6) 0 calc(var(--sc-section) * 0.5); }
.adv__title { margin-bottom: clamp(32px, 5vh, 64px); }
.adv__list { list-style: none; margin: 0; padding: 0; }
.adv__row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; padding: clamp(26px, 4vh, 44px) 0; border-top: 1px solid var(--line); }
.adv__big { font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(2.2rem, 1.1rem + 3.7vw, 4.9rem); line-height: 1; letter-spacing: -0.045em; overflow: hidden; padding: 0.2em 0 0.08em; margin: -0.2em 0 -0.08em; }
.adv__big span { display: inline-block; }
.adv__text { color: var(--soft); max-width: 40ch; line-height: 1.6; font-size: 1.05rem; }
.js .adv__row[data-in] .adv__big span { transform: translateY(135%); }
.js .adv__row[data-in] .adv__text { opacity: 0; transform: translateY(14px); }
.js .adv__row.is-in .adv__big span { transform: none; transition: transform 1100ms var(--ease); }
.js .adv__row.is-in .adv__text { opacity: 1; transform: none; transition: opacity 800ms var(--ease) 220ms, transform 900ms var(--ease) 220ms; }

/* -------------------------------------------------------------------- faq */
.faq { padding: calc(var(--sc-section) * 0.5) 0 var(--sc-section); }
.faq__wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; min-height: 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0;
  font-family: var(--sc-font-display); font-weight: 560; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.4rem); letter-spacing: -0.02em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary i { position: relative; width: 16px; height: 16px; flex: none; }
.faq__list summary i::before, .faq__list summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform 320ms var(--ease); }
.faq__list summary i::after { transform: rotate(90deg); }
.faq__list details[open] summary i::after { transform: rotate(0deg); }
.faq__list details p { color: var(--soft); max-width: 60ch; line-height: 1.65; padding: 0 0 26px; }
.faq__list details[open] p { animation: faq-in 520ms var(--ease); }
.faq__list a { color: var(--blue-on-dark); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ close */
.close { position: relative; }
.close__stage { display: grid; place-items: center; text-align: center; }
.close__mark { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.close__mark img { width: min(80vw, 1100px); height: auto; opacity: 0.13; }
.close__copy { position: relative; z-index: 1; }
.close__title { font-family: var(--sc-font-display); font-weight: 700; font-size: clamp(2.5rem, 1.1rem + 5vw, 6.6rem); line-height: 0.95; letter-spacing: -0.05em; text-wrap: balance; }
.close__copy .lede { margin: 26px auto 0; }
.close__actions { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 40px; }

/* ----------------------------------------------------------------- footer */
.foot { background: var(--navy); padding: 56px 0 calc(36px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-dark); position: relative; z-index: 2; }
.foot__wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 64px; }
.foot__brand img { width: 132px; height: auto; margin-bottom: 16px; }
.foot__brand p { color: var(--soft); max-width: 30ch; }
.foot__cols { display: flex; gap: clamp(32px, 5vw, 80px); }
.foot__cols div { display: grid; gap: 4px; align-content: start; }
.foot__cols p { font-family: var(--sc-font-mono); font-size: 0.75rem; color: var(--soft); margin-bottom: 8px; }
.foot__cols a { color: #fff; text-decoration: none; padding: 6px 0; opacity: 0.86; transition: opacity 200ms var(--ease); }
.foot__cols a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.foot__legal { grid-column: 1 / -1; color: var(--soft); font-size: 0.85rem; padding-top: 24px; border-top: 1px solid var(--line-dark); }


/* ------------------------------------------------------------------ film */
.film { position: relative; z-index: 1; padding: clamp(150px, 24vh, 260px) 0 calc(var(--sc-section) * 0.9); }
.film__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(32px, 5vh, 56px); }
.film__head .h2 { flex: none; }
.film__head .lede { max-width: 30ch; }
.film__frame {
  --fs: 1;
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--r-card); overflow: hidden; background: #0C1A2E;
  border: 1px solid var(--line-dark);
  box-shadow: 0 2px 6px rgba(0,0,0,.3), 0 50px 120px -50px rgba(0,0,0,.8);
  transform: scale(calc(0.9 + 0.1 * var(--fs)));
  transform-origin: 50% 0;
}
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.film__play {
  position: absolute; left: 50%; top: 50%; width: 104px; height: 104px; margin: -52px 0 0 -52px;
  border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.94); color: var(--navy);
  display: grid; place-items: center; box-shadow: 0 20px 50px -14px rgba(0,0,0,.55);
  opacity: 0; transform: scale(.9); pointer-events: none;
  transition: opacity 320ms var(--ease), transform 420ms var(--ease), background-color 200ms var(--ease);
}
.film__play i { width: 0; height: 0; margin-left: 7px; border-left: 26px solid currentColor; border-top: 16px solid transparent; border-bottom: 16px solid transparent; }
.film__play:hover { background: #fff; transform: scale(1.04); }
.film__frame.is-paused .film__play { opacity: 1; transform: none; pointer-events: auto; }
.film__bar {
  position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px;
  padding: 8px; border-radius: 16px; background: rgba(7,17,31,.62);
  backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.08); color: #fff;
  transition: opacity 320ms var(--ease), transform 420ms var(--ease);
}
.film__btn { min-width: 44px; height: 44px; padding: 0 12px; border: 0; border-radius: 11px; background: rgba(255,255,255,.08); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-size: 0.92rem; font-weight: 560; transition: background-color 200ms var(--ease); }
.film__btn:hover { background: rgba(255,255,255,.16); }
.film__btn--sound[aria-pressed="false"] { background: var(--blue); }
.film__btn--sound[aria-pressed="false"]:hover { background: var(--blue-deep); }
.ic { width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat; }
.ic--pause { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6' y='4' width='4' height='16' rx='1'/%3E%3Crect x='14' y='4' width='4' height='16' rx='1'/%3E%3C/svg%3E"); }
.ic--play { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 4.5v15l12-7.5z'/%3E%3C/svg%3E"); }
.ic--mute { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z' fill='black'/%3E%3Cpath d='m16 9 5 6M21 9l-5 6'/%3E%3C/svg%3E"); }
.ic--sound { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H3v6h3l5 4z' fill='black'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M18.5 5.5a9 9 0 0 1 0 13'/%3E%3C/svg%3E"); }
.film__progress { position: relative; flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); margin: 0 6px; cursor: pointer; touch-action: none; transition: height 160ms var(--ease); }
.film__progress::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; bottom: -14px; }
.film__progress i { display: block; height: 100%; border-radius: inherit; background: #fff; transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.film__progress:hover, .film__progress:focus-visible, .is-seeking .film__progress { height: 7px; }
.film__progress:focus-visible { outline: 2px solid var(--blue-on-dark); outline-offset: 6px; }
.rows b, .cal__hours span, .film__time { font-variant-numeric: tabular-nums; }
.film__time { font-family: var(--sc-font-mono); font-size: 0.8rem; color: rgba(255,255,255,.75); padding-right: 8px; min-width: 3.2em; text-align: right; }

/* ----------------------------------------------------------------- quote */
.quote { position: relative; z-index: 2; padding: var(--sc-section) 0; }
.quote__wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.quote__intro { position: sticky; top: calc(var(--nav-h) + 40px); }
.quote__intro .h2 { margin: 18px 0 22px; }
.quote__points { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 14px; }
.quote__points li { display: flex; gap: 14px; align-items: flex-start; color: #fff; line-height: 1.5; }
.quote__points li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.quote__alt { margin-top: 34px; color: var(--soft); }
.quote__alt .link { color: #fff; }

.quote__card { background: #fff; color: var(--ink-light); border-radius: var(--r-card); padding: clamp(26px, 3.2vw, 48px); box-shadow: 0 2px 6px rgba(0,0,0,.25), 0 60px 120px -50px rgba(0,0,0,.8); --soft: var(--soft-light); }
.quote__form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 18px; }
.quote__form[hidden] { display: none; }
.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--wide { grid-column: 1 / -1; }
.field > label, .field legend { font-size: 0.92rem; font-weight: 600; color: var(--navy); padding: 0; }
.field label span, .field legend span { font-weight: 450; color: var(--soft-light); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; font-size: 1rem; color: var(--navy);
  background: #F6F8FB; border: 1.5px solid var(--line-light); border-radius: 13px; outline: none;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), background-color 200ms var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #8A98AD; }
.field :is(input, select, textarea):hover { border-color: #C3CFDF; }
.field :is(input, select, textarea):focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(23,71,230,.12); }
.field [aria-invalid="true"] { border-color: #D92D20 !important; background: #FFF8F7; }
.field__err { min-height: 0; font-size: 0.85rem; color: #B42318; margin: 0; }
.field__err:empty { display: none; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--soft-light); border-bottom: 2px solid var(--soft-light); transform: rotate(45deg); pointer-events: none; }
.select select { padding-right: 44px; cursor: pointer; }
.select select:invalid { color: #8A98AD; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line-light); background: #F6F8FB; font-size: 0.95rem; font-weight: 520; transition: all 200ms var(--ease); }
.opt span::before { content: ""; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #B7C3D6; background: #fff; transition: all 200ms var(--ease); }
.opt:hover span { border-color: #C3CFDF; }
.opt input:checked + span { border-color: var(--blue); background: #EDF2FF; color: var(--blue-deep); }
.opt input:checked + span::before { border-color: var(--blue); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 0.92rem; font-weight: 450 !important; color: var(--soft-light) !important; line-height: 1.5; }
.consent input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--blue); cursor: pointer; }
.consent input[aria-invalid="true"] { outline: 2px solid #D92D20; outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.quote__submit { --bh: 58px; margin-top: 4px; font-size: 1.05rem; }
.quote__submit[disabled] { opacity: .7; cursor: progress; }
.quote__submit.is-loading .btn__arrow { animation: q-nudge 900ms var(--ease) infinite; }
@keyframes q-nudge { 50% { transform: translateX(5px); } }
.quote__status { font-size: 0.9rem; color: var(--soft-light); margin: 0; }
.quote__status:empty { display: none; }
.quote__status.is-error { color: #B42318; }
.quote__done { text-align: center; padding: clamp(30px, 6vw, 80px) 10px; outline: none; }
.quote__done img { width: 84px; height: auto; margin: 0 auto 26px; }
.quote__done .h3 { margin-bottom: 12px; }
.quote__done p:last-child { color: var(--soft-light); max-width: 36ch; margin: 0 auto; }
.quote__done.is-in { animation: q-in 700ms var(--ease); }
@keyframes q-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .film { padding-top: calc(var(--sc-section) * 0.9); }
  .film__head { display: block; }
  .film__head .lede { margin-top: 16px; }
  .film__head .h2 br { display: none; }
  .film__frame { transform: none; border-radius: 20px; }
  .film__bar { left: 8px; right: 8px; bottom: 8px; padding: 6px; gap: 6px; border-radius: 13px; }
  .film__time { display: none; }
  .film__btn--sound span { display: none; }
  .film__play { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
  .film__play i { border-left-width: 20px; border-top-width: 12px; border-bottom-width: 12px; margin-left: 5px; }
  .quote__wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .quote__intro { position: static; }
  .quote__form { grid-template-columns: minmax(0, 1fr); }
  .quote__card { border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .film__frame { transform: none; }
}

/* ==========================================================================
   Flow mode: phones (and reduced motion for the problem act). Not a scaled
   desktop: pins become normal sections, compositions are re-authored.
   ========================================================================== */
.is-flow .sc-stage, .is-flow [data-sc-stage] { position: static; height: auto; overflow: visible; }

/* problem, static */
.problem.is-flow { padding: var(--sc-section) 0; }
.problem.is-flow .problem__wrap { height: auto; }
.problem.is-flow .problem__head { position: static; }
.problem.is-flow .problem__tags { position: static; display: grid; gap: 10px; margin: 36px 0 0; justify-items: start; }
.problem.is-flow .problem__tags li { position: relative; left: auto; top: auto; transform: none; opacity: 1; white-space: normal; }
.problem.is-flow .problem__tags b { text-decoration: line-through; text-decoration-color: transparent; transition: text-decoration-color 600ms var(--ease), color 600ms var(--ease); }
.problem.is-flow .problem__tags.is-in b { text-decoration-color: color-mix(in oklab, var(--blue) 70%, transparent); color: var(--soft-light); }
.problem.is-flow .problem__one { position: static; transform: none; opacity: 1; margin: 48px 0 0; width: 96px; }
.problem.is-flow .problem__resolve { position: static; text-align: left; padding: 0; margin-top: 20px; opacity: 1 !important; transform: none !important; }
.problem.is-flow .problem__resolve .lede { margin: 14px 0 0; }
.problem.is-flow .problem__head { opacity: 1 !important; transform: none !important; }

/* journey, vertical */
.journey.is-flow { padding: var(--sc-section) 0; }
.journey.is-flow .journey__stage { gap: 40px; }
.journey.is-flow .journey__rail { width: auto; transform: none !important; }
.journey.is-flow .journey__rail::before { display: none; }
.journey.is-flow .journey__thread { display: none; }
.journey.is-flow .stops { flex-direction: column; position: relative; }
.journey.is-flow .stops::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 2px; background: var(--line-dark); }
.journey.is-flow .stops::after { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 2px; background: var(--blue-on-dark); transform-origin: 50% 0; transform: scaleY(clamp(0, (var(--sc-p, 0) - 0.18) * 1.9, 1)); }
.journey.is-flow .stop { width: auto; padding: 0 0 36px 44px; }
.journey.is-flow .stop:last-child { padding-bottom: 0; }
.journey.is-flow .stop__dot { top: 6px; left: 0; z-index: 1; }
.journey.is-flow .stop__t { max-width: 34ch; }

/* sectors, tabs */
.sectors.is-flow { padding: var(--sc-section) 0; }
.sectors.is-flow .sectors__wrap { grid-template-columns: minmax(0, 1fr); padding-top: 0; gap: 28px; }
.sectors.is-flow .sector-list {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; border: 0;
  margin: 28px calc(-1 * var(--sc-gutter)) 0; padding: 2px var(--sc-gutter) 6px;
  scrollbar-width: none;
}
.sectors.is-flow .sector-list::-webkit-scrollbar { display: none; }
.sectors.is-flow .sector-list li { scroll-snap-align: start; flex: none; }
.sectors.is-flow .sector-list button {
  width: auto; min-height: 46px; padding: 0 16px; border: 1px solid rgba(255,255,255,0.32); border-radius: 99px;
  font-family: var(--sc-font-text); font-weight: 560; font-size: 0.95rem; color: #fff; gap: 8px;
}
.sectors.is-flow .sector-list button > span::before { display: none; }
.sectors.is-flow .sector-list button[aria-selected="true"] { background: #fff; color: var(--blue); border-color: #fff; }
.sectors.is-flow .sector-list em { font-size: 0; gap: 0; color: inherit; }
.sectors.is-flow .sector-list em::before { width: 7px; height: 7px; }
.sectors.is-flow .sector-list em.is-live::before { background: #7FE3FF; }
.sectors.is-flow .sector-list button[aria-selected="true"] em.is-live::before { background: var(--live); }
.sectors__status { display: none; }
.sectors.is-flow .sectors__status { display: block; font-family: var(--sc-font-mono); font-size: 0.8rem; color: var(--soft); margin-top: 14px; }

/* close, static */
.close.is-flow { padding: calc(var(--sc-section) * 1.1) 0; overflow: clip; }
.close.is-flow .close__mark { clip-path: none !important; }

/* ------------------------------------------------------------ breakpoints */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .nav__toggle {
    display: inline-grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; border-radius: 11px; border: 0; background: transparent; color: inherit; cursor: pointer;
  }
  .nav__toggle i { display: block; width: 20px; height: 1.6px; background: currentColor; transition: transform 320ms var(--ease); }
  .nav[data-theme="light"][data-scrolled="true"] .nav__toggle { color: var(--navy); }
  .nav[data-theme="dark"] .nav__toggle, .nav[data-theme="blue"] .nav__toggle { color: #fff; }
  .nav.is-menu .nav__toggle { color: #fff !important; }
  .nav.is-menu .nav__toggle i:first-of-type { transform: translateY(3.8px) rotate(45deg); }
  .nav.is-menu .nav__toggle i:last-of-type { transform: translateY(-3.8px) rotate(-45deg); }
  .nav.is-menu .nav__inner { background: transparent !important; border-color: transparent !important; box-shadow: none !important; backdrop-filter: none; }
  .nav.is-menu .nav__logo--dark { opacity: 0 !important; }
  .nav.is-menu .nav__logo--light { opacity: 1 !important; }

  .hero__panel { width: min(64vw, 820px); }
  .panel { grid-template-columns: 168px minmax(0, 1fr); }
}

@media (max-width: 1180px) and (min-width: 861px) {
  .sectors__panel .panel { grid-template-columns: minmax(0, 1fr); }
  .sectors__panel .panel__side { display: none; }
}

@media (max-width: 1024px) and (min-width: 861px) {
  .mod { grid-template-columns: 1fr; min-height: 0; }
  .mod--tap { grid-template-columns: 1fr 1fr; }
  .sectors__wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .panel--large .panel__grid { grid-template-columns: 1fr; }
  .panel--large .w--list { grid-row: auto; }
}

@media (max-height: 820px) and (min-width: 861px) {
  .sector-list button { padding: 6px 0; min-height: 40px; }
  .sectors__copy .lede { display: none; }
  .hero__title { font-size: clamp(3rem, 0.6rem + 6vw, 7rem); }
}

@media (max-width: 860px) {
  :root { --nav-h: 68px; }
  .nav { padding-top: 10px; }
  .nav__inner { height: 54px; width: calc(100% - 2 * var(--sc-gutter) + 16px); padding: 0 6px 0 12px; gap: 8px; }
  .nav__brand { width: 104px; height: 28px; }
  .nav__login { display: none; }

  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 0; min-height: 0; }
  .hero__mark { width: 120vw; right: -46vw; top: 4vh; opacity: 0.07; }
  .hero__title { font-size: clamp(2.7rem, 1.2rem + 7.6vw, 4.2rem); margin: 18px 0 22px; }
  .hero__panel { position: relative; right: auto; top: auto; width: auto; margin: 44px var(--sc-gutter) 0; transform: none !important; }

  /* the panel as a phone app: header, content, bottom tab bar */
  .panel { grid-template-columns: minmax(0, 1fr); grid-template-areas: "biz" "main" "tabs"; border-radius: 26px; font-size: 13px; }
  .panel__side { display: contents; }
  .panel__biz { grid-area: biz; margin: 0; padding: 16px 18px 12px; border-bottom: 1px solid #EEF2F7; }
  .panel__nav { grid-area: tabs; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid #E4EAF2; background: #F7F9FC; }
  .panel__nav li { text-align: center; font-size: 11px; padding: 12px 4px 14px; border-radius: 0; overflow: hidden; text-overflow: ellipsis; }
  .panel__nav li:nth-child(5) { display: none; }
  .panel__nav li.is-on { background: transparent; box-shadow: inset 0 2px 0 var(--blue); color: var(--blue); }
  .panel__main { grid-area: main; padding: 18px 16px; gap: 14px; }
  .panel__title, .panel--large .panel__title { font-size: 21px; }
  .panel__grid, .panel--large .panel__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .w--list { grid-row: auto; grid-column: 1 / -1; }
  .w { padding: 12px 14px; }
  .w__value, .panel--large .w__value { font-size: 24px; }
  .hero .w--flow, .hero .panel__foot { display: none; }
  .hero .panel__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

  .h2 { font-size: clamp(2.1rem, 1.3rem + 4.4vw, 3rem); }
  .section-head .h2 br { display: none; }

  .modules { padding: var(--sc-section) 0; }
  .deck__item { position: relative; top: auto; margin-bottom: 18px; }
  .mod, .mod--tap { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 28px 22px; gap: 28px; border-radius: 24px; transform: none; }
  .mod::after { display: none; }
  .mod--connect .mod__visual, .mod--tap .mod__photo { order: 2; }
  .mod__copy .h3 { max-width: none; }
  .browser__body { padding: 24px 20px 30px; min-height: 0; }
  .site__phone { display: none; }
  .mod__photo img { width: min(78%, 320px); }
  .cal__grid { grid-template-rows: repeat(7, 40px); }

  .adv__row { grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
  .faq__wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .foot__wrap { grid-template-columns: minmax(0, 1fr); }
  .foot__cols { flex-wrap: wrap; gap: 28px 40px; }
  .close__actions { flex-direction: column; gap: 10px; }
  .close__actions .btn { width: 100%; }
}

@media (max-width: 560px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

@media (max-width: 380px) {
  .panel__grid, .panel--large .panel__grid, .hero .panel__grid { grid-template-columns: minmax(0, 1fr); }
  .rows em { display: none; }
}

/* ---------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  .js [data-enter], .js .line > [data-enter], .js .hero__panel-in[data-enter] { opacity: 1; transform: none; transition: none; }
  .js .adv__row[data-in] .adv__big span, .js .adv__row[data-in] .adv__text { transform: none; opacity: 1; transition: none; }
  .mod { transform: none; }
  .mod::after { display: none; }
  .bars i { transition: none; }
}


/* ==========================================================================
   Çerez tercihleri (consent.js)
   ========================================================================== */
.cookie {
  position: fixed; z-index: 90;
  left: max(16px, env(safe-area-inset-left));
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: min(420px, calc(100vw - 32px));
  padding: 22px 22px 20px;
  border-radius: 20px;
  background: var(--navy-2); color: #fff;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-panel);
  font-family: var(--sc-font-text);
}
.cookie[hidden] { display: none; }
.cookie.is-in { animation: cookie-in 520ms var(--ease) both; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cookie__eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 0.85rem; font-weight: 520; color: var(--soft-dark); }
.cookie__eyebrow i { width: 6px; height: 6px; border-radius: 99px; background: var(--live); }
.cookie__title { margin-bottom: 8px; font-family: var(--sc-font-display); font-size: 1.25rem; font-weight: 650; letter-spacing: -0.02em; line-height: 1.2; }
.cookie__text { color: var(--soft-dark); font-size: 0.92rem; line-height: 1.55; }
.cookie__text a { color: #fff; text-underline-offset: 3px; }
.cookie__actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 18px; }
.cookie .btn { font-family: inherit; cursor: pointer; }
.cookie .btn--ghost { color: #fff; background: transparent; }
.cookie .btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
@media (prefers-reduced-motion: reduce) { .cookie.is-in { animation: none; } }

.foot__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.foot__legal span { margin-right: auto; }
.foot__legal a, .foot__cookie { color: var(--soft); text-decoration: none; font: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.foot__legal a:hover, .foot__cookie:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }


/* ==========================================================================
   Asistan (assistant.js)
   ========================================================================== */
.assist {
  position: fixed; z-index: 88;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  font-family: var(--sc-font-text);
}
.assist__fab {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 20px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 99px;
  background: var(--blue); color: #fff;
  font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer;
  box-shadow: 0 18px 40px -16px rgba(23, 71, 230, 0.75), 0 2px 6px rgba(7, 17, 31, 0.2);
  transition: transform 200ms var(--ease), background-color 200ms var(--ease);
}
.assist__fab:hover { background: var(--blue-deep); transform: translateY(-2px); }
.assist__fab-ic {
  width: 24px; height: 24px; flex: none; background: currentColor;
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11.5a8.5 8.5 0 0 1-12.4 7.6L3.5 20.5l1.4-4.4A8.5 8.5 0 1 1 20.5 11.5z'/%3E%3Cpath d='M8.5 11.5h.01M12 11.5h.01M15.5 11.5h.01'/%3E%3C/svg%3E");
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat;
}
.assist.is-open .assist__fab { display: none; }

.assist__panel {
  position: absolute; right: 0; bottom: 0;
  width: min(390px, calc(100vw - 32px)); height: min(600px, calc(100vh - 32px)); height: min(600px, calc(100svh - 32px));
  display: flex; flex-direction: column;
  background: var(--navy-2); color: #fff;
  border: 1px solid var(--line-dark); border-radius: 22px;
  box-shadow: var(--shadow-panel); overflow: hidden;
  transform-origin: 100% 100%; animation: assist-in 420ms var(--ease) both;
}
.assist__panel[hidden] { display: none; }
@keyframes assist-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }

.assist__head {
  display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px;
  border-bottom: 1px solid var(--line-dark);
  background: radial-gradient(120% 140% at 100% 0%, rgba(23, 71, 230, 0.45), rgba(23, 71, 230, 0) 60%);
}
.assist__head img { width: 36px; height: auto; flex: none; }
.assist__head > div { flex: 1; min-width: 0; }
.assist__title { font-family: var(--sc-font-display); font-weight: 650; font-size: 1.05rem; letter-spacing: -0.01em; }
.assist__sub { font-size: 0.8rem; color: var(--soft-dark); }
.assist__close { position: relative; width: 36px; height: 36px; flex: none; border: 0; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer; }
.assist__close:hover { background: rgba(255, 255, 255, 0.16); }
.assist__close i::before, .assist__close i::after { content: ""; position: absolute; left: 11px; right: 11px; top: 50%; height: 1.6px; background: currentColor; transform: rotate(45deg); }
.assist__close i::after { transform: rotate(-45deg); }

.assist__log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.assist__msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 0.92rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: break-word; }
.assist__msg--bot { align-self: flex-start; background: rgba(255, 255, 255, 0.07); border-bottom-left-radius: 6px; }
.assist__msg--user { align-self: flex-end; background: var(--blue); border-bottom-right-radius: 6px; }
.assist__msg.is-error { background: rgba(255, 110, 110, 0.12); color: #FFD6D6; }
.assist__msg.is-typing { display: inline-flex; gap: 5px; padding: 15px 16px; }
.assist__msg.is-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--soft-dark); animation: assist-dot 1s infinite ease-in-out; }
.assist__msg.is-typing i:nth-child(2) { animation-delay: 0.15s; }
.assist__msg.is-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes assist-dot { 0%, 80%, 100% { opacity: 0.3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }

.assist__quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.assist__quick[hidden] { display: none; }
.assist__quick button, .assist__quote {
  font: inherit; font-size: 0.82rem; color: #fff; text-decoration: none;
  background: transparent; border: 1px solid var(--line-dark); border-radius: 99px;
  padding: 7px 12px; cursor: pointer;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
}
.assist__quick button:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.4); }
.assist__quote { border-color: transparent; color: var(--blue-on-dark); }
.assist__quote:hover { text-decoration: underline; text-underline-offset: 3px; }

.assist__form {
  display: flex; align-items: flex-end; gap: 8px; margin: 0 12px;
  padding: 6px 6px 6px 14px; border: 1px solid var(--line-dark); border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}
.assist__form:focus-within { border-color: var(--blue-on-dark); }
.assist__form textarea {
  flex: 1; min-width: 0; max-height: 120px; resize: none; outline: none;
  border: 0; background: transparent; color: #fff;
  font: inherit; font-size: 1rem; line-height: 1.45; padding: 8px 0;
}
.assist__form textarea::placeholder { color: var(--soft-dark); }
.assist__send { position: relative; width: 40px; height: 40px; flex: none; border: 0; border-radius: 12px; background: var(--blue); color: #fff; cursor: pointer; }
.assist__send:hover { background: var(--blue-deep); }
.assist__send:disabled { opacity: 0.5; cursor: default; }
.assist__send i {
  position: absolute; inset: 10px; background: currentColor;
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E");
  -webkit-mask: var(--ic) center / contain no-repeat; mask: var(--ic) center / contain no-repeat;
}
.assist__note { padding: 10px 16px 14px; font-size: 0.72rem; line-height: 1.45; color: var(--soft-dark); }

@media (max-width: 560px) {
  .assist__fab { width: 52px; padding: 0; justify-content: center; }
  .assist__fab span { display: none; }
  .assist__panel { position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); width: auto; height: min(78vh, 620px); height: min(78svh, 620px); }
}
/* Telefonda çerez kutusu açıkken buton gizlenir (üst üste binmesin). */
@media (max-width: 860px) {
  body:has(.cookie:not([hidden])) .assist__fab { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .assist__panel { animation: none; }
  .assist__msg.is-typing i { animation: none; }
}

/* Dil seçici (TR / EN) */
.nav__lang { font-weight: 650; letter-spacing: 0.04em; }
@media (max-width: 860px) {
  .nav__lang.nav__login { display: inline-flex; align-items: center; padding: 8px 10px; }
}


/* Problem bölümü telefonda da hareketli: kompakt kartlar, başlığın altında dağınık başlar */
@media (max-width: 860px) {
  .problem:not(.is-flow) .problem__head { top: calc(var(--nav-h) + 4vh); right: var(--sc-gutter); }
  .problem:not(.is-flow) .problem__tags li { top: 60%; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; }
  .problem:not(.is-flow) .problem__tags b { font-size: 0.86rem; }
  .problem:not(.is-flow) .problem__tags small { display: none; }
  .problem:not(.is-flow) .tag__ic { width: 30px; height: 30px; border-radius: 9px; }
  .problem:not(.is-flow) .tag__ic::before { inset: 7px; }
  .problem:not(.is-flow) .problem__tags li:nth-child(1) { --x: -10vw !important; --y: -15vh !important; --r: -3deg !important; }
  .problem:not(.is-flow) .problem__tags li:nth-child(2) { --x: 6vw !important; --y: -8vh !important; --r: 3deg !important; }
  .problem:not(.is-flow) .problem__tags li:nth-child(3) { --x: -14vw !important; --y: -1vh !important; --r: 2deg !important; }
  .problem:not(.is-flow) .problem__tags li:nth-child(4) { --x: 10vw !important; --y: 6vh !important; --r: -3deg !important; }
  .problem:not(.is-flow) .problem__tags li:nth-child(5) { --x: -16vw !important; --y: 13vh !important; --r: -2deg !important; }
  .problem:not(.is-flow) .problem__tags li:nth-child(6) { --x: 4vw !important; --y: 20vh !important; --r: 2deg !important; }
  .problem:not(.is-flow) .problem__tags li:nth-child(7) { --x: -6vw !important; --y: 27vh !important; --r: -1deg !important; }
  .problem:not(.is-flow) .problem__one { top: 44%; width: 120px; }
  .problem:not(.is-flow) .problem__resolve { top: calc(44% + 90px); }
}
/* Kısa telefon ekranları: kartlar daha sık dizilir, başlık metniyle çakışmaz */
@media (max-width: 860px) and (max-height: 720px) {
  .problem:not(.is-flow) .problem__head { top: calc(var(--nav-h) + 1vh); }
  .problem:not(.is-flow) .problem__tags li { top: 73%; }
  .problem:not(.is-flow) .problem__tags li:nth-child(1) { --y: -20vh !important; }
  .problem:not(.is-flow) .problem__tags li:nth-child(2) { --y: -13.5vh !important; }
  .problem:not(.is-flow) .problem__tags li:nth-child(3) { --y: -7vh !important; }
  .problem:not(.is-flow) .problem__tags li:nth-child(4) { --y: -0.5vh !important; }
  .problem:not(.is-flow) .problem__tags li:nth-child(5) { --y: 6vh !important; }
  .problem:not(.is-flow) .problem__tags li:nth-child(6) { --y: 12.5vh !important; }
  .problem:not(.is-flow) .problem__tags li:nth-child(7) { --y: 19vh !important; }
}


/* Telefonda modül kartları üst üste biner (sabitlenme yüksekliğini main.js hesaplar) */
@media (max-width: 860px) {
  .deck.is-stack .deck__item { position: sticky; top: calc(var(--nav-h) + 8px + var(--i) * 8px); margin-bottom: 20px; }
  .deck.is-stack .mod { padding: 22px 18px; gap: 18px; transform: scale(calc(1 - var(--q) * 0.05)); }
  .deck.is-stack .mod::after { display: block; }
  .deck.is-stack .mod__name { margin-bottom: 12px; }
  .deck.is-stack .mod__copy .h3 { margin-bottom: 12px; }
  .deck.is-stack .status { margin-top: 14px; }
  .deck.is-stack .browser__body { padding: 20px 18px 24px; }
  .deck.is-stack .report__chart { height: 130px; }
  .deck.is-stack .cal__grid { grid-template-rows: repeat(7, 34px); }
}

/* Telefonda sektörler sabitlenir, kaydırdıkça sektör değişir (ekrana sığıyorsa; main.js karar verir) */
@media (max-width: 860px) {
  .sectors.is-mpin .sectors__wrap { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: var(--nav-h); }
  .sectors.is-mpin .h2 { font-size: clamp(1.8rem, 1.2rem + 3vw, 2.4rem); }
  .sectors.is-mpin .sectors__copy .lede { display: none; }
  .sectors.is-mpin .sector-list {
    display: flex; gap: 8px; overflow-x: auto; border: 0; scrollbar-width: none;
    margin: 16px calc(-1 * var(--sc-gutter)) 0; padding: 2px var(--sc-gutter) 6px;
  }
  .sectors.is-mpin .sector-list::-webkit-scrollbar { display: none; }
  .sectors.is-mpin .sector-list li { flex: none; }
  .sectors.is-mpin .sector-list button {
    width: auto; min-height: 40px; padding: 0 14px; gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 99px;
    font-family: var(--sc-font-text); font-weight: 560; font-size: 0.9rem; color: #fff;
  }
  .sectors.is-mpin .sector-list button > span::before { display: none; }
  .sectors.is-mpin .sector-list button[aria-selected="true"] { background: #fff; color: var(--blue); border-color: #fff; }
  .sectors.is-mpin .sector-list em { font-size: 0; gap: 0; color: inherit; }
  .sectors.is-mpin .sector-list em::before { width: 7px; height: 7px; }
  .sectors.is-mpin .sector-list em.is-live::before { background: #7FE3FF; }
  .sectors.is-mpin .sector-list button[aria-selected="true"] em.is-live::before { background: var(--live); }
  .sectors.is-mpin .sectors__status { display: block; font-size: 0.8rem; color: var(--soft); margin-top: 10px; }
  .sectors.is-mpin .panel .w--metric, .sectors.is-mpin .panel .w--flow, .sectors.is-mpin .panel__foot,
  .sectors.is-mpin .panel__nav, .sectors.is-mpin .rows li:nth-child(4) { display: none; }
  .sectors.is-mpin .panel__main { padding: 14px 16px; gap: 10px; }
}
