/* ==========================================================================
   Uduvan — ana stil dosyası
   Renkler iki tema için ayrı tanımlıdır: açık (:root) ve koyu ([data-theme="dark"]).
   Ortak marka renkleri ve ölçüler hemen aşağıdaki ilk blokta.
   ========================================================================== */

:root {
  /* Ortak (tema fark etmez) */
  --primary: #7c6cff;
  --grad: linear-gradient(135deg, #7c6cff 0%, #22d3ee 100%);
  --btn-grad: linear-gradient(135deg, #6a59f5 0%, #5544e4 100%);
  --radius: 20px;
  --header-h: 72px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  interpolate-size: allow-keywords;

  /* Açık tema */
  color-scheme: light;
  --bg: #fafbff;
  --bg-alt: #f2f4fb;
  --surface: #ffffff;
  --card-end: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.15);
  --text: #0f172a;
  --muted: #526077;
  --primary-ink: #5544e4;
  --accent-ink: #0e7490;
  --focus: #5544e4;
  --ok: #15803d;
  --err: #dc2626;
  --grad-text: linear-gradient(135deg, #5b4be0 0%, #0891b2 100%);
  --header-bg: rgba(250, 251, 255, 0.85);
  --glass: rgba(255, 255, 255, 0.92);
  --input-bg: #ffffff;
  --ghost-bg: #ffffff;
  --hover-bg: rgba(15, 23, 42, 0.05);
  --marquee: #8b94a8;
  --grid-line: rgba(15, 23, 42, 0.06);
  --glow-1: rgba(124, 108, 255, 0.18);
  --glow-2: rgba(34, 211, 238, 0.14);
  --shadow: 0 30px 60px -30px rgba(15, 23, 42, 0.35);
  --card-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px -20px rgba(15, 23, 42, 0.2);
}

/* Koyu tema. İlk blok JavaScript kapalıyken cihaz ayarını izler; ikincisi normal kullanımda geçerlidir. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #0b0f1a; --bg-alt: #0e1322; --surface: #131a2c; --card-end: rgba(19, 26, 44, 0.55);
    --border: rgba(148, 163, 184, 0.14); --border-strong: rgba(148, 163, 184, 0.26);
    --text: #e9edf6; --muted: #9ba6bf; --primary-ink: #b4abff; --accent-ink: #22d3ee; --focus: #22d3ee;
    --ok: #4ade80; --err: #f87171; --grad-text: var(--grad);
    --header-bg: rgba(11, 15, 26, 0.82); --glass: rgba(19, 26, 44, 0.88); --input-bg: #0c1120;
    --ghost-bg: rgba(255, 255, 255, 0.03); --hover-bg: rgba(255, 255, 255, 0.05); --marquee: #74809b;
    --grid-line: rgba(148, 163, 184, 0.07); --glow-1: rgba(124, 108, 255, 0.28); --glow-2: rgba(34, 211, 238, 0.13);
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); --card-shadow: none;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0f1a; --bg-alt: #0e1322; --surface: #131a2c; --card-end: rgba(19, 26, 44, 0.55);
  --border: rgba(148, 163, 184, 0.14); --border-strong: rgba(148, 163, 184, 0.26);
  --text: #e9edf6; --muted: #9ba6bf; --primary-ink: #b4abff; --accent-ink: #22d3ee; --focus: #22d3ee;
  --ok: #4ade80; --err: #f87171; --grad-text: var(--grad);
  --header-bg: rgba(11, 15, 26, 0.82); --glass: rgba(19, 26, 44, 0.88); --input-bg: #0c1120;
  --ghost-bg: rgba(255, 255, 255, 0.03); --hover-bg: rgba(255, 255, 255, 0.05); --marquee: #74809b;
  --grid-line: rgba(148, 163, 184, 0.07); --glow-1: rgba(124, 108, 255, 0.28); --glow-2: rgba(34, 211, 238, 0.13);
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); --card-shadow: none;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color .3s ease, color .3s ease;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, filter .2s ease;
}
.btn-primary { background: var(--btn-grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(106, 89, 245, 0.7); }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.1); box-shadow: 0 14px 34px -10px rgba(106, 89, 245, 0.85); }
.btn-ghost { background: var(--ghost-bg); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { border-color: rgba(124, 108, 255, 0.6); background: rgba(124, 108, 255, 0.1); }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
}
/* Menü açıkken opak zemin: backdrop-filter, sabit konumlu menü panelini bozduğu için kapatılır */
.nav-open .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: var(--border); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 36px; height: 36px; }
.brand-name { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) {
  display: block; padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: 15px;
  transition: color .2s ease, background-color .2s ease;
}
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--text); background: var(--hover-bg); }
.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle, .nav-toggle {
  width: 44px; height: 44px; border: 1px solid var(--border-strong); border-radius: 12px;
  background: var(--ghost-bg); color: var(--text); cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.theme-toggle:hover, .nav-toggle:hover { border-color: rgba(124, 108, 255, 0.6); }
.theme-toggle { display: inline-grid; place-items: center; }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-sun, [data-theme="dark"] .i-moon { display: none; }
[data-theme="dark"] .i-sun { display: block; }
html:not(.js) .theme-toggle { display: none; }

.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Ortak bölüm yapısı ---------- */
.section { padding-block: clamp(80px, 10vw, 128px); }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-lead { color: var(--muted); font-size: 1.08rem; margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(124, 108, 255, 0.35);
  background: rgba(124, 108, 255, 0.1); color: var(--primary-ink);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

.card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--card-end) 100%);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--card-shadow);
}
.icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 14px; background: rgba(124, 108, 255, 0.12); border: 1px solid rgba(124, 108, 255, 0.25);
}
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--primary-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  padding: calc(var(--header-h) + clamp(48px, 8vw, 104px)) 0 clamp(72px, 9vw, 120px);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(640px 420px at 82% 18%, var(--glow-1), transparent 70%),
    radial-gradient(520px 420px at 8% 85%, var(--glow-2), transparent 70%);
}
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 25%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-size: 15px; font-weight: 500; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  font-size: 11px; font-weight: 800; color: var(--accent-ink); background: rgba(34, 211, 238, 0.14);
}

