/* =====================================================================
   CODEFEIN — SITE DESIGN SYSTEM (public frontend)
   Koyu tema · Codefein Blue (#2f74ff) · Inter + JetBrains Mono
   Not: Admin panel ayrı stil dosyası (corporate.css) kullanır.
   ===================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face{font-family:'Inter';font-style:normal;font-weight:300;font-display:swap;src:url(/static/fonts/inter-latin-300.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(/static/fonts/inter-latin-400.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(/static/fonts/inter-latin-500.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(/static/fonts/inter-latin-600.woff2) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(/static/fonts/inter-latin-700.woff2) format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(/static/fonts/jbm-latin-400.woff2) format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:700;font-display:swap;src:url(/static/fonts/jbm-latin-700.woff2) format('woff2')}

/* ---------- Tokens ---------- */
:root {
  --accent:        #2f74ff;
  --accent-hover:  #1f5fe0;
  --accent-soft:   rgba(47,116,255,.10);
  --accent-soft-2: rgba(47,116,255,.16);
  --accent-line:   rgba(47,116,255,.38);

  --bg:            #05070d;
  --bg-2:          #0a0e18;
  --surface:       #0d1322;
  --surface-2:     #111a2c;
  --surface-hover: #141d33;
  --border:        rgba(255,255,255,.07);
  --border-2:      rgba(255,255,255,.12);
  --border-hover:  rgba(47,116,255,.45);

  --text:   #f5f7fb;
  --text-1: #f5f7fb;
  --text-2: #a8b3c7;
  --text-3: #808ea4;

  --ok:     #34d399;
  --warn:   #fbbf24;
  --danger: #ef4444;

  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* Radius scale (tek kural): kart/panel 18 · kontrol 12 · çip pill */
  --r-panel: 18px;
  --r-ctrl:  12px;
  --r-pill:  999px;

  --container:  1240px;
  --narrow:     780px;
  --sec-y:      104px;
  --sec-y-sm:   68px;

  --ease: cubic-bezier(.16,1,.3,1);
  --shadow-1: 0 1px 2px rgba(0,0,0,.4);
  --shadow-2: 0 18px 50px -20px rgba(0,0,0,.75);

  /* z-index scale */
  --z-bg: -3; --z-nav: 50; --z-menu: 60; --z-float: 90; --z-modal: 200;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; }
a { color: inherit; }
::selection { background: var(--accent-soft-2); }

