/* ============================================================
   EagleAsh Studio — "EagleAsh Light" Design System
   Palet logo türevli: lacivert mürekkep, marka mavisi, kıt turuncu.
   ============================================================ */

:root {
  /* Zemin */
  --bg:         #ffffff;
  --bg-alt:     #f5f8fb;   /* mavi tonlu açık gri — nötr gri değil, marka tutarlılığı */
  --bg-dark:    #0e2239;   /* koyu bantlar + footer */
  --bg-dark-2:  #132c47;

  /* Mürekkep */
  --ink:        #0e2239;   /* başlıklar */
  --body:       #4a5c70;   /* gövde metni */
  --muted:      #7d8da0;

  /* Marka */
  --accent:     #0f6cbd;   /* CTA / linkler — beyaz üstünde AA */
  --accent-hi:  #2e9fe0;   /* parlak mavi — koyu zemin, glow, hover */
  --accent2:    #f5951f;   /* turuncu — kıt kullanım */

  /* Çizgi & gölge */
  --line:       #e3ebf2;
  --line-soft:  #eef3f8;
  --shadow-sm:  0 1px 2px rgba(14,34,57,0.06), 0 2px 8px rgba(14,34,57,0.04);
  --shadow-md:  0 2px 4px rgba(14,34,57,0.05), 0 12px 32px rgba(14,34,57,0.08);
  --shadow-lg:  0 4px 8px rgba(14,34,57,0.06), 0 24px 64px rgba(14,34,57,0.12);

  /* Tipografi */
  --font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Ritim */
  --radius:     14px;
  --radius-sm:  10px;
  --container:  1160px;
}

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

html { scroll-behavior: smooth; }

html, body {
  max-width: 100%;
  overflow-x: hidden; /* yatay taşma emniyeti — hiçbir öğe sayfayı yana esnetemez */
}

body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Grid/flex çocukları içerik genişliğiyle ebeveyni patlatamasın */
.hero-inner > *, .biz-grid > *, .svc-grid > *, .prod-grid > *,
.pf-grid > *, .portfolio-grid > *, .why-grid > *, .contact-grid > *,
.blog-grid > *, .process-grid > *, .footer-main > * { min-width: 0; }

img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 4px; }

