/* ═══════════════════════════════════════════════════════════
   TECH FORGE CLUB — Driven by Tech »
   Fully-animated tech-themed stylesheet
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #05060a;
  --bg-2: #0a0d16;
  --panel: #0d1120;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e8ecf4;
  --muted: #8b93a7;
  --cyan: #00e5ff;
  --orange: #ff7a18;
  --magenta: #ff2d78;
  --violet: #7c4dff;
  --grad: linear-gradient(90deg, #00e5ff, #7c4dff, #ff2d78, #ff7a18);
  --font-display: 'Orbitron', sans-serif;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --nav-h: 72px;
  --radius: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

::selection { background: var(--cyan); color: #000; }

.mono { font-family: var(--font-mono); }
.accent-text { color: var(--cyan); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  border-radius: 99px;
}

/* ═══════════ PRELOADER ═══════════ */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .7s ease, visibility .7s ease;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-inner { text-align: center; }

.preloader-globe {
  position: relative; width: 120px; height: 120px; margin: 0 auto 34px;
  animation: globeFloat 3s ease-in-out infinite;
}
@keyframes globeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.pg-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent;
}
.pg-ring.r1 {
  border-top-color: var(--cyan); border-bottom-color: var(--cyan);
  animation: spin 1.6s linear infinite;
}
.pg-ring.r2 {
  inset: 14px; border-left-color: var(--violet); border-right-color: var(--violet);
  animation: spin 2.2s linear infinite reverse;
}
.pg-ring.r3 {
  inset: 28px; border-top-color: var(--orange); border-bottom-color: var(--orange);
  animation: spin 1.2s linear infinite;
}
.pg-core {
  position: absolute; inset: 46px; border-radius: 50%;
  background: radial-gradient(circle, var(--cyan), var(--violet));
  animation: corePulse 1.4s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(0,229,255,.8);
}
@keyframes corePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.35); } }
@keyframes spin { to { transform: rotate(360deg); } }

.preloader-text { display: flex; gap: 14px; justify-content: center; margin-bottom: 26px; }
.pre-word {
  font-family: var(--font-display); font-weight: 900; font-size: 1.15rem;
  letter-spacing: .3em; color: var(--text);
  animation: wordBlink 1.4s ease infinite;
}
.pre-word:nth-child(2) { animation-delay: .2s; color: var(--cyan); }
.pre-word:nth-child(3) { animation-delay: .4s; color: var(--orange); }
@keyframes wordBlink { 0%,100% { opacity: .25; } 50% { opacity: 1; } }

.preloader-bar {
  width: 240px; height: 3px; margin: 0 auto 12px;
  background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden;
}
.preloader-fill {
  height: 100%; width: 0%;
  background: var(--grad);
  transition: width .15s ease;
}
.preloader-pct { color: var(--muted); font-size: .8rem; letter-spacing: .2em; }

/* ═══════════ CURSOR ═══════════ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 8px; height: 8px; background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(0,229,255,.5);
  transition: width .25s ease, height .25s ease, border-color .25s ease, background .25s ease;
}
.cursor-ring.grow {
  width: 64px; height: 64px;
  border-color: var(--orange);
  background: rgba(255,122,24,.08);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ═══════════ SCROLL PROGRESS ═══════════ */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9998;
  height: 3px; width: 0%;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(0,229,255,.7);
}

/* ═══════════ NAVBAR ═══════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 48px);
  transition: background .4s ease, box-shadow .4s ease, backdrop-filter .4s ease;
}
.navbar.scrolled {
  background: rgba(5,6,10,.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line), 0 10px 40px rgba(0,0,0,.5);
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; filter: drop-shadow(0 0 8px rgba(0,229,255,.5)); }
.brand-mark svg { width: 100%; height: 100%; animation: spin 14s linear infinite; }
.brand-text {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.1rem; letter-spacing: .08em; color: var(--text);
}
.brand-text b { color: transparent; background: linear-gradient(90deg, var(--cyan), var(--violet)); -webkit-background-clip: text; background-clip: text; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  color: var(--muted); text-decoration: none;
  font-size: .85rem; font-weight: 500; letter-spacing: .04em;
  padding: 8px 12px; transition: color .3s ease;
}
.nav-link::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.65,0,.35,1);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px; z-index: 1002;
}
.hamburger span {
  width: 26px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .35s ease, opacity .35s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu overlay (mobile) */
