/* ===== XAVTRON CYBERPUNK DESIGN SYSTEM ===== */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600&family=Orbitron:wght@500;600;700;800;900&display=swap');

:root {
  --bg: #020B1A;
  --surface: #0A1628;
  --primary: #4A6CF7;
  --accent: #FF6B00;
  --cyan: #00F0FF;
  --text: #E8F1FF;
  --text-muted: #7B8FAB;
  --border: rgba(0, 240, 255, 0.15);
  --glow: rgba(0, 240, 255, 0.4);
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'Exo 2', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 1px;
}

p {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-muted);
}

a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--cyan);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.4s, backdrop-filter 0.4s, border 0.4s;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(2, 11, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.3s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(2, 11, 26, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
  z-index: 999;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
}

.mobile-menu li {
  margin: 24px 0;
}

.mobile-menu .nav-link {
  font-size: 1.6rem;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 750px;
}

.hero-logo {
  height: 60px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  letter-spacing: 3px;
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero .mission {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 30px;
  border-radius: 2px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
}

.btn-outline:hover {
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

/* ===== PAGE HERO (Inner Pages) ===== */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.page-hero .subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

/* ===== SECTIONS ===== */
section {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 2px;
}

.section-title span {
  color: var(--cyan);
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.glass-card {
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.4s,
              box-shadow 0.4s;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 8px 40px rgba(0, 240, 255, 0.1);
}

.glass-card h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.glass-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ===== STEPS ===== */
.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--cyan);
  margin-bottom: 10px;
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* ===== ABOUT PAGE ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.about-text p {
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.8;
}

.founder-quote {
  border-left: 3px solid var(--cyan);
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text);
}

.founder-img-large {
  width: 100%;
  max-width: 350px;
  border-radius: 4px;
  border: 2px solid var(--border);
  display: block;
  margin: 0 auto;
}

/* ===== TEAM PAGE ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.team-card {
  background: rgba(10, 22, 40, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 30px 20px;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.1);
}

.team-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--primary);
  margin-bottom: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.team-card:hover .team-img {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.team-card h3 {
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--cyan);
  font-weight: 500;
  letter-spacing: 1px;
}

/* ===== SPONSORS PAGE ===== */
.sponsor-card-highlight {
  border: 2px solid var(--accent);
  background: rgba(255, 107, 0, 0.03);
}

.sponsor-card-highlight:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 40px rgba(255, 107, 0, 0.15);
}

.benefit-list {
  list-style: none;
  margin: 20px 0 28px;
}

.benefit-list li {
  padding: 8px 0;
  color: var(--text);
  font-size: 0.95rem;
  padding-left: 20px;
  position: relative;
}

.benefit-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--cyan);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-box {
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 36px;
}

.contact-box h2 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.contact-item {
  margin-bottom: 16px;
}

.contact-item strong {
  color: var(--cyan);
  display: block;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-item a {
  font-size: 1rem;
  color: var(--text);
  border-bottom: 1px dashed var(--border);
  padding-bottom: 2px;
}

.contact-item a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* ===== FLOW PAGE ===== */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.flow-step {
  text-align: center;
  position: relative;
}

.flow-step .step-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-logo {
  height: 30px;
  margin-bottom: 12px;
}

.footer h4 {
  color: var(--cyan);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.footer p, .footer a {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}

.footer a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 36px;
  padding-top: 18px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 998;
  transition: background 0.3s, box-shadow 0.3s;
}

.back-to-top:hover {
  background: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}
/* ===== SOCIAL ICONS ===== */
.social-icons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 2px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
  transition: fill 0.3s;
}

.social-icon:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

.social-icon:hover svg {
  fill: var(--cyan);
}
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .logo-img {
    height: 30px;
  }

  .hero-logo {
    height: 44px;
  }

  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 32px;
  }

  section {
    padding: 50px 0;
  }

  .page-hero {
    padding: 120px 0 40px;
  }
}