/* ============================================================
   SAQRENA — styles.css  (REV3: comprehensive visual rebuild)
   Warm-paper external theme (MARKA_KITABI §3/§6).
   Bold gold diagonals + dark dramatic bands are composition
   accents only — page base stays warm paper #FAF7EF.
   Logical properties throughout so AR (dir=rtl) mirrors itself.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;700&family=JetBrains+Mono:wght@400;500&family=IBM+Plex+Sans+Arabic:wght@400;500;600&display=swap');

/* ---------- Tokens ---------- */
:root {
  --paper:      #FAF7EF;   /* warm paper background */
  --paper-2:    #F3EEE0;   /* slightly deeper paper (cards) */
  --ink:        #0f0f0e;   /* primary text */
  --muted:      #6A6A62;   /* secondary text */
  --gold:       #c9a227;   /* accent only */
  --gold-strong:#E7B845;   /* stronger gold (on dark) */
  --gold-hi:    #F0C24E;   /* highlight gold */
  --hairline:   rgba(15,15,14,0.12);
  --hairline-soft: rgba(15,15,14,0.07);

  /* dark product "screen" / dramatic bands */
  --screen-bg:  #0f0f0e;
  --screen-panel: #171716;
  --screen-line: #2b2a27;
  --screen-ivory: #f2efe9;
  --screen-muted: #8f8b83;
  --pos:        #10B981;
  --neg:        #EF4444;

  --font-display: 'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:    'Schibsted Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 10px;
}

/* AR: swap body/heading family to a face with Arabic glyphs */
html[lang="ar"] {
  --font-display: 'IBM Plex Sans Arabic', 'Schibsted Grotesk', sans-serif;
  --font-body:    'IBM Plex Sans Arabic', 'Schibsted Grotesk', sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
html[lang="ar"] .eyebrow { letter-spacing: 0.04em; }
.eyebrow--gold { color: var(--gold); }

.lede { color: var(--muted); font-size: clamp(16px, 2vw, 19px); line-height: 1.55; }

.section { padding-block: clamp(64px, 9vw, 120px); }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 20ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn--primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--primary:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--sm { min-height: 38px; padding: 8px 16px; }
.btn--block { width: 100%; }
.btn--text {
  background: none;
  padding: 12px 4px;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  min-height: 44px;
  font-weight: 500;
}
.btn--text:hover { border-bottom-color: var(--gold); color: var(--gold); }
.btn__arrow { color: var(--gold); flex: none; }
.btn--text:hover .btn__arrow { color: var(--gold); }

:where(a, button, input, textarea):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Topbar (banner dark language) ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--screen-bg);   /* solid near-black — exact LinkedIn-banner surface */
  border-bottom: 1px solid rgba(242,239,233,0.12);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 62px; }
.topbar__nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 24px); }

