* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Inter', system-ui, sans-serif; color: #0F172A; background: #ffffff; -webkit-font-smoothing: antialiased; }
a { color: #2563EB; text-decoration: none; }
a:hover { color: #1D4ED8; }
::selection { background: #DBEAFE; }

@keyframes floatUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
[data-reveal-stagger].in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* interactive states (converted from DC style-hover / style-focus) */
.nav-link { color: #475569; font-weight: 500; font-size: 15px; transition: color .2s; }
.nav-link:hover { color: #0F172A; }
.btn-dark { display: inline-flex; align-items: center; gap: 8px; background: #0F172A; color: #fff; font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: 10px; transition: background .2s, transform .2s; }
.btn-dark:hover { background: #1E293B; transform: translateY(-1px); color: #fff; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: #2563EB; color: #fff; font-weight: 600; font-size: 16px; padding: 15px 28px; border-radius: 11px; transition: background .2s, transform .2s; }
.btn-primary:hover { background: #1D4ED8; transform: translateY(-2px); color: #fff; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #0F172A; font-weight: 600; font-size: 16px; padding: 15px 28px; border-radius: 11px; border: 1px solid #E2E8F0; transition: border-color .2s, background .2s; }
.btn-ghost:hover { border-color: #CBD5E1; background: #F8FAFC; color: #0F172A; }
.svc-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 14px; padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(15,23,42,0.25); border-color: #DBEAFE; }
.mail-link { color: #fff; font-weight: 600; font-size: 16px; transition: color .2s; }
.mail-link:hover { color: #60A5FA; }
.foot-link { color: #94A3B8; font-size: 14px; transition: color .2s; }
.foot-link:hover { color: #fff; }
.field { width: 100%; padding: 12px 14px; border: 1px solid #E2E8F0; border-radius: 10px; font-size: 15px; font-family: inherit; color: #0F172A; outline: none; transition: border-color .2s; }
.field:focus { border-color: #2563EB; }
.submit-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #2563EB; color: #fff; font-weight: 600; font-size: 16px; padding: 14px; border: none; border-radius: 11px; cursor: pointer; font-family: inherit; transition: background .2s; }
.submit-btn:hover { background: #1D4ED8; }

/* grid çocuklarının küçülebilmesi — mobilde taşmayı önler */
[style*="grid-template-columns"] > * { min-width: 0; }

/* istatistik rakamları: masaüstünde 44px, dar ekranda orantılı küçülür */
.stat-num { font-size: clamp(28px, 8.5vw, 44px) !important; overflow-wrap: break-word; }

@media (max-width: 960px) {
  [data-services-grid] { grid-template-columns: repeat(2,1fr) !important; }
  [data-why-grid], [data-about-grid], [data-contact-grid] { grid-template-columns: 1fr !important; gap: 44px !important; }
  [data-nav-links] { display: none !important; }
}
@media (max-width: 560px) {
  [data-services-grid] { grid-template-columns: 1fr !important; }
  [data-hero-panel] { grid-template-columns: 1fr !important; }
  [data-form-row] { grid-template-columns: 1fr !important; }
  .pad-x { padding-left: 20px !important; padding-right: 20px !important; }
  .stat-card { padding: 24px 18px !important; }
  /* footer: mobilde ortala ve logoyu küçült */
  .footer-inner { flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 22px !important; }
  .footer-logo { height: 54px !important; }
  /* mobilde dikey boşlukları da biraz azalt */
  .sec-pad { padding-top: 64px !important; padding-bottom: 64px !important; }
  .hero-pad { padding-top: 72px !important; padding-bottom: 56px !important; }
}

/* ============================================================
   HAREKETLİ ANİMASYONLAR (dengeli) — CSS/SVG, dependency yok
   ============================================================ */

/* Hero arka plan: ince grid + tepede yumuşak mavi ışıma (temiz, yazılım hissi) */
.hero-bg {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background: radial-gradient(58% 46% at 50% -4%, rgba(37,99,235,0.10), transparent 72%);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,23,42,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(68% 58% at 50% 28%, #000 0%, transparent 76%);
          mask-image: radial-gradient(68% 58% at 50% 28%, #000 0%, transparent 76%);
}

/* Rozet nabız halkası (ince, zarif) */
.pulse-dot { position: relative; }
.pulse-dot::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1.5px solid #2563EB; background: transparent; animation: pulseRing 2.4s ease-out infinite; }
@keyframes pulseRing { 0% { transform: scale(.7); opacity: .7; } 70%,100% { transform: scale(2.2); opacity: 0; } }

/* ---- Hero: animasyonlu kod / tarayıcı penceresi ---- */
.mockup-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #F8FAFC; border-bottom: 1px solid #E2E8F0; }
.mockup-bar .tl { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.tl-r { background: #F87171; } .tl-y { background: #FBBF24; } .tl-g { background: #34D399; }
.mockup-addr { flex: 1; display: flex; align-items: center; gap: 7px; justify-content: center; max-width: 260px; margin: 0 auto; padding: 6px 14px; background: #fff; border: 1px solid #E2E8F0; border-radius: 8px; color: #64748B; font-size: 12.5px; }
.mockup-body { display: grid; grid-template-columns: 1.55fr 1fr; gap: 0; }
.editor { position: relative; display: flex; gap: 14px; background: #0B1120; padding: 18px 16px; min-height: 236px; }
.gutter { display: flex; flex-direction: column; gap: 6px; color: #334155; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; line-height: 1.7; user-select: none; text-align: right; }
.code-pre { margin: 0; flex: 1; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; line-height: 1.7; color: #E2E8F0; white-space: pre-wrap; word-break: break-word; }
.code-pre .tok-kw { color: #C084FC; } .code-pre .tok-fn { color: #60A5FA; } .code-pre .tok-st { color: #34D399; } .code-pre .tok-vr { color: #F8FAFC; } .code-pre .tok-cm { color: #64748B; font-style: italic; } .code-pre .tok-nm { color: #FBBF24; }
.caret { display: inline-block; width: 7px; height: 15px; background: #60A5FA; margin-left: 1px; vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.preview { background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.preview-top { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #64748B; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; animation: livePulse 1.8s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.5); } 70%,100% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } }
.metric-num { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 34px; color: #0F172A; line-height: 1; }
.metric-lbl { color: #64748B; font-size: 13px; margin-top: 6px; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 64px; margin-top: auto; }
.bars span { flex: 1; background: linear-gradient(180deg, #3B82F6, #2563EB); border-radius: 5px 5px 3px 3px; height: var(--h); transform-origin: bottom; animation: barGrow 2.8s ease-in-out infinite; }
.bars span:nth-child(2) { animation-delay: .25s; } .bars span:nth-child(3) { animation-delay: .5s; } .bars span:nth-child(4) { animation-delay: .75s; } .bars span:nth-child(5) { animation-delay: 1s; }
@keyframes barGrow { 0%,100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }
.preview-foot { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #64748B; padding-top: 12px; border-top: 1px solid #F1F5F9; }
.ok-dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; }

/* ---- Neden Bica: canlı istatistik dashboard ---- */
.stat-card { transition: transform .28s cubic-bezier(.16,1,.3,1), box-shadow .28s; }
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(15,23,42,0.4); }
.stat-meter { height: 5px; border-radius: 100px; background: rgba(148,163,184,0.22); overflow: hidden; }
.stat-meter > span { display: block; height: 100%; width: 0; border-radius: 100px; transition: width 1.3s cubic-bezier(.16,1,.3,1); }
.stat-meter.in > span { width: var(--w, 100%); }
.stat-meter.m-blue > span { background: #2563EB; }
.stat-meter.m-light > span { background: #60A5FA; }
.stat-meter.m-white { background: rgba(255,255,255,0.28); }
.stat-meter.m-white > span { background: #fff; }

/* Neden Bica: özellik satırı hover */
.feature-row { padding: 6px; margin: -6px; border-radius: 12px; transition: background .25s, transform .25s; }
.feature-row:hover { background: #F1F5F9; transform: translateX(4px); }

/* ---- Hakkımızda: canlı terminal ---- */
.term-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.08); }
.term-title { margin-left: 8px; font-size: 12.5px; color: #94A3B8; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.term-body { padding: 20px 18px; min-height: 176px; }
.term-pre { margin: 0; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; line-height: 1.85; color: #E2E8F0; white-space: pre-wrap; word-break: break-word; }
.term-pre .term-prompt { color: #60A5FA; }
.term-pre .term-cmd { color: #F1F5F9; }
.term-pre .term-ok { color: #34D399; }
.term-pre .term-muted { color: #94A3B8; }
.term-pre .term-comment { color: #64748B; font-style: italic; }
.term-foot { display: flex; align-items: center; gap: 14px; padding: 18px; border-top: 1px solid rgba(255,255,255,0.08); }

/* Shimmer (yükleniyor parıltısı) çubuklar */
.shimmer { position: relative; overflow: hidden; }
.shimmer::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: shimmerMove 2.4s infinite; }
@keyframes shimmerMove { 100% { transform: translateX(100%); } }

/* Kendini çizen grafik çizgisi (pathLength=1 ile) */
.draw-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.draw-line.in { animation: drawLine 1.6s cubic-bezier(.16,1,.3,1) .2s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* Servis kartı ikon mikro-hareketi */
.svc-icon { transition: transform .35s cubic-bezier(.16,1,.3,1); }
.svc-card:hover .svc-icon { transform: translateY(-3px) rotate(-6deg) scale(1.08); }

/* CTA buton parlaması (sheen) */
.sheen { position: relative; overflow: hidden; }
.sheen::before { content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: sheenSweep 5s ease-in-out infinite; }
@keyframes sheenSweep { 0%,16% { left: -60%; } 46%,100% { left: 140%; } }

/* Koyu bölüm ışık kürecikleri */
.glow-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.glow-orb { position: absolute; border-radius: 50%; filter: blur(72px); opacity: .32; will-change: transform; }
.orb-blue { background: #2563EB; }
.orb-cyan { background: #38BDF8; }
@keyframes orbFloat1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(54px,-42px); } }
@keyframes orbFloat2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-46px,34px); } }

/* Hareket hassasiyeti: tüm dekoratif animasyonları kapat */
@media (prefers-reduced-motion: reduce) {
  .blob, .pulse-dot::after, .shimmer::after, .sheen::before, .glow-orb,
  .caret, .bars span, .live-dot { animation: none !important; }
  .bars span { transform: scaleY(1); }
  .draw-line { stroke-dashoffset: 0 !important; }
  .draw-line.in { animation: none !important; }
}

