/* ==========================================================================
   Web-SEO.com.tr — Front-end yüzeyi
   Yalnızca tokens.css değişkenlerini kullanır.
   Breakpoint'ler: 640 · 768 · 1024 · 1280
   ========================================================================== */

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.is-locked { overflow: hidden; }

.skip-link { position: absolute; left: var(--space-4); top: -60px; z-index: var(--z-toast); padding: var(--space-2) var(--space-4); background: var(--color-primary); color: #fff; border-radius: var(--radius-sm); font-weight: var(--weight-semibold); }
.skip-link:focus { top: var(--space-4); color: #fff; }

.section { padding-block: var(--section-y); }
.section--subtle { background: var(--color-background-subtle); }
.section--dark { background: var(--color-dark); color: var(--color-on-dark); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-6) var(--space-10); margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head__text { max-width: 640px; }
.section-head h2 { font-size: var(--display-2); line-height: 1.08; letter-spacing: var(--tracking-display); font-weight: var(--weight-extrabold); margin-top: var(--space-3); text-wrap: balance; }
.section-head p { margin-top: var(--space-4); color: var(--color-muted); font-size: var(--lead); line-height: 1.55; }
.section--dark .section-head p { color: var(--color-on-dark-muted); }
.section--dark .section-head h2 { color: #fff; }
.section--dark .eyebrow { color: var(--violet-300); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-head__text { margin-inline: auto; }

.text-link { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: var(--weight-semibold); font-size: var(--text-base); }
.text-link .icon { width: var(--icon-md); height: var(--icon-md); transition: transform var(--duration-base) var(--ease-out); }
.text-link:hover .icon { transform: translateX(3px); }

/* Reveal (QUALITY §11): yalnızca bir iyileştirme. İçerik varsayılan olarak GÖRÜNÜR.
   site.js observer'ı başarıyla kurduktan sonra <html>'e .reveal-ready ekler ve sadece
   o an ekran dışında kalan öğeleri gizler. JS yüklenmez/hata verirse hiçbir şey gizlenmez. */
.reveal-ready [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(14px); }
.reveal-ready [data-reveal] { transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .reveal-ready [data-reveal]:not(.is-visible) { opacity: 1; transform: none; } }

/* ?capture=1 — QA / tam sayfa ekran görüntüsü modu: geçiş ve animasyon yok, her şey görünür */
.capture *, .capture *::before, .capture *::after { transition: none !important; animation: none !important; }
.capture [data-reveal] { opacity: 1 !important; transform: none !important; }
.capture .site-header { position: static; }
.capture .to-top { display: none; }

/* ===================== ÖRNEK İÇERİK UYARISI (yalnızca demo) ================ */
.demo-notice { background: var(--color-warning-soft); color: var(--color-warning); font-size: var(--text-sm); border-bottom: 1px solid color-mix(in srgb, var(--color-warning) 25%, transparent); }
.demo-notice .container { display: flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 36px; padding-block: var(--space-2); text-align: center; }
.demo-notice b { font-weight: var(--weight-semibold); }

/* ============================== DUYURU BANDI ============================== */
.announcement { background: var(--violet-900); color: var(--violet-100); font-size: var(--text-sm); }
.announcement .container { display: flex; align-items: center; justify-content: center; gap: var(--space-3); min-height: 40px; padding-block: var(--space-2); text-align: center; }
.announcement a { color: #fff; font-weight: var(--weight-semibold); display: inline-flex; align-items: center; gap: 4px; }
.announcement .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); flex: none; }

/* ================================ HEADER ================================== */
.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: color-mix(in srgb, var(--color-dark) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--color-dark-border) 70%, transparent);
  transition: background-color var(--duration-base);
}
.site-header.is-scrolled { background: color-mix(in srgb, var(--color-dark) 96%, transparent); }
.site-header__bar { display: flex; align-items: center; gap: var(--space-6); height: 72px; }
.site-logo { display: inline-flex; flex: none; }
.site-logo img { height: 32px; width: auto; }

.main-nav { margin-inline: auto; }
.main-nav > ul { display: flex; align-items: center; gap: var(--space-1); list-style: none; margin: 0; padding: 0; }
.main-nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 var(--space-3);
  border: 0; background: none; border-radius: var(--radius-sm); cursor: pointer;
  font: inherit; font-size: var(--text-base); font-weight: var(--weight-medium); color: var(--color-on-dark-muted);
  transition: color var(--duration-fast), background-color var(--duration-fast);
}
.main-nav__link:hover, .main-nav__link[aria-expanded="true"] { color: #fff; background: color-mix(in srgb, #fff 6%, transparent); }
.main-nav__link .icon { width: 16px; height: 16px; transition: transform var(--duration-base) var(--ease-out); }
.main-nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.main-nav li { position: relative; }
.main-nav__link.is-active { color: #fff; }
.main-nav__link.is-active::before { content: ""; position: absolute; left: var(--space-3); right: var(--space-3); bottom: 2px; height: 2px; border-radius: 2px; background: var(--color-primary); }

/* Mega menü (Hizmetler) */
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; width: min(720px, calc(100vw - 2rem));
  transform: translate(-50%, 6px); opacity: 0; visibility: hidden;
  background: var(--color-surface); color: var(--color-text); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: var(--border); padding: var(--space-3);
  display: grid; grid-template-columns: 1fr 240px; gap: var(--space-3);
  transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out), visibility 0s linear var(--duration-base);
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover köprüsü */
.mega.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega__item { display: flex; gap: var(--space-3); padding: var(--space-3); border-radius: var(--radius-md); color: inherit; transition: background-color var(--duration-fast); }
.mega__item:hover { background: var(--color-primary-soft); color: inherit; }
.mega__icon { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--color-primary-soft); color: var(--color-primary); }
.mega__item:hover .mega__icon { background: var(--color-primary); color: #fff; }
.mega__icon .icon { width: 18px; height: 18px; }
.mega__title { display: block; font-weight: var(--weight-semibold); font-size: var(--text-base); line-height: 1.3; }
.mega__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--text-xs); color: var(--color-muted); line-height: 1.45; margin-top: 2px; }
.mega__aside { border-radius: var(--radius-md); padding: var(--space-5); background: var(--color-dark); color: var(--color-on-dark); display: flex; flex-direction: column; gap: var(--space-3); position: relative; overflow: hidden; }
.mega__aside::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; bottom: -70px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--violet-400), var(--violet-800)); opacity: .65; }
.mega__aside strong { font-size: var(--text-lg); color: #fff; line-height: 1.3; position: relative; z-index: 1; }
.mega__aside p { font-size: var(--text-sm); color: var(--color-on-dark-muted); position: relative; z-index: 1; }
.mega__aside .btn { margin-top: auto; align-self: flex-start; position: relative; z-index: 1; }
.mega__aside .text-link { position: relative; z-index: 1; color: var(--violet-300); font-size: var(--text-sm); }
.mega__aside .text-link:hover { color: #fff; }

/* Alt bağlantılı menü öğesi (S-034, Yönetim → Header menüsü) */
.nav-sub {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 220px; max-width: 320px;
  transform: translateY(6px); opacity: 0; visibility: hidden;
  background: var(--color-surface); color: var(--color-text); border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  border: var(--border); padding: var(--space-2);
  transition: opacity var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out), visibility 0s linear var(--duration-base);
}
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-sub.is-open { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.nav-sub ul { list-style: none; margin: 0; padding: 0; }
.nav-sub__link { display: block; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); color: inherit; font-size: var(--text-sm); font-weight: var(--weight-medium); overflow-wrap: anywhere; }
.nav-sub__link:hover, .nav-sub__link[aria-current="page"] { background: var(--color-primary-soft); color: var(--color-primary); }

.header-actions { display: flex; align-items: center; gap: var(--space-2); flex: none; }
.header-login { display: inline-flex; align-items: center; gap: var(--space-2); height: 40px; padding: 0 var(--space-3); border-radius: var(--radius-sm); color: var(--color-on-dark-muted); font-weight: var(--weight-medium); font-size: var(--text-base); }
.header-login:hover { color: #fff; background: color-mix(in srgb, #fff 6%, transparent); }
.header-login .icon { width: 18px; height: 18px; }
.nav-toggle { display: none; color: #fff; }
.nav-toggle:hover { background: color-mix(in srgb, #fff 8%, transparent); color: #fff; }

/* Kullanıcı menüsü */
.user-menu { position: relative; }
.user-menu__btn { display: inline-flex; align-items: center; gap: var(--space-2); height: 40px; padding: 0 var(--space-2) 0 4px; border: 1px solid color-mix(in srgb, #fff 12%, transparent); border-radius: var(--radius-pill); background: none; color: #fff; font: inherit; font-size: var(--text-sm); font-weight: var(--weight-semibold); cursor: pointer; }
.user-menu__btn .avatar { width: 30px; height: 30px; background: var(--color-primary); color: #fff; }
.user-menu__btn .icon { width: 16px; height: 16px; color: var(--color-on-dark-muted); }
.user-menu__panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; padding: var(--space-2); background: var(--color-surface); color: var(--color-text); border: var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity var(--duration-base), transform var(--duration-base), visibility 0s linear var(--duration-base); }
.user-menu__panel.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.user-menu__head { padding: var(--space-2) var(--space-3) var(--space-3); border-bottom: var(--border); margin-bottom: var(--space-2); }
.user-menu__head b { display: block; font-size: var(--text-sm); }
.user-menu__head span { font-size: var(--text-xs); color: var(--color-muted); word-break: break-all; }
.user-menu__item { display: flex; width: 100%; align-items: center; gap: var(--space-3); padding: var(--space-2) var(--space-3); border: 0; background: none; border-radius: var(--radius-sm); font: inherit; font-size: var(--text-sm); color: var(--color-text-2); cursor: pointer; text-align: left; }
.user-menu__item:hover { background: var(--color-surface-sunken); color: var(--color-text); }
.user-menu__item .icon { width: 18px; height: 18px; color: var(--color-muted); }

/* Mobil menü (drawer) */
.drawer { position: fixed; inset: 0; z-index: var(--z-modal); visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgb(11 10 18 / 0.6); opacity: 0; transition: opacity var(--duration-slow) var(--ease-out); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 100%);
  background: var(--color-dark); color: var(--color-on-dark);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform var(--duration-slow) var(--ease-out);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 var(--gutter); border-bottom: 1px solid var(--color-dark-border); flex: none; }
.drawer__head img { height: 30px; width: auto; }
.drawer__close { color: #fff; }
.drawer__close:hover { background: var(--color-dark-3); color: #fff; }
.drawer__nav { padding: var(--space-4) var(--gutter); flex: 1; }
.drawer__nav ul { list-style: none; margin: 0; padding: 0; }
.drawer__link { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0 var(--space-1); border: 0; border-bottom: 1px solid var(--color-dark-border); background: none; color: #fff; font: inherit; font-size: var(--text-lg); font-weight: var(--weight-semibold); cursor: pointer; text-align: left; }
.drawer__link:hover { color: var(--violet-300); }
.drawer__link[aria-current="page"] { color: var(--violet-300); }
.drawer__link .icon { width: 20px; height: 20px; color: var(--color-on-dark-muted); transition: transform var(--duration-base) var(--ease-out); }
.drawer__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.drawer__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--duration-slow) var(--ease-out); }
.drawer__sub.is-open { grid-template-rows: 1fr; }
.drawer__sub > ul { overflow: hidden; }
.drawer__sub a { display: flex; align-items: center; gap: var(--space-3); min-height: 46px; padding: 0 var(--space-2); color: var(--color-on-dark-muted); font-size: var(--text-base); font-weight: var(--weight-medium); }
.drawer__sub a:hover { color: #fff; }
.drawer__sub .icon { width: 18px; height: 18px; color: var(--violet-300); }
.drawer__sub li:last-child a { margin-bottom: var(--space-2); }
.drawer__foot { padding: var(--space-5) var(--gutter) var(--space-8); display: grid; gap: var(--space-3); border-top: 1px solid var(--color-dark-border); flex: none; }
.drawer__contact { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-2); font-size: var(--text-sm); }
.drawer__contact a { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--color-on-dark-muted); }
.drawer__contact .icon { width: 16px; height: 16px; }

@media (max-width: 1100px) {
  .main-nav, .header-login, .header-actions .btn--quote { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
}

/* ================================= HERO =================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(55% 65% at 82% 28%, color-mix(in srgb, var(--color-primary) 24%, transparent) 0%, transparent 70%),
    radial-gradient(40% 40% at 10% 100%, color-mix(in srgb, var(--color-primary) 10%, transparent) 0%, transparent 70%),
    var(--color-dark);
  color: var(--color-on-dark);
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .4;
  background-image: linear-gradient(var(--color-dark-border) 1px, transparent 1px), linear-gradient(90deg, var(--color-dark-border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 80% at 70% 35%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 80% at 70% 35%, #000 0%, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--space-12); align-items: center; padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(4rem, 2rem + 6vw, 7.5rem); }
.hero__eyebrow { display: inline-flex; align-items: center; gap: var(--space-2); padding: 6px 12px 6px 6px; border-radius: var(--radius-pill); background: color-mix(in srgb, #fff 6%, transparent); border: 1px solid color-mix(in srgb, #fff 10%, transparent); font-size: var(--text-sm); color: var(--color-on-dark); font-weight: var(--weight-medium); }
.hero__eyebrow b { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--radius-pill); background: var(--color-primary); color: #fff; font-size: var(--text-xs); font-weight: var(--weight-bold); }
.hero h1 { margin-top: var(--space-6); font-size: var(--display-1); line-height: 1.03; letter-spacing: var(--tracking-display); font-weight: var(--weight-extrabold); color: #fff; text-wrap: pretty; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--violet-300), #c9bdf7 60%, var(--violet-300)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: var(--space-6); font-size: var(--lead); line-height: 1.6; color: var(--color-on-dark-muted); max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.hero__checks { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); margin-top: var(--space-10); padding: 0; list-style: none; font-size: var(--text-sm); color: var(--color-on-dark); }
.hero__checks li { display: inline-flex; align-items: center; gap: var(--space-2); }
.hero__checks .icon { width: 18px; height: 18px; color: var(--violet-300); }

/* Hero görseli: orbit + yüzen arayüz kartları */
.hero-visual { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1 / 1; margin-inline: auto; }
.hero-visual > svg { position: absolute; inset: 6%; width: 88%; height: 88%; overflow: visible; }
.orbit-ring { transform-origin: 50% 50%; transform-box: fill-box; animation: orbit 70s linear infinite; }
.orbit-ring--rev { animation-duration: 110s; animation-direction: reverse; }
@keyframes orbit { to { transform: rotate(360deg); } }
.float-card {
  position: absolute; z-index: 2;
  background: color-mix(in srgb, var(--color-dark-2) 82%, transparent);
  border: 1px solid color-mix(in srgb, #fff 10%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md); box-shadow: 0 20px 50px rgb(0 0 0 / 0.35);
  padding: var(--space-4); color: var(--color-on-dark);
  animation: float 7s var(--ease-in-out) infinite;
}
.float-card:nth-of-type(2) { animation-delay: -2.5s; }
.float-card:nth-of-type(3) { animation-delay: -4.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }
.float-card__label { font-size: var(--text-xs); color: var(--color-on-dark-muted); display: flex; align-items: center; gap: var(--space-2); }
.float-card__label .icon { width: 14px; height: 14px; color: var(--violet-300); }
.float-card__value { font-size: 1.5rem; font-weight: var(--weight-extrabold); color: #fff; letter-spacing: var(--tracking-tight); font-variant-numeric: tabular-nums; line-height: 1.2; margin-top: 2px; }
.float-card__value small { font-size: var(--text-xs); font-weight: var(--weight-semibold); color: #6ee7b7; margin-left: 6px; letter-spacing: 0; }
.float-card__title { font-weight: var(--weight-bold); color: #fff; font-size: var(--text-sm); }
.float-card--traffic { top: 4%; right: -2%; width: 210px; }
.float-card--traffic svg { width: 100%; height: 44px; margin-top: var(--space-2); }
.float-card--score { bottom: 14%; left: -4%; display: flex; align-items: center; gap: var(--space-3); }
.score-ring { width: 52px; height: 52px; flex: none; position: relative; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: var(--text-sm); font-weight: var(--weight-extrabold); color: #fff; }
.float-card--lead { bottom: 2%; right: 4%; display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); }
.float-card--lead .lead-icon { width: 36px; height: 36px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--color-accent); color: var(--ink-950); flex: none; }
.float-card--lead .lead-icon .icon { width: 18px; height: 18px; }
.float-card--lead b { display: block; font-size: var(--text-sm); color: #fff; }
.float-card--lead span { font-size: var(--text-xs); color: var(--color-on-dark-muted); }
@media (prefers-reduced-motion: reduce) { .orbit-ring, .float-card { animation: none; } }

/* ============================ GÜVEN BANDI ================================= */
.trust { border-bottom: var(--border); background: var(--color-surface); }
.trust__inner { display: flex; align-items: center; gap: var(--space-10); padding-block: var(--space-8); }
.trust__label { flex: none; max-width: 200px; }
.trust__label b { display: block; font-size: var(--text-sm); }
.trust__label span { font-size: var(--text-xs); color: var(--color-muted); }
.marquee { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: var(--space-12); animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; gap: var(--space-12); }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--space-12) / 2)); } }
.brand-chip { display: inline-flex; align-items: center; gap: var(--space-2); flex: none; height: 40px; color: var(--gray-500); font-weight: var(--weight-bold); font-size: var(--text-lg); letter-spacing: -0.01em; white-space: nowrap; transition: color var(--duration-base); }
.brand-chip:hover { color: var(--color-text); }
.brand-chip img { height: 28px; width: auto; filter: grayscale(1); opacity: .7; transition: filter var(--duration-base), opacity var(--duration-base); }
.brand-chip:hover img { filter: none; opacity: 1; }
.brand-chip .icon { width: 20px; height: 20px; color: var(--color-primary); }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; } .marquee__track [aria-hidden] { display: none; } }

/* ========================== HİZMETLER (BENTO) ============================= */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-5); }
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: var(--space-4);
  grid-column: span 4; padding: var(--space-6);
  background: var(--color-surface); border: var(--border); border-radius: var(--radius-lg);
  color: inherit; overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out), transform var(--duration-base) var(--ease-out);
}
.svc-card:hover { color: inherit; border-color: var(--violet-200); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.svc-card--feature { grid-column: span 7; grid-row: span 2; background: var(--color-dark); color: var(--color-on-dark); border-color: var(--color-dark); }
.svc-card--feature:hover { color: var(--color-on-dark); border-color: var(--violet-700); }
.svc-card--wide { grid-column: span 5; }
.svc-card[data-span="3"] { grid-column: span 3; }
.svc-card[data-span="6"] { grid-column: span 6; }
.svc-card[data-span="12"] { grid-column: span 12; }
.svc-card__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.svc-card__icon { width: 44px; height: 44px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--color-primary-soft); color: var(--color-primary); transition: background-color var(--duration-base), color var(--duration-base); }
.svc-card:hover .svc-card__icon { background: var(--color-primary); color: #fff; }
.svc-card--feature .svc-card__icon { background: color-mix(in srgb, var(--color-primary) 22%, transparent); color: var(--violet-300); }
.svc-card__icon .icon { width: 22px; height: 22px; }
.svc-card__no { font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--gray-400); font-variant-numeric: tabular-nums; }
.svc-card--feature .svc-card__no { color: var(--ink-600); }
.svc-card h3 { font-size: var(--text-xl); letter-spacing: var(--tracking-tight); }
.svc-card--feature h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: #fff; }
.svc-card p { color: var(--color-muted); font-size: var(--text-base); line-height: 1.6; }
.svc-card h3 + p { margin-top: var(--space-2); }
.svc-card--feature p { color: var(--color-on-dark-muted); max-width: 48ch; }
.svc-card__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.svc-card__tags li { font-size: var(--text-xs); font-weight: var(--weight-semibold); padding: 4px 10px; border-radius: var(--radius-pill); background: var(--color-surface-sunken); color: var(--color-text-2); }
.svc-card--feature .svc-card__tags li { background: color-mix(in srgb, #fff 7%, transparent); color: var(--color-on-dark); }
.svc-card__go { margin-top: auto; display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--color-primary); }
.svc-card--feature .svc-card__go { color: var(--violet-300); }
.svc-card__go .icon { width: 16px; height: 16px; transition: transform var(--duration-base) var(--ease-out); }
.svc-card:hover .svc-card__go .icon { transform: translateX(4px); }
.svc-card__visual { margin-top: var(--space-2); }
/* Öne çıkan kart iki satır yüksekliğinde: illüstrasyon boşluğu doldurur (önceden üst/altta büyük boşluk kalıyordu) */
.svc-card--feature .svc-card__visual { flex: 1 1 auto; display: flex; flex-direction: column; }
.svc-card--feature .ui-window { flex: 1; display: flex; flex-direction: column; }
.svc-card--feature .ui-window__body { flex: 1; grid-template-rows: minmax(0, 1fr) auto; }
.svc-card--feature .ui-cols { align-items: stretch; }
.svc-card--feature .ui-cols > div:first-child { align-self: center; }
.svc-card--feature .ui-block { aspect-ratio: auto; min-height: 120px; }

/* Mini arayüz illüstrasyonları (görsel yerine HTML/CSS, zoom'da kayıpsız) */
.ui-window { border-radius: var(--radius-md); border: 1px solid var(--color-border); background: var(--color-surface); overflow: hidden; box-shadow: var(--shadow-sm); }
.ui-window--dark { background: var(--color-dark-2); border-color: var(--color-dark-border); box-shadow: 0 24px 60px rgb(0 0 0 / .35); }
.ui-window__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-bottom: 1px solid var(--color-border); }
.ui-window--dark .ui-window__bar { border-color: var(--color-dark-border); }
.ui-window__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-300); }
.ui-window--dark .ui-window__bar i { background: var(--ink-700); }
.ui-window__bar i:first-child { background: var(--color-accent); }
.ui-window__url { margin-left: 8px; height: 14px; flex: 1; max-width: 180px; border-radius: var(--radius-pill); background: var(--color-surface-sunken); }
.ui-window--dark .ui-window__url { background: var(--color-dark-3); }
.ui-window__body { padding: 14px; display: grid; gap: 10px; }
.ui-line { height: 8px; border-radius: 4px; background: var(--gray-100); }
.ui-window--dark .ui-line { background: var(--color-dark-3); }
.ui-line--strong { background: var(--gray-300); height: 12px; }
.ui-window--dark .ui-line--strong { background: var(--ink-600); }
.ui-line--brand { background: var(--color-primary); }
.ui-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; align-items: center; }
.ui-block { border-radius: 8px; background: linear-gradient(135deg, var(--violet-500), var(--violet-800)); aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.ui-block::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; right: -15%; bottom: -25%; background: radial-gradient(circle at 35% 30%, var(--violet-300), transparent 70%); opacity: .7; }
.ui-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-tile { height: 42px; border-radius: 6px; background: var(--color-dark-3); }
.ui-tile:nth-child(2) { background: color-mix(in srgb, var(--color-primary) 30%, var(--color-dark-3)); }
.ui-btn { width: 72px; height: 22px; border-radius: 6px; background: var(--color-primary); }
.ui-bars { display: flex; align-items: end; gap: 6px; height: 72px; padding-top: 6px; }
.ui-bars span { flex: 1; border-radius: 4px 4px 0 0; background: var(--violet-100); }
.ui-bars span:last-child { background: var(--color-primary); }
.ui-code { font-family: var(--font-mono); font-size: 11px; line-height: 1.7; color: var(--gray-500); white-space: nowrap; overflow: hidden; }
.ui-code b { color: var(--color-primary); font-weight: 600; }
.ui-code i { color: var(--color-accent-text); font-style: normal; }
.ui-shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-shop span { aspect-ratio: 1; border-radius: 6px; background: var(--color-surface-sunken); position: relative; }
.ui-shop span::after { content: ""; position: absolute; left: 6px; right: 40%; bottom: 6px; height: 5px; border-radius: 3px; background: var(--gray-300); }
.ui-shop span:first-child { background: var(--violet-100); }
.ui-status { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; color: var(--color-success); }
.ui-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px var(--color-success-soft); }

