/* =====================================================================
   ARY AI Studyo · Ürün Tanıtım Sitesi
   ===================================================================== */

:root {
  --red: #E31E2D;
  --red-dark: #C8101E;
  --red-deep: #8F0A15;
  --red-soft: #FF6B76;
  --red-icon: #FF4553;
  --red-pale: #FBE3E5;
  --ink: #0E0E10;
  --ink-2: #17171B;
  --ink-3: #1C1C21;
  --ink-line: #2E2E35;
  --ink-line-2: #3A3A42;
  --text: #1A1A1D;
  --muted: #4A4A52;
  --muted-on-dark: #C9C9D0;
  --muted-on-dark-2: #A8A8B0;
  --paper: #FFFFFF;
  --paper-2: #F4F4F6;
  --line: #ECECEF;

  --font-display: 'Exo 2', 'Segoe UI', sans-serif;
  --font-body: 'Jost', system-ui, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);

  --header-h: 81px; /* main.js gerçek yüksekliği yazar */
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  scrollbar-gutter: stable;
}
html.modal-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
[hidden] { display: none !important; }

a { color: var(--red-dark); }
a:hover { color: var(--red-deep); }
.dark a { color: var(--red-soft); }
.dark a:hover { color: #FFFFFF; }

.container { position: relative; max-width: 1280px; margin: 0 auto; }
.stack-64 { display: flex; flex-direction: column; gap: 64px; }
.accent { color: var(--red); }

.eyebrow {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--red-dark);
}
.dark .eyebrow { color: var(--red-soft); }
.eyebrow--white { color: #FFFFFF; }

.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
}

.lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.lead--white { color: #FFFFFF; }

.section-title { display: flex; flex-direction: column; gap: 16px; }
.section-title--center { align-items: center; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .02em;
  text-decoration: none;
  border: 2px solid var(--red);
  transform: skewX(-12deg);
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn > span { display: inline-flex; align-items: center; gap: 10px; transform: skewX(12deg); }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-red, .dark .btn-red { background: var(--red); color: #FFFFFF; }
.btn-red:hover, .dark .btn-red:hover { background: #FFFFFF; color: var(--red-dark); border-color: #FFFFFF; }
.btn-ghost, .dark .btn-ghost { background: transparent; color: #FFFFFF; border-color: #FFFFFF; }
.btn-ghost:hover, .dark .btn-ghost:hover { background: #FFFFFF; color: var(--ink); }

.btn:focus-visible, .navlink:focus-visible, .pcard:focus-visible, .tab:focus-visible,
.pm-nav:focus-visible, .pm-thumb:focus-visible, .pmodal__close:focus-visible, .ccard:focus-visible, .carousel__btn:focus-visible,
.captcha__refresh:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 60;
}

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 12px 32px -22px rgba(14, 14, 16, .45); }

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}

.brand-logo { display: flex; align-items: center; }
.brand-logo img { height: 52px; width: auto; display: block; }

.main-nav {
  order: 3;
  flex: 1 1 360px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 28px;
  font-size: 16px;
}

.navlink {
  position: relative;
  padding: 10px 4px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}
.navlink::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.navlink:hover, .navlink.is-active { color: var(--red-dark); }
.navlink:hover::after, .navlink.is-active::after { transform: scaleX(1); }

.studio-mark {
  order: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  line-height: 1;
}
.studio-mark__ai {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 34px;
  letter-spacing: -.01em;
  color: var(--red);
  line-height: .9;
}
.studio-mark__studio {
  margin-top: 5px;
  margin-right: -.62em;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .62em;
  color: var(--text);
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; background: var(--ink); color: #FFFFFF; overflow: hidden; }

.hero__slash { position: absolute; top: -10%; height: 130%; background: var(--red); transform: skewX(-24deg); }
.hero__slash--wide { right: 14%; width: 120px; }
.hero__slash--thin { right: 4%; width: 36px; animation-delay: .15s; }

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 112px 24px 120px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 64px;
  align-items: center;
}

.hero__copy { display: flex; flex-direction: column; gap: 28px; }

.hero__eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--red-soft);
}
.hero__eyebrow-line { display: inline-block; width: 36px; height: 3px; background: var(--red); }

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -.02em;
}

