/* ============================================================
   Aslain · Creative Developer — Tasarım Sistemi v2
   ============================================================ */

:root {
  --bg: #06060a;
  --bg-soft: #0c0c14;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f5fa;
  --text-soft: #aeaec4;
  --text-dim: #6a6a82;

  --accent: #7c5cff;
  --accent-2: #00e0c6;
  --accent-3: #ff5c93;

  --grad: linear-gradient(115deg, #9d7bff 0%, #00e0c6 100%);
  --grad-warm: linear-gradient(115deg, #ff5c93, #9d7bff);

  --radius: 22px;
  --radius-lg: 30px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --font-serif: "Instrument Serif", Georgia, serif;

  --glass: rgba(6, 6, 10, 0.6);
  --glass-strong: rgba(6, 6, 10, 0.96);
  --cursor-ring: rgba(255, 255, 255, 0.5);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.45);

  color-scheme: dark;
}

/* ---------- Açık tema ---------- */
[data-theme="light"] {
  --bg: #eef0f6;
  --bg-soft: #ffffff;
  --surface: rgba(12, 14, 30, 0.04);
  --surface-2: rgba(12, 14, 30, 0.07);
  --border: rgba(12, 14, 35, 0.10);
  --border-strong: rgba(12, 14, 35, 0.22);
  --text: #121420;
  --text-soft: #4a4d5e;
  --text-dim: #8488a0;
  --accent: #6a3cff;

  --glass: rgba(255, 255, 255, 0.7);
  --glass-strong: rgba(238, 240, 246, 0.97);
  --cursor-ring: rgba(20, 20, 40, 0.4);
  --shadow: 0 30px 70px rgba(40, 40, 90, 0.18);

  color-scheme: light;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--bg); transition: background 0.3s ease; }
/* Tema değişiminde tüm geçişleri kapat → anlık, donmasız renk değişimi */
html.theme-instant, html.theme-instant *, html.theme-instant *::before, html.theme-instant *::after { transition: none !important; animation-play-state: paused !important; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(124, 92, 255, 0.45); color: #fff; }
a { color: inherit; text-decoration: none; }
.mono { font-family: var(--font-mono); }

@media (pointer: fine) { body { cursor: none; } body a, body button { cursor: none; } }

/* ============================ Loader ============================ */
.loader {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader__word { display: flex; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 9vw, 4.4rem); letter-spacing: -0.04em; }
.loader__word span { display: inline-block; opacity: 0; transform: translateY(110%); animation: loadLetter 0.6s var(--ease) forwards; }
.loader__word span:nth-child(1){animation-delay:.04s} .loader__word span:nth-child(2){animation-delay:.08s} .loader__word span:nth-child(3){animation-delay:.12s} .loader__word span:nth-child(4){animation-delay:.16s} .loader__word span:nth-child(5){animation-delay:.2s} .loader__word span:nth-child(6){animation-delay:.24s} .loader__word span:nth-child(7){animation-delay:.28s} .loader__word span:nth-child(8){animation-delay:.32s} .loader__word span:nth-child(9){animation-delay:.36s} .loader__word span:nth-child(10){animation-delay:.4s} .loader__word span:nth-child(11){animation-delay:.44s}
@keyframes loadLetter { to { opacity: 1; transform: translateY(0); } }
.loader__count { font-family: var(--font-mono); font-size: 13px; color: var(--text-dim); }
.loader__bar { width: min(280px, 60vw); height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0%; background: var(--grad); }

/* ============================ Background ============================ */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: var(--bg); }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1s var(--ease); }
#three { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.4s var(--ease); }
#three.in { opacity: 0.92; }
[data-theme="light"] #three.in { opacity: 0.7; }
.bg.gl-on #gl { opacity: 1; }
.bg.gl-on .aurora, .bg.gl-on .orb { opacity: 0 !important; }
.aurora {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 50% at 20% 10%, rgba(124,92,255,0.22), transparent 70%),
    radial-gradient(35% 45% at 80% 20%, rgba(0,224,198,0.16), transparent 70%),
    radial-gradient(45% 50% at 60% 90%, rgba(255,92,147,0.14), transparent 70%);
  animation: aurora 24s ease-in-out infinite alternate;
}
@keyframes aurora { to { transform: translate3d(0, -6%, 0) scale(1.1) rotate(4deg); } }

