/* ============================================
   VECTORIX — style.css — Core Design System (Futuristic Edition)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&display=swap');

:root {
  --bg: #030609;
  --bg2: #070d14;
  --bg3: #0a1520;
  --accent: #f5c400;
  --accent2: #f59300;
  --accent3: #00d4ff;
  --accent4: #ff3cac;
  --text: #e0eaf5;
  --muted: #4a6070;
  --border: rgba(245, 196, 0, 0.15);
  --border2: rgba(0, 212, 255, 0.12);
  --card: rgba(7, 13, 20, 0.9);
  --mono: 'Space Mono', monospace;
  --display: 'Orbitron', sans-serif;
  --display2: 'Syne', sans-serif;
  --glow: 0 0 20px rgba(245, 196, 0, 0.3);
  --glow-blue: 0 0 20px rgba(0, 212, 255, 0.3);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── LIGHT MODE ─── */
body.light-mode {
  --bg: #f0f4f8;
  --bg2: #e4eaf0;
  --bg3: #d8e0ea;
  --accent: #c9a000;
  --accent2: #d47a00;
  --accent3: #0098c8;
  --text: #0a1828;
  --muted: #4a6070;
  --border: rgba(201, 160, 0, 0.25);
  --border2: rgba(0, 152, 200, 0.15);
  --card: rgba(220, 230, 240, 0.9);
}

body.light-mode nav { background: rgba(240, 244, 248, 0.95); }
body.light-mode .nav-mobile { background: rgba(240, 244, 248, 0.98); }
body.light-mode #particleCanvas { opacity: 0.3; }

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(58, 3, 168, 0.12) 0%, transparent 20%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(236,72,153,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 60% 30%, rgba(6,182,212,0.05) 0%, transparent 50%);
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
  min-height: 100vh;
}

/* ─── PARTICLE CANVAS ─── */
#particleCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 10;
}

/* ─── SCANLINE OVERLAY ─── */
.scanline-overlay {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 212, 255, 0.008) 3px,
    rgba(0, 212, 255, 0.008) 4px
  );
  pointer-events: none;
  z-index: 1;
  animation: scanMove 8s linear infinite;
}

@keyframes scanMove {
  0% { background-position: 0 0; }
  100% { background-position: 0 100px; }
}

/* ─── GRID BG ─── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* ─── CURSOR ─── */
.cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  box-shadow: 0 0 12px var(--accent), 0 0 24px rgba(245,196,0,0.4);
  mix-blend-mode: screen;
}

.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid var(--accent3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.15s ease;
  opacity: 0.5;
  box-shadow: 0 0 8px rgba(0,212,255,0.3);
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 2.5rem;
  background: rgba(3, 6, 9, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 40px rgba(0,0,0,0.5), inset 0 -1px 0 var(--border2);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img { height: 34px; width: auto; object-fit: contain; }

.nav-logo-text {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 2px;
  line-height: 1;
}
.nav-logo-text span {
  color: var(--muted);
  font-size: 9px;
  display: block;
  font-weight: 400;
  letter-spacing: 0.1em;
  font-family: var(--mono);
}

.nav-links {
  display: flex;
  gap: 0.05rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 11px;
  border: 1px solid transparent;
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent3);
  border-color: var(--border2);
  background: rgba(0, 212, 255, 0.05);
  text-shadow: 0 0 10px rgba(0,212,255,0.5);
}

.nav-links a.active::before { content: '▸ '; font-size: 8px; }

/* JOIN US HIGHLIGHT in nav */
.nav-join-highlight {
  color: var(--accent) !important;
  border: 1px solid var(--border) !important;
  background: rgba(245, 196, 0, 0.08) !important;
  font-weight: 700 !important;
  animation: joinPulse 2.5s ease-in-out infinite;
  letter-spacing: 0.1em;
}

.nav-join-highlight:hover {
  background: rgba(245, 196, 0, 0.2) !important;
  border-color: var(--accent) !important;
  box-shadow: var(--glow) !important;
  text-shadow: 0 0 12px var(--accent) !important;
}

@keyframes joinPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,196,0,0.3); }
  50% { box-shadow: 0 0 12px 2px rgba(245,196,0,0.25); }
}

.mobile-join-highlight {
  color: var(--accent) !important;
  border: 1px solid var(--border) !important;
  background: rgba(245, 196, 0, 0.08) !important;
  font-weight: 700 !important;
}

.nav-right { display: flex; align-items: center; gap: 0.6rem; }

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.status-text { display: none; }
@media (min-width: 1100px) { .status-text { display: inline; } }