/* Hero görseli: kod penceresi + telefon. Cihaz çerçeveleri iki temada da koyu kalır. */
.hero-visual { position: relative; height: 460px; }
.code-window, .browser {
  background: #0f1526; border: 1px solid rgba(148, 163, 184, 0.26); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden;
}
.code-window { position: absolute; left: 0; top: 24px; width: 86%; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(148, 163, 184, 0.14); background: rgba(255, 255, 255, 0.02); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: #8b95ad; }
.code-window pre { margin: 0; padding: 22px 24px 26px; font: 14px/1.75 var(--mono); color: #c9d1e6; overflow: hidden; white-space: pre; }
.code-window .k { color: #c4a7ff; }
.code-window .f { color: #5eead4; }
.code-window .s { color: #fcd38d; }
.code-window .n { color: #fb923c; }
.code-window .c { color: #64748b; font-style: italic; }

.phone {
  position: absolute; right: 0; bottom: 0; width: 200px; height: 410px;
  border-radius: 34px; border: 8px solid #1c2440; background: #0b1020;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.06); overflow: hidden;
}
.phone::before {
  content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 62px; height: 18px; border-radius: 999px; background: #1c2440;
}
.phone-screen { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 36px 14px 14px; }
.app-top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.app-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); }
.app-line { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); }
.app-line.light { background: rgba(255, 255, 255, 0.55); }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; }
.app-card { border-radius: 16px; padding: 14px; background: var(--grad); color: #fff; display: grid; gap: 6px; }
.app-card strong { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.app-bars { display: flex; align-items: flex-end; gap: 5px; height: 54px; }
.app-bars i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: rgba(255, 255, 255, 0.6); transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2, .7, .2, 1) both; }
.app-bars i:nth-child(2) { animation-delay: .08s; } .app-bars i:nth-child(3) { animation-delay: .16s; }
.app-bars i:nth-child(4) { animation-delay: .24s; } .app-bars i:nth-child(5) { animation-delay: .32s; }
.app-bars i:nth-child(6) { animation-delay: .4s; }
@keyframes grow { from { transform: scaleY(0.15); } }
.app-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: #131a2c; }
.app-dot { width: 22px; height: 22px; border-radius: 8px; background: rgba(124, 108, 255, 0.4); flex-shrink: 0; }
.app-dot.alt { background: rgba(34, 211, 238, 0.35); }
.app-btn { margin-top: auto; height: 36px; border-radius: 12px; background: var(--btn-grad); }

.float-badge {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap;
  background: var(--glass); color: var(--text); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}
.badge-ic { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 13px; font-weight: 800; }
.badge-a { left: -12px; bottom: 64px; }
.badge-b { right: 150px; top: 0; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Teknolojiler ---------- */
.tech { padding: 40px 0; border-block: 1px solid var(--border); background: var(--bg-alt); }
.tech-title { text-align: center; margin: 0 0 22px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.marquee {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { list-style: none; display: flex; flex-shrink: 0; gap: 52px; padding-right: 52px; animation: marquee 45s linear infinite; }
.marquee-track li { font-weight: 700; font-size: 1.15rem; color: var(--marquee); white-space: nowrap; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Hizmetler ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.service { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.service:hover { transform: translateY(-4px); border-color: rgba(124, 108, 255, 0.45); box-shadow: 0 24px 50px -28px rgba(124, 108, 255, 0.55); }
.service { padding-top: 0; overflow: hidden; }
.service-media { position: relative; margin: 0 -28px; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.service-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(11, 15, 26, 0.35)); }
.service:hover .service-media img { transform: scale(1.05); }
/* İkon, fotoğrafın alt kenarına taşar */
.service .icon {
  position: relative; z-index: 1; margin: -24px 0 18px;
  background: linear-gradient(rgba(124, 108, 255, 0.14), rgba(124, 108, 255, 0.14)), var(--surface);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.45);
}
.service p { color: var(--muted); }
.service ul { list-style: none; display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 14.5px; font-weight: 500; }
.service li { position: relative; padding-left: 20px; }
.service li::before { content: ""; position: absolute; left: 2px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

/* ---------- Çalışmalar ---------- */
.project { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.project-media { position: relative; padding-right: 56px; padding-bottom: 40px; }
.browser img { width: 100%; height: auto; }
.project-media .phone-shot { width: 150px; height: 325px; border-width: 6px; border-radius: 28px; }
.phone-shot::before { display: none; }
.phone-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.project-meta { color: var(--accent-ink); font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.project-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; }
.project-body > p:not(.project-meta) { color: var(--muted); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 13px; font-weight: 600; color: var(--muted); }

/* Fotoğraf arka planlı çağrı bandı — iki temada da koyu kalır */
.next-project {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: clamp(32px, 5vw, 52px) clamp(24px, 5vw, 56px); border-radius: var(--radius);
  border: 1px solid rgba(124, 108, 255, 0.35); background: #0b0f1a; color: #fff;
}
.next-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.next-project::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(11, 15, 26, 0.94) 0%, rgba(11, 15, 26, 0.78) 55%, rgba(60, 44, 170, 0.5) 100%);
}
.next-project h3 { margin-bottom: 6px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; }
.next-project p { margin: 0; color: rgba(233, 237, 246, 0.82); max-width: 520px; }

/* ---------- Süreç ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--border-strong); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 56px; height: 2px; background: var(--grad); }
.step-no { display: block; margin-bottom: 14px; font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Hakkımızda ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-copy p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.about-copy .btn { margin-top: 12px; }

/* Fotoğraf kolajı: büyük dikey fotoğraf + sağ altta taşan kare fotoğraf */
.about-media { position: relative; max-width: 540px; padding-bottom: 56px; }
.about-media img { height: auto; border-radius: 24px; object-fit: cover; box-shadow: var(--shadow); }
.about-img-main { width: 76%; aspect-ratio: 4 / 5; }
.about-img-sub { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border: 6px solid var(--bg-alt); }
.about-badge { right: 2%; top: 32px; animation-delay: -2s; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(56px, 8vw, 88px); }
.why { padding: 24px; }
.why .icon { margin-bottom: 18px; }
.why h3 { font-size: 1.08rem; }
.why p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- SSS ---------- */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 48px 22px 0; font-weight: 600; font-size: 1.08rem; transition: color .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--primary-ink); }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--muted); padding: 0 48px 24px 0; margin: 0; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ---------- İletişim ---------- */
.section-contact { position: relative; isolation: isolate; overflow: clip; background: var(--bg-alt); border-top: 1px solid var(--border); }
.section-contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px 400px at 15% 30%, var(--glow-1), transparent 70%);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 72px); align-items: start; }
.contact-info > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; max-width: 440px; }
.contact-list { list-style: none; display: grid; gap: 20px; margin-top: 36px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }
.contact-list a, .contact-list span:not(.icon) { font-weight: 600; }
.contact-list address { font-style: normal; font-weight: 600; line-height: 1.5; }
.contact-list a:hover { color: var(--primary-ink); }