/* ---------- Background decoration ---------- */
.bg-glow {
  position: fixed; inset: 0; z-index: var(--z-bg); pointer-events: none;
  background:
    radial-gradient(58% 42% at 50% -8%, rgba(47,116,255,.13), transparent 68%),
    radial-gradient(36% 36% at 88% 8%, rgba(47,116,255,.06), transparent 70%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: calc(var(--z-bg) - 1); pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(72% 55% at 50% 0%, #000 25%, transparent 88%);
  -webkit-mask-image: radial-gradient(72% 55% at 50% 0%, #000 25%, transparent 88%);
}

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: var(--narrow); }
.section { padding: var(--sec-y) 0; }
.section-alt {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-tight { padding: 56px 0; }

/* ---------- Typography ---------- */
.h-display { font-weight: 800; letter-spacing: -.035em; line-height: 1.04; margin: 0; font-family: var(--font-body); }
.mono-text { font-family: var(--font-mono); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); opacity: .55; }
.text-accent { color: var(--accent); }

.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title {
  font-size: clamp(26px, 3.4vw, 42px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.1; margin: 14px 0 12px;
}
.section-sub { color: var(--text-3); font-size: 16px; margin: 0; max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: var(--r-ctrl);
  font-family: var(--font-body); font-weight: 600; font-size: 14px; line-height: 1;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn .arr { transition: transform .22s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-full { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 26px -10px rgba(47,116,255,.7); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { border-color: var(--border-2); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--border-hover); background: var(--accent-soft); }
.btn-quiet { color: var(--text-2); border-color: transparent; background: transparent; padding-left: 4px; padding-right: 4px; }
.btn-quiet:hover { color: var(--text); }

/* ---------- Links ---------- */
.sc-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
  text-decoration: none;
}
.sc-link .arr { transition: transform .22s var(--ease); }
.sc-link:hover .arr, h3:hover ~ .sc-link .arr { transform: translateX(4px); }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-panel); transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.card-hover:hover { border-color: var(--border-hover); background: var(--surface-hover); transform: translateY(-3px); }
.hidden { display: none !important; }

/* =====================================================================
   NAV
   ===================================================================== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav); border-bottom: 1px solid transparent; transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s; }
.nav.scrolled { background: rgba(5,7,13,.78); backdrop-filter: blur(16px); border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: var(--container); margin: 0 auto; padding: 14px 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.brand .logo-pill { width: 42px; height: 42px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #080a10; border: 1px solid var(--accent-line); border-radius: 12px; padding: 7px; }
.brand .logo-pill img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-name { font-family: var(--font-mono); font-weight: 700; letter-spacing: .16em; font-size: 15px; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 13.5px; font-weight: 500; padding: 8px 12px; border-radius: var(--r-ctrl); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.lang-toggle { display: inline-flex; gap: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 3px; }
.lang-toggle a { border: none; background: transparent; color: var(--text-3); font-family: var(--font-mono); font-size: 11px; font-weight: 700; padding: 6px 11px; border-radius: var(--r-pill); text-decoration: none; transition: all .2s; }
.lang-toggle a.active { background: var(--accent); color: #fff; }

.nav-links a.active { color: var(--text); background: rgba(47,116,255,.14); border: 1px solid rgba(47,116,255,.28); }
.nav-links a.active::after { transform: scaleX(1); }

.menu-btn { display: none; border: 1px solid var(--border-2); background: transparent; color: var(--text); border-radius: var(--r-ctrl); padding: 8px 10px; cursor: pointer; transition: background .2s, border-color .2s; }
.menu-btn:hover { background: rgba(255,255,255,.06); border-color: var(--accent); }
.mobile-menu { display: none; background: rgba(10,14,24,.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 14px 20px 24px; flex-direction: column; gap: 4px; max-height: calc(100vh - 74px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text-2); text-decoration: none; padding: 12px 14px; border-radius: var(--r-ctrl); font-size: 15px; font-weight: 500; transition: background .2s, color .2s; }
.mobile-menu a:hover, .mobile-menu a.active { background: var(--surface-hover); color: var(--text); }
.mobile-menu .mm-cta { margin-top: 10px; }

@media (max-width: 1180px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-cta .btn { display: none; }
}
@media (max-width: 760px) { .brand-name { font-size: 13.5px; letter-spacing: .12em; } }
@media (max-width: 520px) {
  .brand-name { display: none; }
  .nav-inner { padding: 12px 16px; }
  .container { padding: 0 18px; }
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero { padding: 156px 0 76px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero-title {
  font-size: clamp(38px, 5.2vw, 68px); font-weight: 800;
  letter-spacing: -.04em; line-height: 1.03; margin: 18px 0 20px;
}
.hero-desc { color: var(--text-2); font-size: 17px; line-height: 1.6; max-width: 46ch; margin: 0 0 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.capability { display: none; }

.hero-visual { position: relative; }
.hero-showcase { position: relative; min-height: 380px; }
.showcase-glow { position: absolute; inset: -8% -6% -8% -6%; background: radial-gradient(55% 60% at 40% 40%, rgba(47,116,255,.20), transparent 72%); filter: blur(26px); pointer-events: none; }
.showcase-browser { position: relative; width: 74%; margin-left: 0; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--border-2); box-shadow: var(--shadow-2); }
.showcase-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #10151f; border-bottom: 1px solid var(--border); }
.showcase-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2a3448; }
.showcase-bar span:nth-child(1){ background:#ff5f57 } .showcase-bar span:nth-child(2){ background:#febc2e } .showcase-bar span:nth-child(3){ background:#28c840 }
.showcase-url { flex: 1; height: 18px; margin-left: 8px; border-radius: var(--r-pill); background: rgba(255,255,255,.05); }
.showcase-shots { position: relative; aspect-ratio: 16/10; background: #0b1220; }
.showcase-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; transition: opacity .8s var(--ease); }
.showcase-shots img.active { opacity: 1; }
.showcase-tag { position: absolute; left: 10px; bottom: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(5,7,13,.72); border: 1px solid var(--border-2); backdrop-filter: blur(8px); padding: 5px 11px; border-radius: var(--r-pill); }
.showcase-phone { position: absolute; right: 0; bottom: -4%; width: 27%; border-radius: 22px; overflow: hidden; border: 1px solid var(--border-2); background: #05070d; box-shadow: var(--shadow-2); }
.showcase-phone img { display: block; width: 100%; height: auto; }

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; max-width: 520px; margin: 0 auto; width: 100%; }
  .hero { padding-top: 132px; }
}
@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .hero-showcase { min-height: 0; }
  .showcase-browser { width: 100%; }
  .showcase-phone { width: 31%; right: 0; bottom: -14%; }
}

/* =====================================================================
   MARQUEE
   ===================================================================== */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); padding: 16px 0; }
.marquee-track { display: flex; width: max-content; gap: 40px; animation: marquee 42s linear infinite; }
.marquee-track span { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--text-3); white-space: nowrap; }
.marquee-track i { color: var(--accent); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =====================================================================
   STATS
   ===================================================================== */
.stats-band { padding: 64px 0; border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-card { padding: 10px 28px; border-left: 1px solid var(--border); }
.stat-card:first-child { border-left: none; padding-left: 0; }
.stat-value { display: block; font-family: var(--font-mono); font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.03em; color: var(--text); }
.stat-label { display: block; margin-top: 6px; color: var(--text-3); font-size: 13px; }
@media (max-width: 780px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .stat-card { border-left: none; padding: 0 0 0 18px; border-left: 1px solid var(--border); }
  .stat-card:nth-child(odd) { border-left: none; padding-left: 0; }
}

/* =====================================================================
   PRODUCT SPOTLIGHT (swipe-app)
   ===================================================================== */
.swipe-app { position: relative; }
.swipe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.swipe-visual { position: relative; }
.swipe-copy .eyebrow { margin-bottom: 4px; }
.swipe-desc { color: var(--text-2); font-size: 16.5px; margin: 6px 0 22px; max-width: 52ch; }
.swipe-features { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.swipe-features li { display: flex; gap: 13px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); }
.swipe-features b { color: var(--text); font-weight: 600; }
.sf-ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.swipe-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.swipe-meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.swipe-meta span { display: inline; }

.browser-frame { border-radius: 16px; overflow: hidden; border: 1px solid var(--border-2); background: var(--surface); box-shadow: var(--shadow-2); }
.browser-screen { display: block; width: 100%; height: auto; }

.phone-frame { position: relative; width: min(300px, 74%); margin: 0 auto; border-radius: 30px; padding: 10px; background: #05070d; border: 1px solid var(--border-2); box-shadow: var(--shadow-2); }
.phone-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 78px; height: 20px; background: #05070d; border-radius: var(--r-pill); z-index: 2; }
.phone-screen { display: block; width: 100%; height: auto; border-radius: 22px; }

.swipe-badge-chip { position: absolute; right: -6px; bottom: -14px; display: flex; align-items: center; gap: 10px; background: rgba(10,14,24,.92); border: 1px solid var(--border-2); backdrop-filter: blur(10px); padding: 9px 14px; border-radius: var(--r-pill); box-shadow: var(--shadow-2); }
.swipe-badge-chip .chip-icon { width: 30px; height: 30px; border-radius: 8px; }
.swipe-badge-chip b { display: block; font-size: 13px; }
.swipe-badge-chip small { display: block; font-size: 11px; color: var(--ok); font-family: var(--font-mono); }
.store-badge { height: 52px; width: auto; display: block; }

.swipe-app.rev .swipe-copy { order: -1; }
@media (max-width: 940px) {
  .swipe-grid { grid-template-columns: 1fr; gap: 46px; }
  .swipe-app.rev .swipe-copy { order: 0; }
}

/* =====================================================================
   SERVICES (rows, hairline separators — no card soup)
   ===================================================================== */
.services-grid { display: grid; gap: 0; border-top: 1px solid var(--border); }
.service-card { display: grid; grid-template-columns: 46px 1fr 1.35fr auto; align-items: center; gap: 26px; padding: 26px 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; color: inherit; text-decoration: none; transition: background .25s var(--ease); }
.service-card:hover { background: linear-gradient(90deg, var(--accent-soft), transparent 70%); }
.service-card .sc-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.service-card h3 { font-size: 19px; margin: 0; letter-spacing: -.02em; }
.service-card p { color: var(--text-3); font-size: 14.5px; margin: 0; }
.service-card .sc-link { justify-self: end; }
@media (max-width: 860px) {
  .service-card { grid-template-columns: 40px 1fr; grid-template-areas: "ic title" ". desc" ". link"; gap: 12px 16px; }
  .service-card .sc-icon { grid-area: ic; }
  .service-card h3 { grid-area: title; }
  .service-card p { grid-area: desc; }
  .service-card .sc-link { grid-area: link; justify-self: start; }
}

/* =====================================================================
   WORK / CASE
   ===================================================================== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-grid.two { grid-template-columns: repeat(2, 1fr); }
.case-card { display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; }
.case-card h3 { color: var(--text); }
a.case-card { color: inherit; }
.case-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #0b1220; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.case-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s var(--ease); }
.case-card:hover .case-img img { transform: scale(1.03); }
.case-img.case-frame { padding: 12px; background: #060a12; }
.case-img.case-frame img { object-fit: contain; object-position: center; border-radius: 8px; }
.slot-icon { width: 42px; height: 42px; color: var(--text-3); }
.case-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.case-cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.case-body h3 { font-size: 18px; margin: 0; letter-spacing: -.02em; }
.case-body p { color: var(--text-3); font-size: 14px; margin: 0; }
.case-meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.case-body .sc-link { margin-top: auto; padding-top: 8px; }

/* Featured bento: ilk kart geniş */
.case-grid.bento { grid-template-columns: 1.35fr 1fr 1fr; }
.case-grid.bento .case-card:first-child { grid-row: span 1; }
.case-grid.bento .case-card:first-child .case-img { aspect-ratio: 16/9; }
@media (max-width: 940px) {
  .case-grid, .case-grid.two, .case-grid.bento { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .case-grid, .case-grid.two, .case-grid.bento { grid-template-columns: 1fr; }
}

/* Clients: scroll-snap rail (farklı yerleşim ailesi) */
.client-rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: 0 -4px; scrollbar-width: thin; }
.client-rail::-webkit-scrollbar { height: 8px; }
.client-rail::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: var(--r-pill); }
.client-rail .case-card { flex: 0 0 320px; scroll-snap-align: start; }

/* =====================================================================
   SECTORS (kompakt liste)
   ===================================================================== */
.sector-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--border); }
.sector-row { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-bottom: 1px solid var(--border); text-decoration: none; color: inherit; transition: background .2s var(--ease); }
.sector-row:nth-child(odd) { border-right: 1px solid var(--border); }
.sector-row:hover { background: var(--surface); }
.sector-ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.sector-row .s-name { display: block; font-weight: 600; font-size: 15.5px; }
.sector-row .s-cat { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.sector-row .s-desc { display: block; color: var(--text-3); font-size: 13px; margin-top: 2px; }
.sector-row .arr { margin-left: auto; color: var(--accent); transition: transform .22s var(--ease); }
.sector-row:hover .arr { transform: translateX(4px); }
@media (max-width: 780px) { .sector-list { grid-template-columns: 1fr; } .sector-row:nth-child(odd) { border-right: none; } }

/* =====================================================================
   WHY (numbered, no boxes)
   ===================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-panel); overflow: hidden; }
.why-grid > * { background: var(--bg); padding: 30px; }
.why-grid h3 { font-size: 18px; margin: 10px 0 6px; letter-spacing: -.02em; }
.why-grid p { color: var(--text-3); font-size: 14.5px; margin: 0; }
.why-grid .n-num { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--accent); }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   PROCESS
   ===================================================================== */
.process-timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.process-timeline::before { content: ""; position: absolute; top: 22px; left: 4%; right: 4%; height: 1px; background: var(--border-2); }
.process-step { position: relative; background: transparent; text-align: left; padding: 0; }
.process-step .ps-num { position: relative; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--accent); background: var(--bg-2); border: 1px solid var(--accent-line); margin-bottom: 16px; z-index: 1; }
.process-step h3 { font-size: 16px; margin: 0 0 6px; }
.process-step p { color: var(--text-3); font-size: 13.5px; margin: 0; }
@media (max-width: 980px) { .process-timeline { grid-template-columns: 1fr 1fr; } .process-timeline::before { display: none; } }
@media (max-width: 560px) { .process-timeline { grid-template-columns: 1fr; } }