/* brand lockup: live hawk-eye mark + canonical wordmark (App.tsx:106) */
.brand { display: inline-flex; align-items: center; gap: 7px; }
.logo { flex: none; }
.wordmark {
  display: inline-flex;
  align-items: center;
  direction: ltr;              /* Latin brand — never reorder in RTL (AR) */
  unicode-bidi: isolate;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1;
}
.wordmark .q { color: var(--gold); }
.wordmark--footer { font-size: 15px; }
.footer__logo { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- Live eye (topbar only) — ÜRÜNÜN LogoMark davranışı ----------
   blink (5.2s döngü) + imleç takibi (app.js) + HOVER'da kapak kapalı kalır
   + imleç hızına göre tek-sefer odak (zoom). Değerler üründen birebir. */
.logo--live .eye-lid { transform: translateY(46px); }   /* base = eye open */
html:not(.no-js) .logo--live .eye-lid {
  animation: eye-blink 5.2s ease-in-out infinite;
}
@keyframes eye-blink {
  0%, 90%, 100% { transform: translateY(46px); }   /* open */
  95%           { transform: translateY(0); }        /* lid down = blink */
}
/* hover: blink DURUR, kapak kapalı kalır (ürün closeOnHover mantığı) */
html:not(.no-js) .logo--live.is-hover .eye-lid {
  animation: none;
  transform: translateY(0);
  transition: transform .2s ease-out;
}
html:not(.no-js) .logo--live .eye-lid { transition: transform .2s ease-out; }
/* odak: bebek tek sefer küçülüp büyür (ürün logo-zoom-once ile birebir) */
.eye-zoom { transform-box: view-box; transform-origin: 32px 32px; }
html:not(.no-js) .eye-zoom.is-zoom { animation: eye-zoom-once 1.5s ease-in-out 1 both; }
@keyframes eye-zoom-once {
  0%   { transform: scale(1); }
  15%  { transform: scale(0.78); }
  60%  { transform: scale(1.04); }
  80%  { transform: scale(0.98); }
  92%  { transform: scale(1.01); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .logo--live.is-hover .eye-lid { transition: none; }
  .eye-zoom.is-zoom { animation: none; }
}

.langswitch { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 12px; }
.lang {
  background: none; border: 0; padding: 8px 2px;
  min-height: 36px;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: color .15s ease;
}
.lang:hover { color: var(--ink); }
.lang[aria-pressed="true"] { color: var(--gold); }
.lang__sep { color: var(--hairline); }

/* topbar on the dark banner surface: ivory wordmark, gold Q, ivory-hover langs */
.topbar .wordmark { color: var(--screen-ivory); }
.topbar .wordmark .q { color: var(--gold-strong); }
.topbar .lang { color: var(--screen-muted); }
.topbar .lang:hover { color: var(--screen-ivory); }
.topbar .lang[aria-pressed="true"] { color: var(--gold-strong); }
.topbar .lang__sep { color: rgba(242,239,233,0.22); }

/* CTA on the dark topbar (banner contrast): gold fill + near-black text. */
.topbar .btn--primary {
  background: var(--gold-strong);
  border-color: var(--gold-strong);
  color: #0f0f0e;
}
.topbar .btn--primary:hover {
  background: var(--gold-hi);
  border-color: var(--gold-hi);
  color: #0f0f0e;
}

/* ============================================================
   1. HERO — cinematic
   ============================================================ */
.hero { position: relative; overflow: hidden; padding-block: clamp(52px, 10vh, 116px); }

/* bold gold diagonal composition block (presentation-cover motif) */
.hero__diagonal {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(135deg, var(--gold-hi) 0%, var(--gold) 55%, #9c771f 100%);
  clip-path: polygon(66% 0, 100% 0, 100% 48%);
}
.hero__diagonal::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(201,162,39,0.5) 60.6%, transparent 61.4%);
  clip-path: polygon(0 62%, 100% 0, 100% 100%, 0 100%);
  opacity: .5;
}
html[dir="rtl"] .hero__diagonal { clip-path: polygon(0 0, 34% 0, 0 48%); }
html[dir="rtl"] .hero__diagonal::after { clip-path: polygon(0 0, 100% 62%, 100% 100%, 0 100%); }

.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}
.hero__copy { max-width: 640px; }
.hero__h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 6.4vw, 62px);
  letter-spacing: -0.022em;
  line-height: 1.04;
  margin-bottom: 24px;
}
.hero__sub { max-width: 60ch; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-bottom: 26px; }
.rotator__gold { color: var(--gold); }

/* rotating headline — grid stack reserves the tallest message (no bounce) */
.rotator { display: grid; }
.rotator__msg {
  grid-column: 1; grid-row: 1;
  opacity: 0;
  transform: translateY(0.55em);
  transition: opacity .55s ease, transform .55s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.rotator__msg.is-active { opacity: 1; transform: none; }
.rotator__msg.is-exit { opacity: 0; transform: translateY(-0.55em); }
.no-js .rotator__msg.is-active { opacity: 1; transform: none; }

/* hero proof strip — full-bleed dark scrolling band on the cream hero.
   Reuses the .marquee track engine (animation / hover-pause / RTL-reverse /
   reduced-motion freeze); a solid dark band with text fading at both edges. */
.hero__marquee {
  position: relative;
  width: 100%;
  margin-top: clamp(6px, 1.2vw, 14px);
  background: var(--screen-bg);
  color: var(--screen-ivory);
  border-top: 0;
  padding-block: 16px;
  -webkit-mask-image: none;
          mask-image: none;
}
.hero__marquee .marquee__item { color: var(--gold-strong); }
.hero__marquee .marquee__item::after { color: var(--screen-ivory); }
.hero__marquee::before,
.hero__marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0;
  width: clamp(36px, 8%, 90px); z-index: 2; pointer-events: none;
}
.hero__marquee::before { left: 0;  background: linear-gradient(to right, var(--screen-bg), transparent); }
.hero__marquee::after  { right: 0; background: linear-gradient(to left,  var(--screen-bg), transparent); }