.menu-overlay {
  position: fixed; inset: 0; z-index: 1001;
  background: rgba(5,6,10,.96);
  backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .45s ease, visibility .45s ease;
}
.menu-overlay.open { opacity: 1; visibility: visible; }
.menu-overlay-inner { text-align: center; display: flex; flex-direction: column; gap: 6px; }
.overlay-link {
  font-family: var(--font-display); font-weight: 700;
  color: var(--text); text-decoration: none; font-size: clamp(1.4rem, 5vw, 2.2rem);
  padding: 8px 20px;
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease, color .3s ease, letter-spacing .3s ease;
}
.menu-overlay.open .overlay-link { opacity: 1; transform: translateY(0); }
.menu-overlay.open .overlay-link:nth-child(1) { transition-delay: .05s; }
.menu-overlay.open .overlay-link:nth-child(2) { transition-delay: .1s; }
.menu-overlay.open .overlay-link:nth-child(3) { transition-delay: .15s; }
.menu-overlay.open .overlay-link:nth-child(4) { transition-delay: .2s; }
.menu-overlay.open .overlay-link:nth-child(5) { transition-delay: .25s; }
.menu-overlay.open .overlay-link:nth-child(6) { transition-delay: .3s; }
.menu-overlay.open .overlay-link:nth-child(7) { transition-delay: .35s; }
.menu-overlay.open .overlay-link:nth-child(8) { transition-delay: .4s; }
.overlay-link:hover { color: var(--cyan); letter-spacing: .06em; }
.overlay-tagline {
  margin-top: 22px; color: var(--muted); font-size: .75rem; letter-spacing: .35em;
}

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 99px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  text-decoration: none; cursor: pointer; border: none;
  position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  will-change: transform;
}
.btn-primary {
  color: #020409;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 8px 30px rgba(0,229,255,.35);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--orange), var(--magenta));
  opacity: 0; transition: opacity .35s ease;
}
.btn-primary:hover { box-shadow: 0 12px 42px rgba(255,45,120,.4); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary span, .btn-primary { z-index: 1; }
.btn-primary span { position: relative; }
.btn-primary::before { z-index: 0; }

.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--cyan); box-shadow: 0 0 24px rgba(0,229,255,.25) inset; }
.btn-sm { padding: 9px 18px; font-size: .8rem; }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 30px) 20px 80px;
}
#heroCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0;
}
.hero-grid-bg {
  position: absolute; inset: -2px; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 45%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 45%, black 30%, transparent 75%);
  animation: gridDrift 26s linear infinite;
}
@keyframes gridDrift { to { background-position: 56px 56px, 56px 56px; } }

.orb {
  position: absolute; border-radius: 50%; z-index: 1;
  filter: blur(70px); opacity: .5; pointer-events: none;
  will-change: transform;
}
.orb-1 { width: 480px; height: 480px; top: -140px; left: -120px; background: radial-gradient(circle, rgba(0,229,255,.45), transparent 65%); animation: orbDrift 14s ease-in-out infinite; }
.orb-2 { width: 560px; height: 560px; bottom: -200px; right: -160px; background: radial-gradient(circle, rgba(255,122,24,.4), transparent 65%); animation: orbDrift 18s ease-in-out infinite reverse; }
.orb-3 { width: 380px; height: 380px; top: 40%; left: 55%; background: radial-gradient(circle, rgba(124,77,255,.4), transparent 65%); animation: orbDrift 22s ease-in-out infinite; }
@keyframes orbDrift {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.08); }
  66% { transform: translate(-30px,25px) scale(.95); }
}

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 960px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 20px; border-radius: 99px;
  border: 1px solid rgba(0,229,255,.3);
  background: rgba(0,229,255,.06);
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em;
  color: var(--cyan); text-transform: uppercase;
  margin-bottom: 30px;
  box-shadow: 0 0 30px rgba(0,229,255,.12) inset;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(0,229,255,.7);
  animation: pulseDot 1.8s ease-out infinite;
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(0,229,255,.7); }
  70% { box-shadow: 0 0 0 12px rgba(0,229,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,229,255,0); }
}

