:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --secondary: #06b6d4;
  --accent: #f59e0b;
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --text-dark: #0f172a;
  --text-light: #64748b;
  --border: #e2e8f0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Outfit",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background: #020617;
}

/* navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: white;
  font-family: "Space Grotesk", sans-serif;
}

.logo-accent {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.navbar-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.navbar-link:hover {
  color: white;
}

.navbar-link:hover::after {
  width: 100%;
}

.navbar-cta {
  padding: 0.625rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.navbar-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* hero */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(37, 99, 235, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(6, 182, 212, 0.2) 0%,
      transparent 50%
    );
  animation: pulse 8s ease-in-out infinite;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  background-attachment: fixed;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1100px;
  padding: 2rem;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--secondary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-family: "Space Grotesk", sans-serif;
  color: white;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-description {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn-primary,
.btn-secondary {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: "Outfit", sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, white, rgba(255, 255, 255, 0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
  font-family: "Space Grotesk", sans-serif;
}

.stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* section styling */
section {
  padding: 8rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-family: "Space Grotesk", sans-serif;
}

.about-section-dark {
  background: linear-gradient(135deg, #0b0e21 0%, #162131 50%, #0b0e21 100%);
  position: relative;
}

.about-section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(37, 99, 235, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(6, 182, 212, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.about-section-dark::after {
  display: none;
}

.about-section-dark .section-label {
  background: rgba(37, 99, 235, 0.2);
  color: var(--secondary);
}

.about-section-dark .section-title {
  color: white;
}

.about-section-dark .container {
  position: relative;
  z-index: 1;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pillar-card {
  background: rgba(30, 41, 59, 0.5);
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px solid rgba(59, 130, 246, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
  border-color: var(--primary);
}

.pillar-featured {
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-card));
  border-color: var(--primary);
  color: white;
}

.pillar-featured .pillar-title,
.pillar-featured .pillar-description {
  color: white;
}

.pillar-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.pillar-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  font-family: "Space Grotesk", sans-serif;
}

.pillar-description {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

/* events */
.events-section-timeline-dark {
  background: transparent;
  position: relative;
}

.events-section-timeline-dark::after {
  display: none;
}

.events-section-timeline-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    radial-gradient(
      circle at 80% 20%,
      rgba(6, 182, 212, 0.1) 0%,
      transparent 50%
    ),
    linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
  background-size:
    50px 50px,
    50px 50px,
    auto,
    auto;
  background-attachment: fixed, fixed, scroll, scroll;
  z-index: 0;
  pointer-events: none;
}

.events-section-timeline-dark .section-label {
  background: rgba(37, 99, 235, 0.2);
  color: var(--secondary);
}

.events-section-timeline-dark .section-title {
  color: white;
}

.events-section-timeline-dark .container {
  position: relative;
  z-index: 1;
}

.timeline {
  position: relative;
  padding: 2rem 0;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-content {
  width: 45%;
  padding: 2rem;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 15px;
  border: 2px solid rgba(59, 130, 246, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.timeline-content:hover {
  transform: scale(1.05);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
  z-index: 10;
}

.event-date-timeline {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.event-title-timeline {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: white;
  font-family: "Space Grotesk", sans-serif;
}

.event-description-timeline {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  font-size: 1rem;
}

/* team */
.team-section-dark {
  background: linear-gradient(135deg, #0b0e21 0%, #162131 50%, #0b0e21 100%);
  position: relative;
}

.team-section-dark::after {
  display: none;
}

.team-section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(37, 99, 235, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.team-section-dark .section-label {
  background: rgba(37, 99, 235, 0.2);
  color: var(--secondary);
}

.team-section-dark .section-title {
  color: white;
}

.team-section-dark .container {
  position: relative;
  z-index: 1;
}

.team-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.team-member {
  text-align: center;
  padding: 2.5rem 2rem;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 20px;
  border: 2px solid rgba(59, 130, 246, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  width: 250px;
}

.team-member:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.15);
}

.member-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
  font-family: "Space Grotesk", sans-serif;
  position: relative;
}

.member-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 2;
}

.avatar-fallback {
  z-index: 1;
}

.member-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
  font-family: "Space Grotesk", sans-serif;
}

.member-role {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
}

/* join */
.join-section-contact {
  background: transparent;
  color: white;
  position: relative;
}

.join-section-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(135deg, var(--bg-dark), var(--bg-card));
  background-size:
    50px 50px,
    50px 50px,
    auto;
  background-attachment: fixed, fixed, scroll;
  z-index: 0;
  pointer-events: none;
}

.join-section-contact .contact-content {
  position: relative;
  z-index: 1;
}

.join-section-contact::after {
  display: none;
}

.contact-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.join-section-contact .section-label {
  background: rgba(37, 99, 235, 0.2);
  color: var(--secondary);
}

.join-section-contact .section-title {
  color: white;
}

.join-description-contact {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-link:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

.contact-icon {
  font-size: 1.5rem;
}

/* footer */
.footer {
  background: #020617;
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  font-family: "Space Grotesk", sans-serif;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  max-width: 400px;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.25rem;
}

.footer-social a img {
  opacity: 0.8;
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer-social a:hover img {
  opacity: 1;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-column h4 {
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: "Space Grotesk", sans-serif;
}

.footer-column a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.footer-column a:hover {
  color: var(--secondary);
  transform: translateX(4px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-meta a:hover {
  color: var(--secondary);
}

/* responsive */
@media (max-width: 768px) {
  .navbar-menu {
    display: none;
  }

  .navbar-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    animation: menuSlideDown 0.25s ease;
  }

  @keyframes menuSlideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .navbar-menu.open .navbar-cta {
    align-self: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 2rem;
  }

  .stat-divider {
    display: none;
  }

  section {
    padding: 4rem 0;
  }

  /* timeline responsive */
  .timeline::before {
    left: 30px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 60px;
  }

  .timeline-content {
    width: 100%;
  }

  .timeline-dot {
    left: 30px;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
  }

  .contact-link {
    width: 100%;
    max-width: 300px;
  }
}

/* navbar logo image */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-logo-img {
  height: 36px;
  width: auto;
  display: block;
  padding-right: 10px;
}

/* hamburger button */
.navbar-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.navbar-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  transform-origin: center;
}

.navbar-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.navbar-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .navbar-hamburger {
    display: flex;
  }
}

@media (max-width: 420px) {
  .navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .logo-text {
    display: flex;
    flex-direction: column;
    font-size: 1.1rem;
  }

  .logo-accent {
    display: block;
    font-weight: 800;
    font-size: 1.2rem;
  }

  .hero-badge {
    max-width: 300px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta a {
    width: 100%;
    max-width: 300px;
  }
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
