/* ============================================================
   Chelo — Ajans Sitesi
   Premium koyu tema · elektrik moru vurgu
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:        #0a0a0c;
  --bg-soft:   #111114;
  --surface:   #15151a;
  --surface-2: #1c1c23;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);

  --text:      #f4f4f6;
  --text-soft: #a6a6b2;
  --text-mute: #6c6c78;

  --accent:      #7c4dff;
  --accent-2:    #a855f7;
  --accent-soft: rgba(124, 77, 255, 0.14);
  --accent-glow: rgba(124, 77, 255, 0.45);

  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1180px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.text-accent {
  color: var(--accent-2);
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Custom cursor ---------- */
.cursor, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(255,255,255,0.7);
  transition: width .25s var(--ease), height .25s var(--ease),
              background-color .25s var(--ease), border-color .25s var(--ease);
}
.cursor-dot {
  width: 5px; height: 5px;
  background: #fff;
}
.cursor.is-hover {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.9);
  border-color: transparent;
}
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 9000;
  transition: width .1s linear;
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  padding: 18px 0;
  transition: padding .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------- Logo (wordmark) ---------- */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}
.logo__mark { color: var(--text); }
.logo__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
  align-self: flex-end;
  margin-bottom: 4px;
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__link {
  font-size: 0.94rem;
  color: var(--text-soft);
  position: relative;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }

.nav__cta {
  padding: 10px 22px;
  border-radius: 100px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.nav__cta:hover {
  box-shadow: 0 8px 30px rgba(255,255,255,0.18);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { transform: translateY(-0px) rotate(-45deg); opacity: 1; }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 700;
  background: rgba(10,10,12,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  padding: 10px;
  color: var(--text-soft);
  transition: color .2s var(--ease);
}
.mobile-menu__link:hover { color: var(--text); }
.mobile-menu__cta { color: var(--accent-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background-color .25s var(--ease);
  will-change: transform;
}
.btn svg { transition: transform .25s var(--ease); }
.btn--primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 34px -8px var(--accent-glow);
}
.btn--primary:hover { box-shadow: 0 16px 46px -10px var(--accent-glow); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover { background: rgba(255,255,255,0.05); border-color: var(--text-mute); }
.btn--whatsapp {
  background: transparent;
  color: var(--accent-2);
  border: 1px solid var(--accent);
  margin-top: 12px;
}
.btn--whatsapp:hover {
  background: var(--accent-soft);
  border-color: var(--accent-2);
  box-shadow: 0 10px 34px -12px var(--accent-glow);
}
.btn--block { width: 100%; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

/* HERO görsel slot — soyut animasyonlu arka plan */
.hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
  opacity: 0.6;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.orb--1 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(124,77,255,0.7), transparent 70%);
  top: -120px; left: -80px;
  animation: float1 16s ease-in-out infinite;
}
.orb--2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(168,85,247,0.55), transparent 70%);
  bottom: -120px; right: -60px;
  animation: float2 20s ease-in-out infinite;
}
.orb--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(99,102,241,0.45), transparent 70%);
  top: 40%; left: 55%;
  animation: float3 18s ease-in-out infinite;
}
@keyframes float1 { 50% { transform: translate(60px, 40px) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(-50px, -30px) scale(1.08); } }
@keyframes float3 { 50% { transform: translate(-40px, 50px) scale(0.92); } }

.hero__content { position: relative; z-index: 1; max-width: 920px; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255,255,255,0.02);
  margin-bottom: 28px;
}
.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--accent-glow); }
  70% { box-shadow: 0 0 0 10px rgba(124,77,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(124,77,255,0); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 28px;
}
.hero__sub {
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  color: var(--text-soft);
  max-width: 560px;
  margin-bottom: 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  z-index: 1;
}
.hero__scroll-line {
  width: 1px; height: 46px;
  background: linear-gradient(var(--text-mute), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 50%;
  background: var(--accent-2);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: var(--bg-soft);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-soft);
}
.marquee__sep { color: var(--accent-2); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Generic section
   ============================================================ */
.section { padding: 120px 0; position: relative; }

.section__head { max-width: 640px; margin-bottom: 64px; }
.section__label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}
.section__intro { color: var(--text-soft); font-size: 1.08rem; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
}

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.service-card:hover { border-color: var(--line-2); background: var(--surface-2); }
.service-card:hover::before { transform: scaleX(1); }
.service-card--featured {
  background: linear-gradient(160deg, rgba(124,77,255,0.12), var(--surface) 60%);
  border-color: rgba(124,77,255,0.3);
}
.service-card__num {
  position: absolute;
  top: 26px; right: 28px;
  font-family: var(--font-display);
  font-size: 0.86rem;
  color: var(--text-mute);
}
.service-card__icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-2);
  margin-bottom: 24px;
}
.service-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.32rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.service-card__text { color: var(--text-soft); margin-bottom: 22px; font-size: 0.98rem; }
.service-card__list { display: flex; flex-direction: column; gap: 10px; }
.service-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  color: var(--text-soft);
}
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Process ---------- */
.process__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.process__step {
  padding: 30px 26px 30px 0;
  border-top: 1px solid var(--line-2);
  position: relative;
}
.process__step::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 36px; height: 2px;
  background: var(--accent);
}
.process__index {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--accent-2);
  display: block;
  margin-bottom: 30px;
}
.process__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.process__text { color: var(--text-soft); font-size: 0.95rem; padding-right: 14px; }