/* eye scene: gold eye + breathing concentric rings */
.hero__scene { position: relative; display: grid; place-items: center; min-height: 300px; }
.hero__eye {
  position: relative; z-index: 2;
  width: clamp(120px, 17.6vw, 180px); height: auto;   /* ~20% smaller (rev4) */
  /* stronger golden glow on the dark banner ground */
  filter: drop-shadow(0 16px 34px rgba(169,120,31,0.38));
}

/* ---- Hero gözü: ÜRÜNÜN hareketi (LogoMark) — kapak kırpar, sonra bebek odaklanır ----
   Değerler ürünün index.css'inden BİREBİR: lid açık = translateY(45), kapalı = 0;
   zoom-once 1.5s ease-in-out (1 → .78 → 1.04 → .98 → 1.01 → 1). Başlık her
   değiştiğinde app.js `is-refocus` sınıfını bir tur ekler. */
.hero-eye-lid   { transform-box: view-box; transform: translateY(45px); }   /* varsayılan: göz açık */
.hero-eye-pupil { transform-box: view-box; transform-origin: 32px 32px; }

html:not(.no-js) .hero__eye.is-refocus .hero-eye-lid {
  animation: hero-eye-blink 0.62s ease-out 1 both;
}
html:not(.no-js) .hero__eye.is-refocus .hero-eye-pupil {
  animation: hero-eye-zoom-once 1.5s ease-in-out 0.5s 1 both;   /* kapak açıldıktan SONRA */
}
@keyframes hero-eye-blink {          /* ürün logo-blink'inin tek-sefer hali */
  0%   { transform: translateY(45px); }
  28%  { transform: translateY(0); }
  46%  { transform: translateY(0); }
  100% { transform: translateY(45px); }
}
@keyframes hero-eye-zoom-once {      /* ürün logo-zoom-once ile birebir */
  0%   { transform: scale(1); }
  15%  { transform: scale(0.78); }
  60%  { transform: scale(1.04); }
  80%  { transform: scale(0.98); }
  92%  { transform: scale(1.01); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__eye.is-refocus .hero-eye-lid,
  .hero__eye.is-refocus .hero-eye-pupil { animation: none; }
}

.ring {
  animation: heroRingRefocus 1.1s cubic-bezier(.3,.7,.3,1) both;
}

.ring {
  position: absolute; top: 50%; left: 50%;
  aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid rgba(201,162,39,0.32);
  transform: translate(-50%, -50%);
  z-index: 1; pointer-events: none;
}
.ring--1 { width: 38%; border-color: rgba(201,162,39,0.42); }
.ring--2 { width: 56%; border-color: rgba(201,162,39,0.30); }
.ring--3 { width: 75%; border-color: rgba(201,162,39,0.20); }
html:not(.no-js) .ring { animation: breathe 6s ease-in-out infinite; }
.ring--2 { animation-delay: .5s; }
.ring--3 { animation-delay: 1s; }
@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1);    opacity: .55; }
  50%      { transform: translate(-50%, -50%) scale(1.09); opacity: .95; }
}

/* ---------- Section rhythm: alternating paper tones (subtle, no rules/lines) ----------
   paper → deep-paper → paper → deep-paper → dark band → paper */
.features, .video { background: var(--paper-2); }
.features .card { background: var(--paper); }          /* cards lift off the deeper ground */

/* ---------- How it works ---------- */
.steps { display: grid; gap: 14px; margin-top: 44px; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "num label" "num body";
  column-gap: clamp(20px, 4vw, 44px);
  row-gap: 6px;
  padding: clamp(24px, 3.4vw, 34px);
  background: var(--paper-2);   /* card interior = neighbouring tone (contrast rhythm) */
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  align-items: start;
}
.step__num {
  grid-area: num;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(40px, 8vw, 64px);
  line-height: 0.9;
  color: rgba(201,162,39,0.30);
  align-self: start;
}
.step__label { grid-area: label; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; font-size: clamp(21px, 3vw, 28px); }
.step__body { grid-area: body; color: var(--muted); max-width: 62ch; margin-top: 4px; }