.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3rem, 11vw, 8rem);
  line-height: .95; letter-spacing: .02em;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .35em;
  margin-bottom: 18px;
}
.ht-word { position: relative; display: inline-block; }
.ht-word.accent { color: transparent; }
/* gradient applied per-letter (JS splits text into child spans, which breaks clip on the parent) */
.ht-word.accent .ht-letter {
  background: linear-gradient(120deg, var(--cyan) 0%, var(--violet) 45%, var(--magenta) 75%, var(--orange) 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: letterIn .8s cubic-bezier(.2,.9,.3,1.4) both, gradShift 5s ease infinite;
}
@keyframes gradShift {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
/* per-letter animation added by JS */
.ht-letter { display: inline-block; animation: letterIn .8s cubic-bezier(.2,.9,.3,1.4) both; will-change: transform, opacity; }
@keyframes letterIn {
  from { opacity: 0; transform: translateY(60px) rotateX(70deg) scale(.8); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0) rotateX(0) scale(1); filter: blur(0); }
}
/* hover glitch clone */
.ht-word:hover .ht-letter { animation: letterJelly .5s ease; }
.ht-word.accent:hover .ht-letter { animation: letterJelly .5s ease, gradShift 5s ease infinite; }
@keyframes letterJelly {
  0%,100% { transform: translateY(0); }
  30% { transform: translateY(-10px) rotate(-4deg); }
  60% { transform: translateY(4px) rotate(2deg); }
}

.hero-tagline {
  font-size: clamp(.95rem, 2.4vw, 1.3rem);
  color: var(--cyan); letter-spacing: .18em;
  min-height: 1.8em; margin-bottom: 22px;
  text-shadow: 0 0 18px rgba(0,229,255,.5);
}
.type-caret { animation: caretBlink .85s step-end infinite; color: var(--orange); }
@keyframes caretBlink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

.hero-sub {
  max-width: 640px; margin: 0 auto 38px;
  color: var(--muted); font-size: clamp(.95rem, 1.6vw, 1.08rem);
  font-weight: 300;
}
.hero-sub b { color: var(--text); font-weight: 600; }

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex; justify-content: center; gap: clamp(20px, 5vw, 60px);
  flex-wrap: wrap;
}
.hstat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hstat-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  background: linear-gradient(180deg, var(--text), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hstat-label {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); font-family: var(--font-mono);
}

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-family: var(--font-mono); font-size: .66rem; letter-spacing: .3em;
  text-decoration: none;
}
.scroll-cue-track {
  width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,.25); border-radius: 99px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-cue-dot {
  width: 4px; height: 8px; border-radius: 99px; background: var(--cyan);
  animation: cueDrop 1.6s ease-in-out infinite;
}
@keyframes cueDrop {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ═══════════ MARQUEE ═══════════ */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 18px 0; overflow: hidden;
  background: linear-gradient(90deg, rgba(0,229,255,.05), rgba(124,77,255,.05), rgba(255,122,24,.05));
  transform: rotate(-1deg) scale(1.02);
}
.marquee-track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1rem, 2.6vw, 1.6rem); letter-spacing: .18em;
  white-space: nowrap; padding-right: 40px;
  color: transparent; -webkit-text-stroke: 1px rgba(0,229,255,.55);
}
.marquee-track span i { color: var(--orange); -webkit-text-stroke: 0; font-style: normal; }
@keyframes marquee { to { transform: translateX(-25%); } }

