/* =========================================================
   Foundable tarzı: gökyüzü, yumuşak beyaz kartlar
   ========================================================= */
:root {
  --bg: #f5f8fd;
  --surface: #ffffff;
  --surface-2: #eef3fb;
  --text: #0b1220;
  --muted: #5b6b85;
  --line: #e4eaf4;
  --line-strong: #cfd9e8;
  --invert: #0b1220;
  --invert-text: #ffffff;
  --accent: #3b82f6;
  --accent-soft: #e6f0fe;
  --card-shadow: 0 1px 2px rgba(16,24,40,.04), 0 14px 36px -14px rgba(30,70,140,.18);
  --card-shadow-hover: 0 1px 2px rgba(16,24,40,.05), 0 24px 50px -16px rgba(30,70,140,.3);
  --radius: 24px;
  --dot: rgba(30,60,120,.16);
}
:root[data-theme="dark"] {
  --bg: #070c18;
  --surface: #0f172a;
  --surface-2: #16213a;
  --text: #eef3fb;
  --muted: #93a1ba;
  --line: #1c2741;
  --line-strong: #2b3a5a;
  --invert: #eef3fb;
  --invert-text: #0b1220;
  --accent: #6aa5ff;
  --accent-soft: #15284a;
  --card-shadow: 0 1px 2px rgba(0,0,0,.4), 0 14px 36px -14px rgba(0,0,0,.6);
  --card-shadow-hover: 0 1px 2px rgba(0,0,0,.4), 0 24px 50px -16px rgba(0,0,0,.8);
  --dot: rgba(160,190,255,.12);
}

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
/* Arka planda küçük nokta ızgarası */
body { font-size: 15px; background-image: radial-gradient(var(--dot) 1px, transparent 1.4px); background-size: 22px 22px; background-attachment: fixed; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.muted { color: var(--muted); }
.btn { border-radius: 999px; font-weight: 600; }
.btn-block { width: 100%; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .3s, border-color .3s, transform .5s var(--ease), box-shadow .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-color: var(--line); }
.nav.hide { transform: translateY(-110%); }
.nav-inner { display: flex; align-items: center; height: 72px; gap: 32px; }
/* Logo: bulut ikonu + "hello" (serif italik) "serdal" (grotesk) */
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 4px 12px -4px rgba(30,70,140,.45); transition: transform .45s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-text { font-family: var(--font-display); font-weight: 600; font-size: 23px; line-height: 1; letter-spacing: -.035em; text-transform: lowercase; white-space: nowrap; }
/* "hello": aynı serif italik; daha büyük ve ince bir kontur ile daha dolgun */
.logo-text em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; font-size: 1.42em; letter-spacing: -.01em; margin-right: .02em; color: #1f5fd6; -webkit-text-stroke: .45px currentColor; }
.nav.at-hero .logo-text em { color: #0b2a6b; }
:root[data-theme="dark"] .logo-text em, :root[data-theme="dark"] .nav.at-hero .logo-text em { color: #a9ccff; }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--text); opacity: .82; transition: opacity .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; background: color-mix(in srgb, var(--text) 7%, transparent); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-actions .icon-btn { width: 38px; height: 38px; background: transparent; }
.nav-actions .icon-btn i { font-size: 18px; }
.nav-login { font-size: 15px; font-weight: 500; padding: 8px 10px; }
.nav-cta { height: 44px; padding: 0 22px; font-size: 15px; }
.menu-btn { display: none; }

/* Hero üzerindeyken: şeffaf, gökyüzüne uygun renkler */
.nav.at-hero { --text: #0b1220; --line: rgba(255,255,255,.6); --invert: #0b1220; --invert-text: #fff; color: #0b1220; }
:root[data-theme="dark"] .nav.at-hero { --text: #fff; --line: rgba(255,255,255,.25); --invert: #fff; --invert-text: #0b1220; color: #fff; }

@media (max-width: 900px) {
  .nav-login { display: none; }
  .menu-btn { display: inline-grid; }
  .nav-links {
    position: absolute; top: 72px; left: 16px; right: 16px; flex-direction: column; padding: 8px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--card-shadow);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .nav.at-hero .nav-links { --text: #0b1220; }
  :root[data-theme="dark"] .nav.at-hero .nav-links { --text: #eef3fb; }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 16px; font-size: 16px; }
}
@media (max-width: 480px) { .nav-cta { height: 38px; padding: 0 16px; font-size: 14px; } .logo-text { font-size: 20px; } .logo-mark { width: 30px; height: 30px; } .nav-inner { gap: 12px; } }
@media (max-width: 380px) { .nav .logo-text { display: none; } }

/* =========================================================
   HERO — gökyüzü, gerçekçi bulutlar, maskot ve fikir kutusu
   ========================================================= */
.hx {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: center;
  padding: 130px 20px 32vh; color: #0b1220;
  background: linear-gradient(to bottom, #5d9be9 0%, #72aaec 28%, #92c0f1 58%, #b7d6f6 82%, #d7e8fb 100%);
}
:root[data-theme="dark"] .hx { color: #fff; background: linear-gradient(to bottom, #050b1f 0%, #0d1d45 35%, #1c3a78 70%, #3b5f9f 100%); }
.hx::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 0; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.hx-bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; will-change: transform; }
.hx-bg.has-img .hx-scene { display: none; }
.hx-scene, .hx-scene svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; }
.hx-scene .clouds { width: 112%; left: -6%; }
.hx-scene .far { opacity: .9; animation: drift 140s linear infinite alternate; }
.hx-scene .near { animation: drift 90s linear infinite alternate-reverse; }
:root[data-theme="dark"] .hx-scene .clouds { filter: brightness(.55) saturate(1.3) hue-rotate(-8deg); opacity: .75; }
@keyframes drift { to { transform: translateX(5%); } }
/* Gece yıldızları */
:root[data-theme="dark"] .hx-bg::before { content: ''; position: absolute; inset: 0 0 40% 0; opacity: .8;
  background-image: radial-gradient(1px 1px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 8%, #fff, transparent), radial-gradient(1.5px 1.5px at 52% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 14%, #fff, transparent), radial-gradient(1px 1px at 85% 32%, #fff, transparent), radial-gradient(1.5px 1.5px at 18% 44%, #fff, transparent), radial-gradient(1px 1px at 92% 6%, #fff, transparent), radial-gradient(1px 1px at 62% 48%, #fff, transparent); }

.hx-content { position: relative; z-index: 1; width: 100%; max-width: 900px; display: flex; flex-direction: column; align-items: center; text-align: center; }

.mascot { width: 100px; margin-bottom: 30px; animation: bob 4.5s ease-in-out infinite; cursor: pointer; }
.mascot svg { display: block; width: 100%; overflow: visible; }
.mascot .m-open { opacity: 0; }
.mascot.listening .m-happy { opacity: 0; }
.mascot.listening .m-open { opacity: 1; }
.mascot .m-eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.mascot.wiggle { animation: wiggle .7s var(--ease); }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes wiggle { 25% { transform: rotate(-10deg) scale(1.08); } 60% { transform: rotate(8deg) scale(1.05); } }

.hx-title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(38px, 5.6vw, 76px); line-height: 1.04; letter-spacing: -.045em; }
.hx-title .w { display: inline-block; }
.hx-sub { margin: 18px 0 40px; font-size: clamp(15px, 1.4vw, 19px); color: #24324f; max-width: 620px; }
:root[data-theme="dark"] .hx-sub { color: #c4d2ec; }

.idea { position: relative; width: 100%; max-width: 860px; text-align: left; }
.idea-main, .idea-done {
  border-radius: 26px; background: linear-gradient(to bottom, #ffffff 0%, #f7fafe 55%, #edf4fd 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 20px 50px -12px rgba(30,70,140,.35), 0 2px 6px rgba(30,70,140,.08);
  border: 1px solid rgba(255,255,255,.9);
}
.idea-main { padding: 20px 20px 14px 24px; transition: box-shadow .3s; }
.idea-main:focus-within { box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 26px 60px -12px rgba(30,70,140,.45), 0 0 0 4px rgba(255,255,255,.5); }
.idea textarea { width: 100%; min-height: 64px; max-height: 260px; border: 0; outline: 0; resize: none; background: none; color: #0b1220; font-size: 16px; line-height: 1.55; }
.idea textarea::placeholder { color: #8a93a3; }
.idea-bar { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.idea-contact { display: flex; gap: 8px; flex: 1; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.idea.has-text .idea-contact { opacity: 1; transform: none; pointer-events: auto; }
.idea-contact input { flex: 1; min-width: 0; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid #dfe6f1; background: #fff; color: #0b1220; font-size: 14px; outline: 0; transition: border-color .2s; }
.idea-contact input:focus { border-color: #0b1220; }
.idea-contact input.invalid, .idea textarea.invalid::placeholder { border-color: #e5484d; }
.idea-send { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: #a3abb6; color: #fff; font-size: 18px; transition: background .25s, transform .25s var(--ease); }
.idea.has-text .idea-send { background: #0b1220; }
.idea-send:hover { transform: translateY(-2px); }
.idea-send:disabled i { animation: spin 1s linear infinite; }
.idea.shake .idea-main { animation: shake .4s; }
@keyframes shake { 20%,60% { transform: translateX(-8px); } 40%,80% { transform: translateX(8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.idea-done { padding: 34px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; animation: pop .5s var(--ease); }
.idea-done b { font-size: 18px; color: #0b1220; }
.idea-done p { margin: 0 0 10px; color: #4a5872; font-size: 14px; }
.idea-check { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #0b1220; color: #fff; font-size: 22px; margin-bottom: 8px; }
.idea-again { border: 0; background: none; color: #24324f; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

.idea-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.idea-chips button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; color: #1d2a44;
  background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .2s, transform .2s var(--ease); }
.idea-chips button:hover { background: rgba(255,255,255,.85); transform: translateY(-1px); }
:root[data-theme="dark"] .idea-chips button { color: #e6edfa; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.idea-chips i { font-size: 15px; }

.hx-scroll { position: absolute; z-index: 1; bottom: 36px; left: 50%; width: 24px; height: 38px; margin-left: -12px; border: 1.5px solid color-mix(in srgb, var(--text) 40%, transparent); border-radius: 13px; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.hx-scroll:hover { border-color: var(--text); }
.hx-scroll.gone { opacity: 0; transform: translateY(10px); pointer-events: none; }
.hx-scroll span { position: absolute; top: 6px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

@media (max-width: 600px) {
  .hx { padding: 104px 16px 34vh; }
  .mascot { width: 80px; margin-bottom: 22px; }
  .hx-sub { margin-bottom: 28px; }
  .idea-main { padding: 16px 14px 12px 18px; border-radius: 22px; }
  .idea-bar { flex-wrap: wrap; }
  .idea-contact { flex-basis: 100%; flex-direction: column; }
  .idea:not(.has-text) .idea-contact { display: none; }
  .hx-scroll { bottom: 24px; }
}

/* ---------- Teknoloji şeridi ---------- */
.strip { position: relative; z-index: 2; padding: 56px 0 8px; text-align: center; }
.strip-label { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 45s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); font-weight: 600; font-size: 15px; white-space: nowrap; color: var(--text); }
.marquee-track i { font-size: 20px; color: var(--accent); }
.marquee-track img { width: 22px; height: 22px; object-fit: contain; }
.marquee-track img + img { margin-left: -2px; }
:root[data-theme="dark"] .marquee-track img.mono { filter: invert(1); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* ---------- Bölüm başlıkları ---------- */
.section { padding-top: 120px; }
.s-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); font-size: 13px; font-weight: 600; color: var(--text); }
.eyebrow i { font-size: 16px; color: var(--accent); }
.s-head h2 { margin: 18px 0 0; font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 54px); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; }
.s-head p { margin: 14px auto 0; color: var(--muted); font-size: 17px; max-width: 520px; }

/* ---------- Hizmetler ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.feature { position: relative; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.feature::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, var(--accent-soft), transparent 70%); opacity: 0; transition: opacity .4s; }
.feature:hover::after { opacity: 1; }
.f-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; color: var(--accent); background: var(--accent-soft); margin-bottom: 22px; transition: transform .45s var(--ease); }
.feature:hover .f-icon { transform: rotate(-8deg) scale(1.08); }
.feature h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ---------- İki sütunlu bölüm (sol: yapışkan başlık, sağ: liste) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.split-head { position: sticky; top: 110px; }
.split-head h2 { margin: 18px 0 0; font-family: var(--font-display); font-size: clamp(36px, 4.6vw, 60px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; }
.split-head p { margin: 16px 0 0; color: var(--muted); font-size: 17px; max-width: 380px; }
.split-cta { margin-top: 28px; height: 46px; padding: 0 22px; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-head { position: static; text-align: center; }
  .split-head p { margin-left: auto; margin-right: auto; }
}

/* ---------- Süreç ---------- */
.steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-strong); }
.step { display: grid; grid-template-columns: 72px 1fr auto; gap: 20px; align-items: start; padding: 30px 4px; border-bottom: 1px solid var(--line-strong); transition: padding .4s var(--ease); }
.step:hover { padding-left: 14px; }
.step-num { padding-top: 2px; font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--muted); }
.step h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 520px; }
.step-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; background: var(--surface); border: 1px solid var(--line); color: var(--accent); box-shadow: var(--card-shadow); transition: background .3s, color .3s, transform .45s var(--ease); }
.step:hover .step-icon { background: var(--invert); color: var(--invert-text); border-color: var(--invert); transform: rotate(-12deg); }
@media (max-width: 600px) {
  .step { grid-template-columns: 40px 1fr; padding: 24px 0; }
  .step:hover { padding-left: 0; }
  .step-icon { display: none; }
}

/* ---------- Projeler ---------- */
.filters { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin: -16px 0 32px; }
.chip { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 500; color: var(--muted); transition: all .2s; }
.chip:hover { color: var(--text); }
.chip.active { background: var(--invert); color: var(--invert-text); border-color: var(--invert); }
.chip sup { font-size: 10px; margin-left: 3px; opacity: .6; }

.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.project { position: relative; cursor: pointer; padding: 10px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); transition: transform .4s var(--ease), box-shadow .4s; }
.project:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.project.wide { grid-column: 1 / -1; }
.project.wide .p-cover { aspect-ratio: 21 / 9; }
.p-cover { position: relative; aspect-ratio: 40 / 21; overflow: hidden; border-radius: 20px; background: linear-gradient(160deg, #cfe3fb, #eaf2fd); }
:root[data-theme="dark"] .p-cover { background: linear-gradient(160deg, #16213a, #0f172a); }
.p-cover img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; transition: scale .9s var(--ease); }
.project:hover .p-cover img { scale: 1.04; }
.p-placeholder { position: absolute; inset: 0; display: grid; place-items: center; }
.p-placeholder b { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(64px, 9vw, 120px); color: var(--accent); opacity: .85; }
.p-badge { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.9); color: #0b1220; font-size: 12px; font-weight: 600; backdrop-filter: blur(6px); }
.p-badge i { color: #f5b301; }
.p-arrow { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0b1220; font-size: 19px; box-shadow: 0 8px 20px -6px rgba(0,0,0,.3); transform: scale(.6) rotate(-45deg); opacity: 0; transition: all .45s var(--ease); }
.project:hover .p-arrow { transform: none; opacity: 1; }
.p-info { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 16px 10px 8px; }
.p-info h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.p-info p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.p-meta { white-space: nowrap; font-size: 12px; color: var(--muted); padding: 4px 10px; border-radius: 999px; background: var(--surface-2); }
.p-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.p-tags span { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 500; }
.empty { text-align: center; padding: 60px 0; color: var(--muted); }
@media (max-width: 760px) {
  .projects { grid-template-columns: 1fr; }
  .project.wide .p-cover { aspect-ratio: 40 / 21; }
  .p-arrow { opacity: 1; transform: none; width: 40px; height: 40px; }
}

/* ---------- Hakkımda ---------- */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
.profile-card { position: sticky; top: 96px; padding: 14px 14px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.avatar { width: 100%; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, #8fbdf2, #d7e8fb); display: grid; place-items: center; margin-bottom: 18px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar .initial { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: 120px; color: #fff; }
.status { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; background: #e9f9ef; color: #137a3b; font-size: 12px; font-weight: 600; }
:root[data-theme="dark"] .status { background: #0f2a1b; color: #6fdc98; }
.status .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; position: relative; }
.status .dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #22c55e; animation: ping 1.8s var(--ease) infinite; }
.status.off { background: var(--surface-2); color: var(--muted); }
.status.off .dot { background: var(--muted); }
.status.off .dot::after { display: none; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.profile-card h3 { margin: 14px 0 2px; font-family: var(--font-display); font-size: 24px; letter-spacing: -.03em; }
.profile-card > p { margin: 0; font-size: 14px; }
.profile-card > .p-tagline { margin: 8px 0 2px; max-width: 280px; font-size: 14px; line-height: 1.5; font-style: italic; color: color-mix(in srgb, var(--text) 75%, var(--muted)); }
.profile-card .loc { margin-top: 6px; color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin: 20px 0 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.stat span { font-size: 11px; color: var(--muted); }
.socials { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--text); font-size: 19px; transition: background .2s, color .2s, transform .2s var(--ease); }
.socials a:hover { background: var(--invert); color: var(--invert-text); transform: translateY(-2px); }

.about-right { display: flex; flex-direction: column; gap: 20px; }
.about-right .card { padding: 28px; }
.bio { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; letter-spacing: -.01em; font-weight: 500; }
.bio p { margin: 0 0 .8em; }
.bio p:last-child { margin-bottom: 0; }
.bio p + p { color: var(--muted); font-size: .82em; font-weight: 400; }
.card-title { display: flex; align-items: center; gap: 8px; margin: 0 0 20px; font-size: 16px; font-weight: 600; }
.card-title i { font-size: 20px; color: var(--accent); }
.skills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 32px; }
.skill-top { display: flex; justify-content: space-between; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.skill-top span:last-child { color: var(--muted); font-size: 12px; }
.skill-bar { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.skill-bar i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #8fbdf2, var(--accent)); transition: width 1.4s var(--ease); }
/* Deneyim: LinkedIn tarzı liste */
.timeline { margin: 0 -12px; }
.xp { display: flex; align-items: flex-start; gap: 14px; padding: 14px 12px; border-radius: 14px; color: var(--text); transition: background .2s; }
.xp + .xp { border-top: 1px solid var(--line); border-top-left-radius: 0; border-top-right-radius: 0; }
a.xp:hover { background: var(--surface-2); }
.xp-logo { width: 30px; height: 30px; margin-top: 1px; flex-shrink: 0; display: grid; place-items: center; }
.xp-logo img, .xp-logo .svg-logo, .xp-logo svg { display: block; width: 100%; height: 100%; object-fit: contain; }
.xp-logo .logo-initial { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 14px; }
.xp-body { flex: 1; min-width: 0; }
.xp-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.xp-top h4 { margin: 0; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
.xp-top h4 i { font-size: 12px; color: var(--muted); opacity: 0; transition: opacity .2s; }
a.xp:hover .xp-top h4 i { opacity: 1; }
.xp-date { font-size: 12px; color: var(--muted); white-space: nowrap; }
.xp-date.on { display: inline-flex; align-items: center; gap: 6px; color: #137a3b; font-weight: 500; }
.xp-date.on::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; }
:root[data-theme="dark"] .xp-date.on { color: #6fdc98; }
.xp-role { margin: 1px 0 0; font-size: 13.5px; font-weight: 500; color: color-mix(in srgb, var(--text) 75%, var(--muted)); }
.xp-role span { font-weight: 400; color: var(--muted); }
.xp-desc { margin: 4px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--muted); }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .profile-card { position: static; max-width: 420px; width: 100%; margin: 0 auto; }
  .skills { grid-template-columns: 1fr; }
}

/* ---------- SSS ---------- */
.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; border: 0; background: none; text-align: left; font-family: var(--font-display); font-size: clamp(17px, 1.7vw, 20px); font-weight: 600; letter-spacing: -.02em; color: var(--text); transition: opacity .2s; }
.faq-q:hover { opacity: .75; }
.faq-q i { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); font-size: 15px; transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s; }
.faq-item.open .faq-q i { transform: rotate(45deg); background: var(--invert); color: var(--invert-text); border-color: var(--invert); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 60px 26px 4px; color: var(--muted); font-size: 15.5px; line-height: 1.7; white-space: pre-line; }
@media (max-width: 600px) { .faq-a p { padding-right: 0; } }

/* ---------- Kapanış / iletişim ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; padding: 80px 64px 88px; color: #0b1220;
  background: linear-gradient(to bottom, #5d9be9 0%, #80b4ef 45%, #b7d6f6 100%); box-shadow: var(--card-shadow); }
:root[data-theme="dark"] .cta { color: #fff; background: linear-gradient(to bottom, #0a1636 0%, #1a356f 60%, #2f548f 100%); }
.cta-clouds { position: absolute; left: -6%; bottom: -12%; width: 112%; height: 90%; z-index: -1; animation: drift 90s linear infinite alternate; }
:root[data-theme="dark"] .cta-clouds { filter: brightness(.55) saturate(1.3); opacity: .7; }
.cta-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.cta h2 { margin: 0; font-family: var(--font-display); font-size: clamp(44px, 6.4vw, 88px); font-weight: 600; letter-spacing: -.05em; line-height: .98; }
.cta-kicker { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; margin-bottom: 20px; border-radius: 999px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; color: #0b1220; }
.cta-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
:root[data-theme="dark"] .cta-kicker { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff; }
.cf-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; margin-bottom: 2px; border-bottom: 1px solid var(--line); }
.cf-head b { font-family: var(--font-display); font-size: 18px; letter-spacing: -.02em; }
.cf-head span { font-size: 12px; color: var(--muted); }
.cta-text > p { margin: 16px 0 26px; font-size: 16px; color: #24324f; max-width: 420px; }
:root[data-theme="dark"] .cta-text > p { color: #c4d2ec; }
.email-link { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; border: 1px solid rgba(255,255,255,.8); border-radius: 999px; background: rgba(255,255,255,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #0b1220; font-size: 15px; font-weight: 600; transition: background .2s; max-width: 100%; }
.email-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.email-link i { font-size: 18px; }
.email-link i:last-child { opacity: .5; }
.email-link:hover { background: #fff; }
.contact-meta { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; font-weight: 500; }
.contact-meta li { display: flex; align-items: center; gap: 10px; }
.contact-meta i { font-size: 18px; }
.contact-form { display: flex; flex-direction: column; gap: 14px; padding: 28px; color: var(--text); box-shadow: 0 30px 70px -24px rgba(20,50,110,.45); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* Yüzen etiket: alanın içinde durur, tıklayınca/doluyken üst kenara çıkar */
.field.float { position: relative; display: block; }
.field.float > span { position: absolute; left: 11px; top: 22px; transform: translateY(-50%); padding: 0 5px; border-radius: 6px; font-size: 15px; font-weight: 400; color: var(--muted); pointer-events: none; transition: top .25s var(--ease), font-size .25s var(--ease), color .2s, background .2s; }
.field.float .input, .field.float .textarea { min-height: 48px; }
.field.float .input:focus + span, .field.float .input:not(:placeholder-shown) + span,
.field.float .textarea:focus + span, .field.float .textarea:not(:placeholder-shown) + span { top: 0; font-size: 12px; font-weight: 500; color: var(--text); background: var(--surface); }
.field.float .invalid + span { color: #e5484d; }
.input, .textarea { border-radius: 14px; background: var(--bg); font-size: 15px; }
.contact-form .input.invalid, .contact-form .textarea.invalid { border-color: #e5484d; }
@media (max-width: 900px) {
  .cta { padding: 44px 20px 24px; border-radius: 28px; }
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 18px; }
  .contact-form .row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; margin-top: 120px; padding-top: 72px; border-top: 1px solid var(--line); background: var(--surface) radial-gradient(var(--dot) 1px, transparent 1.4px) 0 0 / 22px 22px fixed; }
.f-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; align-items: start; padding-bottom: 56px; }
.f-brand .logo-mark { width: 40px; height: 40px; border-radius: 11px; }
.f-brand .logo-text { font-size: 28px; }
.f-brand p { margin: 14px 0 22px; font-size: 15px; color: var(--muted); max-width: 320px; }
.f-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.f-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.f-col > div { display: contents; }
.f-col h4 { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.f-col a { display: inline-flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 500; color: var(--text); opacity: .8; transition: opacity .2s, transform .25s var(--ease); }
.f-col a:hover { opacity: 1; transform: translateX(3px); }
.f-col a i { font-size: 13px; opacity: .5; }
.f-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.f-bottom-right { display: flex; align-items: center; gap: 14px; }
.footer .socials { margin: 0; gap: 6px; }
.footer .socials a { width: 36px; height: 36px; border-radius: 50%; font-size: 17px; background: transparent; border: 1px solid var(--line); }
.f-panel { display: inline-flex; align-items: center; gap: 6px; padding-left: 14px; border-left: 1px solid var(--line); }
.f-panel:hover { color: var(--text); }
/* Dev marka yazısı: alttan kırpılmış, soluklaşan */
.f-mark { text-transform: lowercase; font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-size: clamp(72px, 17vw, 250px); line-height: .78; letter-spacing: -.03em; text-align: center; white-space: nowrap; margin-bottom: -.12em; padding-top: 12px; user-select: none; pointer-events: none;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--accent) 55%, var(--text)) 0%, transparent 92%); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .22; }
@media (max-width: 900px) {
  .f-top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
}
@media (max-width: 520px) {
  .f-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .f-bottom { flex-direction: column-reverse; align-items: flex-start; }
}

/* ---------- Proje detay sayfası (/proje/...) ---------- */
.tag { padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 500; }
.pd { padding-top: 112px; }
.pd-links { flex: 1; }
.pd-links a { display: inline-flex; align-items: center; gap: 6px; }
.pd-crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.pd-crumbs a:hover { color: var(--text); }
.pd-crumbs i { font-size: 11px; opacity: .6; }
.pd-crumbs span { color: var(--text); font-weight: 500; }
.pd-head { max-width: 820px; margin: 40px 0 36px; }
.pd-head h1 { margin: 18px 0 0; font-family: var(--font-display); font-size: clamp(40px, 6.4vw, 84px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.pd-lead { margin: 18px 0 0; font-size: clamp(17px, 1.8vw, 21px); color: var(--muted); max-width: 640px; line-height: 1.5; }
.pd-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.pd-cover { position: relative; margin: 0; padding: 10px; border-radius: 32px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.pd-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; }
.pd-cover .p-placeholder { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; background: linear-gradient(160deg, #cfe3fb, #eaf2fd); }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; margin-top: 64px; }
.pd-body h2, .pd-more h2 { margin: 0 0 18px; font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.035em; }
.pd-body p { margin: 0 0 1.1em; font-size: 17px; line-height: 1.75; color: color-mix(in srgb, var(--text) 82%, var(--muted)); }
.pd-facts { position: sticky; top: 96px; padding: 24px; }
.pd-facts dl { margin: 0 0 20px; }
.pd-fact { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pd-fact:first-child { padding-top: 0; }
.pd-fact dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pd-fact dd { margin: 0; font-size: 15px; font-weight: 500; }
.pd-fact dd a { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); }
.pd-fact dd a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pd-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.pd-pager a { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--card-shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.pd-pager a:hover { transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.pd-pager small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.pd-pager b { font-family: var(--font-display); font-size: 20px; letter-spacing: -.02em; }
.pd-next { text-align: right; align-items: flex-end; }
.pd-more { margin-top: 96px; }
.pd-others { grid-template-columns: repeat(3, 1fr); }
.pd-others .p-info p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pd-footer { margin-top: 96px; padding-top: 0; }
.pd-footer .f-bottom { border-top: 0; }
@media (max-width: 900px) {
  .pd { padding-top: 96px; }
  .pd-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .pd-facts { position: static; }
  .pd-others { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pd-links { display: none; }
  .pd-cover { padding: 6px; border-radius: 22px; }
  .pd-cover img, .pd-cover .p-placeholder { border-radius: 17px; }
  .pd-pager { grid-template-columns: 1fr; }
  .pd-others { grid-template-columns: 1fr; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.has-gsap .reveal { transition: none; }

@media (max-width: 900px), (hover: none), (pointer: coarse) {
  /* Mobilde ve dokunmatik cihazlarda hızlı kaydırma sırasında içerik gecikmesin */
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* =========================================================
   MOBİL İYİLEŞTİRMELERİ
   ========================================================= */
html { -webkit-tap-highlight-color: transparent; }
.nav-links a.nav-mobile-only { display: none; }
@media (max-width: 900px) { .nav-links a.nav-mobile-only:not([hidden]) { display: flex; } }
/* Dokunmatik cihazlarda "yapışkan" hover hareketlerini kapat */
@media (hover: none) {
  .project:hover, .feature:hover, .pd-pager a:hover, .brand:hover, .idea-chips button:hover, .f-col a:hover { transform: none; }
  .step:hover { padding-left: 4px; }
  .feature:hover .f-icon, .step:hover .step-icon { transform: none; }
}

/* Açılır menü: tam genişlik, büyük dokunma alanları */
@media (max-width: 900px) {
  .nav.menu-open { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-color: var(--line); }
  .nav-links { top: 68px; left: 12px; right: 12px; padding: 10px; gap: 2px; border-radius: 22px; box-shadow: 0 24px 60px -20px rgba(15,35,80,.35); }
  .nav-links a { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-radius: 14px; font-size: 17px; font-weight: 500; opacity: 1; }
  .nav-links a::after { content: '→'; font-size: 15px; color: var(--muted); }
  .nav-links a.active { background: var(--surface-2); }
}

@media (max-width: 600px) {
  /* Bölüm aralıkları ve başlıklar */
  .section { padding-top: 76px; }
  .s-head { margin-bottom: 30px; }
  .s-head h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .s-head p { font-size: 15.5px; }
  .eyebrow { height: 30px; font-size: 12.5px; }
  .strip { padding-top: 40px; }

  /* iOS, 16px altındaki alanlara odaklanınca sayfayı yakınlaştırır */
  .input, .textarea, .select, .idea-contact input { font-size: 16px; }

  /* Hero */
  .hx-title { font-size: clamp(34px, 10vw, 44px); }
  .idea-chips { gap: 6px; }
  .idea-chips button { height: 32px; padding: 0 12px; font-size: 12.5px; }

  /* Hakkımda */
  .about { gap: 14px; }
  .profile-card { padding: 12px 12px 20px; }
  .about-right { gap: 14px; }
  .about-right .card { padding: 22px 18px; }
  .bio { font-size: 17px; }
  .skills { grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .skill-top { font-size: 13px; margin-bottom: 6px; }

  /* Deneyim: başlık → rol → tarih → açıklama sırası */
  .timeline { margin: 0 -8px; }
  .xp { padding: 14px 8px; gap: 12px; }
  .xp-body { display: flex; flex-direction: column; }
  .xp-top { display: contents; }
  .xp-top h4 { order: 1; }
  .xp-role { order: 2; }
  .xp-date { order: 3; margin-top: 3px; white-space: normal; }
  .xp-desc { order: 4; }

  /* Hizmetler: kompakt yatay kartlar */
  .features { gap: 10px; }
  .feature { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: start; padding: 18px; border-radius: 20px; }
  .f-icon { width: 46px; height: 46px; margin: 0; grid-row: span 2; border-radius: 14px; font-size: 23px; }
  .feature h3 { margin: 2px 0 4px; font-size: 16.5px; }
  .feature p { font-size: 14px; line-height: 1.55; }

  /* Proje filtreleri: tek satır, yana kaydırılır */
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: -8px -16px 22px; padding: 2px 16px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .projects { gap: 14px; }
  .project { padding: 8px; border-radius: 24px; }
  .p-info { padding: 14px 8px 6px; }

  /* Süreç ve SSS */
  .split { gap: 28px; }
  .split-cta { margin-top: 20px; }
  .step { padding: 20px 0; }
  .faq-q { padding: 20px 2px; }

  /* Kapanış */
  .cta { padding: 36px 18px 18px; border-radius: 26px; }
  .cta h2 { font-size: clamp(40px, 12vw, 52px); }
  .cta-text > p { font-size: 15px; }
  .email-link { height: 46px; font-size: 14px; }
  .contact-form { padding: 18px 16px; border-radius: 20px; }

  /* Footer */
  .footer { margin-top: 80px; padding-top: 48px; }
  .f-brand p { margin-bottom: 18px; }
}

/* ---------- Dokunmatik cihazlarda kaydırma performansı ----------
   Sabit arka plan her kaydırmada tüm sayfayı yeniden boyatır; SVG filtreli bulutların
   sürekli kayması da her karede yeniden hesaplanır. Telefonlarda ikisini de kapat. */
@media (hover: none), (pointer: coarse) {
  body, .footer { background-attachment: scroll; }
  .hx-scene .far, .hx-scene .near, .cta-clouds { animation: none !important; }
  .hx-bg { will-change: auto; }
  /* Mobilde takılmayı önle: Ağır blur ve gölgeleri hafiflet */
  .nav.scrolled { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: var(--bg) !important; }
  .card { box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
/* Menü linkleri tarayıcı kaydırmasıyla gidince başlık sabit menünün altında kalmasın */
main > section[id] { scroll-margin-top: 76px; }