.hero__lead { margin: 0; max-width: 540px; font-size: 19px; line-height: 1.6; font-weight: 300; color: var(--muted-on-dark); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

/* Hero demo card */
.demo-card { background: var(--ink-2); border: 1px solid var(--ink-line); box-shadow: 0 40px 80px -30px rgba(227, 30, 45, .5); }
.demo-card__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--ink-line); }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #4A4A52; }
.dot--red { background: var(--red); }
.demo-card__title { margin-left: 12px; font-size: 13px; letter-spacing: .08em; color: var(--muted-on-dark-2); }
.demo-card__body { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.demo-card__prompt { display: flex; gap: 12px; align-items: flex-start; }
.ai-badge {
  flex: none;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 13px;
  transform: skewX(-10deg);
}
.demo-card__input { flex: 1; min-width: 0; background: var(--ink); border: 1px solid var(--ink-line); padding: 12px 16px; font-size: 15px; color: #FFFFFF; }
.demo-card__chart { width: 100%; height: auto; display: block; }
.demo-card__legend { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--muted-on-dark-2); }
.demo-card__legend > span { display: inline-flex; align-items: center; gap: 8px; }
.demo-card__legend .demo-card__regions { margin-left: auto; }
.swatch { width: 12px; height: 12px; background: var(--ink-line-2); }
.swatch--red { background: var(--red); }

/* =====================================================================
   MARQUEE
   ===================================================================== */
/* Eğik şeridin köşelerinde boşluk kalmasın: üst yarı hero'nun, alt yarı alttaki bölümün rengiyle dolar */
.marquee-wrap {
  position: relative;
  z-index: 2;
  margin-top: -20px;
  background: linear-gradient(to bottom, var(--ink) 50%, var(--paper-2) 50%);
}
.marquee {
  padding: 18px 0;
  background: var(--red);
  color: #FFFFFF;
  overflow: hidden;
  transform: skewY(-1.5deg);
}
.marq {
  display: flex;
  width: max-content;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: marq 32s linear infinite;
}
/* Boşluk gap yerine sağ dolguyla: iki yarı birebir eş olur, döngüde kayma olmaz */
.marq > span { padding-right: 56px; }

/* =====================================================================
   NEDEN AI
   ===================================================================== */
.why { background: var(--paper); padding: 120px 24px 112px; }
.why__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.why__head .section-title { max-width: 680px; }
.why__lead { max-width: 420px; }
.why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.why-card { position: relative; padding: 40px 32px; display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.why-card h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 24px; }
.why-card p { margin: 0; font-size: 16px; line-height: 1.65; }
.why-card__slash { position: absolute; top: 0; right: 28px; width: 18px; height: 72px; background: var(--red); transform: skewX(-24deg); }
.why-card--dark { background: var(--ink); color: #FFFFFF; }
.why-card--dark p { color: var(--muted-on-dark); }
.why-card--red { background: var(--red); color: #FFFFFF; }
.why-card--red p { color: #FFFFFF; }
.why-card--red .why-card__slash { background: var(--ink); }
.why-card--light { background: var(--paper-2); color: var(--ink); }
.why-card--light p { color: var(--muted); }

/* =====================================================================
   ÜRÜNLER
   ===================================================================== */
.products { position: relative; background: var(--paper-2); padding: 128px 24px 120px; overflow: hidden; overflow: clip; } /* clip: kaydırma kutusu oluşturmaz, paralaks sayfa kaydırmasına bağlanır */
/* Şerit bölümden 120px taşar: paralaks ±80px kaydırsa da üstte/altta boşluk açılmaz */
.products__par { position: absolute; left: -60px; top: -120px; width: 160px; height: calc(100% + 240px); background: #FFFFFF; transform: skewX(-24deg); }
.products__inner { display: flex; flex-direction: column; gap: 48px; }
.products__lead { max-width: 620px; }

.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tab {
  min-height: 46px;
  padding: 0 22px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: #FFFFFF;
  border: 2px solid #D4D4DA;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.tab:hover { border-color: var(--red); }
.tab[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #FFFFFF; }

/* Ürün şeridi: tek sıra, yatay kaydırma (dokunmatikte parmakla, her cihazda oklarla).
   Kartlar sığıyorsa main.js .is-centered ekler ve okları gizler. */
.carousel { position: relative; }
.product-grid {
  list-style: none;
  margin: -12px 0 -48px;
  padding: 12px 0 48px; /* kartın hover'da yükselmesi ve gölgesi kırpılmasın */
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.product-grid::-webkit-scrollbar { display: none; }
.product-grid.is-centered { justify-content: center; }
.product-grid > li { flex: 0 0 280px; display: flex; scroll-snap-align: start; }
.pcard-item { animation: cardIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }

.carousel__btn {
  position: absolute;
  top: 50%; /* kartların dikey ortası */
  margin-top: -22px;
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: var(--ink);
  border: 0;
  cursor: pointer;
  box-shadow: 0 12px 28px -12px rgba(14, 14, 16, .7);
  transition: background .2s, opacity .25s, transform .25s var(--ease);
}
/* ok, kartın yalnızca iç boşluğuna (24px) biner; yazının üstüne gelmez, ekran kenarından taşmaz */
.carousel__btn--prev { left: -22px; }
.carousel__btn--next { right: -22px; }
@media (min-width: 1360px) {
  .carousel__btn { width: 48px; height: 48px; margin-top: -24px; }
  .carousel__btn--prev { left: -30px; }
  .carousel__btn--next { right: -30px; }
}
@media (min-width: 1500px) {
  .carousel__btn--prev { left: -76px; }
  .carousel__btn--next { right: -76px; }
}
.carousel__btn:disabled { opacity: .3; cursor: default; }

.pcard {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  font: inherit;
  text-align: left;
  color: inherit;
  background: #FFFFFF;
  border: 2px solid transparent;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
  overflow: hidden;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.pcard:active { transform: scale(.98); }

.pcard__media {
  position: relative;
  height: 190px;
  padding: 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  overflow: hidden;
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .6s var(--ease); }
.pcard__media-fallback { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 40px; color: var(--red); }
.pcard__count {
  position: absolute;
  right: 12px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #FFFFFF;
  background: rgba(14, 14, 16, .72);
}

.pcard__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 28px; }
.pcard__cat { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--red-dark); }
.pcard__name { font-family: var(--font-display); font-weight: 800; font-size: 23px; line-height: 1.15; color: var(--ink); }
.pcard__short { font-size: 15px; line-height: 1.6; color: var(--muted); }
.pcard__cta {
  margin-top: auto;
  padding-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--red-dark);
}
.pcard__cta svg { transition: transform .3s var(--ease); }

.product-grid > .product-empty { display: block; flex: 1 1 100%; max-width: 640px; padding: 48px 24px; text-align: center; font-size: 17px; color: var(--muted); background: #FFFFFF; }

/* =====================================================================
   İLETİŞİM
   ===================================================================== */
.contact { position: relative; background: var(--red); color: #FFFFFF; padding: 120px 24px; overflow: hidden; }
.contact__watermark {
  position: absolute;
  left: -4%;
  bottom: -30px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(120px, 22vw, 320px);
  line-height: .8;
  color: #CC1424;
  white-space: nowrap;
  pointer-events: none;
}
.contact__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 56px;
  align-items: start;
}
.contact__info { display: flex; flex-direction: column; gap: 28px; }
.contact__lead { max-width: 480px; }
.contact__cards { display: flex; flex-direction: column; gap: 12px; }

.ccard {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  background: var(--ink);
  color: #FFFFFF;
  text-decoration: none;
  transition: transform .3s, background .3s;
}
.ccard:hover { color: #FFFFFF; }
.ccard--top { align-items: flex-start; }
.ccard__icon { flex: none; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; background: var(--red); }
.ccard__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ccard__label { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--red-soft); }
.ccard__value { font-size: 20px; font-weight: 500; color: #FFFFFF; }
.ccard__value--sm { font-size: 17px; font-weight: 400; line-height: 1.5; }
.ccard__value--wrap { overflow-wrap: anywhere; }

.social { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.social__label { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #FFFFFF; }
.social__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
.social__link {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: var(--ink);
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.social__link:hover { color: var(--red); }
.social__link:active { transform: scale(.94); }
.social__link:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }

.contact__form-box {
  background: var(--ink);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 26px; color: #FFFFFF; outline: none; }
.contact-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.contact-form__submit { align-self: flex-start; margin-top: 4px; }

.flabel { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted-on-dark); }
.field {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  background: #18181C;
  border: 1px solid var(--ink-line-2);
  border-radius: 0;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field:focus { border-color: var(--red); }
.field--area { resize: vertical; min-height: 120px; }
.field.is-invalid { border-color: var(--red-soft); box-shadow: 0 0 0 1px var(--red-soft); }
.field.is-highlight { animation: fieldPulse 1.4s var(--ease) 1; }

.contact-form__submit:disabled { opacity: .7; cursor: progress; }
.contact-form__msg { margin: 0; padding: 12px 16px; border-left: 3px solid var(--red-soft); background: rgba(255, 107, 118, .1); color: #FFFFFF; font-size: 15px; line-height: 1.5; }

/* Güvenlik kodu */
.captcha__row { display: flex; flex-wrap: wrap; gap: 10px; }
.captcha__box { position: relative; flex: 0 0 180px; height: 50px; overflow: hidden; background: #18181C; box-shadow: inset 0 0 0 1px var(--ink-line-2); }
.captcha__img { display: block; width: 100%; height: 100%; transition: opacity .2s; }
.captcha__refresh {
  flex: 0 0 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 1px solid var(--ink-line-2);
  color: #FFFFFF;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.captcha__refresh:hover { border-color: var(--red); color: var(--red-soft); }
.captcha__input { flex: 1 1 140px; width: auto; min-width: 0; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.captcha__input::placeholder { font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--muted-on-dark-2); }
.captcha.is-loading .captcha__img { opacity: .3; }
.captcha.is-loading .captcha__refresh svg { animation: captchaSpin .8s linear infinite; }
.captcha.is-loading .captcha__box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent);
  animation: captchaShimmer 1s linear infinite;
}
@keyframes captchaSpin { to { transform: rotate(360deg); } }
@keyframes captchaShimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* Aydınlatma metni onayı: doğrudan işaretlenmez, metin modalından onaylanır */
.consent { display: flex; align-items: flex-start; gap: 12px; }
.consent__box {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  display: grid;
  place-content: center;
  background: #18181C;
  border: 1px solid var(--ink-line-2);
  border-radius: 0;
  cursor: pointer;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.consent__box::after {
  content: "";
  width: 12px;
  height: 7px;
  border: solid #FFFFFF;
  border-width: 0 0 2.5px 2.5px;
  transform: translateY(-2px) rotate(-45deg) scale(0);
  transition: transform .2s var(--ease);
}
.consent__box:checked { background: var(--red); border-color: var(--red); }
.consent__box:checked::after { transform: translateY(-2px) rotate(-45deg) scale(1); }
.consent__box:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.consent__box.is-invalid { border-color: var(--red-soft); box-shadow: 0 0 0 1px var(--red-soft); }
.consent__label { font-size: 15px; line-height: 1.5; color: var(--muted-on-dark); cursor: pointer; }
.consent__link { color: #FFFFFF; font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.consent__label:hover .consent__link { color: var(--red-soft); }

/* Bal kübü alanı: kullanıcılardan gizli, botlar doldurur */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact-sent { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 40px 0; }
.contact-sent__icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: var(--red); }
.contact-sent h3 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 28px; color: #FFFFFF; }
.contact-sent p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--muted-on-dark); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--ink); color: var(--muted-on-dark-2); padding: 48px 24px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; flex-direction: column; line-height: 1; }
.footer-brand__ai { font-family: var(--font-display); font-style: italic; font-weight: 900; font-size: 30px; color: var(--red); line-height: .9; }
.footer-brand__studio { margin-top: 5px; font-size: 10px; letter-spacing: .62em; color: #FFFFFF; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
.footer-nav a { text-decoration: none; }
.footer-copy { margin: 0; font-size: 14px; }

/* =====================================================================
   ÜRÜN DETAY MODALI
   ===================================================================== */
.pmodal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #FFFFFF;
  overflow: hidden;
}
.pmodal::backdrop {
  background: rgba(10, 10, 12, .82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.pmodal[open]::backdrop { animation: fadeIn .35s ease both; }
.pmodal.is-closing::backdrop { animation: fadeOut .3s ease both; }

.pmodal__wrap {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  padding: 40px 24px;
}

.pmodal__panel {
  --pad: 48px;
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: auto;
  padding: var(--pad);
  background: var(--ink);
  box-shadow: 0 50px 100px -30px rgba(227, 30, 45, .35);
}
.pmodal[open] .pmodal__panel { animation: modalIn .55s var(--ease) both; }
.pmodal.is-closing .pmodal__panel { animation: modalOut .3s ease both; }

.pmodal__bar { position: absolute; top: 0; left: 0; width: 8px; height: 100%; background: var(--red); }

/* Aydınlatma metni: ürün modalının iskeletini kullanır */
.pmodal--doc .pmodal__panel { max-width: 860px; }
.kvkk-doc .pm-detail { font-size: 16px; }
.kvkk-doc .pm-detail h4 { margin-top: 0; font-size: 16px; letter-spacing: .02em; line-height: 1.4; }
.kvkk-doc__actions { margin-top: 18px; }

.pmodal__close {
  position: sticky;
  top: 16px;
  z-index: 5;
  width: 46px;
  height: 46px;
  /* Yer kaplamadan panelin sağ üst köşesine oturur, kaydırırken görünür kalır */
  margin: calc(var(--pad) * -1 + 14px) calc(var(--pad) * -1 + 14px) calc(-46px + var(--pad) - 14px) auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .3s var(--ease);
}
.pmodal__close:hover { background: var(--red); border-color: var(--red); transform: rotate(90deg); }

.pmodal__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.pmodal--no-gallery .pmodal__grid { grid-template-columns: minmax(0, 1fr); }
.pmodal--no-gallery .pm-gallery { display: none; }

/* Galeri */
.pm-gallery { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }

.pm-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}
.pm-stage img { width: 100%; height: 100%; object-fit: contain; display: block; -webkit-user-drag: none; }
.pm-stage img.is-swap { animation: imgIn .45s var(--ease) both; }
.pm-stage img.is-swap.from-left { animation-name: imgInLeft; }

.pm-nav {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: rgba(14, 14, 16, .78);
  border: 1px solid var(--ink-line);
  cursor: pointer;
  opacity: .85;
  transition: background .2s, border-color .2s, opacity .2s, transform .25s var(--ease);
}
.pm-nav--prev { left: 12px; }
.pm-nav--next { right: 12px; }
.pm-nav:hover { opacity: 1; background: var(--red); border-color: var(--red); }
.pm-nav--prev:hover { transform: translateX(-2px); }
.pm-nav--next:hover { transform: translateX(2px); }

.pm-counter {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  background: rgba(14, 14, 16, .78);
}
.pm-caption { margin: 0; min-height: 1.5em; font-size: 14px; letter-spacing: .04em; color: var(--muted-on-dark-2); }

.pm-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; scrollbar-color: var(--ink-line-2) transparent; }
.pm-thumb {
  flex: none;
  width: 104px;
  aspect-ratio: 16 / 10;
  padding: 0;
  background: var(--ink-2);
  border: 2px solid var(--ink-line);
  cursor: pointer;
  opacity: .6;
  transition: opacity .2s, border-color .2s;
}
.pm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-thumb:hover { opacity: 1; }
.pm-thumb[aria-current="true"] { opacity: 1; border-color: var(--red); }

/* Bilgi alanı */
.pm-info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pmodal[open] .pm-info > * { animation: heroIn .6s var(--ease) both; }
.pmodal[open] .pm-info > :nth-child(2) { animation-delay: .06s; }
.pmodal[open] .pm-info > :nth-child(3) { animation-delay: .12s; }
.pmodal[open] .pm-info > :nth-child(4) { animation-delay: .18s; }
.pmodal[open] .pm-info > :nth-child(5) { animation-delay: .24s; }
.pmodal[open] .pm-info > :nth-child(6) { animation-delay: .3s; }

.pm-cat { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--red-soft); }
.pm-title { margin: 0; padding-right: 40px; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; }
.pm-short { margin: 0; font-size: 18px; line-height: 1.6; color: #FFFFFF; font-weight: 400; }

.pm-detail { font-size: 17px; line-height: 1.7; color: var(--muted-on-dark); }
.pm-detail > :first-child { margin-top: 0; }
.pm-detail > :last-child { margin-bottom: 0; }
.pm-detail p { margin: 0 0 14px; }
.pm-detail h4 { margin: 22px 0 8px; font-family: var(--font-display); font-weight: 800; font-size: 20px; color: #FFFFFF; }
.pm-detail ul, .pm-detail ol { margin: 0 0 14px; padding-left: 22px; }
.pm-detail strong { color: #FFFFFF; font-weight: 600; }

.pm-features { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--ink-line); }
.pm-features li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--ink-line); font-size: 16px; line-height: 1.5; }
.pm-features svg { flex: none; margin-top: 2px; }

.pm-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; padding-left: 6px; }

/* =====================================================================
   ANİMASYONLAR
   ===================================================================== */
.hero-in  { animation: heroIn 1s var(--ease) both; }
.hero-in2 { animation: heroIn 1s var(--ease) .15s both; }
.hero-in3 { animation: heroIn 1s var(--ease) .3s both; }
.hero-in4 { animation: heroIn 1.1s var(--ease) .45s both; }
.slash { animation: slashIn 1.2s var(--ease) both; }
.detail-in { animation: heroIn .5s var(--ease) both; }

.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; vertical-align: -3px; background: var(--red); animation: blink 1s steps(1) infinite; }
.typed { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; animation: typing 3.2s steps(38) .6s both; }
.bar { transform-origin: bottom; transform-box: fill-box; animation: grow 1s var(--ease) both; }

/* Kaydırınca beliren öğeler (main.js görünür olduklarında .is-in ekler) */
.js .rv, .js .rv-l, .js .rv-r, .js .rv-z {
  opacity: 0;
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .rv   { transform: translateY(56px); }
.js .rv-l { transform: translateX(-72px); }
.js .rv-r { transform: translateX(72px); }
.js .rv-z { transform: scale(.88); }
.js .rv.is-in, .js .rv-l.is-in, .js .rv-r.is-in, .js .rv-z.is-in { opacity: 1; transform: none; }
.d1 { --d: .08s; }
.d2 { --d: .16s; }
.d3 { --d: .24s; }

/* Kaydırmaya bağlı ilerleme çubuğu ve paralaks (destekleyen tarayıcılarda CSS, diğerlerinde main.js) */
@supports (animation-timeline: view()) {
  .progress { animation: prog linear both; animation-timeline: scroll(root); }
  .par { animation: par linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
}

@keyframes heroIn   { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes slashIn  { from { opacity: 0; transform: skewX(-24deg) translateX(120px); } to { opacity: 1; transform: skewX(-24deg); } }
@keyframes blink    { 50% { opacity: 0; } }
@keyframes typing   { from { max-width: 0; } to { max-width: 38ch; } }
@keyframes grow     { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes marq     { to { transform: translateX(-50%); } }
@keyframes prog     { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes par      { from { transform: skewX(-24deg) translateY(80px); } to { transform: skewX(-24deg) translateY(-80px); } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut  { from { opacity: 1; } to { opacity: 0; } }
@keyframes modalIn  { from { opacity: 0; transform: translateY(48px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes modalOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes imgIn     { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes imgInLeft { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes cardIn    { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes fieldPulse { 0% { box-shadow: 0 0 0 0 rgba(227, 30, 45, .9); } 100% { box-shadow: 0 0 0 10px rgba(227, 30, 45, 0); } }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
/* Fareyle gezilen cihazlarda vurgular (dokunmatikte dokunduktan sonra takılı kalmasın) */
@media (hover: hover) {
  .pcard:hover { transform: translateY(-8px); border-color: var(--red); box-shadow: 0 24px 48px -20px rgba(227, 30, 45, .45); }
  .pcard:hover .pcard__media img { transform: scale(1.05); }
  .pcard:hover .pcard__cta svg { transform: translateX(5px); }
  .ccard:hover { transform: translateX(6px); background: var(--ink-3); }
  .carousel__btn:not(:disabled):hover { background: var(--red); }
  .carousel__btn--prev:not(:disabled):hover { transform: translateX(-2px); }
  .carousel__btn--next:not(:disabled):hover { transform: translateX(2px); }
  .social__link:hover { background: #FFFFFF; transform: translateY(-3px); }
}

/* Çok geniş ekranlar: eğik şeridin köşeleri açılmasın */
@media (min-width: 2200px) {
  .marquee { transform: skewY(-1deg); }
}

/* Küçük dizüstü / tablet yatay */
@media (max-width: 1100px) {
  .header-inner { padding: 10px 20px; gap: 8px 20px; }
  .brand-logo img { height: 42px; }
  .studio-mark__ai { font-size: 28px; }
  .main-nav { flex: 1 1 auto; gap: 4px 20px; font-size: 15px; }
}

/* Tablet */
@media (max-width: 1023px) {
  .why, .products, .contact { padding-top: 96px; padding-bottom: 96px; }
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .pmodal__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pm-gallery { position: static; }
}

/* Hero tek sütuna düştüğünde demo kart aşırı büyümesin */
@media (max-width: 911px) {
  .hero__demo { max-width: 600px; }
}

/* Telefon: menü logonun altında tek satır; sığmazsa yatay kaydırılır */
@media (max-width: 760px) {
  .header-inner { padding: 10px 16px 4px; row-gap: 2px; }
  .brand-logo img { height: 40px; }
  .studio-mark__ai { font-size: 26px; }
  .main-nav {
    order: 5;
    flex: 1 1 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    justify-content: safe center;
    gap: 0 18px;
    margin: 0 -16px;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .navlink { flex: none; padding: 8px 2px; white-space: nowrap; }
  .navlink::after { left: 2px; right: 2px; bottom: 3px; }
}

@media (max-width: 640px) {
  .hero__inner { padding: 80px 16px 96px; gap: 48px; }
  .why, .products, .contact { padding-left: 16px; padding-right: 16px; }
  .products { padding-top: 88px; padding-bottom: 80px; }
  .why, .contact { padding-top: 80px; padding-bottom: 80px; }
  .why__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__form-box { padding: 28px 20px; }
  .demo-card__body { padding: 18px; }
  .demo-card__legend .demo-card__regions { margin-left: 0; }

  .pmodal__wrap { padding: 0; }
  .pmodal__panel { --pad: 20px; min-height: 100%; padding-top: 24px; padding-bottom: 32px; }
  .pmodal__close { margin-top: -10px; }
  .pm-title { padding-right: 0; }
  .pm-thumb { width: 84px; }
  .pm-nav { width: 36px; height: 36px; margin-top: -18px; }
  .pm-nav--prev { left: 8px; }
  .pm-nav--next { right: 8px; }
  .pm-counter { left: 8px; bottom: 8px; font-size: 12px; padding: 3px 8px; }
  .pm-actions .btn { flex: 1 1 auto; justify-content: center; }

  /* Ürün şeridi ekran kenarına kadar uzanır; sıradaki kart kenardan görünür */
  .product-grid { margin: -12px -16px -48px; padding: 12px 16px 48px; scroll-padding-inline: 16px; gap: 16px; }
  .product-grid > li { flex-basis: min(82%, 340px); }
  .carousel__btn { width: 36px; height: 36px; margin-top: -18px; }
  .carousel__btn--prev { left: -14px; }
  .carousel__btn--next { right: -14px; }
}

/* Dar telefonlar: demo kutusundaki komut taşmasın (yazma efekti yerine belirerek gelir) */
@media (max-width: 480px) {
  .typed { display: inline; white-space: normal; max-width: none; animation: fadeIn .6s .6s both; }
  .hero__eyebrow { font-size: 12px; letter-spacing: .18em; gap: 10px; }
  .hero__eyebrow-line { width: 28px; }
  .hero__actions .btn { padding: 0 22px; }
}

@media (max-width: 400px) {
  .main-nav { gap: 0 14px; font-size: 14px; }
}

@media (max-width: 359px) {
  .brand-logo img { height: 34px; }
  .studio-mark__ai { font-size: 22px; }
  .main-nav { gap: 0 10px; font-size: 13px; }
  .navlink { padding-left: 0; padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marq, .caret { animation: none !important; }
  .typed { max-width: none; animation: none !important; }
  .js .rv, .js .rv-l, .js .rv-r, .js .rv-z { opacity: 1; transform: none; }
}