.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.4; will-change: transform; }
.orb-1 { width: 480px; height: 480px; background: radial-gradient(circle, #7c5cff, transparent 70%); top: -100px; left: -60px; animation: float1 20s ease-in-out infinite; }
.orb-2 { width: 420px; height: 420px; background: radial-gradient(circle, #00e0c6, transparent 70%); top: 40%; right: -120px; animation: float2 24s ease-in-out infinite; }
.orb-3 { width: 380px; height: 380px; background: radial-gradient(circle, #ff5c93, transparent 70%); bottom: -80px; left: 35%; opacity: 0.3; animation: float3 28s ease-in-out infinite; }
@keyframes float1 { 50% { transform: translate(120px, 90px) scale(1.15); } }
@keyframes float2 { 50% { transform: translate(-110px, 120px) scale(0.9); } }
@keyframes float3 { 50% { transform: translate(90px, -80px) scale(1.1); } }
.noise {
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.035; mix-blend-mode: overlay;
  animation: grain 0.5s steps(3) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 33%{transform:translate(-6px,4px)} 66%{transform:translate(5px,-5px)} 100%{transform:translate(0,0)} }

/* ============================ Goo cursor ============================ */
.goo-defs { position: absolute; width: 0; height: 0; }
.goo { position: fixed; inset: 0; z-index: 1; pointer-events: none; filter: url(#goo); mix-blend-mode: screen; opacity: 0.4; }
[data-theme="light"] .goo { mix-blend-mode: multiply; opacity: 0.3; }
.goo span { position: absolute; top: 0; left: 0; border-radius: 50%; background: var(--accent); will-change: transform; }
.goo span:nth-child(1){ width: 26px; height: 26px; margin: -13px; }
.goo span:nth-child(2){ width: 20px; height: 20px; margin: -10px; background: var(--accent-2); }
.goo span:nth-child(3){ width: 15px; height: 15px; margin: -7px; background: var(--accent-3); }
.goo span:nth-child(4){ width: 10px; height: 10px; margin: -5px; background: var(--accent); }
@media (pointer: coarse) { .goo { display: none; } }

/* ============================ HUD ============================ */
.hud { position: fixed; left: clamp(16px, 4vw, 40px); bottom: 26px; z-index: 40; display: flex; flex-direction: column; gap: 4px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.5px; color: var(--text-dim); pointer-events: none; mix-blend-mode: difference; }
.hud__row i { color: var(--accent); margin: 0 1px; }
.hud em { color: var(--text-soft); font-style: normal; }
.hud__status { display: flex; align-items: center; gap: 6px; color: var(--accent-2); }
.hud__status b { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2); animation: pulse 2s infinite; }
@media (max-width: 700px) { .hud { display: none; } }

/* ============================ Cursor ============================ */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 200;
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1.5px solid var(--cursor-ring); border-radius: 50%;
  display: grid; place-items: center;
  pointer-events: none; opacity: 0;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease),
              background 0.3s, border-color 0.3s, opacity 0.3s;
}
.cursor-dot { position: fixed; top: 0; left: 0; z-index: 201; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: var(--text); border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
.cursor.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(124,92,255,0.18); border-color: transparent; }
.cursor__label { font-family: var(--font-display); font-weight: 600; font-size: 12px; color: #fff; opacity: 0; transform: scale(0.6); transition: opacity 0.25s, transform 0.25s; white-space: nowrap; }
.cursor.view { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--grad); border-color: transparent; mix-blend-mode: normal; }
.cursor.view .cursor__label { opacity: 1; transform: scale(1); color: #06060a; }
@media (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--grad); z-index: 100; box-shadow: 0 0 14px rgba(124,92,255,0.7); }

/* ============================ Navbar ============================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 48px);
  transition: padding 0.4s var(--ease);
}
.nav--scrolled { padding-top: 12px; padding-bottom: 12px; }
.nav--scrolled::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--glass); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav__right { display: flex; align-items: center; gap: 10px; }
.theme-toggle, .kbd-hint, .sound-toggle { color: var(--text); background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(8px); transition: background 0.25s, border-color 0.25s; }
.theme-toggle:hover, .kbd-hint:hover, .sound-toggle:hover { background: var(--surface-2); border-color: var(--border-strong); }
.theme-toggle, .sound-toggle { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.sound-toggle .off { display: none; }
.sound-toggle.muted .on { display: none; }
.sound-toggle.muted .off { display: block; color: var(--text-dim); }
.sound-toggle:not(.muted) { color: var(--accent-2); border-color: rgba(0,224,198,0.3); }
@media (max-width: 460px) { .sound-toggle { display: none; } }
.theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .moon { display: none; }
[data-theme="light"] .theme-toggle .sun { display: block; }
.kbd-hint { display: none; align-items: center; gap: 4px; padding: 8px 13px; border-radius: 10px; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-soft); }
.kbd-hint span { font-size: 13px; }
@media (min-width: 600px) { .kbd-hint { display: inline-flex; } }
.inline-kbd { font-family: var(--font-mono); font-size: 11.5px; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); }

/* ---------- Dil değiştirici ---------- */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; color: var(--text); background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(8px); font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; transition: background 0.25s, border-color 0.25s; }
.lang__btn:hover { background: var(--surface-2); border-color: var(--border-strong); }
.lang__menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 150px; padding: 6px; list-style: none; border-radius: 14px; background: var(--glass-strong); border: 1px solid var(--border-strong); box-shadow: var(--shadow); backdrop-filter: blur(16px); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.97); transform-origin: top right; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s; z-index: 60; }
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 13px; border: none; background: none; color: var(--text-soft); font-family: var(--font-body); font-size: 14px; text-align: left; border-radius: 9px; transition: background 0.2s, color 0.2s; }
.lang__menu button:hover { background: var(--surface-2); color: var(--text); }
.lang__menu button.active { color: var(--text); }
.lang__menu button.active::after { content: "●"; font-size: 8px; color: var(--accent-2); }
@media (max-width: 380px) { .lang__btn span { display: none; } }
.nav__logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.nav__logo-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #06060a; font-weight: 800; box-shadow: 0 6px 22px rgba(124,92,255,0.45); }
.dot { color: var(--accent-2); }

.nav__pill { position: relative; display: flex; gap: 2px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(12px); }
.nav__link { position: relative; z-index: 1; padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--text-soft); border-radius: 999px; transition: color 0.3s; }
.nav__link.active { color: var(--text); }
.nav__indicator { position: absolute; top: 5px; left: 5px; height: calc(100% - 10px); border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); transition: transform 0.4s var(--ease), width 0.4s var(--ease); opacity: 0; }
@media (max-width: 820px) { .nav__pill { display: none; } }

