/* =====================================================================
   KOUAI — Kocaeli Üniversitesi Yapay Zeka Kulübü
   Tasarım sistemi / global stiller
   ===================================================================== */

/* ---------- 1. Tema jetonları ---------- */
:root {
  /* Mor ölçek */
  --p-50:  #F6F2FF;
  --p-100: #EDE5FF;
  --p-200: #DCCDFF;
  --p-300: #C4AEFF;
  --p-400: #A98CFA;
  --p-500: #8B5CF6;
  --p-600: #7C3AED;
  --p-700: #6B21D6;
  --p-800: #4C1D95;
  --p-900: #2E1065;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;

  --container: 1180px;
  --nav-h: 72px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --font-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
}

/* Açık tema — beyaz zemin, açık mor / lila vurgular */
:root,
:root[data-theme="light"] {
  color-scheme: light;

  --bg: #FFFFFF;
  --bg-soft: #FAF7FF;
  --bg-sunken: #F3EDFF;

  --surface: #FFFFFF;
  --surface-2: #FBF9FF;
  --surface-glass: rgba(255, 255, 255, .72);

  --text: #150F28;
  --text-2: #3D3457;
  --muted: #6B6286;
  --faint: #9990AF;

  --border: rgba(124, 58, 237, .14);
  --border-strong: rgba(124, 58, 237, .28);

  --brand: var(--p-500);
  --brand-hover: var(--p-600);
  --brand-ink: var(--p-700);      /* metin üstünde okunur mor */
  --brand-soft: var(--p-100);
  --brand-softer: var(--p-50);
  --on-brand: #FFFFFF;

  --grad: linear-gradient(120deg, #A98CFA 0%, #8B5CF6 45%, #C084FC 100%);
  --grad-text: linear-gradient(100deg, #7C3AED 0%, #A855F7 50%, #C084FC 100%);
  --aurora-1: rgba(168, 140, 250, .42);
  --aurora-2: rgba(192, 132, 252, .34);
  --aurora-3: rgba(139, 92, 246, .26);
  --aurora-opacity: .85;

  --shadow-sm: 0 1px 2px rgba(46, 16, 101, .06), 0 2px 8px rgba(46, 16, 101, .05);
  --shadow: 0 6px 24px rgba(76, 29, 149, .10), 0 2px 6px rgba(76, 29, 149, .06);
  --shadow-lg: 0 24px 60px rgba(76, 29, 149, .16), 0 6px 18px rgba(76, 29, 149, .08);
  --shadow-brand: 0 12px 34px rgba(139, 92, 246, .32);

  --net-line: rgba(124, 58, 237, .28);
  --net-dot: rgba(139, 92, 246, .75);
  --grid-line: rgba(124, 58, 237, .07);
}

/* Koyu tema — kapalı / derin mor */
:root[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0B0817;
  --bg-soft: #120E23;
  --bg-sunken: #171130;

  --surface: #16102C;
  --surface-2: #1C1538;
  --surface-glass: rgba(24, 17, 48, .68);

  --text: #EFE9FF;
  --text-2: #CFC4EC;
  --muted: #A296C6;
  --faint: #7E729F;

  --border: rgba(167, 139, 250, .16);
  --border-strong: rgba(167, 139, 250, .32);

  --brand: #6D28D9;
  --brand-hover: #7C3AED;
  --brand-ink: #C4AEFF;
  --brand-soft: rgba(109, 40, 217, .22);
  --brand-softer: rgba(109, 40, 217, .12);
  --on-brand: #FFFFFF;

  --grad: linear-gradient(120deg, #4C1D95 0%, #6D28D9 50%, #7E22CE 100%);
  --grad-text: linear-gradient(100deg, #C4AEFF 0%, #A98CFA 55%, #D8B4FE 100%);
  --aurora-1: rgba(60, 22, 120, .62);
  --aurora-2: rgba(86, 32, 170, .44);
  --aurora-3: rgba(99, 28, 160, .32);
  --aurora-opacity: .6;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow: 0 8px 28px rgba(0, 0, 0, .45);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, .6);
  --shadow-brand: 0 14px 38px rgba(76, 29, 149, .6);

  --net-line: rgba(167, 139, 250, .22);
  --net-dot: rgba(196, 174, 255, .8);
  --grid-line: rgba(167, 139, 250, .06);
}

/* ---------- 2. Reset & temel ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s var(--ease-soft), color .4s var(--ease-soft);
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 6.2vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 4vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p  { margin: 0; text-wrap: pretty; }

::selection { background: var(--p-400); color: #fff; }

:focus-visible {
  outline: 3px solid var(--brand-ink);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Kaydırma çubuğu */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border: 3px solid var(--bg-soft);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 600;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- 3. Düzen ---------- */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.page-hero + .section { padding-top: clamp(44px, 6vw, 76px); }
.section--soft { background: var(--bg-soft); }
.section--sunken { background: var(--bg-sunken); }

.section-head {
  max-width: 660px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p {
  color: var(--muted);
  font-size: 1.06rem;
  margin-top: 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 11px;
  margin-bottom: 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background: var(--brand-softer);
  color: var(--brand-ink);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand-ink);
  box-shadow: 0 0 0 4px var(--brand-soft);
  animation: pulse 2.6s var(--ease-soft) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .45; transform: scale(.75); }
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); }

/* ---------- 4. Butonlar ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: var(--on-brand);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: .97rem;
  letter-spacing: -.01em;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .25s var(--ease-soft), border-color .25s var(--ease-soft), color .25s var(--ease-soft);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }

.btn--primary { background: var(--grad); box-shadow: var(--shadow-brand); }
.btn--primary::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, #C084FC, #8B5CF6);
  opacity: 0;
  transition: opacity .35s var(--ease-soft);
}
.btn--primary:hover::after { opacity: 1; }
.btn--primary:hover { box-shadow: 0 18px 44px rgba(139, 92, 246, .42); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  background: var(--brand-softer);
  border-color: var(--brand);
  color: var(--brand-ink);
}

.btn--soft {
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.btn--soft:hover { background: var(--brand); color: var(--on-brand); }

.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--lg { padding: 17px 34px; font-size: 1.04rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-ink);
  font-weight: 600;
  font-size: .95rem;
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 5. Üst menü ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease-soft), border-color .35s var(--ease-soft), box-shadow .35s var(--ease-soft), height .35s var(--ease);
}
.header.is-stuck {
  height: 62px;
  background: var(--surface-glass);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 52px;
  flex: none;
  display: block;
  color: var(--brand-ink);
  transition: transform .45s var(--ease), color .3s var(--ease-soft);
}
.brand:hover .brand__mark { transform: scale(1.07) rotate(-3deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -.02em;
}
.brand__sub {
  font-size: .64rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: var(--radius-full);
  font-size: .94rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color .25s var(--ease-soft), background-color .25s var(--ease-soft);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 3px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.nav a:hover { color: var(--brand-ink); background: var(--brand-softer); }
.nav a[aria-current="page"] { color: var(--brand-ink); font-weight: 600; }
.nav a[aria-current="page"]::after { width: 22px; }

.header__actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  position: relative;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background: var(--surface-glass);
  cursor: pointer;
  overflow: hidden;
  transition: border-color .25s var(--ease-soft), background-color .25s var(--ease-soft), transform .3s var(--ease);
}
.theme-toggle:hover { border-color: var(--brand); transform: rotate(18deg); }
.theme-toggle svg {
  position: absolute;
  width: 19px; height: 19px;
  color: var(--brand-ink);
  transition: transform .5s var(--ease), opacity .35s var(--ease-soft);
}
.theme-toggle .i-moon { transform: translateY(0) rotate(0); opacity: 1; }
.theme-toggle .i-sun  { transform: translateY(26px) rotate(-90deg); opacity: 0; }
[data-theme="dark"] .theme-toggle .i-moon { transform: translateY(-26px) rotate(90deg); opacity: 0; }
[data-theme="dark"] .theme-toggle .i-sun  { transform: translateY(0) rotate(0); opacity: 1; }

.burger {
  display: none;
  width: 42px; height: 42px;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background: var(--surface-glass);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 17px; height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .35s var(--ease), opacity .2s var(--ease-soft);
}
.burger span + span { margin-top: 4px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobil panel */
.mobile-nav {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 99;
  padding: 18px 20px 26px;
  background: var(--surface-glass);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 4px;
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease-soft), transform .35s var(--ease), visibility .3s;
}
.mobile-nav.is-open { opacity: 1; transform: none; visibility: visible; }
.mobile-nav a {
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-of-type { border-bottom: 0; }
.mobile-nav a[aria-current="page"] { color: var(--brand-ink); background: var(--brand-softer); }
.mobile-nav .btn { margin-top: 12px; }

/* İlerleme çubuğu */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 101;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad);
  will-change: transform;
}

