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

:root {
  --bg-color: #030a16;
  --panel-bg: rgba(10, 20, 35, 0.7);
  --cyan: #00e5ff;
  --blue: #0055ff;
  --purple: #aa00ff;
  --text-main: #e0e6ed;
  --text-muted: #8a9bb0;
  --glass-border: rgba(0, 229, 255, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

a {
  text-decoration: none;
  color: var(--cyan);
  transition: all 0.3s ease;
}

a:hover {
  text-shadow: 0 0 10px var(--cyan);
}

/* Glassmorphism Utilities */
.glass {
  background: var(--panel-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border-radius: 16px;
}

/* Navigation */
nav.main-nav {
  position: fixed;
  top: 0; width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  transition: all 0.4s ease;
  background: transparent;
}

nav.main-nav.scrolled {
  background: rgba(3, 10, 22, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  height: 70px;
}

.logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

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

.btn-cyber {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 10px 20px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2), inset 0 0 10px rgba(0, 229, 255, 0.1);
}

.btn-cyber::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 120%; height: 20px;
  background: rgba(0, 229, 255, 0.3);
  transition: all 0.5s ease;
  opacity: 0;
}

.btn-cyber:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.6), inset 0 0 15px rgba(0, 229, 255, 0.4);
  text-shadow: 0 0 5px var(--cyan);
}

.btn-cyber:hover::before {
  opacity: 1;
  animation: scanline 1.5s linear infinite;
}

@keyframes scanline {
  0% { top: -20%; left: -20%; }
  100% { top: 120%; left: 120%; }
}

.btn-cyber.primary {
  background: rgba(0, 85, 255, 0.3);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 85, 255, 0.5);
}

.btn-cyber.primary:hover {
  background: rgba(0, 85, 255, 0.6);
  box-shadow: 0 0 25px rgba(0, 85, 255, 0.8);
  border-color: var(--cyan);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 20px;
  overflow: hidden;
}

#cyber-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.6;
}

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

.hero-badge {
  display: inline-block;
  padding: 5px 15px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
  text-shadow: 0 0 5px var(--cyan);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.hero h1 span {
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: none;
}

.hero-sub {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Sections */
section {
  padding: 100px 5%;
  position: relative;
}

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  align-items: center;
}

/* Cards */
.cyber-card {
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cyber-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.cyber-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px 0 rgba(0, 229, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.4);
}

.cyber-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #fff;
}

.cyber-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.timeline::before {
  content: '';
  position: absolute;
  top: 0; left: 20px;
  width: 2px; height: 100%;
  background: rgba(0, 229, 255, 0.3);
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  top: 5px; left: 14px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg-color);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.time-badge {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 5px;
}

/* Modal CSS */
.modal {
  display: none; 
  position: fixed; 
  z-index: 2000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow-y: auto; 
  background-color: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  background: var(--bg-color);
  margin: 20px auto;
  padding: 40px;
  width: 90%;
  max-width: 600px;
  position: relative;
  transform: translateY(-50px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close-btn {
  color: var(--text-muted);
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover {
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan);
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  color: var(--cyan);
  letter-spacing: 1px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
  background: rgba(0, 229, 255, 0.05);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2300e5ff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 15px top 50%;
  background-size: 12px auto;
}

select.form-control option {
  background: var(--bg-color);
  color: #fff;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
}

.alert-success {
  background: rgba(0, 255, 128, 0.1);
  border: 1px solid #00ff80;
  color: #00ff80;
  box-shadow: 0 0 10px rgba(0, 255, 128, 0.2);
}

.alert-error {
  background: rgba(255, 0, 85, 0.1);
  border: 1px solid #ff0055;
  color: #ff0055;
  box-shadow: 0 0 10px rgba(255, 0, 85, 0.2);
}

.hidden { display: none; }

#presenter_options {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 8px;
  margin-top: 15px;
  border: 1px dashed var(--cyan);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 50px;
}

@media (max-width: 768px) {
  .nav-links { display: none; } /* Add hamburger menu if needed */
  .hero h1 { font-size: 2rem; }
  .modal-content { padding: 20px; }
}