.nav__cta { display: none; }
@media (min-width: 560px) { .nav__cta { display: inline-flex; } }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(0,224,198,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,224,198,0.5); } 70% { box-shadow: 0 0 0 9px rgba(0,224,198,0); } 100% { box-shadow: 0 0 0 0 rgba(0,224,198,0); } }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s var(--ease); }
.nav__burger.open span:first-child { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:last-child { transform: translateY(0) rotate(-45deg); }
@media (max-width: 820px) { .nav__burger { display: flex; } }

.mobile-menu { position: fixed; inset: 0; z-index: 49; background: var(--glass-strong); backdrop-filter: blur(22px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; opacity: 0; pointer-events: none; transition: opacity 0.4s var(--ease); }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu__link { display: flex; align-items: baseline; gap: 14px; font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3rem); font-weight: 600; color: var(--text-soft); transition: color 0.25s; }
.mobile-menu__link span { font-family: var(--font-mono); font-size: 14px; color: var(--accent); }
.mobile-menu__link:hover { color: var(--text); }

/* ============================ Buttons ============================ */
.btn { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 13px 24px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; border: 1px solid transparent; white-space: nowrap; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, border-color 0.3s; }
.btn svg { transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--grad); color: #06060a; box-shadow: 0 10px 34px rgba(124,92,255,0.4); }
.btn--primary:hover { box-shadow: 0 16px 44px rgba(124,92,255,0.55); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--border-strong); }
.btn--lg { padding: 17px 32px; font-size: 16px; }

/* ============================ Hero ============================ */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 130px clamp(20px, 5vw, 48px) 70px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13.5px; color: var(--text-soft); margin-bottom: 32px; backdrop-filter: blur(8px); }

.hero__ghost { position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%); font-family: var(--font-display); font-weight: 800; font-size: clamp(7rem, 27vw, 24rem); letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px var(--border-strong); white-space: nowrap; z-index: 0; opacity: 0.55; pointer-events: none; user-select: none; }

.hero__title { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 8.5vw, 6.2rem); line-height: 0.98; letter-spacing: -0.04em; margin-bottom: 30px; }

