/* ============================================================
   MEDİPLAY Teknoloji — mediplay.tr
   Kurumsal web sitesi tasarım sistemi
   Font: Montserrat · Tema: Koyu / Marka: Mor (#4A3A8C) + Turuncu (#F5722E)
   ============================================================ */

:root {
  --bg-0: #07050F;
  --bg-1: #0A0718;
  --bg-2: #110C20;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-strong: rgba(255, 255, 255, 0.05);
  --line: rgba(178, 168, 215, 0.12);
  --line-soft: rgba(178, 168, 215, 0.07);

  --text-0: #F5F3FC;
  --text-1: #B3ACCB;
  --text-2: #746D92;

  --orange: #F5722E;
  --purple: #8F7BE8;
  --purple-deep: #4A3A8C;
  --amber: #FBBF24;
  --green: #34D399;

  --grad: linear-gradient(120deg, #8F7BE8, #F5722E);
  --grad-soft: linear-gradient(120deg, rgba(143, 123, 232, 0.14), rgba(245, 114, 46, 0.14));

  --radius: 18px;
  --radius-sm: 12px;
  --nav-h: 76px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--text-1);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

::selection { background: rgba(245, 114, 46, 0.3); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: #2A2344; border-radius: 6px; border: 2px solid var(--bg-0); }
::-webkit-scrollbar-thumb:hover { background: #3A3060; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* ---------- helpers ---------- */
.container { width: min(1200px, 100% - 48px); margin-inline: auto; }

.section { padding: 110px 0; position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(245, 114, 46, 0.08);
  border: 1px solid rgba(245, 114, 46, 0.25);
  border-radius: 100px;
  padding: 8px 18px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
  animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-0);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.section-head p { font-size: 16.5px; color: var(--text-1); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal].revealed { opacity: 1; transform: none; }

/* ---------- preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg-0);
  display: grid; place-items: center;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader .pl-inner { text-align: center; }
.preloader .pl-mark { width: 64px; margin-inline: auto; animation: plFloat 1.6s ease-in-out infinite; }
@keyframes plFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.preloader .pl-bar {
  width: 148px; height: 3px; margin: 26px auto 0;
  background: #191230; border-radius: 3px; overflow: hidden;
}
.preloader .pl-bar i {
  display: block; height: 100%; width: 40%;
  background: var(--grad); border-radius: 3px;
  animation: plSlide 1.1s ease-in-out infinite;
}
@keyframes plSlide { 0% { transform: translateX(-120%); } 100% { transform: translateX(400%); } }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 120;
  height: 3px; width: 0%;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(245, 114, 46, 0.55);
}

/* ---------- navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.35s ease, border-color 0.35s ease, height 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  height: 64px;
  background: rgba(8, 6, 18, 0.85);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 40px -18px rgba(0, 0, 0, 0.7);
}
.nav .container { display: flex; align-items: center; gap: 32px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand .brand-mark { width: 40px; height: 40px; }
.brand .brand-name {
  font-size: 20px; font-weight: 800; letter-spacing: 0.005em; color: var(--text-0);
  line-height: 1;
}
.brand .brand-name span { color: var(--orange); }
.brand .brand-sub {
  display: block;
  font-size: 8.5px; font-weight: 600; letter-spacing: 0.42em;
  color: var(--text-2); margin-top: 4px; text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a {
  font-size: 13.5px; font-weight: 600;
  color: var(--text-1);
  padding: 9px 15px; border-radius: 9px;
  transition: color 0.25s, background 0.25s;
  position: relative;
}
.nav-links a:hover { color: var(--text-0); background: var(--panel-strong); }
.nav-links a.active { color: var(--orange); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--grad);
}

.nav-cta { flex-shrink: 0; }

/* language switcher */
.lang-switch {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 3px;
  flex-shrink: 0;
}
.lang-switch a {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 11px;
  border-radius: 100px;
  color: var(--text-2);
  transition: color 0.25s, background 0.25s;
}
.lang-switch a:hover { color: var(--text-0); }
.lang-switch a.active { background: rgba(245, 114, 46, 0.16); color: var(--orange); }
.mm-lang { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.mm-lang a {
  font-size: 14px !important; font-weight: 700;
  padding: 10px 20px !important;
  border: 1px solid var(--line);
  border-radius: 100px !important;
}
.mm-lang a.active { color: var(--orange) !important; border-color: rgba(245, 114, 46, 0.5); }

/* burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  place-items: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  display: block; width: 20px; height: 2px;
  background: var(--text-0); border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(7, 5, 15, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ul { text-align: center; display: grid; gap: 8px; }
.mobile-menu a {
  display: block;
  font-size: 26px; font-weight: 700; color: var(--text-0);
  padding: 12px 32px; border-radius: 14px;
  transition: color 0.25s, background 0.25s;
}
.mobile-menu a:hover { color: var(--orange); background: var(--panel); }
.mobile-menu .mm-cta { margin-top: 22px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 14px; font-weight: 700;
  padding: 15px 30px;
  border-radius: 100px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(120deg, #6C55C9, #F5722E);
  color: #FFFFFF;
  box-shadow: 0 10px 30px -8px rgba(245, 114, 46, 0.45);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -8px rgba(245, 114, 46, 0.6); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text-0);
  background: var(--panel);
}
.btn-ghost:hover { border-color: rgba(245, 114, 46, 0.5); color: var(--orange); transform: translateY(-3px); }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 90px;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 78% 12%, rgba(143, 123, 232, 0.1), transparent 65%),
    radial-gradient(800px 520px at 12% 85%, rgba(245, 114, 46, 0.07), transparent 65%),
    var(--bg-0);
}
#particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 180px;
  background: linear-gradient(to bottom, transparent, var(--bg-0));
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-inner { max-width: 850px; }
.hero h1 {
  font-size: clamp(2.35rem, 5.6vw, 4.3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-0);
  margin: 10px 0 26px;
}
.hero h1 .grad-text { position: relative; }
.hero-lead {
  font-size: clamp(16px, 1.9vw, 18.5px);
  max-width: 640px;
  color: var(--text-1);
  font-weight: 400;
}
.hero-lead strong { color: var(--text-0); font-weight: 600; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(28px, 5vw, 64px);
  margin-top: 72px;
  padding-top: 36px;
  border-top: 1px solid var(--line-soft);
  width: fit-content;
}
.stat .stat-num {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-0);
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: flex; align-items: baseline; gap: 2px;
}
.stat .stat-num .suffix { font-size: 0.65em; }
.stat .stat-label {
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-2);
  margin-top: 8px;
}

/* hero load-in stagger */
[data-hr] { opacity: 0; transform: translateY(26px); }
.hero-ready [data-hr] {
  animation: heroIn 0.9s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 0.13s);
}
@keyframes heroIn { to { opacity: 1; transform: none; } }

.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-2);
  font-size: 10px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
}
.scroll-hint .wheel {
  width: 22px; height: 34px;
  border: 1.5px solid var(--text-2);
  border-radius: 12px;
  position: relative;
}
.scroll-hint .wheel::after {
  content: ""; position: absolute; left: 50%; top: 6px;
  width: 3px; height: 7px; border-radius: 3px;
  background: var(--orange);
  transform: translateX(-50%);
  animation: wheelDrop 1.8s ease-in-out infinite;
}
@keyframes wheelDrop {
  0% { transform: translate(-50%, 0); opacity: 1; }
  70% { transform: translate(-50%, 12px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

/* ---------- marquee ---------- */
.marquee {
  position: relative;
  border-block: 1px solid var(--line-soft);
  background: var(--bg-1);
  overflow: hidden;
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 56px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item {
  display: flex; align-items: center; gap: 56px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
}
.marquee-item i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); opacity: 0.7; flex-shrink: 0;
}

/* ---------- about ---------- */
.about { background: var(--bg-0); }
.about-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}
.about-copy p { margin-bottom: 20px; font-size: 15.5px; }
.about-copy p strong { color: var(--text-0); font-weight: 600; }
.about-copy .lead-p { font-size: 17px; color: #CFC8E4; }

.about-visual { position: relative; }
.about-visual .av-frame {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(160deg, #0C081A, #120D26);
  padding: 18px;
  box-shadow: var(--shadow-lg);
}
.about-visual .av-frame svg { border-radius: var(--radius-sm); width: 100%; height: auto; }

.float-chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: rgba(13, 9, 26, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: 12.5px; font-weight: 700; color: var(--text-0);
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.6);
  animation: chipFloat 5.5s ease-in-out infinite;
  white-space: nowrap;
}
.float-chip small { display: block; font-size: 10.5px; font-weight: 500; color: var(--text-2); letter-spacing: 0.04em; }
.float-chip .fc-ico {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--grad-soft);
  display: grid; place-items: center;
  color: var(--orange);
  flex-shrink: 0;
}
.float-chip .fc-ico svg { width: 17px; height: 17px; }
.chip-tl { top: -22px; left: -34px; }
.chip-br { bottom: -24px; right: -26px; animation-delay: 2.6s; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- principles ---------- */
.principles { padding-top: 0; }
.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-bottom: 26px;
}
.principle-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--panel-strong), transparent 60%), var(--bg-1);
  padding: 40px 38px;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}
