/* ==========================================================================
   Moda Kreatif — sesli sohbet sitesi (taslak)
   ========================================================================== */

:root {
  --bg: #ebe8f2;
  --bg-2: #d9d3e6;
  --bg-3: #c3bbd6;
  --ink: #120d1f;
  --ink-2: rgba(18, 13, 31, 0.68);
  --ink-3: rgba(18, 13, 31, 0.42);
  --line: rgba(18, 13, 31, 0.16);
  --paper: rgba(255, 255, 255, 0.62);
  --purple: #3900b7;
  --purple-d: #26007c;
  --violet: #7a4dff;
  --magenta: #e6007e;
  --yellow: #ffce26;
  --coral: #f96770;
  --error: #c8102e;

  --f-sans: 'Jost', 'Futura', 'Avenir Next', system-ui, sans-serif;
  --f-serif: 'Instrument Serif', 'Times New Roman', serif;

  --gx: clamp(20px, 2.8vw, 44px);
  --top-h: 88px;
  --ease: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --lvl: 0;
  --progress: 0;
  --pct: 0;
  --app-h: 100dvh;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  overscroll-behavior: none;
  text-rendering: optimizeLegibility;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; }
em { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--purple); color: #fff; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

.mono { font-family: var(--f-sans); font-size: 13px; font-weight: 400; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 999px; transform: translateY(-150%); transition: transform .3s var(--ease); text-decoration: none; }
.skip-link:focus { transform: none; }

/* ───────── Arka plan ───────── */
.bg {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(38% 50% at 70% 52%, rgba(122, 77, 255, 0.20), transparent 70%),
    radial-gradient(30% 40% at 78% 70%, rgba(230, 0, 126, 0.07), transparent 70%),
    radial-gradient(120% 95% at 64% 46%, #f6f4fa 0%, var(--bg) 42%, var(--bg-2) 78%, var(--bg-3) 100%);
}
#gl {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; display: block;
  opacity: 0; transition: opacity 1.6s var(--ease);
}
.gl-ready #gl { opacity: 1; }
.no-webgl #gl { display: none; }

