/* ==========================================================================
   ÇİZMAX — kurumsal site stilleri
   Renkler: koyu lacivert / siyah / beyaz / elektrik mavisi
   ========================================================================== */
:root {
  --bg: #050913;
  --bg-2: #08101f;
  --surface: #0c1628;
  --surface-2: #101d35;
  --line: rgba(140, 180, 255, .12);
  --line-2: rgba(140, 180, 255, .22);
  --text: #eaf1ff;
  --text-2: #a7b6d3;
  --text-3: #6f7f9f;
  --blue: #2f7bff;
  --blue-2: #5aa2ff;
  --cyan: #7cc4ff;
  --glow: rgba(47, 123, 255, .45);
  --amber: #ffb547;
  --green: #4ce38a;

  --light-bg: #f4f7fc;
  --light-surface: #ffffff;
  --light-text: #0a1226;
  --light-text-2: #4a5876;
  --light-line: #dde4f0;

  --r: 16px;
  --r-sm: 10px;
  --f-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
  --nav-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--f-body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); margin: 0; letter-spacing: -.02em; line-height: 1.1; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: #fff; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--blue); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.muted { color: var(--text-2); }
.ic { width: 18px; height: 18px; flex: none; }

/* ---------- tipografi ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 600 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan);
}
.kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 20px; }
.h3 { font-size: 1.5rem; margin-bottom: 10px; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--text); line-height: 1.6; }
.grad {
  background: linear-gradient(100deg, #fff 0%, var(--cyan) 40%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- butonlar ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--f-body); cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s, color .25s;
}
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 54px; padding: 0 28px; font-size: 16px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 30px -8px var(--glow), inset 0 1px 0 rgba(255,255,255,.2); }
.btn--primary:hover { background: #4189ff; transform: translateY(-2px); box-shadow: 0 14px 40px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost { border-color: var(--line-2); background: rgba(255,255,255,.03); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--cyan); background: rgba(124,196,255,.08); transform: translateY(-2px); }
.btn--line { --h: 38px; padding: 0 16px; font-size: 14px; border-color: var(--line-2); background: transparent; }
.btn--line:hover { border-color: var(--blue-2); color: #fff; background: rgba(47,123,255,.12); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none !important; }
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }

/* ---------- etiketler ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px;
  font: 600 11px/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; border: 1px solid; white-space: nowrap;
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--beta { color: var(--green); border-color: rgba(76,227,138,.35); background: rgba(76,227,138,.08); }
.tag--soon { color: var(--amber); border-color: rgba(255,181,71,.35); background: rgba(255,181,71,.08); }
.tag--dev { color: var(--cyan); border-color: rgba(124,196,255,.35); background: rgba(124,196,255,.08); }
.tag--concept { color: #c3a6ff; border-color: rgba(195,166,255,.35); background: rgba(195,166,255,.08); }

/* ==========================================================================
   ÜST MENÜ
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(5, 9, 19, .72); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-color: var(--line); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--f-head); letter-spacing: .02em; }
.logo__mark { width: 32px; height: 32px; }
.logo__word b { color: var(--blue-2); font-weight: 700; }
.nav__links { display: flex; gap: 4px; margin-inline: auto; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--text-2);
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.04); }
.nav__links a.is-active { color: #fff; }
.nav__links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--blue-2); }
.nav__cta-mobile { display: none !important; }
.nav__right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__links + .nav__right { margin-left: 0; }
.lang { height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); background: none; cursor: pointer; font-size: 13px; font-weight: 600; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255,255,255,.03); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 120px; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 700px at 75% 30%, #0d1f45 0%, transparent 60%), radial-gradient(900px 600px at 0% 100%, #0a1530 0%, transparent 60%), var(--bg);
}
.hero__grid {
  position: absolute; inset: -2px; z-index: -3;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  animation: gridMove 30s linear infinite;
}
@keyframes gridMove { to { background-position: 64px 64px; } }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__drawing { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; opacity: .55; }
.hero__drawing .draw path, .hero__drawing .draw circle {
  fill: none; stroke: rgba(124,196,255,.38); stroke-width: 1.1;
  stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: drawIn 3.2s var(--ease) .4s forwards;
}
.hero__drawing .draw .dim { stroke: rgba(124,196,255,.25); stroke-width: .8; }
.hero__drawing .draw .center { stroke: rgba(255,181,71,.35); stroke-dasharray: 10 4 2 4; animation: none; stroke-dashoffset: 0; }
.hero__drawing .dim-t { fill: rgba(124,196,255,.55); font: 500 12px var(--f-body); opacity: 0; animation: fadeIn 1s 2.6s forwards; }
@keyframes drawIn { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.hero__glow { position: absolute; z-index: -1; width: 620px; height: 620px; right: -120px; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(47,123,255,.25), transparent 65%); filter: blur(20px); pointer-events: none; }

.hero__content { position: relative; max-width: var(--container); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; margin-bottom: 28px;
  border: 1px solid var(--line-2); border-radius: 999px; background: rgba(12, 22, 40, .6); backdrop-filter: blur(8px);
  font-size: 13px; color: var(--text-2);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 0 0 var(--glow); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(47,123,255,0); } 100% { box-shadow: 0 0 0 0 rgba(47,123,255,0); } }
.hero__title { font-size: clamp(2.6rem, 7.2vw, 5.8rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; max-width: 13ch; margin-bottom: 28px; }
.hero__lead { max-width: 56ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-2); margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.hero__chips li { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); font: 500 12.5px/1 var(--f-body); letter-spacing: .08em; color: var(--text-3); text-transform: uppercase; }

/* CAD penceresi maketi */
.cadwin {
  position: absolute; right: max(24px, calc((100vw - var(--container)) / 2 - 20px)); bottom: 120px; width: 400px;
  border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden;
  background: rgba(8, 16, 31, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(47,123,255,.05), 0 0 80px -20px var(--glow);
  transform: perspective(1200px) rotateY(-12deg) rotateX(6deg); animation: float 8s ease-in-out infinite;
}
@keyframes float { 50% { transform: perspective(1200px) rotateY(-12deg) rotateX(6deg) translateY(-12px); } }
.cadwin__bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--text-3); }
.cadwin__bar i { width: 9px; height: 9px; border-radius: 50%; background: #26334f; }
.cadwin__bar i:first-child { background: #3d5a8f; }
.cadwin__bar span { margin-left: 8px; }
.cadwin__body { display: grid; grid-template-columns: 34px 1fr 92px; }
.cadwin__tools { display: flex; flex-direction: column; gap: 6px; padding: 10px 7px; border-right: 1px solid var(--line); }
.cadwin__tools b { height: 20px; border-radius: 5px; background: rgba(140,180,255,.08); }
.cadwin__tools b.on { background: var(--blue); }
.cadwin__view { width: 100%; height: auto; }
.cadwin .f1 { fill: rgba(47,123,255,.35); stroke: var(--cyan); }
.cadwin .f2 { fill: rgba(47,123,255,.14); stroke: var(--cyan); }
.cadwin .f3 { fill: rgba(47,123,255,.24); stroke: var(--cyan); }
.cadwin .hole { fill: #07101f; stroke: var(--amber); stroke-dasharray: 4 3; }
.cadwin .iso { transform-origin: 150px 108px; animation: spinY 10s ease-in-out infinite; }
@keyframes spinY { 50% { transform: scaleX(.86) translateY(-3px); } }
.cadwin__tree { padding: 10px; border-left: 1px solid var(--line); font-size: 10.5px; color: var(--text-3); }
.cadwin__tree p { margin: 0 0 6px; white-space: nowrap; }
.cadwin__tree p.on { color: var(--cyan); }

.hero__scroll { position: absolute; left: 50%; bottom: 32px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line-2); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--cyan); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ==========================================================================
   BÖLÜMLER
   ========================================================================== */
.section { position: relative; padding: clamp(80px, 12vw, 150px) 0; }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.sec-head--split .muted { margin: 0 0 24px; max-width: 46ch; }
.sec-head .h2 { margin-bottom: 0; }

/* Hakkımızda */
.about { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); border-top: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; margin-bottom: 80px; }
.about__text p:not(.lead) { color: var(--text-2); font-size: 1.05rem; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 0; list-style: none; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: rgba(12,22,40,.4); }
.flow li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 30px 28px; border-right: 1px solid var(--line); transition: background .3s; }
.flow li:last-child { border-right: 0; }
.flow li:hover { background: rgba(47,123,255,.06); }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -7px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2); background: var(--bg-2); transform: rotate(45deg); z-index: 1; }
.flow__n { font: 500 12px/1 var(--f-body); color: var(--blue-2); letter-spacing: .1em; margin-bottom: 10px; }
.flow strong { font: 600 1.35rem/1.2 var(--f-head); }
.flow small { color: var(--text-3); font-size: 14px; }