.contact-form { padding: clamp(24px, 4vw, 36px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; font-size: 15px;
  background: var(--input-bg); border: 1px solid var(--border-strong);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .3s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field ::placeholder { color: var(--muted); opacity: .75; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%238b94a8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field select option { background: var(--surface); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(124, 108, 255, 0.2); }
.field .invalid { border-color: var(--err); }
.field .invalid:focus { box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.2); }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-form button[type="submit"] { position: relative; margin-top: 6px; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin .7s linear infinite; }
.loading .spinner { display: inline-block; }
.loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-note { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.form-note a { color: var(--primary-ink); text-decoration: underline; text-underline-offset: 2px; }
.form-status { margin: 12px 0 0; font-size: 14.5px; font-weight: 600; text-align: center; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); max-width: 320px; margin-top: 18px; font-size: 15px; }
.site-footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer ul a { color: var(--text); opacity: .8; font-size: 15px; transition: opacity .2s ease, color .2s ease; }
.site-footer ul a:hover { opacity: 1; color: var(--primary-ink); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 56px; padding-block: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px;
}
.footer-bottom p { margin: 0; }
.to-top:hover { color: var(--text); }
.footer-address { font-style: normal; margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- Alt sayfalar (privacy, 404) ---------- */
.page { padding: calc(var(--header-h) + 64px) 0 96px; min-height: 70vh; }
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 40px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 22px; display: grid; gap: 6px; margin-bottom: 1em; }
.legal a { color: var(--primary-ink); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--text); }
.not-found { text-align: center; display: grid; place-items: center; }
.not-found .code { font-size: clamp(6rem, 20vw, 10rem); font-weight: 800; line-height: 1; letter-spacing: -0.05em; margin-bottom: 12px; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found p { color: var(--muted); max-width: 460px; margin-inline: auto; margin-bottom: 28px; }

/* ---------- Kaydırınca beliren animasyon ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- Duyarlı (responsive) ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-visual { max-width: 580px; width: 100%; margin-inline: auto; }
  .project { grid-template-columns: 1fr; }
  .project-media { max-width: 720px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { margin-inline: auto; width: 100%; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 8px 20px 24px; background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.35);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a:not(.btn) { padding: 15px 4px; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid var(--border); background: none !important; }
  .nav-cta-mobile { display: block; margin-top: 20px; }
  .nav-cta-mobile .btn { width: 100%; padding: 14px; }
  .nav-cta-mobile.nav-call { margin-top: 10px; }
  .header-actions { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .header-cta { display: none; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-visual { height: 380px; }
  .code-window { width: 100%; top: 0; }
  .code-window pre { font-size: 12px; padding: 16px; }
  .phone { width: 150px; height: 300px; border-width: 6px; border-radius: 28px; right: -4px; }
  .phone::before { width: 48px; height: 14px; top: 6px; }
  .phone-screen { padding: 28px 10px 10px; gap: 8px; }
  .app-card strong { font-size: 18px; }
  .app-bars { height: 38px; }
  .app-row { padding: 8px; }
  .float-badge { font-size: 13px; padding: 8px 14px 8px 8px; }
  .badge-a { left: 0; bottom: 24px; }
  .badge-b { display: none; }
  .project-media { padding-right: 36px; padding-bottom: 28px; }
  .project-media .phone-shot { width: 96px; height: 208px; border-width: 4px; border-radius: 18px; }
  .next-project { flex-direction: column; align-items: flex-start; padding: 24px; }
  .why-grid, .field-row { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .faq summary { padding-right: 36px; }
  .faq details p { padding-right: 0; }
  .footer-grid { gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding: 0 16px; flex-shrink: 1; }
  .marquee-track[aria-hidden="true"] { display: none; }
}