/* =====================================================================
   TECH
   ===================================================================== */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tech-card { padding: 22px; }
.tech-card h3 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin: 0 0 14px; font-weight: 700; }
.tech-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-chip { display: inline-block; padding: 7px 13px; border-radius: var(--r-pill); border: 1px solid var(--border-2); background: rgba(255,255,255,.02); color: var(--text-2); font-size: 13px; text-decoration: none; transition: border-color .2s, color .2s; }
.tech-chip:hover { border-color: var(--border-hover); color: var(--text); }
@media (max-width: 940px) { .tech-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tech-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq-list { display: grid; gap: 12px; }
.faq-list details { padding: 18px 22px; }
.faq-list summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); font-size: 18px; transition: transform .25s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--text-2); font-size: 14.5px; margin: 12px 0 0; }

/* =====================================================================
   PRICING
   ===================================================================== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card { padding: 26px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.price-card .price-tag { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); font-weight: 700; }
.price-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.price-card li { color: var(--text-3); font-size: 14px; padding-left: 22px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-size: 12px; }
.price-card .btn { margin-top: auto; }
.price-popular { border-color: var(--accent-line); }
.popular-badge { position: absolute; top: -11px; right: 20px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 4px 11px; border-radius: var(--r-pill); }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   CTA BANNER
   ===================================================================== */