.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #00f5a0;
  animation: pulse 2s infinite;
  box-shadow: 0 0 6px #00f5a0;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,245,160,0.5); }
  50% { opacity: 0.8; box-shadow: 0 0 0 5px rgba(0,245,160,0); }
}

/* ─── THEME TOGGLE ─── */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid var(--border2);
  color: var(--accent3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  cursor: none;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: var(--accent3);
  box-shadow: var(--glow-blue);
}

.theme-icon { display: flex; align-items: center; }
.theme-icon--dark { display: none; }
.theme-icon--light { display: flex; }
body.light-mode .theme-icon--dark { display: flex; }
body.light-mode .theme-icon--light { display: none; }
.theme-label { display: none; }
@media (min-width: 1000px) { .theme-label { display: inline; } }

/* ─── PAGE WRAPPER ─── */
main { position: relative; z-index: 1; padding-top: 58px; min-height: 100vh; }

/* ─── SECTION BASE ─── */
.page-section { padding: 5rem 3rem; min-height: calc(100vh - 58px); }

.section-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.section-num {
  font-family: var(--display);
  font-size: 10px;
  color: var(--accent3);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

.section-title {
  font-family: var(--display2);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.section-line { flex: 1; height: 1px; background: linear-gradient(to right, var(--border), transparent); }

/* ─── SUB SECTION HEADER ─── */
.sub-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0 1.5rem;
}
.sub-section-header h3 {
  font-family: var(--display2);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 24px;
  text-decoration: none;
  border: none;
  cursor: none;
  transition: all 0.2s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.92;
  box-shadow: 0 8px 24px rgba(245,196,0,0.35);
}

.btn-glow {
  box-shadow: 0 0 16px rgba(245,196,0,0.25);
  animation: btnGlowPulse 3s ease-in-out infinite;
}

@keyframes btnGlowPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(245,196,0,0.2); }
  50% { box-shadow: 0 0 28px rgba(245,196,0,0.5); }
}

.btn-lg { padding: 15px 32px; font-size: 12px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--accent3);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 24px;
  text-decoration: none;
  border: 1px solid var(--border2);
  cursor: none;
  transition: all 0.2s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-outline:hover {
  border-color: var(--accent3);
  background: rgba(0, 212, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: var(--glow-blue);
}

/* ─── FORM ELEMENTS ─── */
.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(0,212,255,0.03);
  border: 1px solid var(--border2);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  padding: 10px 14px;
  outline: none;
  transition: all 0.2s;
  resize: vertical;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent3);
  background: rgba(0,212,255,0.06);
  box-shadow: 0 0 12px rgba(0,212,255,0.15);
}
.form-field select option { background: var(--bg2); }

.form-submit {
  width: 100%;
  background: var(--accent);
  color: #000;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 24px;
  border: none;
  cursor: none;
  transition: all 0.2s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.form-submit:hover {
  opacity: 0.9;
  box-shadow: 0 8px 24px rgba(245,196,0,0.4);
}

/* ─── FADE-IN ─── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ─── FOOTER ─── */
footer {
  padding: 1.5rem 3rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
  position: relative;
  z-index: 1;
  letter-spacing: 0.08em;
  background: rgba(0,0,0,0.3);
}
footer span { color: var(--accent); }

/* ─── HAMBURGER ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border2);
  padding: 8px 10px;
  cursor: none;
  margin-left: 0.5rem;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.nav-hamburger:hover { border-color: var(--accent3); box-shadow: var(--glow-blue); }
.nav-hamburger .bar { width: 20px; height: 1.5px; background: var(--accent3); transition: all 0.3s ease; display: block; }
.nav-hamburger.open .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── MOBILE DRAWER ─── */
.nav-mobile {
  display: none;
  position: fixed;
  top: 57px; left: 0; right: 0;
  background: rgba(3, 6, 9, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
  z-index: 499;
  flex-direction: column;
  padding: 0.75rem 1.5rem 1.25rem;
  gap: 2px;
}
.nav-mobile.open { display: flex; }

.nav-mobile a {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 14px;
  border: 1px solid transparent;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--accent3);
  border-color: var(--border2);
  background: rgba(0,212,255,0.04);
}
.nav-mobile a.active::before { content: '▸'; font-size: 9px; }
.nav-mobile-divider { height: 1px; background: var(--border); margin: 0.5rem 0; }
.nav-mobile-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
  padding: 8px 14px;
  letter-spacing: 0.05em;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-status { display: none; }
  .theme-toggle .theme-label { display: none; }
  .nav-hamburger { display: flex; }
  .page-section { padding: 4rem 1.5rem; }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}