/* ---------- 5b. Logo (vektör amblem + animasyonlar) ---------- */
.kl {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Açılışta soldan sağa çizilme.
   Temel durum tam görünür: animasyon çalışmazsa bile logo eksiksiz durur. */
.kl__fill {
  transform-origin: left center;
  animation: kl-reveal 1.05s var(--ease) backwards;
}
@keyframes kl-reveal {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Yüzeyden geçen ışık parıltısı */
.kl__sheen {
  opacity: 0;
  transform: translateX(calc(var(--kw) * -0.4px));
  animation: kl-sheen 6.5s var(--ease-soft) 1.2s infinite;
  mix-blend-mode: overlay;
}
@keyframes kl-sheen {
  0%       { opacity: 0; transform: translateX(calc(var(--kw) * -0.4px)); }
  6%       { opacity: .85; }
  26%      { opacity: .85; }
  32%, 100% { opacity: 0; transform: translateX(calc(var(--kw) * 1.1px)); }
}

/* Amblemin çevresinde dönen düğümler (hero) */
.kl__orbit {
  opacity: .28;
  animation: spin 26s linear infinite;
}

/* Menüde imleç üstündeyken parıltıyı hemen tetikle */
.brand:hover .kl__sheen {
  animation: kl-sheen 1.5s var(--ease-soft) 1;
}

/* Hero amblemi nefes alır gibi hafifçe büyüyüp küçülür */
.orb-card__logo .kl {
  animation: kl-breathe 8s var(--ease-soft) infinite;
  transform-origin: center;
}
@keyframes kl-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.035); }
}

