/* ============================================================
   Dynamic Studio — Teaser Site
   Premium · Minimal · Editorial
   ============================================================ */

:root {
  --bg: #0a0a0b;
  --bg-2: #0e0e10;
  --ink: #f4f4f5;
  --ink-soft: #a1a1aa;
  --ink-faint: #6b6b73;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.05);
  --accent: #4d8dff;      /* elektrik mavisi (kontrollü) */
  --lime: #c8f169;        /* soft lime (kontrollü) */
  --card: rgba(255, 255, 255, 0.025);
  --card-hover: rgba(255, 255, 255, 0.05);
  --radius: 20px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: #fff; }

img { display: block; max-width: 100%; }

/* ============================================================
   BACKGROUND LAYERS
   ============================================================ */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 50% -10%, #141418 0%, transparent 60%),
    var(--bg);
}

.grid-lines {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  animation: gridDrift 40s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 64px 64px, 64px 64px; }
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.28;
  will-change: transform;
}
.glow-1 {
  width: 44vw; height: 44vw; max-width: 620px; max-height: 620px;
  top: -8%; left: 8%;
  background: radial-gradient(circle, rgba(77,141,255,0.55), transparent 70%);
  animation: float1 22s var(--ease) infinite alternate;
}
.glow-2 {
  width: 40vw; height: 40vw; max-width: 560px; max-height: 560px;
  bottom: 4%; right: 6%;
  background: radial-gradient(circle, rgba(200,241,105,0.32), transparent 70%);
  animation: float2 26s var(--ease) infinite alternate;
}
@keyframes float1 { to { transform: translate(60px, 50px) scale(1.12); } }
@keyframes float2 { to { transform: translate(-50px, -40px) scale(1.1); } }

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* mouse-reactive parallax hook */
.bg-layer { transition: transform 0.6s var(--ease); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 56px);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav-logo img { height: 30px; width: auto; }
.nav-logo { display: inline-flex; transition: opacity 0.3s; }
.nav-logo:hover { opacity: 0.75; }

.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(200, 241, 105, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(200,241,105,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(200,241,105,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,241,105,0); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px clamp(20px, 5vw, 56px) 60px;
  position: relative;
}
.hero-inner { max-width: 900px; }

.eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 30px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-size: clamp(3.2rem, 13vw, 10rem);
  margin-bottom: 34px;
}
.hero-title .line { display: block; }
.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  text-stroke: 1.5px var(--ink);
}

.hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 40px;
  font-weight: 400;
}
.nowrap-lg { display: inline; }

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: var(--card);
}
.meta-line { width: 40px; height: 1px; background: var(--line); }
.meta-txt {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.scroll-track {
  width: 22px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 20px;
  position: relative;
}
.scroll-thumb {
  position: absolute;
  top: 6px; left: 50%;
  width: 3px; height: 7px;
  border-radius: 3px;
  background: var(--ink-soft);
  transform: translateX(-50%);
  animation: scrollDown 1.8s var(--ease) infinite;
}
@keyframes scrollDown {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.brands-section, .manifesto {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) clamp(20px, 5vw, 56px);
}

.section-head { margin-bottom: clamp(48px, 7vw, 80px); }
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.section-title em {
  font-style: normal;
  color: var(--ink-faint);
}
.section-lead {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 460px;
}

/* ============================================================
   BRAND GRID
   ============================================================ */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease),
              background 0.5s var(--ease), box-shadow 0.5s var(--ease);
  outline: none;
}
.brand-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%),
              color-mix(in srgb, var(--accent) 16%, transparent), transparent 42%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.brand-card:hover,
.brand-card:focus-visible {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
  background: var(--card-hover);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7);
}
.brand-card:hover::before,
.brand-card:focus-visible::before { opacity: 1; }

.brand-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
  transition: color 0.4s var(--ease);
}
.brand-card:hover .brand-num { color: var(--accent); }

/* Açık renkli logo yüzeyi — logolar orijinal renkleriyle korunur */
.brand-logo-wrap {
  align-self: flex-start;
  padding: 22px 30px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.brand-card:hover .brand-logo-wrap {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--accent) 80%, black);
}
.brand-logo {
  height: 40px;
  width: auto;
  transition: transform 0.5s var(--ease);
}
.brand-card:hover .brand-logo { transform: scale(1.03); }

.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.brand-tag {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 500;
}
.brand-desc {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 34ch;
}

.brand-arrow {
  position: absolute;
  top: clamp(28px, 3.4vw, 44px);
  right: clamp(28px, 3.4vw, 44px);
  font-size: 1.3rem;
  color: var(--ink-faint);
  transition: transform 0.5s var(--ease), color 0.5s var(--ease);
}
.brand-card:hover .brand-arrow {
  transform: translate(4px, -4px);
  color: var(--ink);
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto {
  border-top: 1px solid var(--line);
  text-align: left;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}
.manifesto-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.manifesto-title .muted { color: var(--ink-faint); }
.manifesto-text {
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.7;
  padding-top: 8px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 56px) 50px;
  background: var(--bg-2);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-logo img { height: 32px; width: auto; }
.footer-logo { transition: opacity 0.3s; }
.footer-logo:hover { opacity: 0.75; }
.footer-line {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--ink);
  font-weight: 500;
}
.footer-brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.footer-brands i { color: var(--ink-faint); font-style: normal; }
.footer-mail {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.02rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.3s, border-color 0.3s;
}
.footer-mail:hover { color: var(--accent); border-color: var(--accent); }
.footer-copy {
  margin-top: 14px;
  color: var(--ink-faint);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .brand-grid { grid-template-columns: 1fr; }
  .manifesto { grid-template-columns: 1fr; }
  .nowrap-lg { display: inline; }
}

@media (max-width: 560px) {
  .navbar { padding: 16px 20px; }
  .nav-logo img { height: 24px; }
  .hero { padding-top: 100px; }
  .hero-title { font-size: clamp(2.8rem, 17vw, 5rem); }
  .hero-meta { gap: 12px; }
  .meta-line { display: none; }
  .brand-logo { height: 32px; }
  .brand-logo-wrap { padding: 18px 22px; }
  .brand-arrow { display: none; }
  .footer-logo img { height: 26px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
