@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700,900&display=swap');

:root {
  --bg-color: #0c0a1f;
  --primary-glow: #00c6ff;
  --secondary-glow: #ef00ff;
  --primary-color: #f0b90b; /* Gold for key text */
  --neon-cyan: #00ffff;
  --neon-magenta: #ff00ff;
  --neon-lime: #39ff14;
  --text-color: #e0e0e0;
  --header-font: 'Satoshi', sans-serif;
  --body-font: 'Satoshi', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--body-font);
  background-color: var(--bg-color);
  color: var(--text-color);
  background-image: linear-gradient(160deg, #0c0a1f 0%, #1a113b 50%, #3c1a42 100%);
  overflow-x: hidden;
  position: relative;
}

#matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.3;
}

/* --- Magical Background Orbs --- */
@keyframes move {
  100% {
      transform: translate3d(0, 0, 1px) rotate(360deg);
  }
}

.background {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background: var(--bg-color);
  overflow: hidden;
  z-index: -1;
}

.background span {
  width: 20vmin;
  height: 20vmin;
  border-radius: 20vmin;
  backface-visibility: hidden;
  position: absolute;
  animation: move;
  animation-duration: 45s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Hero Section */
.hero-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hero-logo {
  max-height: 60px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 8px 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.hero-logo:hover {
  transform: translateY(-2px);
}

.hero-title {
  font-family: var(--header-font);
  font-size: 4rem;
  color: #fff;
  text-shadow: 0 0 10px var(--primary-glow), 0 0 20px var(--primary-glow), 0 0 40px var(--secondary-glow);
  margin: 0;
  display: inline-block; /* For typing effect */
}

/* Typing cursor effect */
.hero-title::after {
  content: '|';
  display: inline-block;
  animation: blink 0.7s infinite;
  color: var(--primary-color);
}

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

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 0.5rem 0 1.5rem 0;
  font-weight: 400;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% { text-shadow: 0 0 5px var(--primary-color); }
    50% { text-shadow: 0 0 20px var(--primary-color); }
    100% { text-shadow: 0 0 5px var(--primary-color); }
}

.hero-intro {
  max-width: 650px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.hero-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 2.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    background: rgba(240, 185, 11, 0.1);
    text-decoration: none;
    font-family: var(--header-font);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-button:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 0 30px rgba(240, 185, 11, 0.5);
    transform: translateY(-2px);
}

/* --- New Section Styles --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:nth-child(3n+1) { border-color: rgba(0, 255, 255, 0.5); }
.card:nth-child(3n+2) { border-color: rgba(255, 0, 255, 0.5); }
.card:nth-child(3n+3) { border-color: rgba(57, 255, 20, 0.5); }

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px var(--secondary-glow);
}

.card:hover {
    box-shadow: 0 0 25px -5px currentColor;
}

.card h4 {
    font-family: var(--header-font);
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
}

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    font-size: 1.1rem;
}

.attendee-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.attendee-tags span {
    background: var(--primary-glow);
    color: #0c0a1f;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    text-shadow: none;
}

.footer {
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
  background: transparent;
  color: #aaa;
  font-size: 1rem;
  position: relative;
}

.footer-divider {
    border: 0;
    height: 1px;
    width: 50%;
    max-width: 300px;
    background-image: linear-gradient(to right, rgba(240, 185, 11, 0), rgba(240, 185, 11, 0.5), rgba(240, 185, 11, 0));
    margin: 0 auto 1.5rem auto;
}

.footer-logo {
    max-height: 90px;
    margin-bottom: 1rem;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: text-shadow 0.3s;
}

.footer a:hover {
    text-shadow: 0 0 10px var(--primary-color);
}

/* --- Navigation Bar --- */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  width: calc(100% - 4rem);
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(12, 10, 31, 0.98);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(240, 185, 11, 0.4);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  transition: top 0.3s;
}

.nav-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo {
  max-height: 40px;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  margin-left: 1.5rem;
  font-family: var(--header-font);
  font-weight: 700;
  transition: color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--primary-color);
}


/* --- Hero Section --- */
.hero {
  background: transparent;
  position: relative;
  z-index: 2;
  padding: 6rem 2rem 2rem 2rem;
  text-align: center;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
    z-index: -1;
}

.hero-divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f0b90b, transparent);
  margin: 1.5rem auto;
  width: 200px;
}

.hero-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  margin-bottom: 1rem;
}

.hero-logo:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

/* Partners section */
.partners-section {
  background: rgba(12, 10, 31, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem 0;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid rgba(240, 185, 11, 0.3);
  margin-top: -1rem;
}

.partners-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.partner-group {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.partner-group h4 {
  color: #f0b90b;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.partner-logo {
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(1.1) contrast(1.1);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.partner-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.3) contrast(1.2);
  box-shadow: 0 6px 20px rgba(240, 185, 11, 0.3);
}

/* --- Content Sections --- */
.content-section {
  max-width: 900px;
  margin: 4rem auto;
  padding: 3rem 2rem;
  background: rgba(29, 28, 54, 0.5);
  border: 1px solid var(--secondary-color);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(76, 58, 122, 0.3);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.content-section h3 {
  font-family: var(--header-font);
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2.5rem;
}

/* --- Agenda List --- */
#agenda ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

#agenda li {
  background: rgba(76, 58, 122, 0.3);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 3px solid var(--accent-glow);
  transition: transform 0.3s, box-shadow 0.3s;
}

#agenda li:nth-child(3n+1) {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px -5px var(--neon-cyan);
}
#agenda li:nth-child(3n+2) {
    border-color: var(--neon-magenta);
    box-shadow: 0 0 15px -5px var(--neon-magenta);
}
#agenda li:nth-child(3n+3) {
    border-color: var(--neon-lime);
    box-shadow: 0 0 15px -5px var(--neon-lime);
}

#agenda li:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 25px -5px currentColor;
}

/* --- Tools Section --- */
.tool-category {
  margin-bottom: 3rem;
}

.tool-category h4 {
  font-family: var(--header-font);
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.5rem;
}

.tool-category table {
  width: 100%;
  border-collapse: collapse;
}

.tool-category td {
  padding: 1rem;
  border-bottom: 1px solid var(--secondary-color);
}

.tool-category tr:last-child td {
    border-bottom: none;
}

.tool-category td:first-child {
  width: 30%;
  font-weight: 700;
  color: #fff;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 1rem;
    width: calc(100% - 2rem);
  }
  .nav-links {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }
  .nav-links a {
    margin-left: 0;
  }
  .hero {
    padding: 8rem 1rem 2rem 1rem; /* Add padding to avoid overlap with nav */
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1.2rem;
  }
  .content-section {
    padding: 2rem 1rem;
    margin: 2rem auto;
  }
  .content-section h3 {
    font-size: 2rem;
  }
  .tool-category td:first-child {
    width: 40%;
  }
  .hero-logos {
    flex-direction: column;
    gap: 1rem;
  }
  
  .partners-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .partner-group {
    min-width: auto;
  }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .nav-links a {
        font-size: 0.9rem;
    }
    .tool-category td {
        display: block;
        width: 100%;
        padding: 0.5rem 0;
    }
    .tool-category tr {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--secondary-color);
    }
    .tool-category td:first-child {
        font-size: 1.1rem;
        padding-bottom: 0.5rem;
    }
    .tool-category table {
        border: none;
    }
} 