@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  
  --accent-1: #2563eb; /* Royal Blue */
  --accent-2: #3b82f6; /* Soft Blue */
  --accent-gold: #d4af37; /* Gold for premium feel */
  
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(37, 99, 235, 0.08);
  
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Typography */
.text-gradient {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}

.section-title.left-align {
  text-align: left;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  border-radius: 2px;
}

.section-title.left-align::after {
  left: 0;
  transform: none;
}

.section-desc {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: -2rem;
  margin-bottom: 3rem;
}

/* Layout */
section {
  padding: 7rem 2rem;
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #0f172a;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--accent-1);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-1);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-mobile-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-mobile-btn span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 20px -10px var(--accent-1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -10px var(--accent-1);
}

.btn-outline {
  background: transparent;
  color: var(--accent-1);
  border: 2px solid var(--accent-1);
}

.btn-outline:hover {
  background: rgba(37, 99, 235, 0.05);
  transform: translateY(-3px);
}

.btn-large {
  padding: 1rem 3rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 2rem 2rem;
  background-color: var(--bg-primary);
}

.hero-glow-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(60px);
  animation: float 10s ease-in-out infinite alternate;
}

.hero-glow-2 {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(80px);
  animation: float 12s ease-in-out infinite alternate-reverse;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  font-size: 1rem;
  letter-spacing: 2px;
  color: var(--accent-1);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-title {
  font-size: 5.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.hero-image-wrapper {
  flex: 1;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-img {
  width: 100%;
  max-width: 550px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.floating-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 1rem 1.5rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--glass-shadow);
  z-index: 2;
  animation: float-small 6s ease-in-out infinite;
}

.card-1 {
  top: 10%;
  left: -5%;
}

.card-2 {
  bottom: 15%;
  right: -5%;
  animation-delay: 2s;
}

.floating-card .icon {
  font-size: 2rem;
}

.card-title {
  font-weight: 700;
  font-size: 1rem;
  color: #0f172a;
}

.card-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* About Section */
.about-section {
  background-color: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.stats-row {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}

.stat-item {
  position: relative;
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.glass-img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}

/* Timeline */
.history-section {
  background-color: var(--bg-primary);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 2px;
  background: rgba(37, 99, 235, 0.2);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  padding-left: 60px;
}

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-1);
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  z-index: 2;
}

.timeline-date {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-1);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--text-secondary);
}

/* Gallery */
.gallery-section {
  background-color: var(--bg-secondary);
}

.masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.masonry-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.masonry-item:hover img {
  transform: scale(1.05);
}

.masonry-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 1rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

.masonry-item:hover .masonry-caption {
  transform: translateY(0);
  opacity: 1;
}

/* Join Section */
.join-section {
  background-color: var(--bg-primary);
  padding-bottom: 10rem;
}

.join-card {
  background: var(--bg-secondary);
  border-radius: 32px;
  padding: 5rem 3rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}

.join-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 50%;
  height: 150%;
  background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, rgba(255,255,255,0) 70%);
  transform: rotate(-45deg);
  pointer-events: none;
}

.join-content-inner {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.join-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  margin-bottom: 4rem;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
  text-align: left;
}

.role-item {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 20px;
  transition: var(--transition);
}

.role-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.role-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.role-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.role-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.join-actions-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.contact-info {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-info strong {
  color: #0f172a;
}

/* Footer */
footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 4rem 2rem;
  text-align: center;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

/* Animations */
@keyframes float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(20px, 20px); }
}

@keyframes float-small {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

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

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
  }
  
  .hero-actions {
    justify-content: center;
    margin-bottom: 3rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title.left-align {
    text-align: center;
  }
  .section-title.left-align::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .stats-row {
    justify-content: center;
  }

  .roles-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .nav-links {
    display: none; /* simple mobile nav hide for now */
  }
  
  .nav-mobile-btn {
    display: flex;
  }
  
  .floating-card {
    display: none;
  }
}