/* ---------- Case study ---------- */
.case-study {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.case-study__media { perspective: 1000px; }

.browser-mock {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--surface);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7), 0 0 0 1px rgba(124,77,255,0.08);
  transition: transform .5s var(--ease);
}
.browser-mock__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.browser-mock__bar > span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--text-mute);
  opacity: 0.5;
}
.browser-mock__url {
  margin-left: 14px;
  font-size: 0.8rem;
  color: var(--text-soft);
  background: var(--bg);
  padding: 5px 14px;
  border-radius: 100px;
  flex: 1;
  max-width: 260px;
}
.browser-mock__screen {
  padding: 34px 30px 40px;
  min-height: 320px;
  position: relative;
  background:
    radial-gradient(circle at 80% 0%, rgba(124,77,255,0.18), transparent 50%),
    var(--bg-soft);
}
.browser-mock__screen--img { padding: 0; min-height: 0; background: var(--bg-soft); }
.browser-mock__screen--img img { display: block; width: 100%; height: auto; }
.mock-line { height: 16px; border-radius: 6px; background: var(--surface-2); margin-bottom: 14px; }
.mock-line--lg { width: 70%; height: 26px; background: linear-gradient(90deg, var(--accent-soft), var(--surface-2)); }
.mock-line--md { width: 45%; margin-bottom: 30px; }
.mock-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.mock-tile { aspect-ratio: 1; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.mock-chat {
  position: absolute;
  bottom: 22px; right: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px -4px var(--accent-glow);
}
.case-study__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.case-study__tags span {
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--line-2);
  color: var(--text-soft);
}
.case-study__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}
.case-study__desc { color: var(--text-soft); margin-bottom: 24px; }
.case-study__highlights { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.case-study__highlights li {
  position: relative;
  padding-left: 26px;
  color: var(--text-soft);
}
.case-study__highlights li::before {
  content: '✦';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent-2);
  font-size: 0.85rem;
}
.case-study__highlights strong { color: var(--text); font-weight: 600; }

/* ---------- Why ---------- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why__item {
  padding: 32px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
}
.why__item:hover { transform: translateY(-6px); border-color: var(--line-2); background: var(--surface-2); }
.why__num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-2);
  display: block;
  margin-bottom: 40px;
}
.why__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.34rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.why__text { color: var(--text-soft); font-size: 0.95rem; }

/* ---------- Contact ---------- */
.contact { border-top: 1px solid var(--line); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 16px 0 20px;
}
.contact__lead { color: var(--text-soft); font-size: 1.1rem; margin-bottom: 36px; max-width: 420px; }
.contact__direct { padding-top: 26px; border-top: 1px solid var(--line); }
.contact__mail {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color .2s var(--ease);
}
.contact__mail:hover { color: var(--accent-2); }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 0.84rem;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}
.field input, .field textarea {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-size: 0.98rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact__form .btn { margin-top: 6px; }
.contact__status {
  margin: 4px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.45;
}
.contact__status[hidden] { display: none; }
.contact__status--success {
  color: #b9f6ca;
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.32);
}
.contact__status--error {
  color: #ffd1d1;
  background: rgba(255, 99, 99, 0.12);
  border: 1px solid rgba(255, 99, 99, 0.32);
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 72px 0 32px;
  background: var(--bg-soft);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.logo--footer { font-size: 1.7rem; margin-bottom: 16px; }
.footer__tag { color: var(--text-soft); max-width: 280px; font-size: 0.96rem; }
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mute);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer__col a {
  display: block;
  color: var(--text-soft);
  margin-bottom: 11px;
  font-size: 0.96rem;
  transition: color .2s var(--ease);
  width: fit-content;
}
.footer__col a:hover { color: var(--accent-2); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.86rem;
  color: var(--text-mute);
}

/* ============================================================
   AI Chatbot widget
   ============================================================ */
.chat {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 950;
}
.chat__toggle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 40px -8px var(--accent-glow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative;
}
.chat__toggle:hover { transform: scale(1.06); }
.chat__icon-close { display: none; }
.chat.is-open .chat__icon-open { display: none; }
.chat.is-open .chat__icon-close { display: block; }

.chat__panel {
  position: absolute;
  bottom: 76px; right: 0;
  width: min(360px, calc(100vw - 36px));
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.8);
  transform: translateY(16px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transform-origin: bottom right;
  transition: transform .35s var(--ease), opacity .3s var(--ease);
}
.chat.is-open .chat__panel { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }

.chat__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(124,77,255,0.18), var(--surface-2));
  border-bottom: 1px solid var(--line);
}
.chat__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
}
.chat__meta { display: flex; flex-direction: column; line-height: 1.3; }
.chat__meta strong { font-size: 0.98rem; }
.chat__meta span { font-size: 0.78rem; color: var(--text-soft); display: flex; align-items: center; gap: 6px; }
.chat__status {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #38d39f;
  box-shadow: 0 0 8px #38d39f;
}
.chat__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 320px;
  min-height: 180px;
  overflow-y: auto;
}
.chat__msg {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.chat__msg--bot {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.chat__msg--user {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}
.chat__input {
  display: flex;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.chat__input input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 11px 16px;
  color: var(--text);
  font-size: 0.92rem;
}
.chat__input input:focus { outline: none; border-color: var(--accent); }
.chat__input button {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform .2s var(--ease);
}
.chat__input button:hover { transform: scale(1.08); }

/* ============================================================
   Reveal animation
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .services__grid { grid-template-columns: 1fr; }
  .process__list { grid-template-columns: repeat(2, 1fr); }
  .case-study { grid-template-columns: 1fr; gap: 40px; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; gap: 44px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 84px 0; }
  .section__head { margin-bottom: 44px; }
  .hero { padding: 130px 0 90px; }
  .process__list { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .hero__scroll { display: none; }
  .marquee__track { font-size: 1.2rem; }

  /* Mobilde animasyonları hafiflet */
  .orb { animation: none !important; opacity: 0.4; }
  [data-reveal] { transition-duration: .5s; }
}

/* Erişilebilirlik: hareketi azalt */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