/* ---------- 6. Arka plan efektleri ---------- */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: var(--aurora-opacity, .8);
  will-change: transform;
}
.aurora span:nth-child(1) {
  width: 46vw; height: 46vw;
  top: -14vw; left: -8vw;
  background: var(--aurora-1);
  animation: drift1 22s ease-in-out infinite alternate;
}
.aurora span:nth-child(2) {
  width: 40vw; height: 40vw;
  top: 4vw; right: -10vw;
  background: var(--aurora-2);
  animation: drift2 26s ease-in-out infinite alternate;
}
.aurora span:nth-child(3) {
  width: 34vw; height: 34vw;
  bottom: -14vw; left: 28vw;
  background: var(--aurora-3);
  animation: drift3 30s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate3d(9vw, 7vw, 0) scale(1.18); } }
@keyframes drift2 { to { transform: translate3d(-11vw, 9vw, 0) scale(.86); } }
@keyframes drift3 { to { transform: translate3d(7vw, -8vw, 0) scale(1.12); } }

.grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 65% at 50% 35%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 35%, #000 20%, transparent 78%);
}

.noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .028;
  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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 90px;
  overflow: hidden;
}
#neural-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 3; }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .line { display: block; }
.hero__lead {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--muted);
  max-width: 55ch;
  margin-bottom: 34px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 520px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.hero__stats .num {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -.035em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__stats .lbl {
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .02em;
}

/* Hero görsel kartı */
.hero__visual { position: relative; display: grid; place-items: center; }
.orb-card {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  overflow: hidden;
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.orb-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, transparent 0 62%, var(--p-400) 78%, var(--p-300) 88%, transparent 100%);
  animation: spin 9s linear infinite;
  opacity: .5;
}
@keyframes spin { to { transform: rotate(360deg); } }
.orb-card__inner {
  position: relative;
  z-index: 2;
  inset: 1px;
  width: calc(100% - 2px); height: calc(100% - 2px);
  border-radius: calc(var(--radius-lg) - 1px);
  background: var(--surface);
  display: grid;
  place-items: center;
  gap: 18px;
  padding: 34px;
  text-align: center;
}
.orb-card__logo {
  width: clamp(190px, 42vw, 268px);
  color: var(--brand-ink);
  filter: drop-shadow(0 12px 28px rgba(76, 29, 149, .22));
}
.orb-card__tag {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.chip-float {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
}
.chip-float i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
}
.chip-float--1 { top: 9%;  left: -6%;  animation: float 6s ease-in-out infinite .4s; }
.chip-float--2 { bottom: 16%; right: -7%; animation: float 7.5s ease-in-out infinite .9s; }
.chip-float--3 { bottom: 3%; left: 6%;   animation: float 6.8s ease-in-out infinite 1.4s; }

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 26px;
  z-index: 3;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--faint);
}
.scroll-hint span {
  width: 22px; height: 36px;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-full);
  position: relative;
}
.scroll-hint span::after {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  width: 4px; height: 7px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--brand);
  animation: wheel 1.9s var(--ease-soft) infinite;
}
@keyframes wheel {
  0%   { opacity: 0; transform: translateY(0); }
  35%  { opacity: 1; }
  75%  { opacity: 0; transform: translateY(11px); }
  100% { opacity: 0; }
}