/* ============================= NEDEN BİZ ================================== */
.why { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
.why__intro { position: sticky; top: 112px; }
.why__intro h2 { font-size: var(--display-2); line-height: 1.08; letter-spacing: var(--tracking-display); font-weight: var(--weight-extrabold); margin-top: var(--space-3); text-wrap: balance; }
.why__intro p { margin-top: var(--space-5); color: var(--color-muted); font-size: var(--lead); line-height: 1.6; }
.why__intro .btn { margin-top: var(--space-8); }
.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); align-items: start; padding-bottom: var(--space-8); }
.why-item { padding: var(--space-6); border-radius: var(--radius-lg); background: var(--color-surface); border: var(--border); }
.why-item:nth-child(even) { margin-top: var(--space-10); margin-bottom: calc(var(--space-10) * -1); }
.why-item__icon { width: 48px; height: 48px; border-radius: var(--radius-md); display: grid; place-items: center; color: var(--color-primary); background: var(--color-primary-soft); margin-bottom: var(--space-5); position: relative; }
.why-item__icon::after { content: ""; position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--color-accent); border: 2px solid var(--color-surface); }
.why-item__icon .icon { width: 24px; height: 24px; }
.why-item h3 { font-size: var(--text-lg); }
.why-item p { margin-top: var(--space-2); color: var(--color-muted); font-size: var(--text-base); line-height: 1.6; }