::selection { background: rgba(46,159,224,0.2); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

/* Turuncu nokta motifi — logo gagası */
.dot { color: var(--accent2); }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

.section { padding: 104px 0; }
.section-alt  { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #9fb3c8; }

/* Bölüm başlığı deseni: numaralı eyebrow + başlık + lede */
.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.sec-eyebrow .num { color: var(--accent2); font-variant-numeric: tabular-nums; }
.sec-eyebrow::before { content: ''; width: 24px; height: 1.5px; background: var(--accent2); }
.sec-head.center .sec-eyebrow::before { display: none; }
.sec-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.sec-lede { font-size: 17px; color: var(--body); }
.section-dark .sec-eyebrow { color: var(--accent-hi); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(14,34,57,0.05); }
.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 28px;
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-logo img { height: 34px; width: auto; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav-logo-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
.nav-logo-sub  { font-size: 10px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: block; padding: 9px 14px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; color: var(--body);
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-alt); }
.nav-links a.active { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lang-switch a { color: var(--muted); padding: 4px 2px; }
.lang-switch a.active { color: var(--ink); }
.lang-switch span { color: var(--line); }

.nav-cta {
  padding: 10px 20px; border-radius: var(--radius-sm);
  background: var(--accent); color: #fff !important;
  font-size: 14px; font-weight: 600;
  transition: background .15s, transform .15s, box-shadow .15s;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.nav-cta:hover { background: #0d5ea6; transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* Hamburger — başparmak dostu büyüklükte */
.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 48px; height: 48px; padding: 12px 11px;
  background: none; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer;
  flex-shrink: 0;
}
.nav-burger span { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* Yüzen WhatsApp butonu (numara ayarlıysa footer basar) */
.wa-float {
  position: fixed; bottom: 20px; left: 20px; z-index: 95;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0,0,0,0.15);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 176px 0 96px;
  overflow: hidden;
}
/* dot-grid arkaplan */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(14,34,57,0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 100px;
  background: #fff; box-shadow: var(--shadow-sm);
  font-size: 13px; font-weight: 500; color: var(--body);
  margin-bottom: 28px;
}
.hero-badge .pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent2);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(245,149,31,0.45); } 55% { box-shadow: 0 0 0 6px rgba(245,149,31,0); } }

.hero-title {
  font-size: clamp(38px, 5.4vw, 62px);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-desc { font-size: 18px; max-width: 480px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm); border: none; cursor: pointer;
  background: var(--accent); color: #fff; font-family: var(--font-body);
  font-size: 15.5px; font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn-primary:hover { background: #0d5ea6; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary .arr { transition: transform .15s; }
.btn-primary:hover .arr { transform: translateX(3px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  background: #fff; color: var(--ink);
  border: 1px solid var(--line);
  font-size: 15.5px; font-weight: 600;
  transition: border-color .15s, background .15s, transform .15s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* koyu zemin buton varyantları */
.section-dark .btn-secondary, .btn-on-dark {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.25);
}
.section-dark .btn-secondary:hover, .btn-on-dark:hover { border-color: var(--accent-hi); color: var(--accent-hi); }

/* ---------- Hero mockup: CSS ile çizilmiş uygulama penceresi ---------- */
.hero-mock {
  position: relative;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg);
}
.hero-mock-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--line-soft); background: var(--bg-alt);
}
.hero-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dbe4ec; }
.hero-mock-bar i:first-child { background: #f5951f55; }
.hero-mock-url {
  flex: 1; margin-left: 8px; padding: 5px 12px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 6px;
  font-size: 11px; color: var(--muted); letter-spacing: 0.02em;
}
.hero-mock-body { display: grid; grid-template-columns: 148px minmax(0, 1fr); min-height: 330px; }
.hero-mock-side { border-right: 1px solid var(--line-soft); padding: 16px 12px; background: #fbfcfe; }
.hero-mock-side .mi {
  height: 10px; border-radius: 5px; background: var(--line-soft); margin-bottom: 12px;
}
.hero-mock-side .mi.active { background: rgba(15,108,189,0.25); width: 85%; }
.hero-mock-side .mi:nth-child(2) { width: 70%; }
.hero-mock-side .mi:nth-child(4) { width: 60%; }
.hero-mock-side .mi:nth-child(5) { width: 78%; }
.hero-mock-main { padding: 20px; }
.hero-mock-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.hero-mock-card {
  border: 1px solid var(--line-soft); border-radius: 8px; padding: 12px;
  min-width: 0; overflow: hidden;
}
.hero-mock-card .l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-mock-card .v { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); }
.hero-mock-card .l { font-size: 9.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.hero-mock-card:nth-child(1) .v { color: var(--accent); }
.hero-mock-card:nth-child(3) .v { color: var(--accent2); }
.hero-mock-chart {
  border: 1px solid var(--line-soft); border-radius: 8px; padding: 14px;
  display: flex; align-items: flex-end; gap: 7px; height: 150px;
}
.hero-mock-chart b {
  flex: 1; border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, rgba(15,108,189,0.75), rgba(46,159,224,0.55));
  animation: barGrow 1.1s cubic-bezier(.2,.8,.2,1) backwards;
}
.hero-mock-chart b:nth-child(odd) { background: linear-gradient(to top, rgba(15,108,189,0.35), rgba(46,159,224,0.25)); }
.hero-mock-chart b:last-child { background: linear-gradient(to top, #f5951f, #f8b055); }
@keyframes barGrow { from { transform: scaleY(0); transform-origin: bottom; } }

/* mockup arkasındaki yumuşak marka glow'u */
.hero-mock-wrap { position: relative; }
.hero-mock-wrap::before {
  content: ''; position: absolute; inset: -8% -6%;
  background:
    radial-gradient(40% 55% at 70% 30%, rgba(46,159,224,0.14), transparent 70%),
    radial-gradient(35% 45% at 25% 75%, rgba(245,149,31,0.10), transparent 70%);
  z-index: -1;
}

/* ---------- Hero altı güven şeridi ---------- */
.trust-strip {
  margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px 36px; flex-wrap: wrap;
}
.trust-strip .lbl { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.trust-strip .tech {
  font-family: var(--font-display); font-size: 14.5px; font-weight: 600; color: #9fb0c2;
  transition: color .2s;
}
.trust-strip .tech:hover { color: var(--ink); }

/* ============================================================
   STATS
   ============================================================ */
.stats-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.stat { text-align: center; padding: 8px 0; }
.stat-val {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4vw, 48px);
  color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.stat-val .suffix { color: var(--accent2); }
.stat-lbl { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ============================================================
   İKİ İŞ MODELİ — asimetrik split
   ============================================================ */
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.biz-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px 40px; background: #fff;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.biz-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d3e2ef; }
.biz-card::after {
  content: ''; position: absolute; top: 0; left: 40px; right: auto; width: 56px; height: 3px;
  background: var(--accent); border-radius: 0 0 3px 3px;
}
.biz-card:nth-child(2)::after { background: var(--accent2); }
.biz-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.biz-card:nth-child(2) .biz-label { color: var(--accent2); }
.biz-title { font-size: 24px; margin-bottom: 12px; }
.biz-desc { font-size: 15.5px; }

/* ============================================================
   HİZMET KARTLARI
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d3e2ef; }
.svc-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(15,108,189,0.09), rgba(46,159,224,0.14));
  color: var(--accent); margin-bottom: 22px;
  font-size: 22px; /* emoji fallback için */
}
.svc-icon svg { width: 24px; height: 24px; }
.svc-title { font-size: 18.5px; margin-bottom: 10px; }
.svc-desc { font-size: 14.5px; margin-bottom: 18px; }
.svc-feats { list-style: none; margin-top: auto; }
.svc-feats li {
  display: flex; align-items: baseline; gap: 9px;
  font-size: 13.5px; color: var(--body); padding: 4px 0;
}
.svc-feats li::before { content: '✓'; color: var(--accent); font-weight: 700; font-size: 12px; }
.svc-link {
  margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
}
.svc-link:hover { gap: 10px; }
.svc-link { transition: gap .15s; }

/* ============================================================
   SÜREÇ — 4 adım
   ============================================================ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding: 30px 26px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.process-num {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-dark); color: #fff; margin-bottom: 18px;
}
.process-step:last-child .process-num { background: var(--accent2); }
.process-title { font-size: 17px; margin-bottom: 8px; }
.process-desc { font-size: 14px; }
/* adımlar arası bağlantı çizgisi */
.process-step::after {
  content: ''; position: absolute; top: 49px; left: calc(26px + 38px + 10px); right: 22px;
  height: 1.5px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.process-step:last-child::after { display: none; }

/* ============================================================
   ÜRÜNLER — koyu bant
   ============================================================ */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.prod-card {
  position: relative;
  background: var(--bg-dark-2);
  border: 1px solid rgba(255,255,255,0.09); border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .2s, border-color .2s;
  overflow: hidden;
}
.prod-card:hover { transform: translateY(-3px); border-color: rgba(46,159,224,0.45); }
.prod-num {
  position: absolute; top: 18px; right: 24px;
  font-family: var(--font-display); font-weight: 700; font-size: 52px;
  color: rgba(255,255,255,0.06); line-height: 1;
}
.prod-tag {
  display: inline-block; padding: 5px 12px; border-radius: 100px;
  border: 1px solid rgba(46,159,224,0.35); color: var(--accent-hi);
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 18px;
}
.prod-name { color: #fff; font-size: 21px; margin-bottom: 10px; }
.prod-desc { font-size: 14.5px; color: #9fb3c8; margin-bottom: 20px; }
.prod-feats { list-style: none; margin-bottom: 22px; }
.prod-feats li { display: flex; gap: 9px; align-items: baseline; font-size: 13.5px; color: #b9c9da; padding: 3px 0; }
.prod-feats li::before { content: '—'; color: var(--accent-hi); }
.prod-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #4ade80; }
.prod-status .dot-live { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: pulse 2s infinite; }
.prod-soon { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent2); }
.prod-link { display: inline-flex; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--accent-hi); }

/* ============================================================
   PORTFOLYO KARTLARI (browser-chrome mockup + :target modal)
   Sınıf adları includes/portfolio-render.php ile eşleşir.
   ============================================================ */
.pf-grid, .portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-card-link { display: block; color: inherit; }
.portfolio-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.portfolio-card-link:hover .portfolio-card { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d3e2ef; }

.portfolio-mockup { position: relative; background: var(--bg-alt); border-bottom: 1px solid var(--line-soft); }
.mockup-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; background: #eef3f8; border-bottom: 1px solid var(--line-soft);
}
.mockup-dot { width: 8px; height: 8px; border-radius: 50%; background: #d3dde6; }
.mockup-url {
  flex: 1; margin-left: 6px; height: 16px;
  background: #fff; border: 1px solid var(--line-soft); border-radius: 5px;
}
.mockup-frame { position: relative; height: 190px; overflow: hidden; }
.mockup-frame iframe {
  width: 400%; height: 400%;
  transform: scale(0.25); transform-origin: 0 0;
  border: none; pointer-events: none; display: block; background: #fff;
}
.mockup-body { padding: 0; }
.mockup-nav {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 14px; background: #fff; border-bottom: 1px solid var(--line-soft);
}
.mockup-logo {
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  color: var(--accent); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px;
}
.mockup-navtext { font-size: 9.5px; color: var(--muted); }
.mockup-hero-banner { position: relative; height: 108px; overflow: hidden; }
.mockup-hero-photo { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.mockup-hero-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: linear-gradient(180deg, rgba(14,34,57,0.55), rgba(14,34,57,0.72));
}
.mockup-hero-icon-lg { font-size: 20px; }
.mockup-hero-headline { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 0.02em; text-align: center; padding: 0 12px; }
.mockup-hero-btn {
  margin-top: 2px; font-size: 8.5px; font-weight: 600; color: #fff;
  background: var(--accent); padding: 3px 10px; border-radius: 4px;
}
.mockup-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); }
.mockup-feature {
  display: flex; align-items: center; gap: 5px; justify-content: center;
  background: #fff; padding: 8px 6px; font-size: 8.5px; color: var(--body); text-align: center;
}
.mockup-feature-icon { color: var(--accent); font-weight: 700; font-size: 9px; }

.portfolio-badge {
  position: absolute; top: 44px; right: 12px; z-index: 2;
  padding: 4px 11px; border-radius: 100px;
  background: rgba(255,255,255,0.92); border: 1px solid var(--line);
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent);
  backdrop-filter: blur(4px);
}
.portfolio-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.portfolio-category { font-size: 11.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.portfolio-title { font-size: 17px; margin-bottom: 8px; color: var(--ink); }
.portfolio-desc { font-size: 13.5px; color: var(--body); margin-bottom: 16px; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.portfolio-tag {
  padding: 3px 10px; border: 1px solid var(--line); border-radius: 100px;
  font-size: 11.5px; color: var(--body); background: #fff;
}
.portfolio-open-hint { margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 600; color: var(--accent); }

/* portfolio sekmeleri (CSS-only radio; markup portfolio.php'de) */
.portfolio-radio { position: absolute; opacity: 0; pointer-events: none; }
.portfolio-tabs { display: flex; gap: 10px; margin-bottom: 44px; flex-wrap: wrap; }
.portfolio-tab-btn {
  padding: 10px 22px; border: 1px solid var(--line); border-radius: 100px;
  font-size: 14px; font-weight: 600; color: var(--body); cursor: pointer; background: #fff;
  transition: all .15s;
}
.portfolio-tab-btn:hover { border-color: var(--accent); color: var(--accent); }
#tab-pf-client:checked ~ .portfolio-tabs label[for="tab-pf-client"],
#tab-pf-concept:checked ~ .portfolio-tabs label[for="tab-pf-concept"] {
  background: var(--ink); border-color: var(--ink); color: #fff;
}
.portfolio-pane { display: none; }
#tab-pf-client:checked ~ #pf-client { display: block; }
#tab-pf-concept:checked ~ #pf-concept { display: block; }
.portfolio-empty {
  text-align: center; padding: 64px 24px;
  border: 1px dashed var(--line); border-radius: var(--radius);
  color: var(--muted); font-size: 15px; background: #fff;
}

/* portfolio modal (:target lightbox) — markup: backdrop + panel */
.pf-modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 28px;
}
.pf-modal:target { display: flex; }
.pf-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(14,34,57,0.55); backdrop-filter: blur(6px);
}
.pf-modal-panel {
  position: relative; background: #fff; border-radius: var(--radius);
  max-width: 920px; width: 100%; max-height: 88vh; overflow: auto;
  box-shadow: var(--shadow-lg);
}
.pf-modal-toolbar {
  position: sticky; top: 0; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; background: #fff; border-bottom: 1px solid var(--line);
  font-size: 13px; font-weight: 600; color: var(--muted);
}
.pf-modal-close { color: var(--ink); font-size: 14px; font-weight: 600; }
.pf-modal-close:hover { color: var(--accent); }
.pf-modal-iframe { width: 100%; height: 62vh; border: none; display: block; }
.pf-modal-mockup { border-bottom: 1px solid var(--line-soft); }
.pf-modal-mockup .mockup-hero-banner { height: 200px; }
.pf-modal-body { padding: 26px 30px 30px; }
.pf-modal-title { font-size: 22px; margin-bottom: 10px; }
.pf-modal-desc { font-size: 15px; color: var(--body); margin-bottom: 18px; }

/* ============================================================
   NEDEN BİZ — kompakt çift kolon liste
   ============================================================ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; }
.why-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: var(--radius-sm);
  transition: background .15s;
}
.why-item:hover { background: var(--bg-alt); }
.why-check {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,108,189,0.09); color: var(--accent);
}
.why-check svg { width: 15px; height: 15px; }
.why-title { font-size: 16px; margin-bottom: 4px; }
.why-desc { font-size: 14px; }

/* ============================================================
   FİNAL CTA — koyu bant
   ============================================================ */
.cta-final {
  position: relative; overflow: hidden;
  background: var(--bg-dark); border-radius: 20px;
  padding: 72px 64px; text-align: center;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(50% 90% at 20% 10%, rgba(46,159,224,0.16), transparent 70%),
    radial-gradient(45% 80% at 85% 90%, rgba(245,149,31,0.10), transparent 70%);
}
.cta-final > * { position: relative; }
.cta-final h2 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 14px; }
.cta-final p { color: #9fb3c8; font-size: 17px; max-width: 520px; margin: 0 auto 32px; }
.cta-final .hero-cta { justify-content: center; }
.cta-note { margin-top: 22px; font-size: 13.5px; color: #7d92a8; }

/* WhatsApp butonu */
.btn-wa {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18);
  color: #fff; font-size: 15px; font-weight: 600;
  transition: background .15s, border-color .15s;
}
.btn-wa:hover { background: rgba(37,211,102,0.14); border-color: rgba(37,211,102,0.5); }

/* ============================================================
   İÇ SAYFA HERO (services, products, portfolio, contact…)
   ============================================================ */
.page-hero { position: relative; padding: 168px 0 72px; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(14,34,57,0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, #000 20%, transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero-title { font-size: clamp(32px, 4.6vw, 50px); letter-spacing: -0.03em; margin-bottom: 16px; }
.page-hero-lede { font-size: 17.5px; max-width: 560px; }

/* ============================================================
   İLETİŞİM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; }
.contact-panel {
  background: var(--bg-dark); border-radius: var(--radius);
  padding: 38px 34px; color: #fff; position: sticky; top: 96px;
}
.contact-panel h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.contact-panel .sub { color: #9fb3c8; font-size: 14.5px; margin-bottom: 30px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.contact-item .ci-icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px;
  background: rgba(46,159,224,0.14); color: var(--accent-hi);
  display: flex; align-items: center; justify-content: center;
}
.contact-item .ci-icon svg { width: 17px; height: 17px; }
.contact-item .ci-label { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #7d92a8; }
.contact-item .ci-value { font-size: 14.5px; color: #dbe7f2; }
.contact-item a.ci-value { color: var(--accent-hi); }
.contact-promise {
  margin-top: 26px; padding: 14px 16px; border-radius: 10px;
  background: rgba(245,149,31,0.10); border: 1px solid rgba(245,149,31,0.25);
  font-size: 13.5px; color: #f8c98a;
}

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 38px; box-shadow: var(--shadow-sm); }
.form-title { font-size: 21px; margin-bottom: 26px; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15,108,189,0.10);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

.alert { padding: 15px 20px; border-radius: var(--radius-sm); font-size: 14.5px; margin-bottom: 24px; }
.alert-success { background: #ecfdf3; border: 1px solid #b5e8c8; color: #14804a; }
.alert-error   { background: #fef2f2; border: 1px solid #f4c7c7; color: #b42323; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d3e2ef; }
.post-img { height: 190px; object-fit: cover; width: 100%; }
.post-body { padding: 26px 26px 24px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.post-title { font-size: 18.5px; margin-bottom: 10px; }
.post-title a { color: var(--ink); }
.post-title a:hover { color: var(--accent); }
.post-excerpt { font-size: 14.5px; margin-bottom: 18px; }
.post-meta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.post-meta a { font-weight: 600; }

.cat-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.cat-pill {
  padding: 8px 18px; border: 1px solid var(--line); border-radius: 100px;
  font-size: 13.5px; font-weight: 500; color: var(--body); background: #fff;
  transition: all .15s;
}
.cat-pill:hover { border-color: var(--accent); color: var(--accent); }
.cat-pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* yazı detay */
.article { max-width: 760px; margin: 0 auto; }
.article-hero-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 40px; }
.article h1 { font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -0.03em; margin-bottom: 18px; }
.article-meta { display: flex; gap: 14px; align-items: center; font-size: 14px; color: var(--muted); padding-bottom: 26px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.article-lede { font-size: 18px; color: var(--body); font-style: italic; margin-bottom: 28px; }
.article-content { font-size: 16.5px; line-height: 1.85; color: #33455a; }
.article-content h2, .article-content h3 { margin: 40px 0 16px; }
.article-content h2 { font-size: 27px; }
.article-content h3 { font-size: 21px; }
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { margin: 0 0 20px 24px; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote {
  border-left: 3px solid var(--accent2); margin: 30px 0; padding: 14px 24px;
  background: var(--bg-alt); border-radius: 0 10px 10px 0; font-style: italic;
}
.article-content code { font-family: ui-monospace, monospace; background: var(--bg-alt); border: 1px solid var(--line); padding: 2px 7px; border-radius: 5px; font-size: 0.88em; }
.article-content pre { background: var(--bg-dark); color: #dbe7f2; padding: 22px 26px; border-radius: var(--radius-sm); overflow-x: auto; margin-bottom: 24px; font-size: 13.5px; line-height: 1.7; }
.article-content pre code { background: none; border: none; color: inherit; padding: 0; }
.article-content img { border-radius: var(--radius-sm); margin: 26px 0; }

/* ============================================================
   GİZLİLİK / DÜZ İÇERİK
   ============================================================ */
.legal { max-width: 780px; margin: 0 auto; }
.legal-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 36px; margin-bottom: 22px; }
.legal-card h2 { font-size: 19px; margin-bottom: 12px; }
.legal-card p, .legal-card li { font-size: 14.5px; }
.legal-updated { font-size: 13.5px; color: var(--muted); margin-bottom: 32px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-dark); color: #9fb3c8; margin-top: 104px; }
.footer-main {
  max-width: var(--container); margin: 0 auto; padding: 64px 28px 48px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px;
}
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: #fff; }
.footer-brand-name .sub { color: var(--accent-hi); }
.footer-blurb { font-size: 14px; margin-top: 12px; max-width: 300px; }
.footer h4 { color: #fff; font-size: 13.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #9fb3c8; font-size: 14.5px; transition: color .15s; }
.footer-col a:hover { color: var(--accent-hi); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom-inner {
  max-width: var(--container); margin: 0 auto; padding: 22px 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #7d92a8;
}
.footer-bottom a { color: #7d92a8; }
.footer-bottom a:hover { color: var(--accent-hi); }

/* ============================================================
   SSS AKORDEON
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: hidden; transition: border-color .15s, box-shadow .15s;
}
.faq-item[open] { border-color: #cfe0ee; box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 18px 48px 18px 22px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 15.5px; color: var(--ink); position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 20px; font-weight: 400; color: var(--accent); transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.75; color: var(--body); }

/* ============================================================
   MAKALE EKLERİ (okuma süresi, SSS, ilgili yazılar, CTA kutusu)
   ============================================================ */
.read-time { display: inline-flex; align-items: center; gap: 6px; }
.article-cta {
  margin: 44px 0; padding: 28px 30px; border-radius: var(--radius);
  background: var(--bg-dark); color: #fff; position: relative; overflow: hidden;
}
.article-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 85% 20%, rgba(46,159,224,0.18), transparent 70%);
}
.article-cta > * { position: relative; }
.article-cta h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.article-cta p { color: #9fb3c8 !important; font-size: 14.5px; margin-bottom: 18px !important; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  display: block; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: #cfe0ee; }
.related-card .rc-cat { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); margin-bottom: 6px; }
.related-card .rc-title { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink); line-height: 1.35; }
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-mock-chart b { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-mock { transform: none; max-width: 620px; }
  .svc-grid, .prod-grid, .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* Nav daralması: 1080px altında hamburgere geç (tablet/yatay telefonlarda taşmayı önler) */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: 12px 16px 18px;
  }
  .nav.menu-open .nav-links { display: flex; }
  .nav-links a { padding: 13px 14px; font-size: 16px; }
  .nav-burger { display: flex; }
  .nav.menu-open .nav-links .nav-cta-mobile { display: block; margin: 10px 14px 0; text-align: center; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .hero { padding: 120px 0 56px; }

  /* Mobil nav: sadece logo + büyük hamburger (dil seçimi menünün içinde) */
  .nav-inner { height: 68px; padding: 0 18px; }
  .nav-logo img { height: 38px; }
  .nav-logo-name { font-size: 18px; }
  .nav-logo-sub { font-size: 10.5px; }
  .nav-cta { display: none; }
  .nav-actions .lang-switch { display: none; }
  .nav-links { top: 68px; padding: 14px 18px 22px; }
  .nav-links a { padding: 15px 14px; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
  .nav-links li:last-child a { border-bottom: none; }
  .nav.menu-open .nav-links .nav-cta-mobile {
    display: block; margin: 14px 0 0; text-align: center;
    padding: 16px; font-size: 16.5px; border-bottom: none; border-radius: 12px;
  }
  .nav-lang-mobile { display: flex !important; gap: 10px; padding: 14px 14px 4px; }
  .nav-lang-mobile a {
    flex: 1; text-align: center; padding: 12px !important; font-size: 15px !important;
    border: 1.5px solid var(--line) !important; border-radius: 10px; border-bottom-width: 1.5px !important;
  }
  .nav-lang-mobile a.active { border-color: var(--accent) !important; color: var(--accent); background: rgba(15,108,189,0.06); }

  /* Konteyner nefes payı */
  .container { padding: 0 20px; }

  /* Hero mockup: telefonda sadeleşir — kenar çubuğu gizli, kompakt kartlar */
  .hero-mock { transform: none; }
  .hero-mock-side { display: none; }
  .hero-mock-body { grid-template-columns: 1fr; min-height: 0; }
  .hero-mock-main { padding: 14px; }
  .hero-mock-cards { gap: 8px; }
  .hero-mock-card { padding: 10px 8px; text-align: center; }
  .hero-mock-card .v { font-size: 15px; }
  .hero-mock-card .l { font-size: 8.5px; }
  .hero-mock-chart { height: 110px; padding: 10px; gap: 5px; }
  .hero-mock-url { font-size: 10px; }

  /* Uzun içerikler kutularının içinde kaysın, sayfayı esnetmesin */
  .article-content table { display: block; overflow-x: auto; }

  /* Mobilde cesur tipografi + tam genişlik butonlar */
  .hero-title { font-size: clamp(42px, 11vw, 56px); }
  .hero-desc { font-size: 17px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-primary, .hero-cta .btn-secondary, .hero-cta .btn-wa {
    justify-content: center; padding: 17px 24px; font-size: 16.5px;
  }
  .sec-title { font-size: clamp(30px, 8vw, 40px); }
  .page-hero-title { font-size: clamp(34px, 9.5vw, 50px); }

  .biz-grid, .svc-grid, .prod-grid, .pf-grid, .why-grid, .contact-grid, .form-row2 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .contact-panel { position: static; }
  .cta-final { padding: 52px 26px; border-radius: 16px; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; padding: 48px 24px 36px; }
  .trust-strip { gap: 12px 24px; }
}

.nav-links .nav-cta-mobile,
.nav-cta-mobile { display: none; }
.nav-links .nav-lang-mobile,
.nav-lang-mobile { display: none; }