.principle-card:hover { transform: translateY(-6px); border-color: rgba(245, 114, 46, 0.4); }
.principle-card .p-index {
  position: absolute; top: 18px; right: 26px;
  font-size: 64px; font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(178, 168, 215, 0.18);
  line-height: 1;
}
.principle-card .p-ico {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(245, 114, 46, 0.28);
  display: grid; place-items: center;
  color: var(--orange);
  margin-bottom: 24px;
}
.principle-card .p-ico svg { width: 26px; height: 26px; }
.principle-card h3 { font-size: 19px; font-weight: 700; color: var(--text-0); margin-bottom: 12px; }
.principle-card p { font-size: 14.5px; }

.quote-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(600px 200px at 8% 0%, rgba(143, 123, 232, 0.1), transparent 60%),
    radial-gradient(600px 200px at 92% 100%, rgba(245, 114, 46, 0.08), transparent 60%),
    var(--bg-1);
  padding: 52px clamp(28px, 5vw, 72px);
  text-align: center;
  position: relative;
}
.quote-band::before {
  content: "“";
  position: absolute; top: 6px; left: 28px;
  font-size: 110px; font-weight: 800; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  opacity: 0.55;
}
.quote-band blockquote {
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 600;
  color: var(--text-0);
  line-height: 1.5;
  max-width: 860px;
  margin-inline: auto;
  letter-spacing: -0.01em;
}
.quote-band cite {
  display: block; margin-top: 20px;
  font-style: normal;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange);
}

