/* 
 * Grand Rounds Landing Page Style Sheet
 * Theme: Tech-Forward Premium Dark Mode
 * Palette: Slate Black, Cyber Blue, Cyber Teal, Metallic Gold
 */

:root {
  --bg: #f8fafc;
  --bg-tinted: #f1f5f9;
  --card: #ffffff;
  --navy: #0b1329;
  --navy-dark: #020617;
  --navy-light: #111b36;
  --blue: #2563eb;
  --sky: #0284c7;
  --sky-accent: #38bdf8;
  --teal: #0d9488;
  --gold: #d97706;
  --gold-metallic: #b45309;
  --text: #0f172a;
  --muted: #475569;
  --soft: rgba(241, 245, 249, 0.8);
  --line: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --radius: 24px;
  --radius-sm: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

/* Explicit heading colors for dark sections to maintain high contrast */
.hero h1, .hero h2, .hero h3, .hero h4,
.registration-section h1, .registration-section h2, .registration-section h3, .registration-section h4,
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4,
.success-modal h1, .success-modal h2, .success-modal h3, .success-modal h4 {
  color: #ffffff;
}

/* Explicit body paragraph contrast for dark sections */
.hero p, .hero-subtitle,
.registration-section p,
.site-footer p,
.success-modal p {
  color: #cbd5e1;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

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

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

/* --- NAVIGATION & STICKY HEADER --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(18px);
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: var(--navy-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky);
  font-weight: 800;
  font-size: 1.3rem;
  border: 2px solid var(--blue);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--sky);
  text-transform: uppercase;
}

.brand-text strong {
  font-size: 1.1rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.brand-separator {
  width: 1px;
  height: 28px;
  background: rgba(0, 0, 0, 0.12);
}

.header-event-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.bayta-header-logo {
  height: 36px;
  width: auto;
  mix-blend-mode: normal;
  border-radius: 4px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: var(--transition);
}

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

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}

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

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background: #1d4ed8;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.03);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: var(--text);
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-dark {
  background: var(--navy-light);
  color: #ffffff;
  border: 1px solid var(--line);
}

.btn-dark:hover {
  background: var(--navy);
  border-color: var(--sky);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #0f172a;
  transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  /* Glowing slide background theme */
  background: 
    linear-gradient(to right, rgba(3, 7, 18, 0.94) 35%, rgba(3, 7, 18, 0.5) 75%, rgba(3, 7, 18, 0.9) 100%),
    url("assets/SlideBackground_Lighter.png") no-repeat center center;
  background-size: cover;
  padding: 120px 0 130px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sky);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.eyebrow span {
  width: 24px;
  height: 2px;
  background: var(--sky);
}

.hero h1 strong {
  display: block;
  color: var(--gold-metallic);
  margin-top: 5px;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.hero-subtitle {
  color: #cbd5e1;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.5;
  margin-bottom: 30px;
}

.speaker-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 35px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  width: max-content;
}

.speaker-tag img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--gold-metallic);
  object-fit: cover;
}

.speaker-tag span {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.speaker-tag small {
  color: #94a3b8;
  font-weight: 500;
  margin-left: 6px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Event Details Card (Hero Right) */
.hero-visual {
  position: relative;
}

.event-details-card {
  position: relative;
  background: rgba(11, 19, 41, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
}

.event-details-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: calc(var(--radius) + 1px);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.35), transparent, rgba(56, 189, 248, 0.3));
  pointer-events: none;
}

.card-header-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 25px;
}