/* ============================== İSTATİSTİK ================================ */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats--divided { margin-bottom: clamp(3rem, 2rem + 4vw, 6rem); border-bottom: 1px solid var(--color-dark-border); }
.stat-big { padding: var(--space-8) var(--space-6); border-left: 1px solid var(--color-dark-border); }
.stat-big:first-child { border-left: 0; padding-left: 0; }
.stat-big strong { display: block; font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.75rem); font-weight: var(--weight-extrabold); letter-spacing: var(--tracking-display); color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.stat-big strong span { color: var(--violet-300); }
.stat-big p { margin-top: var(--space-3); color: var(--color-on-dark-muted); font-size: var(--text-base); max-width: 22ch; }

/* =============================== SÜREÇ ==================================== */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-6); position: relative; counter-reset: step; }
/* Çizgi ilk düğümün ortasından son düğümün ortasına (son sütunun genişliği kadar içeride biter) */
.process::before { content: ""; position: absolute; top: 28px; left: 28px; right: calc((100% - 4 * var(--space-6)) / 5 - 28px); height: 1px; background: linear-gradient(90deg, var(--color-primary), var(--color-dark-border) 85%); }
.process-step { position: relative; }
.process-step__node { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--color-dark-2); border: 1px solid var(--color-dark-border); color: var(--violet-300); transition: background-color var(--duration-base), color var(--duration-base), border-color var(--duration-base); }
.process-step:first-child .process-step__node, .process-step:hover .process-step__node { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.process-step__node .icon { width: 24px; height: 24px; }
.process-step__no { display: block; margin-top: var(--space-5); font-size: var(--text-sm); font-weight: var(--weight-bold); color: var(--color-accent); font-variant-numeric: tabular-nums; }
.process-step h3 { margin-top: var(--space-1); font-size: var(--text-lg); color: #fff; }
.process-step p { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--color-on-dark-muted); line-height: 1.6; }
.section:not(.section--dark) .process::before { background: linear-gradient(90deg, var(--color-primary), var(--color-border) 85%); }
.section:not(.section--dark) .process-step__node { background: var(--color-surface); border-color: var(--color-border); color: var(--color-primary); }
.section:not(.section--dark) .process-step:first-child .process-step__node, .section:not(.section--dark) .process-step:hover .process-step__node { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.section:not(.section--dark) .process-step h3 { color: var(--color-text); }
.section:not(.section--dark) .process-step p { color: var(--color-muted); }
.section:not(.section--dark) .process-step__no { color: var(--color-accent-text); }

/* ============================== PROJELER ================================== */
.work-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: var(--space-5); }
.work-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface); border: var(--border); color: inherit; transition: box-shadow var(--duration-base), border-color var(--duration-base), transform var(--duration-base) var(--ease-out); }
.work-card:hover { color: inherit; box-shadow: var(--shadow-md); border-color: var(--violet-200); transform: translateY(-3px); }
.work-card--feature { grid-row: span 2; }
.work-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-dark); }
.work-card--feature .work-card__media { aspect-ratio: auto; flex: 1; min-height: 320px; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__body { padding: var(--space-5) var(--space-6); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.work-card__body h3 { font-size: var(--text-lg); }
.work-card__meta { font-size: var(--text-sm); color: var(--color-muted); margin-top: 2px; }
.work-card__arrow { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; border: var(--border); color: var(--color-text); transition: all var(--duration-base) var(--ease-out); }
.work-card:hover .work-card__arrow { background: var(--color-primary); border-color: var(--color-primary); color: #fff; transform: rotate(-45deg); }
.work-card__arrow .icon { width: 18px; height: 18px; }
.work-card__metrics { position: absolute; left: var(--space-5); bottom: var(--space-5); display: flex; gap: var(--space-2); flex-wrap: wrap; z-index: 2; }
.work-card__metrics span { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill); background: color-mix(in srgb, var(--color-dark) 78%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--color-on-dark-muted); font-size: var(--text-xs); border: 1px solid color-mix(in srgb, #fff 12%, transparent); }
.work-card__metrics b { color: #fff; font-size: var(--text-sm); }

/* Kapak görseli yokken: markaya özgü site önizleme kompozisyonu */
.cover-art { position: absolute; inset: 0; display: grid; place-items: center; padding: 8% 10% 0; background: radial-gradient(80% 70% at 75% 10%, color-mix(in srgb, var(--color-primary) 40%, transparent), transparent 70%), var(--color-dark); }
.cover-art .ui-window { width: 100%; height: 100%; align-self: end; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; transition: transform 600ms var(--ease-out); }
.work-card:hover .cover-art .ui-window { transform: translateY(-6px); }
.cover-art__body { gap: 14px; padding: clamp(14px, 3vw, 28px); }
.work-card--feature .cover-art__body { gap: 22px; }
.cover-art__title { font-size: clamp(1rem, .8rem + 1vw, 1.5rem); font-weight: var(--weight-extrabold); color: #fff; letter-spacing: var(--tracking-tight); line-height: 1.15; }
.cover-art--blog { padding: 0; place-items: stretch; }
.cover-art--blog .cover-art__pattern { position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(var(--ink-700) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(135deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(135deg, #000, transparent 70%); }
.cover-art--blog .cover-art__planet { position: absolute; width: 46%; aspect-ratio: 1; right: -8%; bottom: -18%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--violet-400), var(--violet-600) 50%, var(--violet-900)); }
.cover-art--blog .cover-art__ring { position: absolute; width: 80%; aspect-ratio: 3 / 1; right: -24%; bottom: 2%; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--violet-300) 55%, transparent); transform: rotate(-16deg); }
.cover-art--blog .cover-art__icon { position: absolute; left: 8%; top: 12%; width: 44px; height: 44px; border-radius: var(--radius-md); display: grid; place-items: center; background: color-mix(in srgb, #fff 8%, transparent); border: 1px solid color-mix(in srgb, #fff 12%, transparent); color: var(--violet-300); }
.cover-art--blog .cover-art__icon .icon { width: 22px; height: 22px; }
.cover-art--blog .cover-art__dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--color-accent); left: 38%; bottom: 30%; }

/* ============================== YORUMLAR ================================== */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.quote-card { margin: 0; display: flex; flex-direction: column; gap: var(--space-5); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--color-surface); border: var(--border); }
.quote-card__stars { display: flex; gap: 2px; color: var(--color-accent); }
.quote-card__stars .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.quote-card blockquote { margin: 0; font-size: var(--text-md); line-height: 1.65; color: var(--color-text-2); flex: 1; }
.quote-card figcaption { display: flex; align-items: center; gap: var(--space-3); padding-top: var(--space-5); border-top: var(--border); }
.quote-card figcaption .avatar { width: 42px; height: 42px; font-size: var(--text-sm); }
.quote-card figcaption img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; }
.quote-card figcaption b { display: block; font-size: var(--text-base); }
.quote-card figcaption span { font-size: var(--text-sm); color: var(--color-muted); }
.slider-nav { display: none; gap: var(--space-2); }

/* =============================== BLOG ===================================== */
.blog-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--space-5); }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface); border: var(--border); color: inherit; transition: box-shadow var(--duration-base), border-color var(--duration-base), transform var(--duration-base) var(--ease-out); }
.post-card:hover { color: inherit; box-shadow: var(--shadow-md); border-color: var(--violet-200); transform: translateY(-3px); }
.post-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--color-dark); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5) var(--space-6) var(--space-6); flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); font-size: var(--text-xs); color: var(--color-muted); }
.post-card__meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--gray-300); }
.post-card h3 { font-size: var(--text-lg); line-height: 1.35; text-wrap: balance; }
.post-card p { font-size: var(--text-base); color: var(--color-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .text-link { margin-top: auto; padding-top: var(--space-2); }
.post-card--feature h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
/* Satırlar öne çıkan yazının yüksekliğine eşit dağılır (sağda boşluk kalmasın) */
.post-list { display: grid; gap: var(--space-5); grid-auto-rows: minmax(0, 1fr); }
.post-row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: var(--space-5); align-items: center; padding: var(--space-3); border-radius: var(--radius-lg); border: var(--border); background: var(--color-surface); color: inherit; transition: box-shadow var(--duration-base), border-color var(--duration-base); }
.post-row:hover { color: inherit; box-shadow: var(--shadow-sm); border-color: var(--violet-200); }
.post-row .post-card__media { border-radius: var(--radius-md); aspect-ratio: 4 / 3; }
.post-row h3 { font-size: var(--text-md); line-height: 1.4; margin-top: var(--space-2); text-wrap: balance; }

/* ================================ CTA ===================================== */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); padding: clamp(2.5rem, 1.5rem + 5vw, 5rem); background: var(--color-dark); color: var(--color-on-dark); display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: var(--space-10); align-items: center; }
.cta-band::before { content: ""; position: absolute; z-index: -1; width: 520px; aspect-ratio: 1; right: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--color-primary) 55%, transparent), transparent 65%); }
.cta-band::after { content: ""; position: absolute; z-index: -1; width: 680px; aspect-ratio: 3 / 1; right: -200px; top: 10px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--violet-300) 30%, transparent); transform: rotate(-14deg); }
.cta-band h2 { font-size: var(--display-2); line-height: 1.08; letter-spacing: var(--tracking-display); font-weight: var(--weight-extrabold); color: #fff; text-wrap: balance; }
.cta-band p { margin-top: var(--space-4); color: var(--color-on-dark-muted); font-size: var(--lead); max-width: 52ch; }
.cta-band__actions { display: flex; flex-direction: column; gap: var(--space-3); min-width: 240px; }
.cta-band__contact { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); margin-top: var(--space-6); font-size: var(--text-sm); }
.cta-band__contact a { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--color-on-dark); }
.cta-band__contact a:hover { color: var(--violet-300); }
.cta-band__contact .icon { width: 18px; height: 18px; color: var(--violet-300); }