/* ═══════════ SECTIONS (shared) ═══════════ */
.section { padding: clamp(80px, 12vw, 140px) clamp(20px, 6vw, 80px); position: relative; }
.section-head { text-align: center; margin-bottom: clamp(46px, 7vw, 80px); }
.kicker {
  display: inline-block;
  color: var(--cyan); font-size: .78rem; letter-spacing: .3em;
  margin-bottom: 14px; text-transform: uppercase;
}
.section-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2rem, 5.4vw, 3.6rem); line-height: 1.1;
  letter-spacing: -.02em;
}
.grad-text {
  background: var(--grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 6s ease infinite;
}

/* reveal system */
.reveal {
  opacity: 0; transform: translateY(44px);
  transition: opacity .9s cubic-bezier(.2,.65,.3,1), transform .9s cubic-bezier(.2,.65,.3,1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }

/* ═══════════ ABOUT ═══════════ */
.about { background: var(--bg-2); }
.about-wrap {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 80px);
  align-items: center; max-width: 1200px; margin: 0 auto;
}
.about-copy .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--text); margin-bottom: 18px; font-weight: 300; }
.about-copy .lead b { font-weight: 700; color: var(--cyan); }
.about-copy p:not(.lead) { color: var(--muted); margin-bottom: 26px; }
.about-copy p b { color: var(--text); }

.about-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chip {
  padding: 8px 16px; border-radius: 99px; font-size: .78rem;
  font-family: var(--font-mono); letter-spacing: .06em;
  color: var(--cyan); border: 1px solid rgba(0,229,255,.3);
  background: rgba(0,229,255,.05);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
  cursor: default;
}
.chip:hover {
  transform: translateY(-4px);
  background: rgba(0,229,255,.14);
  box-shadow: 0 8px 24px rgba(0,229,255,.25);
}

/* Logo card recreation */
.logo-card {
  position: relative; aspect-ratio: 1; max-width: 420px; margin: 0 auto;
  border-radius: 28px; background: #000;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.logo-sphere { position: relative; width: 46%; aspect-ratio: 1; transform-style: preserve-3d; }
.ls-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.85);
  animation: ringSpin 8s linear infinite;
}
.ls-ring.r2 { animation: ringSpin2 10s linear infinite; border-color: rgba(0,229,255,.7); }
.ls-ring.r3 { animation: ringSpin3 12s linear infinite; border-color: rgba(255,122,24,.6); }
@keyframes ringSpin { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@keyframes ringSpin2 { from { transform: rotateY(60deg) rotateX(20deg); } to { transform: rotateY(420deg) rotateX(20deg); } }
@keyframes ringSpin3 { from { transform: rotateY(-45deg) rotateX(-20deg); } to { transform: rotateY(315deg) rotateX(-20deg); } }
.ls-core {
  position: absolute; inset: 34%; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, var(--cyan) 45%, transparent 75%);
  filter: blur(1px);
  animation: corePulse 2.6s ease-in-out infinite;
}
.logo-arc {
  position: absolute; left: 0; right: 0; text-align: center;
  font-family: var(--font-display); font-weight: 800;
  color: #fff; letter-spacing: .3em;
}
.logo-arc.top { top: 9%; font-size: clamp(.9rem, 2vw, 1.25rem); }
.logo-arc.bottom { bottom: 9%; font-size: clamp(.65rem, 1.5vw, .85rem); color: var(--cyan); }
.logo-scanline {
  position: absolute; left: 0; right: 0; height: 90px;
  background: linear-gradient(180deg, transparent, rgba(0,229,255,.09), transparent);
  animation: scanline 4s linear infinite;
}
@keyframes scanline { from { top: -90px; } to { top: 100%; } }