/* RGB-split glitch */
.glitch { position: relative; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.glitch:hover::before { opacity: 0.9; color: #ff5c93; transform: translate(-2px, 0); animation: glitchA 0.4s steps(2) infinite; }
.glitch:hover::after { opacity: 0.9; color: #00e0c6; transform: translate(2px, 0); animation: glitchB 0.4s steps(2) infinite; }
@keyframes glitchA { 0%,100%{clip-path:inset(0 0 60% 0)} 50%{clip-path:inset(50% 0 10% 0)} }
@keyframes glitchB { 0%,100%{clip-path:inset(60% 0 0 0)} 50%{clip-path:inset(10% 0 40% 0)} }
.hero__line { display: block; }
.hero__line--serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }
.hero__line--serif em { font-style: italic; }
.word { display: inline-block; opacity: 0; transform: translateY(110%) rotate(4deg); }
.hero.in .word { animation: wordIn 0.9s var(--ease) forwards; }
@keyframes wordIn { to { opacity: 1; transform: translateY(0) rotate(0); } }

.hero__sub { font-size: clamp(1rem, 2.2vw, 1.2rem); color: var(--text-soft); max-width: 600px; margin: 0 auto 36px; }
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); }
.hero__scroll-line { width: 1px; height: 36px; background: linear-gradient(var(--accent), transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%,100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

.hero__float { position: absolute; padding: 14px 18px; border-radius: 16px; background: var(--glass); border: 1px solid var(--border); backdrop-filter: blur(14px); box-shadow: var(--shadow); text-align: left; font-size: 13px; }
.hero__float strong { display: block; font-family: var(--font-display); font-size: 15px; margin-top: 3px; }
.hero__float .mono { font-size: 11px; color: var(--accent-2); }
.hero__float-stars { color: #ffcc55; font-size: 12px; letter-spacing: 2px; margin-bottom: 4px; }
.hero__float--1 { top: 26%; left: 6%; }
.hero__float--2 { bottom: 24%; right: 6%; max-width: 200px; color: var(--text-soft); }
@media (max-width: 900px) { .hero__float { display: none; } }

/* ============================ Marquee ============================ */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 0; background: rgba(12,12,20,0.4); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
[data-theme="light"] .marquee { background: rgba(255,255,255,0.35); }
.marquee__skew { will-change: transform; transition: transform 0.5s var(--ease); }
.marquee__track { display: flex; align-items: center; gap: 40px; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 3vw, 30px); color: var(--text-dim); animation: marquee 28s linear infinite; }
.marquee__track b { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================ Sections ============================ */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 12vw, 150px) clamp(20px, 5vw, 48px); }
.section__head { margin-bottom: 56px; max-width: 760px; }
.section__index { font-family: var(--font-mono); font-size: 13px; color: var(--accent); display: block; margin-bottom: 16px; }
.section__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 4.5vw, 3rem); letter-spacing: -0.025em; line-height: 1.12; }
.grad-text { background: linear-gradient(115deg, #9d7bff, #00e0c6, #ff5c93, #9d7bff); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 8s ease infinite; }
@keyframes gradShift { 50% { background-position: 100% 50%; } }

/* Spotlight hover glow */
.spotlight { position: relative; overflow: hidden; }
.spotlight::before { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity 0.4s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(124,92,255,0.14), transparent 60%); pointer-events: none; z-index: 0; }
.spotlight:hover::before { opacity: 1; }
.spotlight > * { position: relative; z-index: 1; }

/* ============================ Bento ============================ */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento__cell { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(8px); transition: border-color 0.4s, transform 0.4s var(--ease); display: flex; flex-direction: column; }
.bento__cell:hover { border-color: var(--border-strong); }
.bento__cell--big { grid-column: span 2; grid-row: span 2; }
.bento__cell--wide { grid-column: span 2; }
.bento__cell--accent { background: var(--grad); border: none; color: #06060a; }
@media (max-width: 820px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento__cell--big { grid-column: span 2; grid-row: auto; } .bento__cell--wide { grid-column: span 2; } }
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; } .bento__cell--big, .bento__cell--wide { grid-column: auto; } }

.bento__avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--grad); font-family: var(--font-display); font-weight: 800; font-size: 28px; color: #06060a; margin-bottom: 20px; box-shadow: 0 10px 30px rgba(124,92,255,0.4); }
.bento__cell--big h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 12px; }
.bento__cell--big p { color: var(--text-soft); font-size: 15px; }
.bento__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
.bento__chips span { padding: 7px 13px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-size: 12.5px; color: var(--text-soft); }