.cta-banner { position: relative; border: 1px solid var(--border-2); border-radius: 24px; padding: 56px; overflow: hidden; background: linear-gradient(135deg, rgba(47,116,255,.14), rgba(10,14,24,.4) 55%), var(--bg-2); }
.cta-banner .inner { position: relative; max-width: 720px; }
.cta-banner h2 { font-size: clamp(26px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 16px 0 12px; }
.cta-banner > .inner > p { color: var(--text-2); font-size: 16px; margin: 0 0 28px; max-width: 58ch; }
.cta-paths { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-mini { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border: 1px solid var(--border-2); border-radius: 16px; background: rgba(255,255,255,.03); text-decoration: none; color: inherit; transition: border-color .2s var(--ease), transform .2s var(--ease); min-width: 280px; }
.cta-mini:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.cta-mini .ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.cta-mini .lbl { font-weight: 600; font-size: 15px; }
.cta-mini .sub { color: var(--text-3); font-size: 12.5px; }
@media (max-width: 640px) { .cta-banner { padding: 34px 24px; } .cta-paths { flex-direction: column; } .cta-mini { min-width: 0; } }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 68px 0 30px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; }
.footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); margin: 0 0 18px; font-weight: 700; }
.footer a { color: var(--text-3); text-decoration: none; font-size: 14px; display: block; padding: 5px 0; transition: color .2s; }
.footer a:hover { color: var(--text); }
.footer .social a { display: inline-flex; padding: 0 8px 0 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 13px; }
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   FORMS
   ===================================================================== */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.field input, .field select, .field textarea, .field-input {
  width: 100%; padding: 13px 14px; border-radius: var(--r-ctrl);
  background: var(--bg-2); border: 1px solid var(--border-2); color: var(--text);
  font-family: var(--font-body); font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus, .field-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field select option { background: var(--bg-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.form-card { padding: 30px; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

/* =====================================================================
   PAGE HERO (alt sayfalar)
   ===================================================================== */
.page-hero { padding: 140px 0 56px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; margin: 14px 0 14px; }
.page-hero p.lead { color: var(--text-2); font-size: 17px; max-width: 62ch; margin: 0; }
.page-hero .crumbs { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.page-hero .crumbs a { color: var(--text-3); text-decoration: none; }
.page-hero .crumbs a:hover { color: var(--accent); }

/* =====================================================================
   CONTENT / PROSE (blog, project detail, legal)
   ===================================================================== */
.prose { color: var(--text-2); font-size: 16.5px; line-height: 1.75; }
.prose h2 { color: var(--text); font-size: 26px; letter-spacing: -.02em; margin: 40px 0 14px; }
.prose h3 { color: var(--text); font-size: 20px; margin: 30px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose a { color: var(--accent); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin: 6px 0; }
.prose img { border-radius: var(--r-panel); border: 1px solid var(--border); margin: 22px 0; }
.prose blockquote { border-left: 2px solid var(--accent); margin: 22px 0; padding: 6px 0 6px 20px; color: var(--text-2); font-style: italic; }
.prose code { font-family: var(--font-mono); font-size: .9em; background: var(--bg-2); border: 1px solid var(--border); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-panel); padding: 18px; overflow-x: auto; }
.prose pre code { background: none; border: none; padding: 0; }

/* project detail */
.case-detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 26px 0; }
.case-detail-img { border-radius: var(--r-panel); border: 1px solid var(--border); overflow: hidden; }
.case-kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-panel); overflow: hidden; }
.case-kv .kv-item { background: var(--bg); padding: 18px 20px; }
.case-kv .k { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.case-kv .v { font-weight: 600; }
@media (max-width: 760px) { .case-detail-row, .case-kv { grid-template-columns: 1fr; } }

/* blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.blog-card .thumb { aspect-ratio: 16/9; overflow: hidden; background: #0b1220; border-bottom: 1px solid var(--border); }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .thumb img { transform: scale(1.03); }
.blog-card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card h3 { font-size: 17px; margin: 0; letter-spacing: -.02em; color: var(--text); }
.blog-card .excerpt { color: var(--text-3); font-size: 14px; margin: 0; }
.blog-card .meta { margin-top: auto; padding-top: 10px; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); display: flex; gap: 8px; flex-wrap: wrap; }
.blog-card .cat { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-family: var(--font-mono); font-size: 11px; padding: 4px 11px; border-radius: var(--r-pill); border: 1px solid var(--border-2); color: var(--text-3); text-decoration: none; }
@media (max-width: 940px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   VIDEO
   ===================================================================== */
.video-card { overflow: hidden; display: block; text-decoration: none; color: inherit; }
.video-thumb { position: relative; aspect-ratio: 16/9; background: #0b1220; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.play-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(11,16,28,.75); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center; color: #fff; transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.video-card:hover .play-badge, .case-card:hover .play-badge { transform: translate(-50%,-50%) scale(1.12); background: rgba(47,116,255,.9); border-color: rgba(255,255,255,.8); box-shadow: 0 0 30px rgba(47,116,255,.6); }
.play-badge svg { fill: #fff; width: 20px; height: 20px; margin-left: 3px; }

/* =====================================================================
   MISC / LEGACY CLASS SUPPORT & PRODUCTS
   ===================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-tile { overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.p-cat { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.tile-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #0b1220; border-bottom: 1px solid var(--border); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .7s var(--ease); }
.product-tile:hover .tile-img img { transform: scale(1.05); }
.tile-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(5,7,13,.62)); opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.product-tile:hover .tile-img::after { opacity: 1; }
.tile-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.tile-title { font-size: 19px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; margin: 3px 0 0; }
.tile-desc { color: var(--text-2); font-size: 14px; line-height: 1.6; margin: 0; }
.tile-body .sc-link { margin-top: 14px; align-self: flex-start; }
.tile-mark { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; font-size: 21px; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); margin-bottom: 6px; }
.tile-soon { margin-top: auto; padding-top: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--warn); }
.product-mini-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* =====================================================================
   PROSE / RICH TEXT TYPOGRAPHY (Blog, Privacy, KVKK, Project Details)
   ===================================================================== */
[data-rich], .prose { color: var(--text-2); font-size: 15.5px; line-height: 1.85; font-weight: 300; }
[data-rich] h1, [data-rich] h2, [data-rich] h3, [data-rich] h4,
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--text); font-family: var(--font-mono); font-weight: 700; margin: 2.2rem 0 0.85rem; letter-spacing: -0.02em; line-height: 1.35; }
[data-rich] h1, .prose h1 { font-size: 1.75rem; }
[data-rich] h2, .prose h2 { font-size: 1.35rem; border-bottom: 1px solid var(--border); padding-bottom: 8px; margin-top: 2.4rem; }
[data-rich] h3, .prose h3 { font-size: 1.18rem; }
[data-rich] h4, .prose h4 { font-size: 1.05rem; }
[data-rich] p, .prose p { margin: 1rem 0; }
[data-rich] ul, [data-rich] ol, .prose ul, .prose ol { margin: 1rem 0; padding-left: 1.5rem; }
[data-rich] ul, .prose ul { list-style: disc; }
[data-rich] ol, .prose ol { list-style: decimal; }
[data-rich] li, .prose li { margin: 0.4rem 0; }
[data-rich] a, .prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
[data-rich] blockquote, .prose blockquote { border-left: 3px solid var(--accent); padding: 0.8rem 1.2rem; margin: 1.4rem 0; color: var(--text-2); background: rgba(47, 116, 255, 0.06); border-radius: 0 12px 12px 0; font-style: italic; }
[data-rich] pre, .prose pre { background: #080d19; border: 1px solid var(--border); border-radius: 12px; padding: 1.2rem; overflow-x: auto; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.65; margin: 1.4rem 0; }
[data-rich] code, .prose code { font-family: var(--font-mono); background: rgba(255, 255, 255, 0.08); padding: 0.2rem 0.45rem; border-radius: 6px; font-size: 0.88em; color: #7db3ff; }
[data-rich] pre code, .prose pre code { background: transparent; padding: 0; color: inherit; }
[data-rich] img, .prose img { max-width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--border); margin: 1.5rem 0; }
[data-rich] hr, .prose hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* Konfigurator */
#cfg-needs label { background: var(--surface); transition: border-color .2s var(--ease), background .2s var(--ease); }
#cfg-needs label:hover { border-color: var(--accent); }
@media (max-width: 580px) {
  #cfg-needs { grid-template-columns: 1fr !important; }
}
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { padding: 32px 24px; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-panel); transition: transform .25s var(--ease), border-color .25s var(--ease); }
.team-card:hover { transform: translateY(-3px); border-color: var(--border-hover); }
.team-photo { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(47,116,255,.45); box-shadow: 0 10px 28px rgba(47,116,255,.22); margin: 0 auto 16px; display: block; }
.team-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin: 0 0 12px; }
.team-bio { color: var(--text-2); font-size: 14.5px; font-weight: 300; line-height: 1.65; margin: 0 0 20px; }

.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.about-grid .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.stat-card { padding: 22px 18px; text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-panel); transition: transform .25s var(--ease), border-color .25s var(--ease); }
.stat-card:hover { transform: translateY(-3px); border-color: var(--border-hover); }
.stat-card .big { font-family: var(--font-mono); font-size: 32px; font-weight: 800; color: var(--accent); line-height: 1.1; margin-bottom: 6px; letter-spacing: -.02em; }
.stat-card .lbl { font-size: 12px; color: var(--text-2); font-weight: 400; line-height: 1.45; }

.company-visual { border-radius: var(--r-panel); overflow: hidden; border: 1px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center; padding: 28px; }
.company-visual img { width: 100%; max-width: 380px; height: auto; object-fit: contain; }

/* Services Page */
.service-page-row { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.service-list { display: grid; gap: 18px; }
.service-hero-card { padding: 32px; position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-panel); transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }
.service-hero-card:hover { transform: translateY(-3px); border-color: var(--border-hover); box-shadow: 0 16px 40px rgba(0,0,0,.45); }
.service-hero-card .n-num { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .2em; margin-bottom: 12px; }
.service-hero-card h3 { font-size: 22px; font-weight: 700; margin: 0 0 10px; color: var(--text); letter-spacing: -.02em; }
.service-hero-card p { color: var(--text-2); font-size: 15px; font-weight: 300; line-height: 1.7; margin: 0 0 18px; }

.tech-chip { font-family: var(--font-mono); font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--text-2); letter-spacing: .04em; display: inline-block; }
.side-note { position: sticky; top: 104px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-panel); padding: 32px; box-shadow: var(--shadow-2); }