/* Sayfa başlığı (iç sayfalar) */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 76px) 0 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero .container { position: relative; z-index: 3; }
.page-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 62ch;
  margin-top: 18px;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .82rem;
  color: var(--faint);
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: var(--brand-ink); }

/* ---------- 8. Kartlar ---------- */
.card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s var(--ease-soft);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--brand-softer), transparent 62%);
  opacity: 0;
  transition: opacity .4s var(--ease-soft);
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.card__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 15px;
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.card__icon svg { width: 25px; height: 25px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }

.card--feature { padding: 32px; }
.card--feature .num {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--brand-ink);
  letter-spacing: .14em;
  margin-bottom: 14px;
  display: block;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--brand-softer);
  border: 1px solid var(--border);
  color: var(--brand-ink);
  font-size: .76rem;
  font-weight: 600;
}

/* ---------- 9. Etkinlik kartları ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.filter-btn {
  padding: 9px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-2);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s var(--ease-soft);
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand-ink); }
.filter-btn.is-active {
  background: var(--grad);
  border-color: transparent;
  color: var(--on-brand);
  box-shadow: var(--shadow-brand);
}

.event-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s var(--ease-soft);
}
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }

.event-date {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 14px 8px;
  border-radius: 15px;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.event-date .d { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; line-height: 1; }
.event-date .m { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; opacity: .92; }
.event-date .y { font-size: .68rem; opacity: .75; }
.event-card.is-past .event-date { background: var(--bg-sunken); color: var(--muted); box-shadow: none; }

.event-card h3 { font-size: 1.17rem; margin-bottom: 8px; }
.event-card p { color: var(--muted); font-size: .94rem; }
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  font-size: .84rem;
  color: var(--faint);
}
.event-meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-meta svg { width: 15px; height: 15px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.badge--live { background: #16A34A; color: #fff; }
.badge--soon { background: var(--brand-soft); color: var(--brand-ink); border: 1px solid var(--border-strong); }
.badge--past { background: var(--bg-sunken); color: var(--muted); }

.empty-state {
  grid-column: 1 / -1;
  padding: 54px 24px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface-2);
}

/* ---------- 10. Ekip ---------- */
.member {
  position: relative;
  padding: 26px 22px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s var(--ease-soft);
}
.member:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.member__avatar {
  width: 96px; height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -.02em;
  box-shadow: var(--shadow-brand);
  overflow: hidden;
  position: relative;
}
.member__avatar img { width: 100%; height: 100%; object-fit: cover; }
.member__avatar::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px dashed var(--border-strong);
  animation: spin 16s linear infinite;
}
.member h3 { font-size: 1.05rem; margin-bottom: 4px; }
.member .role {
  color: var(--brand-ink);
  font-size: .86rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.member .dept { color: var(--faint); font-size: .8rem; }
.member__social { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.member__social a {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all .25s var(--ease-soft);
}
.member__social a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}
.member__social svg { width: 16px; height: 16px; }

/* ---------- 11. Sponsorlar ---------- */
.sponsor-tier { margin-bottom: 52px; }
.tier-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.tier-head h3 { font-size: 1.15rem; white-space: nowrap; }
.tier-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-strong), transparent);
}
.tier-head .count {
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--faint);
}