.bento__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 6vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; }
.bento__num::after { content: "+"; color: var(--accent); }
.bento__num--light::after { color: #06060a; }
.bento__cap { color: var(--text-dim); font-size: 14px; margin-top: 8px; }
.bento__cap--light { color: rgba(6,6,10,0.7); }
.bento__cell:not(.bento__cell--big):not(.bento__cell--wide) { justify-content: center; }

.bento__cell--wide h4 { font-family: var(--font-display); font-size: 14px; color: var(--text-dim); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.bento__now { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.bento__now li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--text-soft); }
.tick { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 10px var(--accent-2); flex-shrink: 0; }
.bento__faces { display: flex; gap: 4px; margin-top: 16px; font-size: 22px; }

/* ============================ Services ============================ */
.services { border-top: 1px solid var(--border); }
.service { position: relative; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; padding: 30px 12px; border-bottom: 1px solid var(--border); cursor: pointer; transition: padding 0.4s var(--ease); overflow: hidden; }
.service::before { content: ""; position: absolute; inset: 0; background: var(--surface); opacity: 0; transition: opacity 0.4s; z-index: -1; }
.service:hover::before { opacity: 1; }
.service:hover { padding-left: 26px; padding-right: 26px; }
.service__no { font-family: var(--font-mono); font-size: 14px; color: var(--accent); }
.service__main h3 { font-family: var(--font-display); font-size: clamp(1.3rem, 3.2vw, 2rem); letter-spacing: -0.02em; transition: color 0.3s; }
.service__main p { max-width: 520px; color: var(--text-soft); font-size: 15px; margin-top: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s var(--ease), opacity 0.4s, margin-top 0.4s; }
.service:hover .service__main p { max-height: 80px; opacity: 1; margin-top: 12px; }
.service__main h3:hover { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.service__tags { display: flex; gap: 7px; }
.service__tags span { font-family: var(--font-mono); font-size: 11.5px; padding: 5px 11px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft); }
.service__arrow { font-size: 22px; color: var(--text-dim); transition: transform 0.4s var(--ease), color 0.3s; }
.service:hover .service__arrow { transform: translate(4px, -4px); color: var(--accent-2); }
@media (max-width: 760px) { .service { grid-template-columns: auto 1fr auto; gap: 16px; } .service__tags { display: none; } .service__main p { max-height: 120px; opacity: 1; margin-top: 10px; } }

/* ============================ Work / Sticky Showcase ============================ */
.showcase { display: flex; flex-direction: column; gap: 40px; }
.case { position: sticky; top: 90px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; padding: 16px; border-radius: var(--radius-lg); background: var(--glass); border: 1px solid var(--border); backdrop-filter: blur(14px); box-shadow: var(--shadow); transition: border-color 0.4s; will-change: transform; }
.case:hover { border-color: var(--border-strong); }
@media (max-width: 760px) { .case { position: relative; top: 0; grid-template-columns: 1fr; } }

.case__info { padding: 26px 24px; display: flex; flex-direction: column; }
.case__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.case__no { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.case__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.case__tags span { font-family: var(--font-mono); font-size: 11.5px; padding: 4px 10px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft); }
.case__title { font-family: var(--font-display); font-size: clamp(1.5rem, 3.5vw, 2.2rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.case__desc { color: var(--text-soft); font-size: 15px; margin-bottom: 24px; }
.case__link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--accent-2); width: fit-content; transition: gap 0.3s var(--ease); }
.case__link:hover { gap: 13px; }

.case__visual { position: relative; border-radius: 18px; overflow: hidden; min-height: 300px; background: linear-gradient(135deg, var(--c1), var(--c2)); display: grid; place-items: center; padding: 26px; }
.case__visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.18) 1px, transparent 1px); background-size: 22px 22px; opacity: 0.4; }
.case__visual.liquify { filter: url(#liquid); }

/* ---- Fake product UI ---- */
.ui { position: relative; width: 100%; max-width: 440px; border-radius: 14px; background: rgba(10,10,18,0.86); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 24px 60px rgba(0,0,0,0.4); overflow: hidden; transform: translateY(8px); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.7s; color: #f5f5fa; }
.case:has([data-live].in) .ui, .ui.in { transform: none; opacity: 1; }
.ui__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.08); }
.ui__dot { width: 10px; height: 10px; border-radius: 50%; }
.ui__dot.r { background: #ff5f57; } .ui__dot.y { background: #febc2e; } .ui__dot.g { background: #28c840; }
.ui__url { margin-left: 8px; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.55); }
.ui__cart { margin-left: auto; font-size: 12px; background: rgba(255,255,255,0.1); padding: 3px 9px; border-radius: 999px; }

/* dashboard */
.ui--dash .ui__body { padding: 16px; }
.ui__kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.kpi { padding: 12px; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); }
.kpi span { font-size: 10.5px; color: rgba(255,255,255,0.5); }
.kpi strong { display: block; font-family: var(--font-display); font-size: 17px; margin: 3px 0; }
.kpi .up { font-size: 10px; color: #28c840; }
.ui__chart { position: relative; height: 96px; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); padding: 12px; }
.ui__spark { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
.ui--dash.in .ui__spark polyline { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.6s var(--ease) 0.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ui__bars { position: absolute; inset: 12px; display: flex; align-items: flex-end; gap: 6px; opacity: 0.5; }
.ui__bars span { flex: 1; height: 0; border-radius: 3px 3px 0 0; background: linear-gradient(var(--accent), transparent); transition: height 0.8s var(--ease); }
.ui--dash.in .ui__bars span { height: var(--h); }
.ui--dash.in .ui__bars span:nth-child(2){transition-delay:.05s} .ui--dash.in .ui__bars span:nth-child(3){transition-delay:.1s} .ui--dash.in .ui__bars span:nth-child(4){transition-delay:.15s} .ui--dash.in .ui__bars span:nth-child(5){transition-delay:.2s} .ui--dash.in .ui__bars span:nth-child(6){transition-delay:.25s} .ui--dash.in .ui__bars span:nth-child(7){transition-delay:.3s}

/* shop */
.ui__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.prod { border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); overflow: hidden; transform: scale(0.9); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.5s; }
.ui--shop.in .prod { transform: none; opacity: 1; }
.ui--shop.in .prod:nth-child(2){transition-delay:.08s} .ui--shop.in .prod:nth-child(3){transition-delay:.16s} .ui--shop.in .prod:nth-child(4){transition-delay:.24s}
.prod__img { height: 56px; }
.prod__img--a { background: linear-gradient(135deg,#ff5c93,#ffb35c); } .prod__img--b { background: linear-gradient(135deg,#7c5cff,#00e0c6); } .prod__img--c { background: linear-gradient(135deg,#2a8bff,#7c5cff); } .prod__img--d { background: linear-gradient(135deg,#00e0c6,#28c840); }
.prod__row { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; font-size: 11.5px; }
.prod__row b { font-family: var(--font-display); }

/* chat */
.ui__chat-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 150px; }
.msg { max-width: 80%; padding: 10px 13px; border-radius: 13px; font-size: 12.5px; line-height: 1.5; opacity: 0; transform: translateY(8px); }
.ui--chat.in .msg { animation: msgIn 0.5s var(--ease) forwards; }
.ui--chat.in .msg--ai { animation-delay: 0.4s; } .ui--chat.in .msg--typing { animation-delay: 0.9s; }
@keyframes msgIn { to { opacity: 1; transform: none; } }
.msg--user { align-self: flex-end; background: var(--grad); color: #06060a; border-bottom-right-radius: 4px; }
.msg--ai { align-self: flex-start; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.08); border-bottom-left-radius: 4px; }
.caret { display: inline-block; width: 7px; height: 13px; margin-left: 2px; background: var(--accent-2); vertical-align: middle; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.msg--typing { align-self: flex-start; display: flex; gap: 4px; background: rgba(255,255,255,0.07); }
.msg--typing span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.6); animation: typing 1.2s infinite; }
.msg--typing span:nth-child(2){animation-delay:.2s} .msg--typing span:nth-child(3){animation-delay:.4s}
@keyframes typing { 0%,60%,100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-4px); opacity: 1; } }
.ui__input { display: flex; align-items: center; justify-content: space-between; margin: 0 16px 16px; padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); font-size: 12.5px; color: rgba(255,255,255,0.5); }
.ui__send { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--grad); color: #06060a; font-size: 13px; }

