﻿/* =============================================
   ATLANTIC QUANTUM HUB 2027 — MAIN STYLESHEET
   ============================================= */

:root {
  --cyan: #0099cc;
  --violet: #2f6bff;
  --violet-light: #4f8eff;
  --pink: #e11d6a;
  --dark: #ffffff;
  --dark-2: #f4f6fb;
  --dark-3: #eaecf5;
  --dark-card: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: rgba(47,107,255,0.15);
  --glow-cyan: 0 0 40px rgba(0,153,204,0.2);
  --glow-violet: 0 0 40px rgba(47,107,255,0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
p  { color: var(--text-muted); line-height: 1.75; }

a { color: var(--violet); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--violet-light); }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--violet-light) 50%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* prevent descenders (g, y, p) from being clipped by the background-clip box */
  padding-bottom: 0.12em;
  line-height: 1.15;
}

.tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(47,107,255,0.15);
  border: 1px solid rgba(47,107,255,0.3);
  color: var(--violet-light);
  margin-bottom: 16px;
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header p { max-width: 600px; margin: 16px auto 0; font-size: 1.1rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 100%);
  color: #fff;
  box-shadow: 0 4px 30px rgba(47,107,255,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(47,107,255,0.6);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
}
.btn-outline:hover {
  background: rgba(0,245,255,0.08);
  transform: translateY(-2px);
  color: var(--cyan);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text);
  transform: translateY(-2px);
}

/* ── CARDS ── */
.card {
  background: #ffffff;
  border: 2px solid transparent;
  background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(135deg, #00c6ff, #0072ff, #2f6bff);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 20px;
  padding: 36px 32px;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,114,255,0.18), 0 1px 4px rgba(0,0,0,0.06);
  outline: 1.5px solid rgba(0,114,255,0.18);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00c6ff, #0072ff, #2f6bff);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(0,198,255,0.04) 0%, rgba(47,107,255,0.04) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.card:hover {
  background-image: linear-gradient(#f0f7ff, #f0f7ff), linear-gradient(135deg, #00f5ff, #0072ff, #2f6bff);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 32px 72px rgba(0,114,255,0.22), 0 8px 24px rgba(47,107,255,0.14);
  outline-color: rgba(0,114,255,0.4);
}
.card:hover::before,
.card:hover::after {
  opacity: 1;
}

/* ── NAVIGATION ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
.has-video-hero .navbar {
  background: linear-gradient(to bottom, rgba(2,8,20,0.75) 0%, rgba(2,8,20,0) 100%);
}
/* Logo swap on scroll */
.logo-white { transition: opacity 0.4s ease; }
.logo-color  { transition: opacity 0.4s ease; }
.navbar.scrolled .logo-white { opacity: 0; }
.navbar.scrolled .logo-color  { opacity: 1 !important; }
/* Páginas sem vídeo: logo preta sempre visível */
body:not(.has-video-hero) .logo-white { opacity: 0; }
body:not(.has-video-hero) .logo-color  { opacity: 1 !important; }

.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.nav-logo-text {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-logo-text span { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.has-video-hero .nav-links a {
  color: rgba(255,255,255,0.82);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.has-video-hero .navbar.scrolled .nav-links a {
  color: var(--text-muted);
  text-shadow: none;
}
.nav-links a:hover {
  color: var(--cyan);
  background: rgba(0,198,255,0.07);
}
.nav-links a.active {
  color: var(--cyan);
  background: rgba(0,198,255,0.1);
  font-weight: 700;
  position: relative;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 3px;
  background: linear-gradient(90deg, #00c6ff, #2f6bff);
  border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #02000e;
}

/* Layer 0 — video background */
#hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.72;
}

/* Layer 1 — dark gradient overlay for readability */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(2,0,14,0.55) 0%, rgba(2,0,14,0.20) 40%, rgba(2,0,14,0.65) 100%),
    radial-gradient(ellipse 120% 80% at 50% 50%, transparent 20%, rgba(2,0,14,0.50) 100%);
  pointer-events: none;
}

/* Layer 2 — interactive canvas (waves + atoms) */
#quantum-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Layer 3 — vignette */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(ellipse 90% 100% at 50% 50%, transparent 40%, rgba(2,0,14,0.65) 100%);
  pointer-events: none;
}

/* Layer 4 — content */
.hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  text-align: center;
  padding: 100px 24px 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px;
  border-radius: 100px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(0,198,255,0.5);
  color: #d4aaff;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  animation: fadeInDown 0.8s ease both;
  backdrop-filter: blur(12px);
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 28px;
  animation: fadeInUp 0.9s 0.2s ease both;
  text-shadow: 0 2px 40px rgba(0,0,0,0.6);
  font-feature-settings: "kern" 1, "liga" 0;
}
.hero-title .line-white { color: #fff; display: block; }
.hero-title .line-grad  { display: block; }

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(220,210,255,0.75);
  max-width: 600px;
  margin: 0 auto 24px;
  animation: fadeInUp 0.9s 0.4s ease both;
  line-height: 1.7;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  animation: fadeInUp 0.9s 0.45s ease both;
}
.hero-divider::before, .hero-divider::after {
  content: '';
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,198,255,0.5));
}
.hero-divider::after {
  background: linear-gradient(90deg, rgba(0,198,255,0.5), transparent);
}
.hero-divider-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--violet-light);
  box-shadow: 0 0 10px var(--violet-light);
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 10px;
  animation: fadeInUp 0.9s 0.5s ease both;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(200,190,240,0.75);
  padding: 0 24px;
  border-right: 1px solid rgba(0,198,255,0.2);
}
.hero-meta-item:last-child { border-right: none; }
.hero-meta-item strong { color: rgba(255,255,255,0.92); font-weight: 600; }
.hero-meta-icon {
  width: 18px; height: 18px;
  opacity: 0.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s 0.6s ease both;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  animation: fadeIn 1s 1.5s ease both;
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--violet-light), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