.sponsor-card {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 30px 22px;
  min-height: 150px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s var(--ease-soft);
}
.sponsor-card:hover { transform: translateY(-5px) scale(1.015); box-shadow: var(--shadow); border-color: var(--brand); }
.sponsor-card__logo {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--brand-softer);
  border: 1px solid var(--border);
  color: var(--brand-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
}
.sponsor-card__logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.sponsor-card strong { font-size: .97rem; }
.sponsor-card .year { font-size: .78rem; color: var(--faint); font-family: var(--font-mono); }

.marquee {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--muted);
  white-space: nowrap;
  transition: color .25s var(--ease-soft);
}
.marquee__item:hover { color: var(--brand-ink); }
.marquee__item::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 3px;
  background: var(--grad);
  transform: rotate(45deg);
}

/* ---------- 12. Zaman çizelgesi & arşiv ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--border), transparent);
}
.timeline__item { position: relative; padding-bottom: 34px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -30px; top: 7px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px var(--brand-softer);
}
.timeline__year {
  font-family: var(--font-mono);
  font-size: .82rem;
  font-weight: 700;
  color: var(--brand-ink);
  letter-spacing: .1em;
  margin-bottom: 6px;
}
.timeline__item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.timeline__item p { color: var(--muted); font-size: .94rem; }

.accordion { border-top: 1px solid var(--border); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  transition: color .25s var(--ease-soft);
}
.acc-btn:hover { color: var(--brand-ink); }
.acc-btn h3 { font-size: 1.12rem; }
.acc-btn .meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--faint);
  font-size: .84rem;
  font-family: var(--font-mono);
}
.acc-btn .chev {
  width: 34px; height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--brand-ink);
  transition: transform .35s var(--ease), background-color .25s var(--ease-soft);
}
.acc-btn .chev svg { width: 16px; height: 16px; }
.acc-btn[aria-expanded="true"] .chev { transform: rotate(180deg); background: var(--brand-soft); }
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}
.acc-panel.is-open { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel .inner { padding: 0 4px 28px; }

/* ---------- 13. İstatistik & CTA ---------- */
.stat-tile {
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), border-color .3s var(--ease-soft);
}
.stat-tile:hover { transform: translateY(-5px); border-color: var(--brand); }
.stat-tile .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -.035em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.stat-tile .lbl { color: var(--muted); font-size: .88rem; margin-top: 6px; }