/* ═══════════ OBJECTIVES ═══════════ */
.obj-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px;
  max-width: 1000px; margin: 0 auto;
}
.obj-card {
  position: relative; padding: 44px 36px;
  background: var(--panel);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.65,.3,1.2), border-color .4s ease;
  transform-style: preserve-3d;
}
.obj-card:hover { border-color: rgba(0,229,255,.4); }
.obj-icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,229,255,.15), rgba(124,77,255,.15));
  border: 1px solid rgba(0,229,255,.25);
  color: var(--cyan); margin-bottom: 24px;
}
.obj-icon svg { width: 28px; height: 28px; transition: transform .5s cubic-bezier(.2,.65,.3,1.6); }
.obj-card:hover .obj-icon svg { transform: rotate(-10deg) scale(1.15); }
.obj-num {
  position: absolute; top: 26px; right: 30px;
  font-size: 2.6rem; font-weight: 600; opacity: .07; color: #fff;
}
.obj-card h3 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 10px; }
.obj-card p { color: var(--muted); font-size: .97rem; }
.obj-glow {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,.16), transparent 70%);
  top: var(--my, 50%); left: var(--mx, 50%);
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.obj-card:hover .obj-glow { opacity: 1; }

/* ═══════════ FUNCTIONS ═══════════ */
.functions { background: var(--bg-2); }
.fn-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; max-width: 1200px; margin: 0 auto;
}
.fn-card {
  position: relative; padding: 38px 30px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .45s cubic-bezier(.2,.65,.3,1.2), background .45s ease, border-color .45s ease, box-shadow .45s ease;
  overflow: hidden;
}
.fn-card:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,.04);
  border-color: rgba(255,122,24,.4);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.fn-line {
  position: absolute; top: 0; left: 0; height: 3px; width: 100%;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s cubic-bezier(.65,0,.35,1);
}
.fn-card:hover .fn-line { transform: scaleX(1); }
.fn-num { color: var(--orange); font-size: .78rem; letter-spacing: .2em; display: block; margin-bottom: 16px; }
.fn-card h3 { font-family: var(--font-head); font-size: 1.35rem; margin-bottom: 12px; }
.fn-card p { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.fn-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.fn-tags span {
  font-size: .66rem; letter-spacing: .12em; color: var(--muted);
  padding: 5px 10px; border-radius: 6px;
  border: 1px solid var(--line);
  transition: color .3s ease, border-color .3s ease;
}
.fn-card:hover .fn-tags span { color: var(--cyan); border-color: rgba(0,229,255,.35); }

/* ═══════════ EVENTS ═══════════ */
.ev-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1240px; margin: 0 auto;
}
.ev-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
  transition: transform .4s cubic-bezier(.2,.65,.3,1.15), border-color .4s ease, box-shadow .4s ease;
  transform-style: preserve-3d;
}
.ev-card:hover { border-color: rgba(124,77,255,.5); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.ev-feature { grid-column: span 2; grid-row: span 1; display: flex; flex-direction: column; }

.ev-banner {
  position: relative; padding: 48px 36px;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(0,229,255,.18), transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(255,122,24,.18), transparent 55%),
    #04060d;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.ev-banner::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 34px 34px;
  animation: gridDrift 18s linear infinite;
}
.ev-year {
  position: relative; z-index: 1;
  color: var(--orange); font-size: .72rem; letter-spacing: .3em; display: block; margin-bottom: 14px;
}
.ev-name {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.8rem); letter-spacing: .03em;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--orange));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 4s ease infinite;
  margin-bottom: 10px;
}
.ev-motto { position: relative; z-index: 1; color: var(--muted); font-size: .85rem; letter-spacing: .22em; }
.ev-body { padding: 30px 36px 36px; flex: 1; }
.ev-body p { color: var(--muted); margin-bottom: 22px; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--cyan); font-size: .78rem; }
.ev-meta span { transition: transform .3s ease; cursor: default; }
.ev-meta span:hover { transform: translateY(-3px) scale(1.06); }