/* ============================================================
   4. FEATURES bento — icons + deeper cards
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.card {
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 210px;
}
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: 2px;
  transition: transform .13s ease-out, filter .13s ease-out;
}
.card__icon img, .card__icon svg { width: 44px; height: 44px; }
.card__tag { font-family: var(--font-mono); font-size: 12px; color: var(--gold); letter-spacing: 0.08em; }
.card__title { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; font-size: clamp(20px, 2.4vw, 24px); }
.card__body { color: var(--muted); font-size: 14px; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__icon { transform: scale(1.04); filter: brightness(1.08) drop-shadow(0 0 6px rgba(231,184,69,0.45)); }
}

/* ============================================================
   5. SYNAPSE — full width + routing diagram
   ============================================================ */
.synapse__grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: var(--paper-2);   /* card interior = neighbouring section tone (contrast rhythm) */
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: clamp(28px, 4vw, 52px);
}
.synapse__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.synapse__body { color: var(--muted); font-size: clamp(16px, 1.7vw, 18px); max-width: 46ch; }

.synapse__diagram { position: relative; width: 100%; aspect-ratio: 5 / 4; }
.synapse__wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.wire { stroke: url(#wire-grad); stroke-width: 2.4; opacity: 0.72; }
.wire-node { fill: var(--gold-strong); }
.wire-pulse {
  stroke: #FCE08C; stroke-width: 3.4; stroke-linecap: round;
  stroke-dasharray: 6 94;   /* normalized: pathLength="100" on each path */
  filter: drop-shadow(0 0 4px rgba(231,184,69,0.85));
  opacity: 0;
}
html:not(.no-js) .wire-pulse {
  opacity: 1;
  animation: dashflow 2.4s linear infinite;
  animation-delay: var(--d);
}
@keyframes dashflow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

.synapse__core {
  position: absolute; top: 50%; left: 28%;
  width: clamp(84px, 22%, 120px); height: auto;
  transform: translate(-50%, -50%);
  z-index: 2;
  filter: drop-shadow(0 6px 18px rgba(169,120,31,0.4));
}
/* three routing targets — EQUAL width, evenly spaced; centres sit on the
   wire endpoints (78% / 20-50-80%). Each pill carries its own gold endpoint
   dot on the leading edge, so all three junctions are identical. */
.synapse__node {
  position: absolute; left: 78%;
  transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 150px; min-height: 30px;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase;
  text-align: center;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
  z-index: 2;
}
html[lang="ar"] .synapse__node { letter-spacing: 0; text-transform: none; }
.synapse__node--1 { top: 20%; }
.synapse__node--2 { top: 50%; }
.synapse__node--3 { top: 80%; }
/* RTL: mirror the whole diagram, then un-flip the readable chips + core */
html[dir="rtl"] .synapse__diagram { transform: scaleX(-1); }
html[dir="rtl"] .synapse__node { transform: translate(-50%, -50%) scaleX(-1); }
html[dir="rtl"] .synapse__core { transform: translate(-50%, -50%) scaleX(-1); }

/* ============================================================
   6. SEE IT IN MOTION — video
   ============================================================ */
.video__inner { text-align: center; }
.video__inner .eyebrow { text-align: center; }
.video__title { max-width: none; margin-inline: auto; }
.video__sub { max-width: 56ch; margin: 14px auto 0; }
.video__frame {
  max-width: 900px;
  margin: clamp(26px, 4vw, 44px) auto 0;
  background: var(--screen-bg);
  border: 1px solid var(--screen-line);
  border-radius: 16px;
  padding: clamp(10px, 1.4vw, 16px);
  box-shadow: 0 34px 80px -46px rgba(15,15,14,0.55);
}
.video__frame video {
  width: 100%; display: block;
  aspect-ratio: 16 / 9;
  border-radius: 9px;
  background: #000;
}

/* ============================================================
   7. SPEED & CLARITY — dark band + gold marquee
   ============================================================ */
.band {
  background: var(--screen-bg); color: var(--screen-ivory);
  /* generous top padding so the eyebrow/title breathe off the band edge */
  padding-block: clamp(80px, 11vw, 132px) clamp(52px, 7vw, 84px);
}
.band__inner { max-width: 760px; }
.band .eyebrow { color: var(--gold-strong); }
.band__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 5vw, 52px);
  letter-spacing: -0.02em;
  color: var(--screen-ivory);
  margin-bottom: 22px;
}
.band__body { color: var(--screen-muted); font-size: clamp(16px, 2vw, 19px); max-width: 60ch; }

