/* =========================================================
   SYBERART — Coming Soon (Light / Artistic Edition)
   Açık temalı, sadece hero, arka planda çizim animasyonları.
   ========================================================= */

:root {
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Açık tema paleti */
  --bg:        #f6f4ef;   /* sıcak kağıt beyazı */
  --bg-2:      #efece4;
  --ink:       #15171e;   /* kömür siyahı */
  --ink-soft:  #3a3f4b;
  --ink-mute:  #7a7f8c;
  --line:      rgba(21,23,30,.12);

  /* Marka renkleri (açık zeminde ince çizgi/akcent olarak) */
  --cyan:      #38e8ff;
  --electric:  #4d7cff;
  --purple:    #b9a8ff;
  /* Açık zeminde yüksek kontrastlı akcent gradyanı */
  --grad-ink:  linear-gradient(120deg, #2b6cff, #8a5cff 55%, #c06bff);
  --grad-brand: linear-gradient(120deg, #38e8ff, #4d7cff 45%, #b9a8ff);

  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink-soft);
  line-height: 1.6;
  overflow-x: hidden;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
img,svg,canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1,h2,h3 { font-family: var(--font-display); font-weight: 700; color: var(--ink); margin: 0; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* =========================================================
   ARKA PLAN KATMANLARI (açık)
   ========================================================= */
.bg-layer { position: fixed; inset: 0; z-index: -3; pointer-events: none; }
.bg-gradient-mesh {
  background:
    radial-gradient(55% 45% at 15% 12%, rgba(77,124,255,.10), transparent 60%),
    radial-gradient(45% 45% at 88% 18%, rgba(185,168,255,.12), transparent 60%),
    radial-gradient(50% 50% at 78% 92%, rgba(56,232,255,.10), transparent 60%),
    radial-gradient(45% 45% at 12% 90%, rgba(77,124,255,.07), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%);
}
.bg-grain {
  z-index: -2; opacity: .04;
  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='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 520px; height: 520px;
  margin: -260px 0 0 -260px; z-index: 0; pointer-events: none;
  border-radius: 50%; opacity: 0;
  background: radial-gradient(circle, rgba(77,124,255,.14), rgba(185,168,255,.08) 40%, transparent 70%);
  transition: opacity .6s var(--ease);
  will-change: transform;
}

/* =========================================================
   PRELOADER (koyu — geçiş için korundu)
   ========================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #06070d;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.preloader-text {
  position: relative; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 9vw, 6rem); letter-spacing: .14em; color: #f4f6fb;
  background: linear-gradient(120deg, #38e8ff, #4d7cff 45%, #b9a8ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 26px rgba(56,232,255,.25));
}
.preloader-status {
  margin-top: 18px; font-size: .72rem; letter-spacing: .4em; color: #8b95ad;
  text-transform: uppercase;
}
.preloader-status::after { content: ""; animation: dots 1.4s steps(4,end) infinite; }
@keyframes dots { 0%{content:""} 25%{content:"."} 50%{content:".."} 75%{content:"..."} 100%{content:""} }

/* =========================================================
   HEADER (açık cam)
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(246,244,239,.7);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 34px; height: 34px; display: block;
  filter: drop-shadow(0 0 10px rgba(77,124,255,.3));
  transition: transform .6s var(--ease);
}
.site-header.scrolled .brand-mark { transform: scale(.94); }
.brand-name { font-family: var(--font-display); font-weight: 700; letter-spacing: .22em; font-size: .95rem; color: var(--ink); }
.brand-name .b-art {
  background: var(--grad-ink); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* =========================================================
   HERO (tek ekran, sanatsal çizim arka planı)
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 120px 0 80px; overflow: hidden;
}
.hero::before {  /* okunabilirlik için merkez vail */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 48%, rgba(246,244,239,.92), rgba(246,244,239,0) 70%);
}
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.eyebrow {
  font-size: .72rem; letter-spacing: .42em; color: var(--electric); text-transform: uppercase;
  margin: 0 0 22px;
}
.hero-title {
  font-size: clamp(3rem, 13vw, 9rem); line-height: .92; letter-spacing: -.02em; font-weight: 800; color: var(--ink);
}
.hero-title .accent {
  background: var(--grad-ink); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 26px rgba(124,92,255,.22));
}
.hero-tagline {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.15rem, 3vw, 2rem); color: var(--ink);
  margin: 26px 0 10px; letter-spacing: .01em;
}
.hero-sub { color: var(--ink-mute); max-width: 540px; font-size: clamp(.95rem, 2vw, 1.05rem); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 40px; }

/* Rozet (dead-button olmasın: ifade amaçlı etiket) */
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  background: rgba(255,255,255,.5);
  border: 1px solid transparent; position: relative; overflow: hidden;
  box-shadow: 0 8px 26px rgba(77,124,255,.12);
}
.badge::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad-ink); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.badge .pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--electric);
  box-shadow: 0 0 0 0 rgba(77,124,255,.5); animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(77,124,255,.5); }
  70% { box-shadow: 0 0 0 10px rgba(77,124,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(77,124,255,0); }
}

/* Scroll cue */
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; z-index: 2; }
.scroll-cue span {
  position: absolute; top: 0; left: 50%; width: 4px; height: 8px; border-radius: 2px;
  background: var(--electric); transform: translateX(-50%); animation: cue 1.8s var(--ease) infinite;
  box-shadow: 0 0 10px rgba(77,124,255,.5);
}
@keyframes cue { 0%{opacity:0;top:6px} 30%{opacity:1} 100%{opacity:0;top:26px} }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
[data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); will-change: opacity, transform; }
[data-reveal="fade-up"] { transform: translateY(40px); }
[data-reveal="mask"] { transform: translateY(60px); clip-path: inset(0 0 100% 0); transition: opacity 1s var(--ease), transform 1s var(--ease), clip-path 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 760px) {
  .hero { padding: 110px 0 70px; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .preloader-canvas, .hero-art, .cursor-glow { display: none !important; }
  .preloader { display: none !important; }
}