.card-header-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.card-header-bar span:nth-child(1) { background: #ef4444; }
.card-header-bar span:nth-child(2) { background: var(--gold-metallic); }
.card-header-bar span:nth-child(3) { background: var(--teal); }

.card-title {
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: #cbd5e1;
  margin-left: 8px;
  text-transform: uppercase;
}

.event-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.event-meta-item i {
  color: var(--sky);
  font-size: 1.3rem;
  margin-top: 4px;
}

.event-meta-item strong {
  display: block;
  color: #ffffff;
  font-size: 1.08rem;
}

.event-meta-item span {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Countdown Timer */
.countdown-container {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 12px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.countdown-item {
  background: rgba(3, 7, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 5px;
  text-align: center;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

.countdown-number {
  font-family: "Orbitron", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--sky);
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.countdown-label {
  font-size: 0.65rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 4px;
}

/* --- SECTIONS --- */
.section {
  padding: 90px 0;
}

.section-tinted {
  background: var(--bg-tinted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  color: var(--sky);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.section-header {
  max-width: 800px;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

/* Philosophy Layout */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.philosophy-copy h2 {
  margin-bottom: 20px;
}

.philosophy-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 35px;
}

.stat-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.stat-num {
  font-family: "Orbitron", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-metallic);
  margin-bottom: 6px;
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.4;
}

.philosophy-visual {
  position: relative;
}

.slide-preview-frame {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.frame-header {
  background: #020617;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.frame-header i {
  font-size: 0.6rem;
}
.frame-header i:nth-child(1) { color: #ef4444; }
.frame-header i:nth-child(2) { color: #f59e0b; }
.frame-header i:nth-child(3) { color: #10b981; }

.frame-header span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-left: 10px;
}

.frame-body {
  position: relative;
  display: flex;
  flex-direction: column;
}

.slide-bg-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.9;
}

.slide-caption {
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.85);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.slide-caption i {
  color: var(--sky);
}

/* --- KEY TOPICS CARDS --- */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.topic-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.topic-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: calc(var(--radius-sm) + 1px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent);
  pointer-events: none;
}

.topic-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(56, 189, 248, 0.3);
}

.topic-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.06);
  color: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  border: 1px solid rgba(56, 189, 248, 0.15);
}

.topic-card h3 {
  margin-bottom: 12px;
  color: var(--text);
}

.topic-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Caution Card styling */
.caution-card {
  border-color: rgba(239, 68, 68, 0.25);
  background: rgba(239, 68, 68, 0.02);
}

.caution-card:hover {
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.08);
}

.icon-caution {
  color: #f87171;
  background: rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.25);
}

/* Highlight Card styling */
.highlight-card {
  border-color: rgba(212, 175, 55, 0.25);
  background: rgba(212, 175, 55, 0.02);
}

.highlight-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.08);
}

.icon-partnership {
  color: var(--gold-metallic);
  background: rgba(212, 175, 55, 0.06);
  border-color: rgba(212, 175, 55, 0.25);
}

/* --- GLOWING TAKEAWAY SECTION --- */
.takeaway-section {
  padding: 80px 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.06), transparent 70%), var(--bg);
}

.takeaway-card {
  position: relative;
  background: rgba(11, 19, 41, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(212, 175, 55, 0.05);
  backdrop-filter: blur(10px);
  max-width: 900px;
  margin: 0 auto;
}

.takeaway-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: calc(var(--radius) + 1px);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), transparent, rgba(56, 189, 248, 0.2));
  pointer-events: none;
}

.quote-icon {
  font-size: 3rem;
  color: var(--gold-metallic);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 20px;
}

.takeaway-card blockquote {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.takeaway-card cite {
  font-style: normal;
  font-weight: 700;
  color: var(--sky);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}

/* --- ABOUT THE SPEAKER --- */
.speaker-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
}

.speaker-visual {
  position: relative;
}

.speaker-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1;
  border: 1px solid var(--line);
}

.speaker-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--navy-dark);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.speaker-info h3 {
  color: var(--sky);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.speaker-title-sub {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sky);
  margin-bottom: 20px;
}

.speaker-bio {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 25px;
}

.credentials-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  list-style: none;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.credential-item i {
  color: var(--teal);
}