.ev-card:not(.ev-feature) { padding: 34px 28px; }
.ev-card:not(.ev-feature) .ev-icon { font-size: 2rem; margin-bottom: 16px; display: inline-block; transition: transform .45s cubic-bezier(.2,.65,.3,1.6); }
.ev-card:not(.ev-feature):hover .ev-icon { transform: scale(1.25) rotate(-8deg); }
.ev-card:not(.ev-feature) h3 { font-family: var(--font-head); font-size: 1.2rem; margin-bottom: 10px; }
.ev-card:not(.ev-feature) p { color: var(--muted); font-size: .92rem; }

/* glitch effect */
.glitch { position: relative; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; inset: 0; z-index: -1;
  background: inherit; -webkit-background-clip: text; background-clip: text;
  opacity: 0;
}
.ev-name.glitch::before { animation: glitchA 3.4s steps(1) infinite; color: var(--cyan); -webkit-text-fill-color: var(--cyan); }
.ev-name.glitch::after { animation: glitchB 3.4s steps(1) infinite; color: var(--magenta); -webkit-text-fill-color: var(--magenta); }
@keyframes glitchA {
  0%, 92%, 100% { opacity: 0; transform: none; }
  93% { opacity: .8; transform: translate(-3px, 2px); }
  95% { opacity: .8; transform: translate(3px, -2px); }
  97% { opacity: 0; }
}
@keyframes glitchB {
  0%, 93%, 100% { opacity: 0; transform: none; }
  94% { opacity: .8; transform: translate(3px, 1px); }
  96% { opacity: .8; transform: translate(-3px, -1px); }
  98% { opacity: 0; }
}

/* ═══════════ JOURNEY TIMELINE ═══════════ */
.journey { background: var(--bg-2); }
.timeline {
  position: relative; max-width: 900px; margin: 0 auto;
  padding-left: 40px;
}
.tl-track {
  position: absolute; left: 12px; top: 0; bottom: 0; width: 3px;
  background: rgba(255,255,255,.07); border-radius: 99px; overflow: hidden;
}
.tl-fill {
  position: absolute; top: 0; left: 0; right: 0;
  height: 0%;
  background: linear-gradient(180deg, var(--cyan), var(--orange));
  box-shadow: 0 0 16px rgba(0,229,255,.6);
}
.tl-item { position: relative; padding: 0 0 54px 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -40px; top: 4px;
  width: 27px; height: 27px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid rgba(0,229,255,.5);
  display: flex; align-items: center; justify-content: center;
}
.tl-dot span {
  width: 9px; height: 9px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: corePulse 2s ease-in-out infinite;
}
.tl-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 30px;
  transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
}
.tl-card:hover {
  transform: translateX(10px);
  border-color: rgba(0,229,255,.35);
  box-shadow: 0 16px 44px rgba(0,0,0,.45);
}
.tl-date { color: var(--orange); font-size: .72rem; letter-spacing: .26em; display: block; margin-bottom: 8px; }
.tl-card h3 { font-family: var(--font-head); font-size: 1.25rem; margin-bottom: 8px; }
.tl-card p { color: var(--muted); font-size: .95rem; }

/* ═══════════ TEAM (year boards with real photos) ═══════════ */
.team-lead { color: var(--muted); margin-top: 14px; font-size: .98rem; }