/* =============================== FOOTER =================================== */
.site-footer { background: var(--color-dark); color: var(--color-on-dark-muted); padding-top: clamp(3.5rem, 2rem + 4vw, 5.5rem); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: var(--space-10); padding-bottom: var(--space-12); }
.footer-brand img { height: 34px; width: auto; }
.footer-brand p { margin-top: var(--space-5); font-size: var(--text-base); line-height: 1.65; max-width: 36ch; }
.social { display: flex; gap: var(--space-2); margin-top: var(--space-6); list-style: none; padding: 0; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--color-on-dark); border: 1px solid var(--color-dark-border); transition: background-color var(--duration-base), border-color var(--duration-base), color var(--duration-base); }
.social a:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.social .icon { width: 18px; height: 18px; }
.footer-col h2, .footer-col .footer-col__title { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: #fff; letter-spacing: 0; margin-bottom: var(--space-5); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.footer-col a { color: var(--color-on-dark-muted); font-size: var(--text-base); transition: color var(--duration-fast); }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-base); }
.footer-contact .icon { width: 18px; height: 18px; color: var(--violet-300); margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3) var(--space-6); padding-block: var(--space-6); border-top: 1px solid var(--color-dark-border); font-size: var(--text-sm); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.footer-bottom a { color: var(--color-on-dark-muted); }
.footer-credit { display: inline-block; margin-left: var(--space-3); padding-left: var(--space-3); border-left: 1px solid var(--color-dark-border); font-size: var(--text-xs); color: var(--color-on-dark-muted); }
@media (max-width: 640px) { .footer-credit { display: block; margin: var(--space-1) 0 0; padding: 0; border: 0; } }
.footer-bottom a:hover { color: #fff; }
.to-top { position: fixed; right: var(--space-5); bottom: var(--space-5); z-index: var(--z-dropdown); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--color-primary); color: #fff; border: 0; box-shadow: var(--shadow-primary); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--duration-base) var(--ease-out); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--color-primary-hover); }
.to-top .icon { width: 20px; height: 20px; transform: rotate(-90deg); }

/* ============================ RESPONSIVE ================================== */
@media (max-width: 1280px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-10); }
  .hero-visual { max-width: 460px; }
  .svc-card, .svc-card--wide, .svc-card[data-span] { grid-column: span 6; }
  .svc-card--feature { grid-column: span 12; grid-row: auto; }
  .why { grid-template-columns: minmax(0, 1fr); }
  .why__intro { position: static; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-big:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat-big:nth-child(n+3) { border-top: 1px solid var(--color-dark-border); }
  .process { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .process::before { top: 28px; bottom: 28px; left: 28px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--color-primary), var(--color-dark-border) 85%) !important; }
  .section:not(.section--dark) .process::before { background: linear-gradient(180deg, var(--color-primary), var(--color-border) 85%) !important; }
  .process-step { display: grid; grid-template-columns: 56px 1fr; column-gap: var(--space-5); padding-bottom: var(--space-8); }
  .process-step:last-child { padding-bottom: 0; }
  .process-step__node { grid-row: span 3; }
  .process-step__no { margin-top: 0; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .work-card--feature { grid-column: 1 / -1; grid-row: auto; }
  .work-card--feature .work-card__media { aspect-ratio: 16 / 9; flex: none; min-height: 0; }
  .quotes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--space-4); padding-bottom: var(--space-3); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .quotes::-webkit-scrollbar { display: none; }
  .quote-card { flex: 0 0 min(400px, 82%); scroll-snap-align: start; }
  .slider-nav { display: flex; }
  .blog-feature { grid-template-columns: minmax(0, 1fr); }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; min-width: 0; }
}
@media (max-width: 768px) {
  .section-head { flex-direction: column; align-items: start; }
  .trust__inner { flex-direction: column; align-items: stretch; gap: var(--space-4); padding-block: var(--space-6); }
  .trust__label { max-width: none; text-align: center; }
  .svc-card, .svc-card--wide, .svc-card--feature, .svc-card[data-span] { grid-column: 1 / -1; }
  .why__grid { grid-template-columns: minmax(0, 1fr); }
  .why__grid { padding-bottom: 0; }
  .why-item:nth-child(even) { margin: 0; }
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .footer-contact { grid-column: 1 / -1; }
  .float-card--traffic { width: 180px; right: 0; }
  .float-card--score { left: 0; }
  .float-card--lead { right: 0; }
}
@media (max-width: 640px) {
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__checks { gap: var(--space-3) var(--space-5); }
  .hero-visual { max-width: 360px; }
  .float-card { padding: var(--space-3); }
  .float-card__value { font-size: 1.25rem; }
  .float-card--traffic { width: 156px; top: 0; }
  .float-card--traffic svg { height: 32px; }
  .float-card--lead { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat-big { padding: var(--space-6) var(--space-4); }
  .stat-big:nth-child(odd) { padding-left: 0; }
  .post-row { grid-template-columns: 112px minmax(0, 1fr); gap: var(--space-4); }
  .cta-band { border-radius: var(--radius-lg); }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .to-top { right: var(--space-4); bottom: var(--space-4); }
}

/* ========================= SOHBET ASİSTANI (sağ alt) ======================== */
.chat { --chat-gap: var(--space-5); position: fixed; right: var(--chat-gap); bottom: var(--chat-gap); z-index: var(--z-overlay); }
.capture .chat { display: none; }
/* Yukarı çık düğmesi sohbet düğmesinin üstüne alınır (ikisi de sağ altta) */
body:has(.chat) .to-top { bottom: calc(var(--space-5) + 56px + var(--space-3)); }
.chat__launcher { width: 56px; height: 56px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--color-primary); color: #fff; box-shadow: var(--shadow-primary), var(--shadow-lg); cursor: pointer; transition: background-color var(--duration-base), transform var(--duration-base) var(--ease-out); }
.chat__launcher:hover { background: var(--color-primary-hover); transform: translateY(-2px); }
.chat__launcher .icon { width: 26px; height: 26px; grid-area: 1 / 1; transition: opacity var(--duration-base), transform var(--duration-base) var(--ease-out); }
.chat__launcher-close { opacity: 0; transform: rotate(-90deg); }
.chat.is-open .chat__launcher-open { opacity: 0; transform: rotate(90deg); }
.chat.is-open .chat__launcher-close { opacity: 1; transform: none; }

.chat__panel { position: absolute; right: 0; bottom: calc(56px + var(--space-3)); width: min(380px, calc(100vw - 2 * var(--chat-gap))); height: min(580px, calc(100dvh - 56px - var(--space-3) - 2 * var(--chat-gap))); display: flex; flex-direction: column; background: var(--color-surface); color: var(--color-text); border: var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; transform-origin: bottom right; animation: chat-in var(--duration-base) var(--ease-out); }
.chat__panel[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }

.chat__head { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4); background: var(--color-dark); color: var(--color-on-dark); }
.chat__avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--color-primary) 30%, transparent); color: var(--violet-300); }
.chat__avatar .icon { width: 20px; height: 20px; }
.chat__who { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.chat__who b { font-size: var(--text-base); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat__who span { font-size: var(--text-xs); color: var(--color-on-dark-muted); }
.chat__icon-btn { flex: none; width: 36px; height: 36px; border-radius: var(--radius-sm); border: 0; display: grid; place-items: center; background: transparent; color: var(--color-on-dark-muted); cursor: pointer; }
.chat__icon-btn:hover { background: color-mix(in srgb, #fff 8%, transparent); color: #fff; }
.chat__icon-btn .icon { width: 18px; height: 18px; }

.chat__log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-3); background: var(--color-surface-sunken); }
.chat__msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: var(--text-sm); line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.chat__msg--bot { align-self: flex-start; background: var(--color-surface); border: var(--border); border-bottom-left-radius: 4px; }
.chat__msg--user { align-self: flex-end; background: var(--color-primary); color: #fff; border-bottom-right-radius: 4px; }
.chat__msg--error { align-self: flex-start; background: var(--color-danger-soft); color: var(--color-danger); border-bottom-left-radius: 4px; }
.chat__msg a { color: var(--color-primary); font-weight: var(--weight-semibold); text-decoration: underline; text-underline-offset: 2px; }
.chat__msg a[href^="/"] { white-space: nowrap; } /* kısa site içi yollar bölünmesin (/teklif-al) */
.chat__typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 14px; border-radius: 16px; background: var(--color-surface); border: var(--border); }
.chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gray-400); animation: chat-dot 1s infinite ease-in-out; }
.chat__typing i:nth-child(2) { animation-delay: .15s; }
.chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .chat__typing i, .chat__panel { animation: none; } }