/* ============================ Stack ============================ */
.stack__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 880px) { .stack__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .stack__grid { grid-template-columns: 1fr; } }
.stack__col { padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(8px); transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s; }
.stack__col:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.stack__icon { font-size: 30px; margin-bottom: 16px; }
.stack__col h3 { font-family: var(--font-display); font-size: 18px; margin-bottom: 16px; }
.stack__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.stack__tags span { font-size: 12.5px; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft); transition: color 0.25s, border-color 0.25s; }
.stack__col:hover .stack__tags span { color: var(--text); }

/* ============================ Quote ============================ */
.quote-sec { text-align: center; }
.quote { max-width: 860px; margin: 0 auto; }
.quote p { font-family: var(--font-serif); font-size: clamp(1.6rem, 4.5vw, 2.8rem); line-height: 1.3; letter-spacing: -0.01em; margin-bottom: 32px; }
.quote footer { display: inline-flex; align-items: center; gap: 14px; }
.quote__avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--grad-warm); font-family: var(--font-display); font-weight: 700; color: #06060a; }
.quote footer div { text-align: left; }
.quote footer strong { display: block; font-family: var(--font-display); font-size: 15px; }
.quote footer span { font-size: 13px; color: var(--text-dim); }

/* ============================ Contact ============================ */
.contact__card { position: relative; text-align: center; padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 64px); border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--border); }
.contact__eyebrow { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.contact__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 6.5vw, 4rem); line-height: 1.04; letter-spacing: -0.03em; margin: 18px 0 18px; }
.contact__sub { color: var(--text-soft); max-width: 460px; margin: 0 auto 34px; font-size: 1.05rem; }
.contact__socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.contact__socials a { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; color: var(--text-soft); transition: color 0.25s, border-color 0.25s, background 0.25s; }
.contact__socials a:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-2); }