.team-tabs {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 46px;
}
.team-tab {
  position: relative; cursor: pointer;
  padding: 14px 26px; border-radius: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  transition: transform .35s cubic-bezier(.2,.65,.3,1.3), border-color .35s ease, background .35s ease, box-shadow .35s ease;
  overflow: hidden;
}
.team-tab::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, rgba(0,229,255,.14), rgba(124,77,255,.14));
  opacity: 0; transition: opacity .35s ease;
}
.team-tab:hover { transform: translateY(-4px); border-color: rgba(0,229,255,.4); }
.team-tab:hover::after { opacity: .5; }
.team-tab.active {
  border-color: rgba(0,229,255,.65);
  background: rgba(0,229,255,.08);
  box-shadow: 0 0 26px rgba(0,229,255,.22), inset 0 0 18px rgba(0,229,255,.06);
  transform: translateY(-2px);
}
.team-tab.active::after { opacity: 1; }
.tt-year { position: relative; z-index: 1; font-size: 1.05rem; font-weight: 600; color: var(--text); }
.team-tab.active .tt-year {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tt-label { position: relative; z-index: 1; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.team-tab.active .tt-label { color: var(--cyan); }

.team-panels { position: relative; max-width: 1240px; margin: 0 auto; }
.team-panel { display: none; }
.team-panel.active { display: block; animation: panelIn .55s cubic-bezier(.2,.65,.3,1) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.member-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 20px;
}
.member-card {
  position: relative;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 14px 18px; text-align: center;
  transition: transform .4s cubic-bezier(.2,.65,.3,1.2), border-color .4s ease, box-shadow .4s ease;
  opacity: 0;
}
.team-panel.active .member-card { animation: memberIn .6s cubic-bezier(.2,.65,.3,1.15) both; }
@keyframes memberIn { from { opacity: 0; transform: translateY(34px) scale(.94); } to { opacity: 1; transform: none; } }
.member-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,229,255,.45);
  box-shadow: 0 20px 50px rgba(0,0,0,.5), 0 0 24px rgba(0,229,255,.12);
}

.member-photo {
  position: relative; aspect-ratio: 4/5; border-radius: 12px; overflow: hidden;
  background: #000; margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,.06);
}
.member-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(65%) contrast(1.05);
  transition: filter .5s ease, transform .6s cubic-bezier(.2,.65,.3,1.1);
}
.member-card:hover .member-photo img { filter: grayscale(0%) contrast(1); transform: scale(1.07); }
.member-photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5,6,10,.85));
  pointer-events: none;
}
.member-shine {
  position: absolute; top: -60%; left: -80%; width: 60%; height: 220%; z-index: 2;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.16), transparent);
  transform: rotate(18deg);
  transition: left .7s ease;
  pointer-events: none;
}
.member-card:hover .member-shine { left: 130%; }

.member-name { font-family: var(--font-head); font-size: 1.02rem; line-height: 1.25; }
.member-pos {
  margin-top: 5px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan);
}
.member-pos.vice { color: var(--orange); }

.founder-group { text-align: center; margin-bottom: 34px; }
.member-photo.landscape { aspect-ratio: 16/9; max-width: 640px; margin: 0 auto 14px; }
.founder-group .member-name { font-size: 1.3rem; }

.hint-link { color: var(--cyan); text-decoration: none; border-bottom: 1px dashed rgba(0,229,255,.5); }
.hint-link:hover { color: var(--orange); border-color: var(--orange); }
.team-note { text-align: center; margin-top: 34px; color: var(--muted); font-size: .85rem; letter-spacing: .1em; }

/* ═══════════ JOIN ═══════════ */
.join { overflow: hidden; text-align: center; }
.join-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255,122,24,.18), transparent 60%),
    radial-gradient(ellipse at 50% -20%, rgba(0,229,255,.14), transparent 55%);
}
.join-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.join-title {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 4rem); margin: 10px 0 16px;
  letter-spacing: -.02em;
}
.join-sub { color: var(--muted); margin-bottom: 44px; font-size: 1.05rem; }