/* ---------- expertise ---------- */
.expertise { background: var(--bg-1); border-block: 1px solid var(--line-soft); }
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.exp-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  padding: 34px 28px;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}
.exp-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.exp-card:hover { transform: translateY(-8px); border-color: rgba(143, 123, 232, 0.4); box-shadow: var(--shadow-lg); }
.exp-card:hover::before { transform: scaleX(1); }
.exp-card .e-ico {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(245, 114, 46, 0.25);
  display: grid; place-items: center;
  color: var(--orange);
  margin-bottom: 22px;
}
.exp-card .e-ico svg { width: 25px; height: 25px; }
.exp-card h3 { font-size: 16.5px; font-weight: 700; color: var(--text-0); margin-bottom: 12px; line-height: 1.35; }
.exp-card p { font-size: 13.5px; margin-bottom: 18px; }
.exp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.exp-tags span {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px 11px;
}

/* ---------- works ---------- */
.works { background: var(--bg-0); }
.works-filter {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 44px;
}
.filter-chip {
  font-size: 13px; font-weight: 600;
  color: var(--text-1);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 10px 22px;
  transition: all 0.28s var(--ease-out);
}
.filter-chip:hover { color: var(--text-0); border-color: rgba(245, 114, 46, 0.45); }
.filter-chip.active {
  background: linear-gradient(120deg, #6C55C9, #F5722E);
  color: #FFFFFF;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 8px 24px -8px rgba(245, 114, 46, 0.5);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-1);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s, opacity 0.35s, scale 0.35s;
}
.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(143, 123, 232, 0.45);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(143, 123, 232, 0.15);
}
.work-card.filtering { opacity: 0; scale: 0.96; }
.work-card.hidden { display: none; }

.work-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: #0C081A;
  flex-shrink: 0;
}
.work-media > img, .work-media > svg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.work-card:hover .work-media > img { transform: scale(1.05); }