.grain {
  position: fixed; inset: -100%; z-index: 60; pointer-events: none; opacity: 0.075; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1.2 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 0.9s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); }
  60% { transform: translate(-4%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* WebGL yoksa CSS küre */
.bg-orb { display: none; }
.no-webgl .bg-orb {
  display: block; position: absolute; left: 70%; top: 50%; width: min(40vw, 520px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 46% 54% 52% 48% / 50% 44% 56% 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.75), transparent 18%),
    radial-gradient(circle at 70% 78%, rgba(230, 0, 126, 0.55), transparent 42%),
    radial-gradient(circle at 20% 70%, rgba(255, 206, 38, 0.35), transparent 36%),
    radial-gradient(circle at 45% 40%, var(--violet), var(--purple) 55%, #1d0063 100%);
  box-shadow: 0 60px 120px -30px rgba(57, 0, 183, 0.55);
  animation: morph 12s var(--ease-io) infinite alternate;
}
@keyframes morph {
  0% { border-radius: 46% 54% 52% 48% / 50% 44% 56% 50%; transform: translate(-50%, -50%) rotate(0); }
  100% { border-radius: 55% 45% 42% 58% / 44% 58% 42% 56%; transform: translate(-50%, -52%) rotate(8deg); }
}

/* ───────── Uygulama katmanı ───────── */
.app {
  position: fixed; left: 0; right: 0; top: var(--vv-top, 0); height: var(--app-h, 100dvh); z-index: 2;
}

/* Header */
.top {
  position: absolute; top: 0; left: 0; right: 0; height: var(--top-h); z-index: 10;
  display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gx);
  padding-top: env(safe-area-inset-top);
}
/* Logo: assets/img/logo-modakreatif.png (beyaz, saydam zeminli). Maske olarak kullanılır; rengi zemine göre
   background-color verir: açık zeminde mor, koyu zeminde beyaz. */
.logo {
  display: block; flex: none; width: 184px; aspect-ratio: 1400 / 376; background-color: var(--purple);
  -webkit-mask: url(../img/logo-modakreatif.png) center / contain no-repeat;
          mask: url(../img/logo-modakreatif.png) center / contain no-repeat;
}
.logo--inv { background-color: #fff; }

.top-ctrl { display: flex; align-items: center; gap: 10px; }
.lang {
  display: flex; padding: 3px; border-radius: 999px; background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.lang button {
  font-family: var(--f-sans); font-size: 13px; height: 32px; min-width: 38px; padding: 0 10px; border-radius: 999px;
  color: var(--ink-2); transition: background .3s var(--ease), color .3s var(--ease);
}
.lang button[aria-pressed='true'] { background: var(--ink); color: #fff; }

.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.icon-btn:hover { transform: scale(1.06); background: #fff; }
.eq { display: flex; gap: 2.5px; align-items: center; height: 16px; position: relative; }
.eq i {
  display: block; width: 2.5px; border-radius: 2px; background: var(--purple);
  height: calc(4px + var(--lvl) * 12px); transition: height .08s linear;
}
.eq i:nth-child(1) { height: calc(4px + var(--lvl) * 6px); }
.eq i:nth-child(2) { height: calc(6px + var(--lvl) * 12px); }
.eq i:nth-child(3) { height: calc(5px + var(--lvl) * 9px); }
.eq i:nth-child(4) { height: calc(3px + var(--lvl) * 5px); }
.is-muted .eq i { height: 2.5px !important; background: var(--ink-3); }
.is-muted .eq::after {
  content: ''; position: absolute; left: -3px; right: -3px; top: 50%; height: 1.5px; background: var(--ink); transform: rotate(-35deg);
}

.menu-btn {
  height: 40px; padding: 0 8px 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff; font-size: 15px; transition: background .3s var(--ease), transform .3s var(--ease);
}
.menu-btn:hover { background: var(--purple); }
.menu-ico { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-content: center; gap: 3px; }
.menu-ico i { display: block; width: 10px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.menu-ico.is-x i:first-child { transform: translateY(2.25px) rotate(45deg); }
.menu-ico.is-x i:last-child { transform: translateY(-2.25px) rotate(-45deg); }

/* ───────── Kapı ───────── */
.gate {
  position: absolute; inset: 0; z-index: 5;
  transition: opacity .6s var(--ease), transform .8s var(--ease-out), visibility 0s linear .8s;
}
.is-chat .gate { opacity: 0; transform: translateY(-24px); visibility: hidden; pointer-events: none; }
.gate-inner {
  position: absolute; left: var(--gx); bottom: clamp(130px, 19vh, 200px); width: min(46vw, 660px);
}
.kicker { display: flex; align-items: center; gap: 10px; color: var(--ink-2); margin: 0 0 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 0 rgba(57, 0, 183, .5); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(57, 0, 183, .45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(57, 0, 183, 0); } }
.gate-title {
  font-weight: 400; font-size: clamp(46px, 5.9vw, 100px); line-height: 0.94; margin: 0 0 26px;
  text-wrap: balance;
}
.gate-title em, .line em, .about-tag {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--purple); font-size: 1.08em;
}
.gate-text { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.45; color: var(--ink-2); max-width: 34ch; margin: 0 0 34px; }
.gate-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Başla düğmesi: giriş ekranındaki tek eylem. Soldaki ses dalgası sohbetin sesli başladığını söyler. */
.start {
  display: inline-flex; align-items: center; gap: 18px; height: 76px; padding: 0 30px 0 10px; border-radius: 999px;
  background: var(--purple); color: #fff; font-size: clamp(19px, 1.5vw, 22px); font-weight: 500; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
  box-shadow: 0 20px 46px -16px rgba(57, 0, 183, .8);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.start::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.start:hover::before { transform: none; }
.start:hover { box-shadow: 0 20px 46px -18px rgba(18, 13, 31, .7); }
.start:active { transform: scale(.97); }
.start:focus-visible { outline-offset: 4px; border-radius: 999px; }
.start-ico {
  flex: none; width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; position: relative;
}
.start-ico::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; animation: start-ring 2.4s var(--ease) infinite;
}
@keyframes start-ring { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .5); } 70%, 100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); } }
.start-eq { display: flex; align-items: center; gap: 3px; height: 22px; }
.start-eq i {
  display: block; width: 3px; height: 100%; border-radius: 2px; background: var(--purple);
  animation: start-bar 1.15s ease-in-out infinite;
}
.start-eq i:nth-child(1) { animation-delay: -.9s; }
.start-eq i:nth-child(2) { animation-delay: -.35s; }
.start-eq i:nth-child(3) { animation-delay: -.6s; }
.start-eq i:nth-child(4) { animation-delay: -.1s; }
.start-eq i:nth-child(5) { animation-delay: -.75s; }
@keyframes start-bar { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
/* Ses kapalıyken dalga durur */
.is-muted .start-eq i { animation: none; transform: scaleY(.14); background: var(--ink-3); }
.is-muted .start-ico::after { animation: none; }
.start-arrow { width: 22px; height: 22px; margin-left: 6px; transition: transform .4s var(--ease); }
.start:hover .start-arrow { transform: translateX(4px); }
.gate-title, .gate-text, .gate-actions, .kicker { animation: rise 1s var(--ease-out) both; }
.kicker { animation-delay: .1s; } .gate-title { animation-delay: .2s; } .gate-text { animation-delay: .35s; } .gate-actions { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.marquee {
  position: absolute; left: 0; right: 0; bottom: 0; height: clamp(64px, 9vh, 96px); overflow: hidden;
  border-top: 1px solid var(--line); display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-group { display: flex; }
.marquee-group span {
  font-size: clamp(26px, 2.6vw, 40px); font-weight: 300; white-space: nowrap; padding: 0 28px; color: var(--ink);
  display: inline-flex; align-items: center; gap: 56px;
}
.marquee-group span::after { content: '✳'; color: var(--purple); font-size: .6em; transform: translateX(28px); margin-left: -28px; }
.marquee-group span:nth-child(even) { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(29px, 2.9vw, 44px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── Buton sistemi ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 500; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn svg { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--lg { height: 60px; padding: 0 30px; font-size: 17px; }
.btn--primary { background: var(--purple); color: #fff; box-shadow: 0 14px 34px -14px rgba(57, 0, 183, .75); }
.btn--primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn--primary:hover::before { transform: none; }
.btn--ghost { border: 1px solid rgba(18, 13, 31, .22); background: rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--ghost:hover { background: #fff; border-color: #fff; }

.round-btn {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; position: relative;
  transition: transform .3s var(--ease), background .3s var(--ease);
  animation: pop .35s var(--ease) both;
}
.round-btn svg { width: 19px; height: 19px; }
.round-btn:hover { background: var(--purple); transform: scale(1.06); }
.round-btn--light { background: rgba(18, 13, 31, .06); color: var(--ink); }
.round-btn--light:hover { background: var(--ink); color: #fff; }
.tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 4px); white-space: nowrap;
  font-family: var(--f-sans); font-size: 13px; padding: 5px 8px; border-radius: 6px;
  background: var(--ink); color: #fff; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.round-btn:hover .tip, .round-btn:focus-visible .tip { opacity: 1; transform: translate(-50%, 0); }
.pill-btn {
  height: 44px; padding: 0 16px 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid rgba(255, 255, 255, .8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--f-sans); font-size: 13px;
  animation: pop .35s var(--ease) both; transition: background .3s var(--ease), color .3s var(--ease);
}
.pill-btn svg { width: 14px; height: 14px; }
.pill-btn:hover { background: var(--ink); color: #fff; }
@keyframes pop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }

/* ───────── Sohbet ───────── */
.chat {
  position: absolute; left: 0; top: 0; bottom: 0; width: min(44vw, 700px); z-index: 4;
  overflow-y: auto; overflow-x: hidden; scrollbar-width: none; outline: none;
  transition: opacity .8s var(--ease) .15s;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, transparent calc(var(--top-h) - 10px), #000 calc(var(--top-h) + 50px));
          mask-image: linear-gradient(180deg, transparent 0, transparent calc(var(--top-h) - 10px), #000 calc(var(--top-h) + 50px));
}
.chat::-webkit-scrollbar { display: none; }
.is-gate .chat { opacity: 0; pointer-events: none; }
.chat-inner { padding: 38vh var(--gx) 160px; min-height: 100%; transition: padding-top .6s var(--ease-out); }
[data-step='summary'] .chat-inner, [data-step='done'] .chat-inner, [data-step='services'] .chat-inner { padding-top: max(calc(var(--top-h) + 90px), 20vh); }

.lines { position: relative; }
.line {
  margin: 0; font-size: clamp(30px, 2.75vw, 48px); line-height: 1.1; font-weight: 400;
  text-wrap: pretty; max-width: 17em;
}
.line--cur { position: relative; cursor: default; }
.line--prev {
  position: absolute; left: 0; right: 0; bottom: calc(100% + 28px);
  transform: scale(.62); transform-origin: left bottom; filter: blur(3.5px); opacity: .42; cursor: pointer;
  transition: filter .4s var(--ease), opacity .4s var(--ease);
  user-select: none; -webkit-user-select: none;
}
.line--prev:hover { filter: blur(1px); opacity: .75; }
.line--prev .w { opacity: 1 !important; filter: none !important; transform: none !important; }
.line--prev .w::after { display: none !important; }

.w {
  display: inline-block; opacity: .1; filter: blur(7px); transform: translateY(.14em);
  transition: opacity .45s var(--ease), filter .45s var(--ease), transform .55s var(--ease-out);
}
.w.is-on { opacity: 1; filter: blur(0); transform: none; }
.line--cur .w.is-last::after {
  content: ''; display: inline-block; width: .38em; height: .74em; margin-left: .1em; vertical-align: -.04em;
  background: var(--purple); animation: caret 1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

/* Cevap alanı */
.answer {
  margin-top: 44px; max-width: 560px;
  opacity: 0; transform: translateY(18px); visibility: hidden; pointer-events: none;
  transition: opacity .5s var(--ease), transform .6s var(--ease-out), visibility 0s linear .5s;
}
.answer.is-in { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .5s var(--ease) .05s, transform .7s var(--ease-out) .05s, visibility 0s; }
.answer.is-in .chip, .answer.is-in .summary-row, .answer.is-in .next-list li { animation: rise .6s var(--ease-out) both; }
.answer.is-in .chip:nth-child(2), .answer.is-in .summary-row:nth-child(2), .answer.is-in .next-list li:nth-child(2) { animation-delay: .04s; }
.answer.is-in .chip:nth-child(3), .answer.is-in .summary-row:nth-child(3), .answer.is-in .next-list li:nth-child(3) { animation-delay: .08s; }
.answer.is-in .chip:nth-child(4), .answer.is-in .summary-row:nth-child(4) { animation-delay: .12s; }
.answer.is-in .chip:nth-child(5), .answer.is-in .summary-row:nth-child(5) { animation-delay: .16s; }
.answer.is-in .chip:nth-child(6), .answer.is-in .summary-row:nth-child(6) { animation-delay: .2s; }
.answer.is-in .chip:nth-child(7), .answer.is-in .summary-row:nth-child(7) { animation-delay: .24s; }
.answer.is-in .chip:nth-child(8), .answer.is-in .summary-row:nth-child(8) { animation-delay: .28s; }
.answer.is-in .chip:nth-child(n+9) { animation-delay: .32s; }

/* Metin alanı */
.field {
  display: flex; align-items: flex-end; gap: 14px; position: relative;
  border-bottom: 1.5px solid var(--ink); padding-bottom: 10px;
}
.field::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1.5px; height: 1.5px; background: var(--purple);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out);
}
.field:focus-within::after { transform: scaleX(1); }
.field.is-invalid { border-color: var(--error); }
.field.is-invalid::after { background: var(--error); transform: scaleX(1); }
.field-wrap { flex: 1; position: relative; display: block; cursor: text; }
.field input, .field textarea {
  width: 100%; border: 0; background: transparent; outline: none; padding: 26px 0 4px;
  font-size: clamp(20px, 1.6vw, 26px); font-weight: 400; color: var(--ink);
}
.field textarea { resize: none; line-height: 1.35; min-height: 64px; max-height: 220px; display: block; }
.field-label {
  position: absolute; left: 0; top: 26px; color: var(--ink-2); pointer-events: none; transform-origin: left top;
  font-size: clamp(20px, 1.6vw, 26px);
  transition: transform .35s var(--ease), color .35s var(--ease);
}
.field input:focus + .field-label, .field textarea:focus + .field-label,
.field input:not(:placeholder-shown) + .field-label, .field textarea:not(:placeholder-shown) + .field-label {
  transform: translateY(-24px) scale(.52); color: var(--purple); font-family: var(--f-sans);
}
.field:focus-within :focus-visible { outline: none; }
.send {
  flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center;
  transition: transform .35s var(--ease), background .35s var(--ease); margin-bottom: 2px;
}
.send svg { width: 22px; height: 22px; }
.send:hover { background: var(--purple); transform: scale(1.06) rotate(-8deg); }
.field.has-value .send { background: var(--purple); }
.field--other { margin-top: 18px; }
.field--other input { font-size: 19px; }

.field-err {
  margin: 12px 0 0; display: inline-block; font-family: var(--f-sans); font-size: 13.5px;
  background: var(--error); color: #fff; padding: 7px 11px; border-radius: 6px; line-height: 1.35;
  clip-path: inset(0 100% 0 0); visibility: hidden;
}
.field-err.is-in { visibility: visible; animation: clip .45s var(--ease-out) forwards; }
@keyframes clip { to { clip-path: inset(0 0 0 0); } }
.hint { font-family: var(--f-sans); font-size: 13px; color: var(--ink-2); margin: 14px 0 0; }
.answer-form .chips--alt { margin-top: 18px; }

/* Çipler */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 10px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .58); border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(18, 13, 31, .04), 0 8px 24px -16px rgba(40, 10, 120, .35);
  font-size: 16px; line-height: 1.2; text-align: left; text-decoration: none;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.chip svg { width: 16px; height: 16px; flex: none; }
.chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed='true'] { background: var(--purple); color: #fff; border-color: var(--purple); }
.chip--outline { background: transparent; border: 1px solid rgba(18, 13, 31, .28); box-shadow: none; backdrop-filter: none; font-family: var(--f-sans); font-size: 13px; }
.chip--outline.is-copied { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.chip--ghost { background: transparent; border: 1px dashed rgba(18, 13, 31, .3); box-shadow: none; backdrop-filter: none; color: var(--ink-2); }
.chip--ghost:hover { border-style: solid; }
.tick {
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; flex: none; opacity: .55;
  transition: background .3s var(--ease), border-color .3s var(--ease), opacity .3s;
}
.tick svg { width: 12px; height: 12px; opacity: 0; transform: scale(.4); transition: opacity .25s, transform .35s var(--ease-out); }
.chip--other .tick svg { opacity: 1; transform: none; }
.chip--check[aria-checked='true'] { background: var(--purple); color: #fff; border-color: var(--purple); }
.chip--check[aria-checked='true'] .tick { background: #fff; border-color: #fff; color: var(--purple); opacity: 1; }
.chip--check[aria-checked='true'] .tick svg { opacity: 1; transform: none; }
.chip--other[aria-checked='true'] .tick svg { transform: rotate(45deg); }

.row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 26px; }
.row .hint { margin: 0; }

/* KVKK onayı */
.consent-row { display: flex; gap: 16px; align-items: flex-start; }
.consent {
  flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center;
  background: rgba(255, 255, 255, .5); transition: background .3s var(--ease), border-color .3s;
}
.consent .tick { border: 0; opacity: 1; }
.consent[aria-checked='true'] { background: var(--purple); border-color: var(--purple); color: #fff; }
.consent[aria-checked='true'] .tick svg { opacity: 1; transform: none; }
.consent-label { margin: 4px 0 0; font-size: 17px; line-height: 1.45; max-width: 40ch; }
.u-link { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.u-link:hover { text-decoration-thickness: 2px; }

/* Özet kartı */
.summary-card {
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .95); border-radius: 22px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -30px rgba(40, 10, 120, .35); padding: 8px 22px 10px; position: relative;
}
.summary-head { display: flex; justify-content: space-between; padding: 14px 0 12px; color: var(--purple); border-bottom: 1px solid var(--line); }
.summary-date { color: var(--ink-2); }
.summary-list { margin: 0; }
.summary-row { display: grid; grid-template-columns: 92px 1fr auto; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.summary-row:last-child { border-bottom: 0; }
.summary-row dt { font-family: var(--f-sans); font-size: 13px; color: var(--ink-2); }
.summary-row dd { margin: 0; font-size: 15px; line-height: 1.35; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.summary-edit { font-family: var(--f-sans); font-size: 13px; color: var(--purple); padding: 6px 8px; border-radius: 6px; }
.summary-edit:hover { background: var(--purple); color: #fff; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Final */
.final-kicker { color: var(--purple); margin: 0 0 14px; }
.next-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.next-list li { display: flex; gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.next-list .mono { color: var(--purple); }
.final-contact { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; font-size: clamp(20px, 1.6vw, 26px); }
.final-contact a { text-decoration: none; width: max-content; background: linear-gradient(var(--purple), var(--purple)) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease-out); }
.final-contact a:hover { background-size: 100% 1.5px; }
.final-social { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-family: var(--f-sans); font-size: 13px; }

/* Dock (geri / tekrar / geç / durum) */
.dock {
  position: fixed; left: var(--gx); bottom: calc(30px + env(safe-area-inset-bottom)); z-index: 6;
  display: flex; align-items: center; gap: 10px; min-height: 44px;
}
.is-gate .dock { opacity: 0; pointer-events: none; }
.meta { display: flex; align-items: center; gap: 8px; color: var(--ink-2); margin-left: 8px; }
.meta-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--purple);
  transform: scale(calc(1 + var(--lvl) * 1.1)); box-shadow: 0 0 0 calc(var(--lvl) * 7px) rgba(57, 0, 183, .15);
}
[data-host-state='listening'] .meta-dot { background: var(--magenta); animation: breathe 1.6s ease-in-out infinite; }
[data-host-state='thinking'] .meta-dot { background: var(--yellow); animation: breathe .6s ease-in-out infinite; }
[data-host-state='error'] .meta-dot { background: var(--error); }
[data-host-state='success'] .meta-dot { background: #1fbf75; }
@keyframes breathe { 50% { opacity: .35; } }
.meta-sep { opacity: .4; }
.pct::after { counter-reset: p var(--pct); content: counter(p) '%'; }

.progress { position: fixed; left: 0; right: 0; bottom: 0; height: 3px; z-index: 8; pointer-events: none; }
.progress span {
  display: block; height: 100%; background: linear-gradient(90deg, var(--purple), var(--violet) 70%, var(--magenta));
  transform-origin: left; transform: scaleX(var(--progress)); transition: transform .9s var(--ease-out);
}
.is-gate .progress { opacity: 0; }

/* Alt bilgi */
.foot {
  position: absolute; right: var(--gx); bottom: calc(30px + env(safe-area-inset-bottom)); z-index: 3;
  display: flex; gap: 28px; align-items: center; min-height: 44px; color: var(--ink-2); transition: opacity .6s;
}
.is-gate .foot { opacity: 0; }
.foot-tag { font-family: var(--f-serif); font-style: italic; font-size: 16px; color: var(--ink-2); }

.toast {
  position: fixed; left: 50%; top: calc(var(--top-h) + 6px); transform: translate(-50%, -12px); z-index: 70;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; max-width: min(92vw, 520px); text-align: center; line-height: 1.4;
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease), transform .45s var(--ease-out);
}
.toast.is-in { opacity: 1; transform: translate(-50%, 0); }

.debug-dl {
  position: fixed; right: 12px; top: calc(var(--top-h) + 8px); z-index: 80; font-family: var(--f-sans); font-size: 13px;
  background: var(--yellow); color: var(--ink); padding: 8px 12px; border-radius: 8px; text-decoration: none;
}

/* ───────── Menü ───────── */
.menu {
  position: fixed; inset: 0; z-index: 50; color: #fff; display: flex; flex-direction: column;
  padding: 0 var(--gx) calc(24px + env(safe-area-inset-bottom));
  clip-path: circle(0% at calc(100% - var(--gx) - 50px) 44px);
  transition: clip-path .9s var(--ease-io);
  overflow-y: auto; overscroll-behavior: contain;
}
.menu.is-open { clip-path: circle(150% at calc(100% - var(--gx) - 50px) 44px); }
.menu-bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 110%, rgba(230, 0, 126, .45), transparent 60%),
    radial-gradient(50% 60% at 10% -10%, rgba(122, 77, 255, .6), transparent 60%),
    var(--purple);
}
.menu-top { height: var(--top-h); flex: none; display: flex; align-items: center; justify-content: space-between; padding-top: env(safe-area-inset-top); }
.menu-btn--close { background: #fff; color: var(--ink); }
.menu-btn--close .menu-ico { background: var(--ink); }
.menu-btn--close .menu-ico i { background: #fff; }
.menu-btn--close:hover { background: var(--yellow); }
/* flex: 1 0 auto — ızgara içeriğinden kısa olamaz; yoksa mobilde panel taşar ve alt bilgi içeriğin üstüne biner */
.menu-grid { flex: 1 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5vw; align-items: start; padding-top: 6vh; }
.menu-nav { display: flex; flex-direction: column; }
.menu-link {
  display: flex; align-items: flex-start; gap: 16px; text-align: left; color: rgba(255, 255, 255, .62);
  font-size: clamp(44px, 6.4vw, 108px); font-weight: 300; line-height: 1.02;
  transition: color .4s var(--ease), transform .5s var(--ease-out);
  opacity: 0; transform: translateY(40px);
}
.menu.is-open .menu-link { opacity: 1; transform: none; transition: color .4s var(--ease), transform .9s var(--ease-out), opacity .6s var(--ease); }
.menu.is-open .menu-link:nth-child(1) { transition-delay: 0s, .15s, .15s; }
.menu.is-open .menu-link:nth-child(2) { transition-delay: 0s, .2s, .2s; }
.menu.is-open .menu-link:nth-child(3) { transition-delay: 0s, .25s, .25s; }
.menu.is-open .menu-link:nth-child(4) { transition-delay: 0s, .3s, .3s; }
.menu.is-open .menu-link:nth-child(5) { transition-delay: 0s, .35s, .35s; }
.menu.is-open .menu-link:nth-child(6) { transition-delay: 0s, .4s, .4s; }
.menu-link .mono { font-size: 13px; margin-top: 1.2em; color: rgba(255, 255, 255, .6); }
.menu-link:hover, .menu-link.is-active { color: #fff; }
.menu-link.is-active .menu-link-t { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.menu-link:last-child { color: var(--yellow); }
.menu-link:focus-visible { outline-color: #fff; }

.menu-panels { position: relative; min-height: 50vh; }
.menu-panel { display: none; animation: rise .6s var(--ease-out) both; }
.menu-panel.is-active { display: block; }
.menu-panel h2 { margin: 0 0 22px; color: rgba(255, 255, 255, .7); font-weight: 400; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.svc-list li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
/* Hizmet ikonu: yumuşak bir kutu içinde çizgi ikon; vurgu rengi --ic-a */
.svc-ic-box {
  flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  color: var(--purple); background: rgba(57, 0, 183, .08); --ic-a: var(--magenta);
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .5s var(--ease-out);
}
.svc-ic { width: 28px; height: 28px; display: block; overflow: visible; }
.svc-list .svc-ic-box { color: #fff; background: rgba(255, 255, 255, .12); --ic-a: var(--yellow); margin-top: 2px; }
.svc-list li:hover .svc-ic-box { background: rgba(255, 255, 255, .2); transform: rotate(-4deg) scale(1.05); }
.svc-list h3 { margin: 0 0 4px; font-size: 20px; font-weight: 500; }
.svc-list p { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .72); }
.ref-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: clamp(24px, 2.3vw, 38px); font-weight: 300; line-height: 1.2; }
.ref-list li::after { content: '/'; margin: 0 .35em; color: rgba(255, 255, 255, .35); }
.ref-list li:last-child::after { display: none; }
.ref-list li:nth-child(3n+2) { font-family: var(--f-serif); font-style: italic; font-weight: 400; }
.about-p { font-size: clamp(18px, 1.45vw, 23px); line-height: 1.45; margin: 0 0 18px; max-width: 42ch; color: rgba(255, 255, 255, .88); }
.about-tag { color: var(--yellow); font-size: clamp(24px, 2vw, 32px); margin: 28px 0 0; line-height: 1.15; }
.contact-list { margin: 0; }
.contact-list div { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.contact-list dt { color: rgba(255, 255, 255, .6); margin-bottom: 6px; }
.contact-list dd { margin: 0; font-size: clamp(20px, 1.8vw, 30px); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--yellow); }
.contact-list .soc { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 18px; }
.blog-list { list-style: none; margin: 0 0 18px; padding: 0; }
.blog-list li { border-top: 1px solid rgba(255, 255, 255, .18); }
.blog-list a { display: block; padding: 16px 0; text-decoration: none; }
.blog-list .mono { display: block; color: rgba(255, 255, 255, .6); margin-bottom: 6px; }
.blog-list-t { display: block; font-size: clamp(19px, 1.6vw, 26px); line-height: 1.25; max-width: 34ch; text-wrap: balance; transition: color .3s var(--ease); }
.blog-list a:hover .blog-list-t { color: var(--yellow); }
.menu-foot { display: flex; gap: 20px; flex-wrap: wrap; color: rgba(255, 255, 255, .6); padding-top: 24px; }
.menu-foot a { text-decoration: none; }
.menu-foot a:hover { color: #fff; }

/* ───────── Çekmece ───────── */
.drawer { position: fixed; inset: 0; z-index: 55; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(18, 13, 31, .35); opacity: 0; transition: opacity .5s var(--ease); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(50vw, 720px); background: #fbfaff; padding: 28px clamp(24px, 3vw, 48px);
  transform: translateX(100%); transition: transform .7s var(--ease-io); overflow-y: auto; box-shadow: -40px 0 80px -40px rgba(40, 10, 120, .4);
}
.drawer.is-open .drawer-scrim { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.drawer-head h2 { margin: 0; font-weight: 400; font-size: clamp(32px, 3vw, 52px); }
.drawer-body p { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.drawer-body p:first-child { color: var(--purple); font-family: var(--f-sans); font-size: 13px; }

.noscript { position: relative; z-index: 90; background: #fff; padding: 40px; max-width: 760px; margin: 40px auto; border-radius: 16px; }

/* ───────── Mobil ───────── */
@media (max-width: 900px) {
  :root { --top-h: 64px; }
  .bg {
    background:
      radial-gradient(70% 38% at 50% 28%, rgba(122, 77, 255, .22), transparent 70%),
      radial-gradient(130% 90% at 50% 28%, #f6f4fa 0%, var(--bg) 45%, var(--bg-2) 80%, var(--bg-3) 100%);
  }
  .no-webgl .bg-orb { left: 50%; top: 27%; width: 58vw; }
  .logo { width: 138px; }
  .top-ctrl { gap: 6px; }
  .lang button { height: 30px; min-width: 32px; padding: 0 7px; }
  .icon-btn { width: 38px; height: 38px; }
  .menu-btn { height: 38px; padding: 0 6px; }
  .menu-top .menu-btn, .top .menu-btn { padding: 0 6px; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

  .gate-inner { left: 20px; right: 20px; width: auto; bottom: calc(28px + env(safe-area-inset-bottom)); }
  .gate-title { font-size: clamp(40px, 11.5vw, 60px); margin-bottom: 16px; }
  .gate-text { font-size: 16px; margin-bottom: 22px; }
  .gate-actions { flex-direction: column; }
  .start { width: 100%; height: 68px; padding-right: 24px; }
  .start-ico { width: 48px; height: 48px; }
  .start-arrow { margin-left: auto; }
  .kicker { margin-bottom: 14px; }
  .marquee { display: none; }

  .chat {
    top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: calc(var(--app-h) * .6);
    background: rgba(252, 251, 255, .84); backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
    border-radius: 26px 26px 0 0; border-top: 1px solid rgba(255, 255, 255, .95);
    box-shadow: 0 -20px 60px -30px rgba(40, 10, 120, .35);
    -webkit-mask-image: none; mask-image: none;
    display: flex; flex-direction: column;
    transition: opacity .6s var(--ease) .1s, transform .8s var(--ease-out), max-height .4s var(--ease);
  }
  .is-gate .chat { transform: translateY(100%); }
  .kb-open .chat { max-height: calc(var(--app-h) - var(--top-h)); }
  .chat { overflow: hidden; }
  .chat-inner {
    padding: 6px 20px calc(22px + env(safe-area-inset-bottom)); min-height: 0;
    overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  }
  .chat-inner::-webkit-scrollbar { display: none; }
  [data-step] .chat-inner { padding-top: 6px; }
  .line { font-size: clamp(23px, 6.4vw, 30px); line-height: 1.12; }
  .line--prev { display: none; }
  .answer { margin-top: 22px; }
  .field input, .field textarea, .field-label { font-size: 19px; }
  .field input, .field textarea { padding-top: 22px; }
  .field-label { top: 22px; }
  .send { width: 46px; height: 46px; }
  .chip { min-height: 42px; padding: 9px 16px; font-size: 15px; background: rgba(255, 255, 255, .9); border-color: rgba(18, 13, 31, .08); }
  .chip:hover { background: rgba(255, 255, 255, .9); color: var(--ink); border-color: rgba(18, 13, 31, .08); }
  .chip[aria-pressed='true'], .chip--check[aria-checked='true'] { background: var(--purple); color: #fff; }
  .chip--outline, .chip--ghost { background: transparent; }
  .row { margin-top: 20px; }
  .btn { height: 50px; }
  .summary-row { grid-template-columns: 76px 1fr auto; }

  .dock {
    position: relative; left: auto; bottom: auto; z-index: 2; padding: 14px 20px 6px; min-height: 58px;
  }
  .round-btn, .pill-btn { width: 38px; height: 38px; }
  .pill-btn { width: auto; }
  .round-btn svg { width: 17px; height: 17px; }
  .tip { display: none; }
  .meta { margin-left: auto; }
  .progress { top: 0; bottom: auto; height: 2px; }
  .foot { display: none; }
  .toast { top: calc(var(--top-h) + 4px); }

  .menu-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 2vh; }
  .menu-link { font-size: clamp(38px, 11vw, 56px); }
  .menu-panels { min-height: 0; }
  .svc-list { grid-template-columns: 1fr; }
  .drawer-panel { top: auto; left: 0; width: auto; max-height: 82vh; border-radius: 24px 24px 0 0; transform: translateY(100%); padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}

@media (max-width: 900px) and (max-height: 640px) {
  .chat { max-height: calc(var(--app-h) * .66); }
}

/* Mobilde dock, sheet'in en üstünde */
@media (max-width: 900px) {
  .chat .dock { order: -1; flex: none; }
  .chat .chat-inner { flex: 1 1 auto; }
}

/* ───────── Hareket azaltma ───────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .grain { animation: none; }
  .marquee-track { animation: none; }
  .start-eq i { transform: scaleY(.6); }
  .w { filter: none; transform: none; }
}

.menu :focus-visible { outline-color: #fff; }

/* ───────── Çerez onayı (consent.js) ───────── */
.cookie {
  position: fixed; right: var(--gx); bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 75;
  width: min(420px, calc(100vw - 2 * var(--gx))); padding: 22px 22px 20px; border-radius: 20px;
  background: rgba(255, 255, 255, .92); color: var(--ink); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -24px rgba(18, 13, 31, .45), 0 0 0 1px rgba(18, 13, 31, .06);
  font-family: var(--f-sans); opacity: 0; transform: translateY(12px);
  transition: opacity .45s var(--ease), transform .6s var(--ease-out);
}
.cookie.is-in { opacity: 1; transform: none; }
.cookie[hidden] { display: none; }
.cookie-text { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.cookie-text a { color: var(--purple); text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { flex: 1; justify-content: center; height: 46px; padding: 0 18px; font-size: 15px; }
@media (max-width: 900px) {
  .cookie { left: 16px; right: 16px; width: auto; bottom: calc(16px + env(safe-area-inset-bottom)); padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie { transition: none; transform: none; }
}