.join-form { display: flex; flex-direction: column; gap: 18px; text-align: left; }
.join-form .field { position: relative; }
.join-form input {
  width: 100%; padding: 20px 18px 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line); border-radius: 12px;
  color: var(--text); font-family: var(--font-body); font-size: .98rem;
  outline: none;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.join-form input:focus {
  border-color: var(--cyan);
  background: rgba(0,229,255,.04);
  box-shadow: 0 0 0 4px rgba(0,229,255,.12);
}
.join-form label {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: .95rem; pointer-events: none;
  transition: all .25s ease;
}
.join-form input:focus + label,
.join-form input:not(:placeholder-shown) + label {
  top: 12px; font-size: .68rem; letter-spacing: .1em; color: var(--cyan);
  text-transform: uppercase;
}
.join-form .btn-lg { align-self: center; margin-top: 8px; }
.join-form .btn-lg.loading .btn-label { opacity: .5; }
.join-form .btn-lg.loading::after {
  content: ''; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(0,0,0,.3); border-top-color: #020409;
  animation: spin .7s linear infinite;
}
.form-hint { text-align: center; color: var(--muted); font-size: .72rem; letter-spacing: .06em; }
.form-status {
  text-align: center; min-height: 1.4em; font-size: .8rem; letter-spacing: .04em;
  transition: color .3s ease;
}
.form-status.ok { color: var(--cyan); text-shadow: 0 0 12px rgba(0,229,255,.5); }
.form-status.err { color: var(--magenta); }
.form-status.warn { color: var(--orange); }

/* ═══════════ FOOTER ═══════════ */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 70px clamp(20px, 6vw, 80px) 30px;
  background: var(--bg-2); overflow: hidden;
}
.footer-glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 240px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,229,255,.12), transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.footer-top {
  position: relative;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px; max-width: 1240px; margin: 0 auto 50px;
}
.footer-brand .brand-text.big { font-size: 2rem; margin-bottom: 6px; display: inline-block; }
.footer-motto { color: var(--cyan); font-size: .74rem; letter-spacing: .3em; margin-bottom: 16px; }
.footer-brand p:not(.footer-motto) { color: var(--muted); font-size: .9rem; }
.footer-col h4 {
  font-family: var(--font-head); font-size: .95rem; letter-spacing: .06em;
  margin-bottom: 18px; color: var(--text);
}
.footer-col a {
  display: block; color: var(--muted); text-decoration: none;
  font-size: .88rem; padding: 5px 0;
  transition: color .3s ease, transform .3s ease;
}
.footer-col a:hover { color: var(--cyan); transform: translateX(6px); }
.footer-bottom {
  position: relative;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  max-width: 1240px; margin: 0 auto; padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: .7rem; letter-spacing: .12em;
}
.made-with { color: var(--orange); }

/* ═══════════ TO TOP + TOAST ═══════════ */
.to-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(0,229,255,.35);
  background: rgba(10,13,22,.8); backdrop-filter: blur(10px);
  color: var(--cyan); font-size: 1.2rem; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all .4s cubic-bezier(.2,.65,.3,1.2);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover {
  background: rgba(0,229,255,.15);
  box-shadow: 0 0 26px rgba(0,229,255,.4);
  transform: translateY(-4px);
}

.toast {
  position: fixed; bottom: 30px; left: 50%; z-index: 9999;
  transform: translate(-50%, 120%);
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  color: #020409; font-weight: 600; font-size: .92rem;
  padding: 14px 26px; border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0,229,255,.35);
  transition: transform .5s cubic-bezier(.2,.65,.3,1.2);
}
.toast.show { transform: translate(-50%, 0); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .ev-grid { grid-template-columns: repeat(2, 1fr); }
  .ev-feature { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .about-wrap { grid-template-columns: 1fr; }
  .obj-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
}
@media (max-width: 640px) {
  .ev-grid { grid-template-columns: 1fr; }
  .ev-feature { grid-column: span 1; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .timeline { padding-left: 30px; }
  .tl-dot { left: -33px; }
  .member-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .team-tab { padding: 10px 18px; }
  .tt-year { font-size: .9rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