/* ── COUNTDOWN ── */
.countdown-wrapper {
  margin-top: 12px;
  animation: fadeInUp 0.9s 0.7s ease both;
}
.countdown-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(200,180,255,0.65);
  margin-bottom: 20px;
}
.countdown {
  display: inline-flex;
  gap: 12px;
  align-items: center;
}
.countdown-unit {
  background: rgba(10,5,40,0.55);
  border: 1px solid rgba(0,198,255,0.45);
  border-radius: 16px;
  padding: 22px 28px;
  min-width: 100px;
  text-align: center;
  backdrop-filter: blur(18px);
  box-shadow: 0 0 28px rgba(0,198,255,0.15), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: box-shadow 0.3s ease;
}
.countdown-unit:hover {
  box-shadow: 0 0 42px rgba(0,245,255,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}
.countdown-unit .num {
  display: block;
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  text-shadow: 0 0 30px rgba(0,245,255,0.6), 0 0 60px rgba(0,245,255,0.3);
}
.countdown-unit .lbl {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(180,160,255,0.7);
  margin-top: 8px;
  font-weight: 600;
}
.countdown-sep {
  font-size: 2.4rem;
  font-weight: 900;
  color: rgba(0,198,255,0.7);
  line-height: 1;
  margin-bottom: 24px;
  text-shadow: 0 0 20px rgba(0,198,255,0.5);
}

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-item .num {
  font-size: 2.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--violet-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item .lbl { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }

/* ── ABOUT SECTION ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #050e1a 0%, #091828 55%, #050d18 100%) !important;
  border: 1px solid rgba(0,198,255,0.25);
  box-shadow: 0 8px 40px rgba(0,114,255,0.15);
}
.about-atom {
  position: absolute;
  top: 0; left: 0; right: 0;
  bottom: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-float-logo {
  width: 65%;
  max-width: 260px;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(0,198,255,0.25));
  animation: logo-float 4s ease-in-out infinite;
}
@keyframes logo-float {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-12px); }
}
/* CSS-only atom using rotating wrappers */
.css-atom {
  position: relative;
  width: 160px; height: 160px;
}
.css-nucleus {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #00c6ff 45%, #2f6bff 100%);
  box-shadow: 0 0 20px rgba(0,198,255,0.8), 0 0 40px rgba(0,198,255,0.4);
  animation: nucleus-pulse 2.5s ease-in-out infinite;
  z-index: 2;
}
@keyframes nucleus-pulse {
  0%,100% { box-shadow: 0 0 20px rgba(0,198,255,0.8), 0 0 40px rgba(0,198,255,0.4); }
  50%      { box-shadow: 0 0 30px rgba(0,198,255,1),   0 0 60px rgba(0,198,255,0.6); }
}
.css-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(0,198,255,0.35);
}
.css-ring-1 { width: 130px; height: 50px;  margin: -25px 0 0 -65px; animation: spin1 5s linear infinite; }
.css-ring-2 { width: 130px; height: 50px;  margin: -25px 0 0 -65px; transform: rotateY(60deg) rotateZ(60deg); animation: spin2 7s linear infinite; }
.css-ring-3 { width: 130px; height: 50px;  margin: -25px 0 0 -65px; transform: rotateY(60deg) rotateZ(-60deg); animation: spin3 9s linear infinite reverse; }
.css-electron {
  position: absolute;
  top: 50%; left: 0;
  width: 10px; height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #00c6ff;
  box-shadow: 0 0 10px rgba(0,198,255,0.9), 0 0 20px rgba(0,198,255,0.5);
}
@keyframes spin1 { from { transform: rotate(0deg);   } to { transform: rotate(360deg);   } }
@keyframes spin2 { from { transform: rotateY(60deg) rotateZ(60deg)  rotate(0deg);   } to { transform: rotateY(60deg) rotateZ(60deg)  rotate(360deg);   } }
@keyframes spin3 { from { transform: rotateY(60deg) rotateZ(-60deg) rotate(0deg);   } to { transform: rotateY(60deg) rotateZ(-60deg) rotate(360deg);   } }

/* Animated glow border */
.about-glow-border {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  z-index: 0;
  border: 1px solid rgba(0,198,255,0.4);
  animation: about-border-spin 4s linear infinite;
}
@keyframes about-border-spin {
  0%   { border-color: rgba(0,198,255,0.4); }
  50%  { border-color: rgba(47,107,255,0.6); }
  100% { border-color: rgba(0,198,255,0.4); }
}
.about-atom { z-index: 1; }
.about-info-card { z-index: 2; }

/* Info card */
.about-info-card {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(4, 10, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(123, 47, 255, 0.35);
  border-radius: 12px;
  padding: 12px 14px 11px;
  box-shadow: 0 0 0 1px rgba(0,245,255,0.06), 0 8px 32px rgba(0,0,0,0.5);
}
.about-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--violet-light, #4f8eff);
  margin-bottom: 5px;
}
.about-info-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan, #00f5ff);
  box-shadow: 0 0 6px var(--cyan, #00f5ff);
  animation: dot-pulse 1.8s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.7); }
}
.about-info-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.about-info-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(47,107,255,0.4), rgba(0,245,255,0.2), transparent);
  margin: 8px 0;
}
.about-info-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.about-info-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--text-muted, #8896aa);
}
.about-info-meta-item svg { flex-shrink: 0; }
.about-info-countdown {
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.about-info-countdown-num {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(90deg, #00f5ff, #4f8eff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-info-countdown-label {
  font-size: 0.7rem;
  color: var(--text-muted, #8896aa);
  font-weight: 500;
}

.about-list { list-style: none; margin-top: 24px; }
.about-list li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text-muted);
}
.about-list li:last-child { border-bottom: none; }
.about-list li::before {
  content: '◆';
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.7rem;
}

/* ── SPEAKERS ── */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.speaker-card {
  background: #ffffff;
  border: 2px solid transparent;
  background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(135deg, #00c6ff, #0072ff, #2f6bff);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,114,255,0.08), 0 1px 4px rgba(0,0,0,0.05);
  position: relative;
}
.speaker-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00c6ff, #0072ff, #2f6bff);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}
.speaker-card:hover {
  background-image: linear-gradient(#fafcff, #fafcff), linear-gradient(135deg, #00f5ff, #0072ff, #2f6bff);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,114,255,0.14), 0 8px 20px rgba(47,107,255,0.08);
}
.speaker-card:hover::before {
  opacity: 1;
}
.speaker-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: var(--dark-3);
}
.speaker-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #f0f6ff 0%, #e4eeff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(0,198,255,0.12);
}
.speaker-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00c6ff, #2f6bff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 20px rgba(0,114,255,0.3), 0 0 0 4px rgba(255,255,255,0.9);
}
.speaker-info { padding: 18px 18px 20px; }
.speaker-name { font-size: 1rem; font-weight: 800; color: var(--text); margin-bottom: 3px; }
.speaker-role { font-size: 0.82rem; color: var(--cyan); margin-bottom: 2px; font-weight: 600; }
.speaker-org { font-size: 0.78rem; color: var(--text-muted); }
.speaker-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.speaker-tag {
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: 100px;
  background: rgba(0,114,255,0.06);
  border: 1px solid rgba(0,198,255,0.2);
  color: #2f6bff;
  font-weight: 600;
}