/* ============================ Footer ============================ */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 70px clamp(20px, 5vw, 48px) 56px; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 40px; margin-bottom: 30px; border-bottom: 1px solid var(--border); }
.footer__big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 8vw, 5rem); letter-spacing: -0.04em; line-height: 1; }
.footer__top-btn { padding: 12px 22px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 14px; transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease); }
.footer__top-btn:hover { background: var(--surface-2); border-color: var(--border-strong); transform: translateY(-3px); }
.footer__meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; color: var(--text-dim); }
.footer__made { display: inline-flex; align-items: center; gap: 8px; }
.heart { color: var(--accent-3); }

/* ============================ Timeline ============================ */
.timeline { position: relative; padding-left: 40px; }
.timeline__line { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.timeline__fill { position: absolute; inset: 0; background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform 0.2s linear; }
.step { position: relative; padding: 0 0 44px; }
.step:last-child { padding-bottom: 0; }
.step__dot { position: absolute; left: -40px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--border); transition: border-color 0.4s, box-shadow 0.4s; }
.step.lit .step__dot { border-color: var(--accent-2); box-shadow: 0 0 0 5px rgba(0,224,198,0.12); }
.step__no { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent); }
.step h3 { font-family: var(--font-display); font-size: clamp(1.2rem, 3vw, 1.6rem); margin: 8px 0 8px; letter-spacing: -0.02em; }
.step p { color: var(--text-soft); font-size: 15px; max-width: 580px; }

/* ============================ Focus a11y ============================ */
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 500; padding: 12px 20px; border-radius: 10px; background: var(--accent); color: #06060a; font-family: var(--font-display); font-weight: 600; font-size: 14px; transform: translateY(-150%); transition: transform 0.25s var(--ease); }
.skip-link:focus { transform: translateY(0); }

/* ============================ Command Palette ============================ */
.btn .inline-kbd { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.18); }
.btn--ghost .inline-kbd { background: var(--surface-2); border-color: var(--border); }

.cmdk { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-start; justify-content: center; padding: 14vh 20px 20px; opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s; }
.cmdk.open { opacity: 1; visibility: visible; }
.cmdk__backdrop { position: absolute; inset: 0; background: rgba(4,4,8,0.6); backdrop-filter: blur(8px); }
.cmdk__panel { position: relative; width: min(560px, 100%); border-radius: 18px; background: var(--glass-strong); border: 1px solid var(--border-strong); box-shadow: var(--shadow); overflow: hidden; transform: translateY(-12px) scale(0.98); transition: transform 0.35s var(--ease); }
.cmdk.open .cmdk__panel { transform: none; }
.cmdk__search { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); color: var(--text-dim); }
.cmdk__input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-family: var(--font-body); font-size: 16px; }
.cmdk__input::placeholder { color: var(--text-dim); }
.cmdk__search kbd, .cmdk__foot kbd { font-family: var(--font-mono); font-size: 11px; padding: 3px 7px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft); }
.cmdk__list { list-style: none; max-height: 320px; overflow-y: auto; padding: 8px; }
.cmdk__item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 11px; cursor: pointer; transition: background 0.15s; }
.cmdk__item.active { background: var(--surface-2); }
.cmdk__item-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border); font-size: 15px; flex-shrink: 0; }
.cmdk__item-label { font-weight: 500; font-size: 15px; }
.cmdk__item-hint { margin-left: auto; font-size: 12.5px; color: var(--text-dim); font-family: var(--font-mono); }
.cmdk__empty { padding: 28px; text-align: center; color: var(--text-dim); font-size: 14px; }
.cmdk__foot { display: flex; gap: 18px; padding: 12px 18px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-dim); }
.cmdk__foot kbd { margin-right: 2px; }

.toast { position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 20px); z-index: 400; padding: 13px 22px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--border-strong); box-shadow: var(--shadow); font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); backdrop-filter: blur(12px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================ Draggable marquee ============================ */
.marquee[data-drag] { cursor: grab; }
.marquee[data-drag].dragging { cursor: grabbing; }
.marquee[data-drag].dragging .marquee__track { animation-play-state: paused; }

/* ============================ Manifesto (yatay pin) ============================ */
.hpin { position: relative; }
.hpin__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hpin__head { padding: 0 clamp(20px, 5vw, 56px) 28px; }
.hpin__track { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); padding: 0 clamp(20px, 5vw, 56px); will-change: transform; }
.panel { flex: 0 0 auto; width: min(78vw, 760px); padding: 48px clamp(28px, 4vw, 56px); border-radius: var(--radius-lg); background: var(--glass); border: 1px solid var(--border); backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.panel__no { font-family: var(--font-mono); font-size: 14px; color: var(--accent); }
.panel__text { font-family: var(--font-serif); font-size: clamp(1.8rem, 5vw, 3.4rem); line-height: 1.18; letter-spacing: -0.01em; margin-top: 18px; }
.panel__text em { font-style: italic; color: var(--text-soft); }
.panel--cta { display: grid; place-items: center; width: min(60vw, 420px); background: none; border: 1px dashed var(--border-strong); box-shadow: none; backdrop-filter: none; }
@media (max-width: 760px) {
  .hpin { height: auto !important; }
  .hpin__sticky { position: relative; height: auto; padding: 40px 0; }
  .hpin__track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; -webkit-overflow-scrolling: touch; }
  .panel { scroll-snap-align: center; width: 82vw; }
}