/* Kartlar */
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r);
  background: linear-gradient(180deg, rgba(16, 29, 53, .7), rgba(12, 22, 40, .5)); overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(47,123,255,.14), transparent 50%);
}
.card:hover { transform: translateY(-6px); border-color: rgba(90,162,255,.35); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7), 0 0 50px -25px var(--glow); }
.card:hover::before { opacity: 1; }
.card__art { position: relative; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); background: #07101f; overflow: hidden; }
.card__art svg { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.card:hover .card__art svg { transform: scale(1.05); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.card__icon { display: grid; place-items: center; width: 46px; height: 46px; margin: -49px 0 18px; position: relative; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--cyan); box-shadow: 0 10px 20px -8px rgba(0,0,0,.6); }
.card__icon .ic { width: 22px; height: 22px; }
.card__title { font-size: 1.3rem; margin-bottom: 10px; }
.card__text { color: var(--text-2); font-size: 15px; margin-bottom: 0; }
.card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; font-size: 12.5px; color: var(--text-3); letter-spacing: .04em; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 22px; }

/* Teknoloji vitrini */
.tech { background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.tech__bg { position: absolute; inset: 0; background: radial-gradient(800px 400px at 15% 0%, rgba(47,123,255,.12), transparent 60%), radial-gradient(600px 400px at 100% 100%, rgba(124,196,255,.08), transparent 60%); pointer-events: none; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); overflow: hidden; }
.product { position: relative; display: flex; flex-direction: column; min-height: 300px; padding: 34px 32px; background: var(--bg-2); transition: background .35s; overflow: hidden; }
.product:hover { background: #0b1527; }
.product::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(47,123,255,.18), transparent 65%); opacity: 0; transition: opacity .4s; }
.product:hover::after { opacity: 1; }
.product--featured { background: linear-gradient(160deg, #0f2450 0%, #0a1630 60%); }
.product--featured:hover { background: linear-gradient(160deg, #123063 0%, #0b1a38 60%); }
.product__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 40px; }
.product__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(47,123,255,.1); border: 1px solid rgba(90,162,255,.25); color: var(--cyan); }
.product__icon .ic { width: 26px; height: 26px; }
.product__name { font: 700 1.5rem/1.1 var(--f-head); letter-spacing: .01em; margin-bottom: 4px; }
.product__name span { color: var(--blue-2); }
.product__line { font-size: 13px; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.product__desc { color: var(--text-2); font-size: 15px; margin: 0; }
.product__foot { position: relative; z-index: 1; margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product__progress { flex: 1; max-width: 140px; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.product__progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: inherit; }
.product__note { font-size: 12.5px; color: var(--text-3); white-space: nowrap; }

/* Filtreler */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip {
  height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--text-2); transition: all .25s;
}
.chip:hover { color: #fff; border-color: var(--blue-2); }
.chip[aria-selected="true"] { background: #fff; border-color: #fff; color: var(--light-text); }
.chip small { margin-left: 6px; opacity: .6; font-size: 12px; }

.empty { grid-column: 1 / -1; padding: 48px 0; text-align: center; }
.gallery .card { animation: cardIn .5s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.card__art .tag { position: absolute; top: 14px; left: 14px; backdrop-filter: blur(6px); background: rgba(10, 6, 25, .55); }

/* Vizyon — açık renkli bölüm */
.vision { background: var(--light-bg); color: var(--light-text); }
.vision .kicker { color: var(--blue); }
.vision .lead { color: var(--light-text); }
.vision p:not(.lead):not(.kicker) { color: var(--light-text-2); font-size: 1.05rem; }
.vision__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; margin-bottom: 80px; }
.vision__art svg { width: 100%; max-width: 440px; margin-inline: auto; overflow: visible; }
.v-ring { fill: none; stroke: #c9d6ee; }
.v-ring--d { stroke-dasharray: 3 6; }
.v-orbit { transform-origin: 210px 210px; animation: rot 40s linear infinite; }
.v-cube { transform-origin: 210px 210px; animation: bob 6s ease-in-out infinite; }
.v-cube path { stroke: var(--blue); }
@keyframes rot { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
.v-lbl { font: 600 13px var(--f-body); fill: var(--light-text-2); letter-spacing: .08em; text-transform: uppercase; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0; margin: 0; list-style: none; }
.pillars li { padding: 28px; border-radius: var(--r); background: var(--light-surface); border: 1px solid var(--light-line); transition: transform .3s var(--ease), box-shadow .3s; }
.pillars li:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(10, 30, 80, .25); }
.pillars strong { display: block; font: 600 1.2rem/1.2 var(--f-head); margin-bottom: 8px; }
.pillars strong::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 18px; border-radius: 2px; background: var(--blue); }
.pillars span { color: var(--light-text-2); font-size: 14.5px; }

/* Blog */
.blog { background: var(--bg); }
.post .card__art { aspect-ratio: 16 / 9; }
.post__cat { color: var(--cyan); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 11.5px; }
.post .card__title { font-size: 1.18rem; line-height: 1.3; }

/* İletişim */
.contact { background: linear-gradient(180deg, var(--bg) 0%, #071026 100%); border-top: 1px solid var(--line); overflow: hidden; }
.contact::before { content: ""; position: absolute; left: -200px; top: 20%; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(47,123,255,.14), transparent 65%); pointer-events: none; }
.contact__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.contact__intro .lead { color: var(--text-2); max-width: 40ch; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2); color: var(--text-2); transition: all .25s; }
.social a:hover { color: #fff; border-color: var(--blue-2); background: rgba(47,123,255,.12); transform: translateY(-3px); }
.social .ic { width: 20px; height: 20px; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line-2); border-radius: calc(var(--r) + 4px); background: rgba(12, 22, 40, .6); backdrop-filter: blur(12px); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(5, 9, 19, .6); color: var(--text);
  font: 400 15.5px/1.4 var(--f-body); transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(47,123,255,.18); }
.field.has-error input, .field.has-error textarea { border-color: #ff6b6b; }
.err { min-height: 1em; font-size: 12.5px; color: #ff8a8a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.form__kvkk { margin: 0; flex: 1 1 240px; font-size: 12.5px; color: var(--text-3); }
.form__kvkk a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.form__status { margin: 0; font-size: 14px; min-height: 1.2em; }
.form__status.ok { color: var(--green); }
.form__status.bad { color: #ff8a8a; }

/* Footer */
.footer { padding: 72px 0 32px; background: #03060d; border-top: 1px solid var(--line); }
.footer__grid { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer__brand p { margin: 16px 0 0; color: var(--text-2); }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 56px; align-content: start; }
.footer__nav a { color: var(--text-2); font-size: 14.5px; transition: color .2s; }
.footer__nav a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 13.5px; color: var(--text-3); }
.footer__bottom p { margin: 0; }

/* Modal */
.modal { width: min(920px, calc(100% - 32px)); padding: 0; border: 1px solid var(--line-2); border-radius: 20px; background: var(--surface); color: var(--text); box-shadow: 0 50px 100px -20px rgba(0,0,0,.8); overflow: hidden; }
.modal::backdrop { background: rgba(2, 5, 12, .75); backdrop-filter: blur(6px); }
.modal[open] { display: grid; grid-template-columns: 1.1fr 1fr; animation: modalIn .35s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.modal__art { background: #07101f; min-height: 320px; }
.modal__art svg { width: 100%; height: 100%; }
.modal__body { padding: 40px 36px; }
.modal__body > p:not(.kicker):not(.modal__note) { color: var(--text-2); }
.modal__specs { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 8px; }
.modal__specs li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line-2); font-size: 14px; }
.modal__specs li span:first-child { color: var(--text-3); }
.modal__note { display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; font-size: 13px; color: var(--text-3); margin: 0; }
.modal__x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(5,9,19,.7); cursor: pointer; font-size: 22px; line-height: 1; }
.modal__x:hover { border-color: var(--cyan); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface-2); font-size: 14px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); transition: all .3s var(--ease); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Kaydırma animasyonu */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Hukuki sayfalar */
.legal { padding: calc(var(--nav-h) + 72px) 0 100px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--text-2); }
.legal .nav { background: rgba(5, 9, 19, .85); border-color: var(--line); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .cadwin { width: 340px; opacity: .85; }
}
@media (max-width: 1024px) {
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto; flex-direction: column; gap: 0; padding: 12px 24px 28px; margin: 0;
    background: rgba(5, 9, 19, .97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a { padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; color: var(--text); }
  .nav__links a.is-active::after { left: auto; right: 6px; top: 50%; margin-top: -2px; }
  .nav__cta-mobile { display: inline-flex !important; margin-top: 20px; border: 0 !important; justify-content: center; color: #fff !important; border-radius: 999px !important; }
  .nav__cta { display: none; }
  .nav__links + .nav__right { margin-left: auto; }
  .burger { display: block; }
  .nav.menu-open { background: rgba(5, 9, 19, .97); }
  .cadwin { display: none; }
  .hero__glow { right: -300px; }
  .cards--3, .products { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .vision__grid, .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .vision__art svg { max-width: 360px; }
  .sec-head--split { grid-template-columns: 1fr; gap: 0; }
  .sec-head--split .muted { margin: 20px 0 0; }
  .modal[open] { grid-template-columns: 1fr; max-height: calc(100vh - 32px); overflow-y: auto; }
  .modal__art { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 680px) {
  :root { --nav-h: 64px; }
  .container { width: min(100% - 36px, var(--container)); }
  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 100px; }
  .hero__drawing { opacity: .3; }
  .hero__actions .btn { flex: 1 1 100%; }
  .cards--3, .products, .pillars { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:nth-child(2) { border-right: 0; }
  .flow li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .flow li:nth-child(2)::after { display: none; }
  .flow li { padding: 22px 18px; }
  .form { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -18px; padding: 0 18px 6px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .product { min-height: 0; padding: 28px 24px; }
  .product__top { margin-bottom: 28px; }
  .footer__nav { grid-template-columns: 1fr 1fr; gap: 10px 32px; }
  .modal__body { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