/* ── AGENDA ── */
.agenda-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  background: var(--dark-2);
  padding: 6px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  width: fit-content;
}
.agenda-tab {
  padding: 10px 24px;
  border-radius: 8px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.agenda-tab.active {
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: #fff;
}
.agenda-day { display: none; }
.agenda-day.active { display: block; }

.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border), var(--border), transparent);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 24px 0;
  position: relative;
}
.timeline-time {
  flex: 0 0 120px;
  text-align: right;
  padding-top: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.timeline-dot {
  position: absolute;
  left: 113px;
  top: 28px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--violet);
  border: 2px solid white;
  box-shadow: 0 0 10px rgba(47,107,255,0.5);
  z-index: 1;
  flex-shrink: 0;
}
.timeline-content {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: var(--transition);
}
.timeline-content:hover { border-color: var(--border); transform: translateX(4px); }
.timeline-content h4 { color: var(--text); font-size: 1rem; margin-bottom: 6px; }
.timeline-content p  { font-size: 0.88rem; margin-bottom: 8px; }
.timeline-speaker { font-size: 0.82rem; color: var(--violet-light); font-weight: 600; }
.timeline-type {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-left: 8px;
}
.type-keynote { background: rgba(255,45,120,0.15); color: var(--pink); border: 1px solid rgba(255,45,120,0.3); }
.type-panel   { background: rgba(0,245,255,0.1); color: var(--cyan); border: 1px solid rgba(0,245,255,0.2); }
.type-workshop{ background: rgba(47,107,255,0.15); color: var(--violet-light); border: 1px solid rgba(47,107,255,0.3); }
.type-break   { background: rgba(148,163,184,0.1); color: var(--text-muted); border: 1px solid rgba(148,163,184,0.2); }