/* Contact Page */
.contact-row { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.side-card { padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-panel); }
.side-card h3 { font-size: 18px; margin: 0 0 8px; font-weight: 700; }
.side-card p { color: var(--text-2); font-size: 14.5px; font-weight: 300; line-height: 1.6; margin: 0 0 16px; }

/* FAQ Accordion */
.faq-list { display: grid; gap: 12px; }
details.card { padding: 0; border: 1px solid var(--border); border-radius: var(--r-ctrl); overflow: hidden; transition: border-color .25s var(--ease), background .25s var(--ease); }
details.card[open] { border-color: rgba(47,116,255,.45); background: rgba(16,22,38,.85); }
details.card summary { padding: 18px 22px; font-weight: 600; font-size: 15.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; user-select: none; color: var(--text); }
details.card summary::-webkit-details-marker { display: none; }
details.card summary::after { content: "+"; font-family: var(--font-mono); font-size: 20px; color: var(--accent); font-weight: 400; transition: transform .25s var(--ease); }
details.card[open] summary::after { content: "−"; transform: rotate(180deg); }
details.card p { padding: 0 22px 20px; margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.65; font-weight: 300; }

/* Badges & Meta */
.badge { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--border-2); }
.badge-on { color: var(--ok); border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.08); }
.badge-off { color: var(--text-3); }
.case-cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 6px; display: inline-block; }
.case-meta { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); letter-spacing: .06em; margin-bottom: 8px; }