.chat__quick { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0 var(--space-4) var(--space-3); background: var(--color-surface-sunken); }
.chat__quick[hidden] { display: none; }
.chat__quick button { min-height: 32px; padding: 4px 12px; border-radius: var(--radius-pill); border: 1px solid var(--violet-200); background: var(--color-surface); color: var(--color-primary); font: inherit; font-size: var(--text-xs); font-weight: var(--weight-semibold); cursor: pointer; }
.chat__quick button:hover { background: var(--color-primary-soft); }

/* WhatsApp'a geçiş: mesaj kutusunun üstünde, her zaman görünür. Yeşil yalnızca ikon/kenarda (marka tanınırlığı) */
/* WhatsApp satırı alt bölümün başı: tek ayırıcı çizgi üstte, düğmenin üstü ve altı eşit boşluk (S-022) */
.chat__wa-row { padding: var(--space-3) var(--space-4); border-top: var(--border); background: var(--color-surface); }
.chat__wa-row + .chat__form { border-top: 0; padding-top: 0; }
.chat__wa { display: flex; align-items: center; gap: var(--space-2); min-height: 40px; padding: 8px 14px; border-radius: var(--radius-pill); border: 1px solid color-mix(in srgb, var(--color-success) 45%, transparent); background: var(--color-surface); color: var(--color-text); font-size: var(--text-sm); font-weight: var(--weight-semibold); text-decoration: none; transition: background-color var(--duration-base), border-color var(--duration-base); }
.chat__wa:hover { color: var(--color-text); background: var(--color-success-soft); border-color: var(--color-success); }
.chat__wa > .icon:first-child { width: 20px; height: 20px; color: var(--color-success); }
.chat__wa span { flex: 1; }
.chat__wa-ext { width: 14px; height: 14px; color: var(--color-muted); }
.chat__form { display: flex; align-items: flex-end; gap: var(--space-2); padding: var(--space-3) var(--space-4); border-top: var(--border); background: var(--color-surface); }
.chat__form textarea { flex: 1; min-height: 44px; max-height: 120px; resize: none; padding: 11px 14px; border: var(--border); border-radius: 22px; font: inherit; font-size: var(--text-sm); line-height: 1.45; color: var(--color-text); background: var(--color-surface); }
.chat__form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-soft); }
.chat__send { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--color-primary); color: #fff; cursor: pointer; }
.chat__send:hover { background: var(--color-primary-hover); }
.chat__send:disabled { opacity: .5; cursor: not-allowed; }
.chat__send .icon { width: 20px; height: 20px; }
.chat__note { margin: 0; padding: 0 var(--space-4) var(--space-3); font-size: 11px; color: var(--color-muted); background: var(--color-surface); }