.marquee {
  margin-top: clamp(32px, 5vw, 56px);
  overflow: hidden;
  border-top: 1px solid var(--screen-line);
  padding-block: 20px;
  -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: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 38s linear infinite;
}
.marquee__item {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gold-strong);
  padding-inline: clamp(20px, 3vw, 40px);
  display: inline-flex;
  align-items: center;
}
.marquee__item::after {
  content: "◆";
  font-size: 8px;
  color: var(--screen-ivory);
  opacity: .5;
  margin-inline-start: clamp(20px, 3vw, 40px);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
html[lang="ar"] .marquee__item { letter-spacing: 0; }
html[dir="rtl"] .marquee__track { animation-direction: reverse; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Demo / form ---------- */
.demo__inner { max-width: 620px; }
.demo__sub { margin: 14px 0 34px; }
.form {
  display: grid;
  gap: 20px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--paper-2);
}
.field { display: grid; gap: 7px; }
.field__label { font-size: 13px; font-weight: 500; letter-spacing: 0.01em; display: flex; align-items: baseline; gap: 8px; }
.field__opt { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field__input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field__input::placeholder { color: color-mix(in srgb, var(--muted) 70%, transparent); }
.field__input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,39,0.15); outline: none; }
.field__input--area { resize: vertical; min-height: 108px; line-height: 1.5; }
.field__input[aria-invalid="true"] { border-color: var(--neg); }
.field__error { color: var(--neg); font-size: 12.5px; margin-top: 1px; }
.form__status { font-size: 14px; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--hairline); }
.form__status[data-state="ok"] { color: #0b6b4f; border-color: rgba(16,185,129,0.4); background: rgba(16,185,129,0.08); }
.form__status[data-state="err"] { color: #9a2b23; border-color: rgba(239,68,68,0.4); background: rgba(239,68,68,0.07); }
.form__status a { color: inherit; text-decoration: underline; }
.demo__note { color: var(--muted); font-size: 13px; margin-top: 22px; max-width: 60ch; }

/* ============================================================
   9. FOOTER — dark band
   ============================================================ */
.footer {
  background: var(--screen-bg);
  color: var(--screen-muted);
  border-top: 1px solid rgba(201,162,39,0.30);
  padding-block: 48px;
}
.footer__inner { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.footer__brand { display: flex; flex-direction: column; gap: 6px; }
.footer .wordmark { color: var(--screen-ivory); }
.footer .wordmark .q { color: var(--gold-strong); }
.footer__tagline { color: var(--screen-muted); font-size: 13px; }
.footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; font-size: 13px; color: var(--screen-muted); }
.footer__contact { display: inline-flex; align-items: center; gap: 8px; }
.footer__contactlabel { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer__mail { color: var(--screen-ivory); border-bottom: 1px solid rgba(255,255,255,0.22); }
.footer__mail:hover { border-bottom-color: var(--gold-strong); color: var(--gold-strong); }
.footer .lang { color: var(--screen-muted); }
.footer .lang:hover { color: var(--screen-ivory); }
.footer .lang[aria-pressed="true"] { color: var(--gold-strong); }
.footer .lang__sep { color: var(--screen-line); }

/* ---------- Hero reveal (sequential, on load) ---------- */
.hero__copy > *, .hero__scene { opacity: 0; transform: translateY(15px); }
body.ready .hero__copy > *,
body.ready .hero__scene { opacity: 1; transform: none; transition: opacity .62s ease, transform .62s cubic-bezier(.22,.61,.36,1); }
body.ready .hero__copy > *:nth-child(2) { transition-delay: .09s; }
body.ready .hero__copy > *:nth-child(3) { transition-delay: .18s; }
body.ready .hero__copy > *:nth-child(4) { transition-delay: .27s; }
body.ready .hero__copy > *:nth-child(5) { transition-delay: .36s; }
body.ready .hero__scene { transition-delay: .2s; }
/* fail-safe: if JS never runs, content is still visible */
.no-js .hero__copy > *, .no-js .hero__scene { opacity: 1; transform: none; }

/* ---------- Çerez onay şeridi (D9, 26 Tem) — sade, marka dili ---------- */
.consent {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 80;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px 20px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: var(--screen-bg);
  color: var(--screen-ivory);
  border-top: 1px solid rgba(201, 162, 39, 0.35);
}
.consent[hidden] { display: none; }
.consent__text { font-size: 13px; line-height: 1.5; max-width: 62ch; color: var(--screen-ivory); }
.consent__actions { display: flex; gap: 10px; flex: none; }
.consent__btn { min-height: 38px; }
.consent__btn--ghost {
  background: transparent; color: var(--screen-ivory);
  border-color: rgba(242, 239, 233, 0.35);
}
.consent__btn--ghost:hover { border-color: var(--gold-strong); color: var(--gold-strong); background: transparent; }
.consent .btn--primary { background: var(--gold-strong); border-color: var(--gold-strong); color: #0f0f0e; }
.consent .btn--primary:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: #0f0f0e; }
@media (max-width: 560px) {
  .consent { justify-content: flex-start; }
  .consent__actions { width: 100%; }
  .consent__btn { flex: 1 1 auto; }
}

/* ---------- Spotlight border (framed cards) ---------- */
.spot { position: relative; --mx: 50%; --my: 50%; }
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: radial-gradient(150px circle at var(--mx) var(--my),
              rgba(201,162,39,0.65), rgba(201,162,39,0) 62%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .15s ease-out;
}
@media (hover: hover) and (pointer: fine) {
  .spot { transition: box-shadow .14s ease-out, transform .12s ease-out, border-color .14s ease-out; }
  .spot:hover::after { opacity: 1; }
  .spot:hover {
    transform: translateY(-3px);                       /* gentle lift — card clearly "wakes up" */
    border-color: rgba(201,162,39,0.5);                /* frame warms to gold */
    box-shadow: 0 0 0 1px rgba(201,162,39,0.10),
                0 18px 40px -20px rgba(15,15,14,0.30), /* soft ground shadow */
                0 12px 34px -18px rgba(201,162,39,0.4);
  }
}

/* ---------- Scroll reveal (JS-gated so no-js stays visible) ---------- */
html:not(.no-js) [data-reveal],
html:not(.no-js) [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease;
}
html:not(.no-js) [data-reveal].is-visible,
html:not(.no-js) [data-reveal-group].is-visible > * {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { max-width: none; }
  .hero__scene { order: 2; min-height: 220px; }
  .hero__diagonal { clip-path: polygon(72% 0, 100% 0, 100% 34%); }
  html[dir="rtl"] .hero__diagonal { clip-path: polygon(0 0, 28% 0, 0 34%); }
  .synapse__grid { grid-template-columns: 1fr; }
  .synapse__body { max-width: 60ch; }
  .synapse__diagram { order: 2; max-width: 460px; margin-inline: auto; width: 100%; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .bento { grid-template-columns: 1fr; }
  .step { grid-template-columns: auto 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .hero__cta { gap: 14px 18px; }
}
@media (max-width: 380px) {
  :root { --gutter: 18px; }
  .step { grid-template-columns: 1fr; grid-template-areas: "num" "label" "body"; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; animation-iteration-count: 1 !important; }
  /* reveal / hero content shown statically */
  .hero__copy > *, .hero__scene { opacity: 1 !important; transform: none !important; }
  [data-reveal], [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
  /* rotating headline: first message only, static */
  .rotator__msg { opacity: 0 !important; transform: none !important; }
  .rotator__msg.is-active { opacity: 1 !important; }
  /* eye + rings still; wire pulses hidden; marquee frozen */
  .logo--live .eye-lid { animation: none !important; transform: translateY(46px) !important; }
  .ring { animation: none !important; transform: translate(-50%, -50%) !important; }
  .wire-pulse { animation: none !important; opacity: 0 !important; }
  .marquee__track { animation: none !important; }
  /* hero proof strip: static + wrappable so no message is clipped */
  .hero__marquee .marquee__track { flex-wrap: wrap; white-space: normal; justify-content: center; }
}