.p-show-status { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding: 4px 11px; border-radius: var(--r-pill); border: 1px solid transparent; display: inline-flex; align-items: center; gap: 5px; }
.p-show-status.beta { color: var(--warn); border-color: rgba(251,191,36,.35); background: rgba(251,191,36,.08); }
.p-show-status.oss { color: var(--ok); border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.08); }

.tdim { color: var(--text-3); } .tk { color: #7db3ff; } .tok { color: var(--ok); }
.center { text-align: center; } .big { font-size: 1.15em; }

@media (max-width: 992px) {
  .service-page-row { grid-template-columns: 1fr; }
  .side-note { position: static; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-row { grid-template-columns: 1fr; }
  .about-grid .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .team-grid { grid-template-columns: 1fr; }
  .about-grid .stats { grid-template-columns: 1fr; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: 1fr; }
}

/* ---------- Utilities ---------- */
.mt-2{margin-top:8px}.mt-4{margin-top:16px}.mt-8{margin-top:32px}.mt-10{margin-top:40px}.mt-16{margin-top:64px}
.mb-4{margin-bottom:16px}

/* ---------- Reveal ---------- */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.active { opacity: 1; transform: none; }

/* ---------- Motion layer ---------- */
@keyframes cfGlow { 0%,100% { transform: translate3d(0,0,0) scale(1); opacity: .85 } 50% { transform: translate3d(0,-1.5%,0) scale(1.05); opacity: 1 } }
@keyframes cfFloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-9px) } }
@keyframes cfLine { from { width: 0; opacity: 0 } to { width: 22px; opacity: .55 } }