/* Tecnomed composite media */
.media-frames {
  position: absolute; inset: 0;
  background:
    radial-gradient(420px 220px at 80% 10%, rgba(143, 123, 232, 0.16), transparent 60%),
    radial-gradient(420px 240px at 10% 95%, rgba(245, 114, 46, 0.1), transparent 60%),
    linear-gradient(150deg, #0D091C, #161030);
}
.media-frames::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(178, 168, 215, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
}
.media-frames img {
  position: absolute;
  border-radius: 10px;
  box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #fff;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}
.media-frames .mf-1 {
  width: 46%; aspect-ratio: 0.94; left: 12%; top: 12%;
  transform: rotate(-4deg);
  object-position: center;
}
.media-frames .mf-2 {
  width: 40%; aspect-ratio: 0.94; right: 10%; bottom: -6%;
  transform: rotate(5deg);
}
.work-card:hover .media-frames .mf-1 { transform: rotate(-6deg) translateY(-6px); }
.work-card:hover .media-frames .mf-2 { transform: rotate(7deg) translateY(-6px); }

/* BIGTR Coin media */
.media-coin {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background:
    radial-gradient(460px 260px at 50% 55%, rgba(37, 99, 235, 0.28), transparent 68%),
    linear-gradient(150deg, #060B18, #0A142E);
}
.media-coin::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(96, 165, 250, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.55;
}
.media-coin::after {
  content: "";
  position: absolute;
  width: 74%; aspect-ratio: 1;
  border: 1px dashed rgba(96, 165, 250, 0.25);
  border-radius: 50%;
  animation: coinOrbit 26s linear infinite;
}
@keyframes coinOrbit { to { transform: rotate(360deg); } }
.media-coin img {
  width: 66%; height: auto; object-fit: contain;
  position: relative; z-index: 1;
  filter: drop-shadow(0 14px 34px rgba(29, 78, 216, 0.5));
  transition: transform 0.55s var(--ease-out);
}
.work-card:hover .media-coin img { transform: scale(1.06); }

.work-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }

.work-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 100px;
  padding: 5px 13px;
}
.chip-cat { color: var(--text-1); border: 1px solid var(--line); }
.chip-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.chip-status.s-teal { color: #2DD4BF; background: rgba(45, 212, 191, 0.08); border: 1px solid rgba(45, 212, 191, 0.3); }
.chip-status.s-green { color: var(--green); background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.3); }
.chip-status.s-amber { color: var(--amber); background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.3); }
.chip-status.s-cyan { color: #38B6FF; background: rgba(56, 182, 255, 0.08); border: 1px solid rgba(56, 182, 255, 0.3); }
.chip-nda { color: #C4B5FD; background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(139, 92, 246, 0.4); }
.chip-nda svg { width: 11px; height: 11px; }

.work-body h3 {
  font-size: 16.5px; font-weight: 700;
  color: var(--text-0);
  line-height: 1.4;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.work-desc { font-size: 13.5px; margin-bottom: 18px; }

.work-status {
  border-left: 2px solid var(--orange);
  background: var(--panel);
  border-radius: 0 10px 10px 0;
  padding: 13px 16px;
  margin-bottom: 22px;
}
.work-status .ws-label {
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.work-status p { font-size: 12.5px; color: var(--text-1); line-height: 1.6; }

.work-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.work-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700;
  color: var(--orange);
  transition: gap 0.25s var(--ease-out), color 0.25s;
}
.work-link:hover { gap: 12px; color: #FFAC7E; }
.work-link svg { width: 14px; height: 14px; }
.work-note { font-size: 11.5px; color: var(--text-2); display: inline-flex; align-items: center; gap: 7px; }
.work-note svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ---------- contact ---------- */
.contact { background: var(--bg-1); border-top: 1px solid var(--line-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-info { display: grid; gap: 16px; margin-top: 8px; }
.ci-card {
  display: flex; align-items: flex-start; gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  padding: 22px 24px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
.ci-card:hover { border-color: rgba(245, 114, 46, 0.35); transform: translateX(6px); }
.ci-card .ci-ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid rgba(245, 114, 46, 0.25);
  display: grid; place-items: center;
  color: var(--orange); flex-shrink: 0;
}
.ci-card .ci-ico svg { width: 21px; height: 21px; }
.ci-card .ci-label {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: 5px;
}
.ci-card .ci-value { font-size: 14.5px; font-weight: 600; color: var(--text-0); line-height: 1.55; }
.ci-card a.ci-value:hover { color: var(--orange); }

.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  padding: clamp(26px, 4vw, 44px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 9px;
}
.form-group input, .form-group textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--text-0);
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 17px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #4A4368; }
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: rgba(245, 114, 46, 0.6);
  box-shadow: 0 0 0 4px rgba(245, 114, 46, 0.1);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12px; color: var(--text-2); margin-top: 14px; }

/* ---------- footer ---------- */
.footer {
  background: #050310;
  border-top: 1px solid var(--line-soft);
  position: relative;
}
.footer::before {
  content: "";
  position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 123, 232, 0.55), rgba(245, 114, 46, 0.55), transparent);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  padding: 72px 0 56px;
}
.footer-brand p { font-size: 13.5px; margin-top: 18px; max-width: 320px; }
.footer h4 {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-0);
  margin-bottom: 20px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a {
  font-size: 13.5px; color: var(--text-1);
  display: inline-flex; align-items: center; gap: 7px;
  transition: color 0.25s, transform 0.25s var(--ease-out);
}
.footer-col a:hover { color: var(--orange); transform: translateX(4px); }
.footer-col a svg { width: 12px; height: 12px; opacity: 0.7; }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 24px 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 12.5px; color: var(--text-2);
}
.footer-bottom .fb-right { display: flex; align-items: center; gap: 8px; }
.footer-bottom .fb-right i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: dotPulse 2.4s ease-in-out infinite;
}

