/* ===== RESET & VARIABLES ===== */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #040408;
  --bg2: #080810;
  --surface: #0d0d1a;
  --border: rgba(255,255,255,0.07);
  --accent: #e8ff00;
  --accent2: #00d4ff;
  --accent3: #ff3366;
  --text: #f0f0f5;
  --text-muted: #6b6b80;
  --text-dim: #3a3a50;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --glow: 0 0 40px rgba(232,255,0,0.15);
  --glow2: 0 0 40px rgba(0,212,255,0.15);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ===== CANVAS & CURSOR ===== */
#particleCanvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: 0.3;
}

.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
  mix-blend-mode: difference;
}

.cursor-trail {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: all 0.12s ease;
  opacity: 0.5;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 60px;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(4,4,8,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 60px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 4px;
  color: var(--text);
  text-decoration: none;
}

.logo-bracket { color: var(--accent); font-size: 32px; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: none;
  transition: all 0.3s;
  font-weight: 700;
}

.nav-cta:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--glow);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  z-index: 1001;
}

.hamburger span {
  width: 24px; height: 1px;
  background: var(--text);
  transition: all 0.3s ease;
  display: block;
}

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 60px;
  overflow: hidden;
  z-index: 1;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Diagonal slash decoration */
.page-hero::before {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 60%; height: 140%;
  background: linear-gradient(135deg, rgba(232,255,0,0.03) 0%, transparent 60%);
  transform: skewX(-15deg);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,212,255,0.08), transparent 70%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  animation: heroFadeIn 1s ease forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(72px, 12vw, 160px);
  line-height: 0.9;
  letter-spacing: 3px;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-title .line {
  display: block;
  opacity: 0;
  animation: slideUp 0.8s ease forwards;
}

.page-title .line:nth-child(1) { animation-delay: 0.2s; }
.page-title .line:nth-child(2) { animation-delay: 0.4s; }
.page-title .line:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-title .accent {
  color: transparent;
  -webkit-text-stroke: 3px var(--accent);
  position: relative;
}

.page-title .accent::before {
  content: attr(data-text);
  position: absolute; left: 0; right: 0;
  color: var(--accent);
  -webkit-text-stroke: 0;
  clip-path: inset(0 100% 0 0);
  animation: textReveal 2s ease 1s forwards;
}

@keyframes textReveal {
  to { clip-path: inset(0 0% 0 0); }
}

.page-subtitle {
  font-size: clamp(16px, 2vw, 22px);
  color: var(--text-muted);
  line-height: 1.6;
  opacity: 0;
  animation: slideUp 0.8s ease 0.9s forwards;
}

.page-subtitle em { color: var(--accent2); font-style: normal; }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: slideUp 0.8s ease 1.2s forwards;
}

.scroll-line {
  width: 40px; height: 1px;
  background: var(--accent);
  position: relative; overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--bg);
  animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
  0% { left: -100%; }
  50% { left: 0%; }
  100% { left: 100%; }
}

.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ===== SECTION COMMON ===== */
.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: 2px;
}

.highlight {
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
}

.section-header { margin-bottom: 64px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 16px 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: none;
  transition: all 0.3s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.2);
  transform: translateX(-100%) skewX(-15deg);
  transition: transform 0.4s ease;
}

.btn-primary:hover::before { transform: translateX(150%) skewX(-15deg); }
.btn-primary:hover { box-shadow: 0 0 30px rgba(232,255,0,0.4); transform: translateY(-2px); }

.btn-primary svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round;
  transition: transform 0.3s;
}

.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 16px 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: none;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-ghost:hover { border-color: var(--accent2); color: var(--accent2); }

/* ===== MANIFESTO ===== */
.manifesto {
  padding: 120px 60px;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
}

.manifesto-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.manifesto-lead {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 60px);
  line-height: 1.05;
  letter-spacing: 2px;
  margin-bottom: 32px;
}

.highlight-word {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.highlight-word::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineReveal 0.8s ease 1.5s forwards;
}

@keyframes underlineReveal {
  to { transform: scaleX(1); }
}

.manifesto-body {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 620px;
}

.manifesto-body strong { color: var(--text); font-weight: 500; }

/* ===== ABOUT STATS ===== */
.about-stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 64px 60px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.astat {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}