.bg-glow { animation: cfGlow 20s ease-in-out infinite; will-change: transform, opacity; }
.hero-showcase .showcase-phone, .phone-frame { animation: cfFloat 8s ease-in-out infinite; will-change: transform; }

.marquee-track { will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }

.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -140%; width: 70%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.32), transparent); transform: skewX(-18deg); transition: left .55s var(--ease); pointer-events: none; }
.btn-primary:hover::after { left: 140%; }

.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }

.case-card .case-img img, .blog-card .thumb img { transition: transform .7s var(--ease); }
.case-card:hover .case-img img, .blog-card:hover .thumb img { transform: scale(1.045); }

.reveal.active .eyebrow::before, .eyebrow.reveal.active::before { animation: cfLine .6s var(--ease) both; }

.case-grid > .reveal:nth-child(2), .product-grid > .reveal:nth-child(2), .services-grid > .reveal:nth-child(2), .tech-grid > .reveal:nth-child(2), .team-grid > .reveal:nth-child(2), .price-grid > .reveal:nth-child(2), .process-timeline > .reveal:nth-child(2), .why-grid > .reveal:nth-child(2), .blog-grid > .reveal:nth-child(2) { transition-delay: .07s; }
.case-grid > .reveal:nth-child(3), .product-grid > .reveal:nth-child(3), .services-grid > .reveal:nth-child(3), .tech-grid > .reveal:nth-child(3), .team-grid > .reveal:nth-child(3), .price-grid > .reveal:nth-child(3), .process-timeline > .reveal:nth-child(3), .why-grid > .reveal:nth-child(3), .blog-grid > .reveal:nth-child(3) { transition-delay: .14s; }
.case-grid > .reveal:nth-child(4), .product-grid > .reveal:nth-child(4), .tech-grid > .reveal:nth-child(4), .team-grid > .reveal:nth-child(4) { transition-delay: .21s; }
.case-grid > .reveal:nth-child(5), .product-grid > .reveal:nth-child(5), .tech-grid > .reveal:nth-child(5) { transition-delay: .28s; }
.case-grid > .reveal:nth-child(6), .product-grid > .reveal:nth-child(6) { transition-delay: .35s; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--accent), #6ea0ff); box-shadow: 0 0 10px rgba(47,116,255,.65); transition: width .1s linear; pointer-events: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 92px; }