/* ---------- back to top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 80;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(120deg, #6C55C9, #F5722E);
  color: #FFFFFF;
  display: grid; place-items: center;
  box-shadow: 0 12px 32px -8px rgba(245, 114, 46, 0.5);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.35s, visibility 0.35s, transform 0.35s var(--ease-out);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 1080px) {
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; align-items: center; justify-content: center; margin-left: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 560px; margin-inline: auto; }
  .chip-tl { left: -8px; }
  .chip-br { right: -8px; }
  .principles-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, auto); gap: 28px 56px; }
}

@media (max-width: 640px) {
  .section { padding: 84px 0; }
  .works-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; padding: 56px 0 40px; }
  .hero-cta .btn { width: 100%; }
  .scroll-hint { display: none; }
  .quote-band::before { font-size: 72px; left: 18px; }
}

/* ============================================================
   Arapça / RTL desteği
   ============================================================ */
html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] textarea {
  font-family: 'Cairo', 'Montserrat', 'Segoe UI', system-ui, sans-serif;
}
/* Arapça harf birleşmesini bozmamak için harf aralıklarını sıfırla */
html[lang="ar"] .eyebrow,
html[lang="ar"] .stat-label,
html[lang="ar"] .brand-sub,
html[lang="ar"] .footer h4,
html[lang="ar"] .chip,
html[lang="ar"] .ws-label,
html[lang="ar"] .marquee-item,
html[lang="ar"] .form-group label,
html[lang="ar"] .quote-band cite,
html[lang="ar"] .scroll-hint,
html[lang="ar"] .ci-card .ci-label { letter-spacing: 0; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; }

[dir="rtl"] .nav-links { margin-left: 0; margin-right: auto; }
[dir="rtl"] .work-status {
  border-left: 0;
  border-right: 2px solid var(--orange);
  border-radius: 10px 0 0 10px;
}
[dir="rtl"] .principle-card .p-index { right: auto; left: 26px; }
[dir="rtl"] .quote-band::before { left: auto; right: 28px; }
[dir="rtl"] .ci-card:hover { transform: translateX(-6px); }
[dir="rtl"] .footer-col a:hover { transform: translateX(-4px); }
[dir="rtl"] .btn svg,
[dir="rtl"] .work-link svg,
[dir="rtl"] .footer-col a svg { transform: scaleX(-1); }
[dir="rtl"] .chip-tl { left: auto; right: -34px; }
[dir="rtl"] .chip-br { right: auto; left: -26px; }
[dir="rtl"] .marquee { direction: ltr; }
[dir="rtl"] .to-top { right: auto; left: 26px; }
@media (max-width: 920px) {
  [dir="rtl"] .burger { margin-left: 0; margin-right: auto; }
  [dir="rtl"] .chip-tl { right: -8px; }
  [dir="rtl"] .chip-br { left: -8px; }
}

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