/* Canlı destek (ADR-030): okunmamış rozeti, personel/sistem balonları, yetkili düğmesi, ses düğmesi */
.chat__launcher { position: relative; }
.chat__badge { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--radius-pill); display: grid; place-items: center; background: var(--color-accent); color: var(--color-on-primary); font-size: var(--text-xs); font-weight: var(--weight-bold); box-shadow: 0 0 0 3px var(--color-surface); animation: chat-badge .3s var(--ease-out); }
.chat__badge[hidden] { display: none; }
@keyframes chat-badge { from { transform: scale(.4); } }
.chat__msg > span { display: block; }
.chat__msg--staff { align-self: flex-start; background: var(--color-primary-soft); border: 1px solid color-mix(in srgb, var(--color-primary) 18%, transparent); border-bottom-left-radius: 4px; }
.chat__msg-name { margin-bottom: 2px; font-size: 11px; font-weight: var(--weight-bold); color: var(--color-primary-dark); letter-spacing: .01em; }
.chat__msg--system { align-self: center; max-width: 92%; padding: 6px 12px; border-radius: var(--radius-pill); background: var(--color-surface); border: 1px dashed var(--color-border-strong); color: var(--color-muted); font-size: var(--text-xs); text-align: center; }
.chat__avatar-agent { display: none; font-size: var(--text-base); color: var(--color-on-primary); }
.chat.is-live .chat__avatar { background: var(--color-success); position: relative; }
.chat.is-live .chat__avatar-bot { display: none; }
.chat.is-live .chat__avatar-agent { display: block; }
.chat.is-live .chat__avatar::after { content: ""; position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--color-success); box-shadow: 0 0 0 2px var(--color-dark); }
.chat[data-status="waiting"] [data-chat-subtitle] { color: var(--orange-300, var(--color-accent)); }
.chat.is-live [data-chat-subtitle] { color: color-mix(in srgb, var(--color-success) 70%, #fff); }
.chat__wa-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chat__wa-row > * { flex: 1 1 150px; }
.chat__human { display: flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 40px; padding: 8px 14px; border-radius: var(--radius-pill); border: 1px solid var(--violet-200); background: var(--color-surface); color: var(--color-primary); font: inherit; font-size: var(--text-sm); font-weight: var(--weight-semibold); cursor: pointer; transition: background-color var(--duration-base); }
.chat__human:hover:not(:disabled) { background: var(--color-primary-soft); }
.chat__human:disabled { opacity: .55; cursor: default; }
.chat__human .icon { width: 18px; height: 18px; }
.chat__sound .yp-sound-toggle__off, .chat__sound.is-muted .yp-sound-toggle__on { display: none; }
.chat__sound.is-muted .yp-sound-toggle__off { display: block; }

/* Telefonda tam ekran panel */
@media (max-width: 480px) {
  .chat { --chat-gap: var(--space-4); }
  body:has(.chat) .to-top { bottom: calc(var(--space-4) + 56px + var(--space-3)); }
  .chat__panel { position: fixed; inset: 0; width: auto; height: 100dvh; border-radius: 0; border: 0; }
  .chat.is-open .chat__launcher { visibility: hidden; }
}

/* ========================= SABİT WHATSAPP (sol alt) ======================== */
.wa-float { position: fixed; left: max(var(--space-5), env(safe-area-inset-left, 0px)); bottom: max(var(--space-5), env(safe-area-inset-bottom, 0px)); z-index: var(--z-overlay); display: inline-flex; align-items: center; text-decoration: none; border-radius: var(--radius-pill); background: transparent; transition: transform var(--duration-base) var(--ease-out); }
.capture .wa-float, body.is-locked .wa-float { display: none; }
.wa-float__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 26px -4px rgb(37 211 102 / 0.55), var(--shadow-md); flex: none; transition: background-color var(--duration-base), transform var(--duration-base) var(--ease-out), box-shadow var(--duration-base); }
.wa-float__icon .icon { width: 28px; height: 28px; }
.wa-float__label { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; margin-left: 0; padding: 0; border-radius: var(--radius-pill); background: var(--color-dark); color: #fff; font-size: var(--text-sm); font-weight: var(--weight-semibold); box-shadow: var(--shadow-md); pointer-events: none; transition: max-width var(--duration-slow) var(--ease-out), opacity var(--duration-base), padding var(--duration-base), margin-left var(--duration-base); }
.wa-float:hover .wa-float__icon, .wa-float:focus-visible .wa-float__icon { background: #1ebe5b; transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 30px -4px rgb(37 211 102 / 0.68), var(--shadow-lg); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 240px; opacity: 1; margin-left: var(--space-2); padding: 8px 14px; }
.wa-float:focus-visible { outline: 2px solid #25D366; outline-offset: 3px; }

/* Mobil ve tablette ekranı daraltmamak için yalnızca yuvarlak ikon; tam ekran sohbet veya çerez kutusu açıkken gizlenir */
@media (max-width: 768px) {
  .wa-float__label { display: none; }
}
@media (max-width: 480px) {
  .wa-float { left: max(var(--space-4), env(safe-area-inset-left, 0px)); bottom: max(var(--space-4), env(safe-area-inset-bottom, 0px)); }
  .wa-float__icon { width: 52px; height: 52px; }
  .wa-float__icon .icon { width: 26px; height: 26px; }
  body:has(.chat.is-open) .wa-float { visibility: hidden; pointer-events: none; }
}