/* ---------- Responsive section rhythm ---------- */
@media (max-width: 860px) {
  :root { --sec-y: 72px; }
  .section-head { margin-bottom: 36px; }
}

/* =====================================================================
   PRINT / PDF — "PDF olarak kaydet" görünümü
   Düzeltilen hatalar:
   · Koyu tema baskıya geçmiyordu → beyaz sayfada beyaz metin görünmez oluyordu.
   · position:fixed katmanlar (nav / glow / WhatsApp) içeriğin üstüne biniyordu.
   · Scroll-reveal blokları PDF'te boş kalabiliyordu.
   ===================================================================== */
@page { size: A4; margin: 0; }

@media print {
  /* 1) Renkleri baskıya zorla → koyu tema aynen basılır */
  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  html, body {
    background: var(--bg) !important;
    color: var(--text) !important;
    overflow: visible !important;
  }
  /* Tam kanama koyu zemin + içerik için kenar boşluğu */
  body { padding: 12mm 12mm !important; }

  /* 2) Sabit / dekoratif katmanları gizle (içeriğe binmesin) */
  .nav, .mobile-menu, .menu-btn, .wa-float,
  .bg-glow, .bg-grid, #launch-popup,
  .push-prompt, .social-rail, .scroll-progress { display: none !important; }

  /* 3) Reveal animasyonları tamamen açık */
  .reveal, .js .reveal, .js .reveal.active {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .marquee-track { animation: none !important; width: 100% !important; flex-wrap: wrap !important; justify-content: center !important; gap: 0 !important; }
  .marquee-track > span:nth-child(n+2) { display: none !important; }

  /* 4) Kart / bölümler sayfa ortasında bölünmesin */
  section, .card, .case-card, .service-card, .team-card, .price-card,
  .tech-card, .faq-item, .process-step, .sector-row, .case-detail-row,
  .case-kv, .stat-card, .blog-card, .swipe-app, .product-tile, .why-grid > * {
    break-inside: avoid; page-break-inside: avoid;
  }
  h1, h2, h3 { break-after: avoid; page-break-after: avoid; }

  /* 5) Fixed nav için ayrılan üst boşluğu print'te kıs */
  .hero, .page-hero { padding-top: 24px !important; }

  /* 6) Linkler koyu temada sade kalsın */
  a { color: inherit; text-decoration: none; }
  .showcase-shots img { transition: none !important; }
  .bg-glow, .phone-frame, .hero-showcase .showcase-phone { animation: none !important; }
}