.cta-band {
  position: relative;
  padding: clamp(44px, 6vw, 72px);
  border-radius: var(--radius-lg);
  background: var(--grad);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000, transparent 72%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 60ch; margin: 0 auto 30px; font-size: 1.05rem; }
.cta-band .btn--white { background: #fff; color: var(--p-700); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.cta-band .btn--white:hover { background: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.24); }
.cta-band .btn--outline { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.55); }
.cta-band .btn--outline:hover { background: rgba(255,255,255,.2); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- 14. İletişim ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: 0; }
.contact-item .ico {
  width: 44px; height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.contact-item .ico svg { width: 20px; height: 20px; }
.contact-item strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.contact-item span, .contact-item a { color: var(--muted); font-size: .92rem; }
.contact-item a:hover { color: var(--brand-ink); }

.form {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}
.field { display: grid; gap: 7px; }
.field label { font-size: .87rem; font-weight: 600; color: var(--text-2); }
.field input, .field textarea, .field select {
  padding: 13px 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-size: .95rem;
  transition: border-color .25s var(--ease-soft), box-shadow .25s var(--ease-soft), background-color .25s var(--ease-soft);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--brand-softer);
}
.field textarea { resize: vertical; min-height: 118px; }
.form__note { font-size: .82rem; color: var(--faint); }
.form-status {
  display: none;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  background: var(--brand-softer);
  border: 1px solid var(--border-strong);
  color: var(--brand-ink);
  font-size: .9rem;
}
.form-status.is-visible { display: block; }

/* ---------- 15. Alt bilgi ---------- */
.footer {
  position: relative;
  padding: clamp(52px, 7vw, 78px) 0 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 38px;
  padding-bottom: 46px;
}
.footer__about p { color: var(--muted); font-size: .93rem; margin: 18px 0 20px; max-width: 42ch; }
.footer h4 {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 16px;
}
.footer li { margin-bottom: 10px; }
.footer li a { color: var(--muted); font-size: .93rem; transition: color .2s var(--ease-soft); }
.footer li a:hover { color: var(--brand-ink); }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a {
  flex: none;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  transition: all .25s var(--ease-soft);
}
.socials a:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 3px; }

.socials a:hover {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}
.socials svg { width: 17px; height: 17px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0 28px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: .85rem;
}
.footer__bottom a:hover { color: var(--brand-ink); }

.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--brand-ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .35s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.to-top svg { width: 19px; height: 19px; }

/* ---------- 16. Görünürlük animasyonları ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 17. Duyarlılık ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; text-align: left; }
  .hero__visual { order: -1; margin-bottom: 8px; }
  .orb-card { width: min(100%, 320px); }
  .chip-float--1 { left: -2%; }
  .chip-float--2 { right: -2%; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__about { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: grid; }
  .hero { min-height: auto; }
  .hero__stats { max-width: none; }
}

@media (max-width: 640px) {
  /* Dar ekranda yüzen etiketler kart içeriğini kapatıyor */
  .chip-float { display: none; }
}

@media (max-width: 560px) {
  :root { --nav-h: 64px; }
  .container { width: min(100% - 32px, var(--container)); }
  .event-card { grid-template-columns: 1fr; gap: 16px; }
  .event-date {
    justify-items: start;
    grid-template-columns: auto auto auto;
    gap: 8px;
    align-items: baseline;
    width: fit-content;
    padding: 8px 16px;
  }
  .hero__stats { grid-template-columns: 1fr; gap: 16px; text-align: left; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .brand__sub { display: none; }
  .cta-band__actions .btn { width: 100%; }
}

/* ---------- 18. Hareket azaltma & baskı ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .header, .mobile-nav, .to-top, .aurora, .noise, .grid-bg, #neural-canvas, .scroll-progress { display: none !important; }
  body { background: #fff; color: #000; }
}