.astat-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  color: var(--accent);
  line-height: 1;
}

.astat-plus {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--accent2);
}

.astat p {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

.astat-div {
  width: 1px; height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===== VALUES ===== */
.values {
  padding: 120px 60px;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.value-card {
  background: var(--bg);
  padding: 44px 36px;
  transition: all 0.4s ease;
  cursor: none;
  position: relative;
  overflow: hidden;
}

.value-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,255,0,0.04), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.value-card:hover::after { opacity: 1; }
.value-card:hover { background: var(--surface); transform: translateY(-3px); z-index: 1; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }

.value-num {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--text-dim);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.4s;
}

.value-card:hover .value-num { color: rgba(232,255,0,0.12); }

.value-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.value-card:hover h3 { color: var(--accent); }

.value-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== TIMELINE ===== */
.timeline-section {
  padding: 120px 60px;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* Center line */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent), var(--accent2), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 64px;
  position: relative;
}

.timeline-item.left {
  flex-direction: row-reverse;
  padding-right: calc(50% + 48px);
}

.timeline-item.right {
  padding-left: calc(50% + 48px);
}

.timeline-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  transition: all 0.4s ease;
  cursor: none;
  width: 100%;
}

.timeline-content:hover {
  border-color: rgba(232,255,0,0.25);
  box-shadow: 0 0 30px rgba(232,255,0,0.06);
  transform: translateY(-3px);
}

.tl-year {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 50%;
  z-index: 2;
  transition: all 0.4s;
}

.timeline-dot.active {
  width: 20px; height: 20px;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(232,255,0,0.5);
  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(232,255,0,0.5); }
  50% { box-shadow: 0 0 40px rgba(232,255,0,0.8); }
}

.timeline-item:hover .timeline-dot {
  background: var(--accent);
  box-shadow: 0 0 16px rgba(232,255,0,0.4);
}

/* ===== TEAM ===== */
.team {
  padding: 120px 60px;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.4s ease;
  cursor: none;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.team-card:hover::before { transform: scaleX(1); }
.team-card:hover {
  border-color: rgba(232,255,0,0.15);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.team-avatar {
  position: relative;
  width: 72px; height: 72px;
  margin-bottom: 20px;
}

.team-avatar::before {
  content: attr(data-initials);
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 2px;
  color: var(--accent);
  background: rgba(232,255,0,0.06);
  border-radius: 50%;
  border: 1px solid rgba(232,255,0,0.2);
  z-index: 1;
  transition: all 0.4s;
}

.team-card:hover .team-avatar::before {
  background: rgba(232,255,0,0.12);
  border-color: var(--accent);
}

.avatar-ring {
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: var(--accent2);
  border-right-color: var(--accent);
  animation: ringRotate 4s linear infinite;
}

@keyframes ringRotate {
  to { transform: rotate(360deg); }
}

.team-info h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent2);
  display: block;
  margin-bottom: 12px;
}

.team-info p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.team-links {
  display: flex;
  gap: 8px;
}

.tlink {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.3s;
}

.tlink:hover {
  color: var(--accent);
  border-color: rgba(232,255,0,0.3);
}

/* ===== ABOUT CTA ===== */
.about-cta {
  padding: 120px 60px;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
}

.about-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,255,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: 2px;
  margin: 20px 0 48px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--border);
  padding: 40px 60px 32px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 4px;
}

.footer-links { display: flex; gap: 32px; }

.footer-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom span { font-size: 13px; color: var(--text-dim); }
.footer-mono { font-family: var(--font-mono); font-size: 11px; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav.scrolled { padding: 14px 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .page-hero { padding: 0 24px; }
  .manifesto, .values, .timeline-section, .team, .about-cta { padding: 80px 24px; }
  .about-stats { padding: 48px 24px; flex-wrap: wrap; gap: 32px; }
  .astat-div { display: none; }

  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Timeline mobile */
  .timeline::before { left: 20px; }
  .timeline-item.left,
  .timeline-item.right { flex-direction: row; padding-left: 56px; padding-right: 0; }
  .timeline-dot { left: 20px; }

  .footer { padding: 32px 24px; }
  .footer-top { flex-direction: column; gap: 24px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .cta-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}