/* Bayta Gold Platinum badge inside page */
.partner-logo-card {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 35px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.partner-logo-card span {
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #64748b;
  display: block;
}

.partner-logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

/* --- REGISTRATION SECTION --- */
.registration-section {
  background: 
    radial-gradient(circle at 10% 15%, rgba(37, 99, 235, 0.05), transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(16, 185, 129, 0.03), transparent 35%),
    var(--navy-dark);
  color: #ffffff;
  padding: 100px 0;
  position: relative;
  border-top: 1px solid var(--line);
}

.registration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.registration-copy h2 {
  color: #ffffff;
}

.registration-copy p {
  color: #cbd5e1;
}

.registration-benefits {
  list-style: none;
  margin-top: 30px;
  display: grid;
  gap: 18px;
}

.reg-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.reg-benefit-item i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.12);
  color: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 3px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.reg-benefit-item div strong {
  display: block;
  color: #ffffff;
  font-size: 0.95rem;
}

.reg-benefit-item div span {
  color: #94a3b8;
  font-size: 0.88rem;
}

/* Glass Registration Form */
.registration-form-container {
  position: relative;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(15px);
}

.registration-form-container::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: calc(var(--radius) + 1px);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), transparent, rgba(16, 185, 129, 0.1));
  pointer-events: none;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #cbd5e1;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  background: rgba(2, 6, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: #ffffff;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
  background: rgba(2, 6, 23, 0.8);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

select.form-control option {
  background: var(--navy-dark);
  color: #ffffff;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-submit-btn {
  width: 100%;
  margin-top: 10px;
  background: var(--blue);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.form-submit-btn:hover {
  background: #1d4ed8;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.35);
}

.form-submit-btn:disabled {
  background: #64748b;
  color: #cbd5e1;
  box-shadow: none;
  cursor: not-allowed;
}

/* Form Message */
.form-message {
  margin-top: 15px;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-message.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--teal);
  color: #a7f3d0;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
}

/* Loading Spinner */
.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- REGISTRATION SUCCESS MODAL --- */
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.success-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  max-width: 580px;
  width: calc(100% - 40px);
  padding: 40px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  color: #ffffff;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-modal.active .modal-card {
  transform: translateY(0);
}

.modal-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  margin: 0 auto 20px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.modal-card h2 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.modal-card p {
  color: #cbd5e1;
  font-size: 0.98rem;
  margin-bottom: 30px;
}

/* Zoom Invite Card inside Modal */
.zoom-connect-card {
  background: rgba(3, 7, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 30px;
  text-align: left;
}

.zoom-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Orbitron", sans-serif;
  font-size: 0.8rem;
  color: var(--sky);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.zoom-field {
  margin-bottom: 12px;
}

.zoom-field:last-child {
  margin-bottom: 0;
}

.zoom-field label {
  font-size: 0.65rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 800;
  display: block;
  margin-bottom: 2px;
}

.zoom-field span, .zoom-field a {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.zoom-field a {
  color: var(--sky);
  text-decoration: underline;
  word-break: break-all;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: #ffffff;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--navy-dark);
  color: #94a3b8;
  padding: 60px 0 30px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-desc {
  font-size: 0.95rem;
  max-width: 480px;
}

.footer-links-col {
  display: flex;
  justify-content: space-between;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--sky);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.5;
}

.footer-copyright {
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  justify-content: space-between;
}

/* --- MOBILE RESPONSIVENESS &hamburger menu --- */
@media (max-width: 992px) {
  .hero {
    background: 
      linear-gradient(to bottom, rgba(3, 7, 18, 0.95) 0%, rgba(3, 7, 18, 0.75) 100%),
      url("assets/SlideBackground_Lighter.png") no-repeat center center;
    background-size: cover;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .topics-grid {
    grid-template-columns: 1fr;
  }
  .speaker-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .speaker-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }
  .registration-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    z-index: 99;
  }
  .nav-menu.active {
    left: 0;
  }
  .navbar-btn {
    display: none;
  }
  .modal-actions {
    grid-template-columns: 1fr;
  }
  .brand-separator {
    display: none;
  }
  .header-event-title {
    display: none;
  }
  .bayta-header-logo {
    display: block;
    height: 30px;
  }
}