/* ============================ Reveal ============================ */
[data-reveal], [data-fade] { opacity: 0; transform: translateY(30px); filter: blur(7px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), filter 0.85s var(--ease); }
[data-fade] { transform: translateY(20px); }
[data-reveal].in, [data-fade].in { opacity: 1; transform: none; filter: blur(0); }

/* ============================ Özel scrollbar ============================ */
html { scrollbar-width: thin; scrollbar-color: var(--surface-2) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-2); border: 3px solid transparent; background-clip: padding-box; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-strong); background-clip: padding-box; }

/* ============================ View Transition — tema geçişi ============================ */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 9999; }
html.vt-active::view-transition-new(root) { animation: vtReveal 0.55s var(--ease); }
@keyframes vtReveal { from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 50%)); } to { clip-path: circle(var(--vt-r, 150%) at var(--vt-x, 50%) var(--vt-y, 50%)); } }

/* ============================ Dönen konik kenar (iletişim) ============================ */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.contact__card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--angle), transparent 55%, var(--accent), var(--accent-2), transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  opacity: 0.7; pointer-events: none; animation: spinBorder 6s linear infinite;
}
@keyframes spinBorder { to { --angle: 360deg; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .word, .loader__word span { opacity: 1; transform: none; }
  [data-reveal], [data-fade], .ui, .prod, .msg { opacity: 1; transform: none; filter: none; }
  .contact__card::after { display: none; }
  .timeline__fill { transform: scaleY(1); }
  .ui__bars span { height: var(--h); }
  html { scroll-behavior: auto; }
  body { cursor: auto; }
  .case { position: relative; top: 0; }
  .hpin { height: auto !important; }
  .hpin__sticky { position: relative; height: auto; }
  .hpin__track { transform: none !important; flex-wrap: wrap; }
  .hero__ghost { opacity: 0.3; }
}

/* ============================ Laravel: dinamik proje görseli ============================ */
.case__visual--gradient { position: relative; }
.case__visual--gradient::after { content: ""; position: absolute; inset: 26px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.07); backdrop-filter: blur(2px); }
.case__year { position: absolute; top: 16px; right: 18px; z-index: 2; font-family: var(--font-mono); font-size: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(6,6,10,0.55); backdrop-filter: blur(8px); color: #fff; }

/* ============================ Laravel: iletişim formu ============================ */
.contact-form {
  max-width: 560px; margin: 6px auto 22px; text-align: left;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid var(--border); border-radius: 22px;
  padding: clamp(20px, 4vw, 30px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.contact-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .contact-form__row { grid-template-columns: 1fr; } }
.contact-field { display: block; margin-bottom: 16px; }
.contact-field > span { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-soft); margin-bottom: 8px; letter-spacing: 0.2px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px; border-radius: 13px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  color: var(--text); font-family: var(--font-body); font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--text-dim); }
.contact-form input:hover, .contact-form textarea:hover { border-color: var(--border-strong); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent-2); background: rgba(255,255,255,0.05); box-shadow: 0 0 0 4px rgba(0,224,198,0.12); }
.contact-form textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; padding: 15px 24px; font-size: 15.5px; }
.contact__sent { display: flex; align-items: center; justify-content: center; gap: 9px; max-width: 560px; margin: 0 auto 20px; padding: 14px 20px; border-radius: 14px; background: rgba(0,224,198,0.1); border: 1px solid rgba(0,224,198,0.28); color: var(--accent-2); font-size: 14.5px; font-weight: 500; }
.contact-divider { display: flex; align-items: center; gap: 16px; max-width: 340px; margin: 8px auto 18px; color: var(--text-dim); font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; font-family: var(--font-mono); }
.contact-divider::before, .contact-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.contact-mail { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-family: var(--font-mono); font-size: 14px; color: var(--text-soft); transition: color 0.25s, border-color 0.25s, background 0.25s; }
.contact-mail:hover { color: var(--text); border-color: var(--border-strong); background: var(--surface-2); }