/* ── WHY ATTEND ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.why-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.why-card:hover::after { transform: scaleX(1); }
.why-card:hover { border-color: rgba(47,107,255,0.4); transform: translateY(-4px); }
.why-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}
.why-card h3 { color: var(--text); font-size: 1.1rem; margin-bottom: 10px; }

/* ── SPONSORS ── */
.sponsors-tiers { display: flex; flex-direction: column; gap: 48px; }
.sponsors-tier-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 20px;
}
.tier-gold { color: #f59e0b; }
.tier-silver { color: #94a3b8; }
.tier-bronze { color: #c87941; }
.sponsors-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.sponsor-logo {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 80px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
}
.sponsor-logo:hover {
  border-color: rgba(0,245,255,0.3);
  color: var(--cyan);
  transform: translateY(-2px);
}
.sponsor-logo.gold { min-width: 220px; height: 100px; font-size: 1.2rem; }

/* ── VENUE ── */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.venue-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  background: var(--dark-3);
  position: relative;
}
.venue-map iframe { width: 100%; height: 100%; border: none; filter: invert(90%) hue-rotate(180deg) brightness(0.85); }
.venue-info-list { list-style: none; margin-top: 24px; }
.venue-info-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.venue-info-list li:last-child { border-bottom: none; }
.venue-info-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.venue-info-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 2px; }
.venue-info-value { font-weight: 600; color: var(--text); }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
  transition: var(--transition);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-question:hover { color: var(--cyan); }
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--cyan);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(0,245,255,0.15); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding-bottom: 24px; font-size: 0.95rem; }

/* ── NEWSLETTER ── */
.newsletter-section {
  background: linear-gradient(135deg, #0a1628 0%, #0d1f3c 50%, #091828 100%);
  border: 1px solid rgba(0,198,255,0.2);
  border-radius: var(--radius-lg);
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,114,255,0.15), inset 0 1px 0 rgba(255,255,255,0.06);
}
.newsletter-section h2 { color: #fff !important; }
.newsletter-section p { color: rgba(255,255,255,0.65) !important; }
.newsletter-section .tag { background: rgba(0,198,255,0.12); border-color: rgba(0,198,255,0.25); color: #00c6ff; }
.newsletter-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,114,255,0.2), transparent 65%);
  pointer-events: none;
}
.newsletter-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,198,255,0.12), transparent 65%);
  pointer-events: none;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 32px auto 0;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 100px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}
.newsletter-form input:focus { border-color: rgba(0,198,255,0.6); background: rgba(255,255,255,0.12); }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }

/* ── FOOTER ── */
footer {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; justify-content: flex-start; }
.footer-brand a { display: block; margin-left: 0; padding-left: 0; }
.footer-brand a img { width: 180px !important; height: auto !important; display: block; margin-left: 0; }
.footer-brand p { font-size: 0.9rem; margin-top: 16px; max-width: 300px; line-height: 1.7; }
.footer-col h4 { color: var(--text); font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}
.social-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,245,255,0.08);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(47,107,255,0.2), transparent 70%);
  pointer-events: none;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: var(--violet-light); }

/* ── REGISTER PAGE ── */
.register-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.ticket-cards { display: flex; flex-direction: column; gap: 20px; }
.ticket-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.ticket-card.featured {
  border-color: var(--violet);
  box-shadow: 0 0 30px rgba(47,107,255,0.2);
}
.ticket-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: -10px; right: 20px;
  padding: 4px 14px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
}
.ticket-card:hover { border-color: rgba(47,107,255,0.5); transform: translateX(4px); }
.ticket-name { font-weight: 700; color: var(--text); font-size: 1.1rem; margin-bottom: 4px; }
.ticket-price { font-size: 2rem; font-weight: 900; color: var(--cyan); margin-bottom: 12px; }
.ticket-price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.ticket-features { list-style: none; }
.ticket-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 6px 0;
  display: flex;
  gap: 8px;
  align-items: center;
}
.ticket-features li::before { content: '✓'; color: var(--cyan); font-weight: 700; flex-shrink: 0; }

.register-form { background: var(--dark-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.register-form h3 { color: var(--text); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--dark-3);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--violet);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47,107,255,0.1);
}
.form-group select option { background: var(--dark-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--text-muted); }
.form-check input { width: auto; margin-top: 2px; }

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
/* JS adds .js-reveal-ready to <html> before observers run — only then hide elements */
.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(40px);
}
.js-reveal-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── MOBILE NAV ── */
@media (max-width: 720px) {
  .why-three { grid-template-columns: 1fr !important; }
}

@media (max-width: 900px) {
  .hamburger { display: flex !important; }
  .navbar { background: rgba(255,255,255,0.97) !important; box-shadow: 0 2px 12px rgba(0,0,0,0.08); padding: 8px 0 !important; }
  .logo-white { opacity: 0 !important; }
  .logo-color  { opacity: 1 !important; }
  .logo-swap-link img { width: 150px !important; height: auto !important; }
  .nav-cta .btn-primary { display: none; }
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-inner { gap: 0; padding: 0 16px; height: 52px; }
  .navbar .container { padding-left: 0 !important; margin-left: -8px; }
  .nav-logo { padding-top: 6px; }
  .nav-logo { margin-right: auto; margin-left: 0; }
  .nav-logo a { gap: 4px; }
  .nav-logo img { height: auto !important; }
  .top-bar { display: none !important; }
  /* Drawer */
  .nav-links {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important; right: 0 !important;
    width: 80vw !important; max-width: 320px !important;
    height: 100vh !important;
    background-color: #0f172a !important;
    background-image: linear-gradient(160deg, #0f172a 0%, #1e293b 100%) !important;
    padding: 90px 32px 48px !important;
    box-shadow: -8px 0 48px rgba(0,0,0,0.5) !important;
    transform: translateX(100%) !important;
    transition: transform 0.32s cubic-bezier(0.4,0,0.2,1) !important;
    z-index: 9999 !important;
    gap: 0 !important;
    overflow-y: auto !important;
    border-left: 1px solid rgba(0,153,204,0.2) !important;
    list-style: none !important;
  }
  .nav-links.open { transform: translateX(0) !important; }
  .nav-links li { display: block !important; width: 100% !important; }
  .nav-links li a {
    display: block !important;
    color: #e2e8f0 !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
    text-decoration: none !important;
    transition: color 0.2s, padding-left 0.2s !important;
  }
  .nav-links li a:hover { color: #0099cc !important; padding-left: 8px !important; }
  .nav-links li:last-child a { border-bottom: none !important; }
  .drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9998; }
  .drawer-overlay.active { display: block; }
  .about-grid, .venue-grid, .register-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-form { flex-direction: column; }
  .timeline::before { left: 0; }
  .timeline-item { grid-template-columns: 1fr; padding-left: 24px; }
  .timeline-time { text-align: left; padding-top: 0; }
  .timeline-dot { left: -8px; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .countdown { flex-wrap: wrap; justify-content: center; }
  .countdown-unit { min-width: 68px; }
  .hero-meta { gap: 16px; }
  .newsletter-section { padding: 40px 24px; }
}
