/* ==========================================================================
   Bilbao Research | Crypto Portfolio Protection Webinar 2026-2027
   Desktop-first Windows Dark Theme (Segoe UI / Fluent Design Inspired)
   ========================================================================== */

:root {
  --bg-primary: #0a0d14;
  --bg-secondary: #111827;
  --bg-card: #161f30;
  --bg-card-hover: #1e293b;
  --bg-accent: #1e3a8a;
  --border-subtle: #243247;
  --border-focus: #3b82f6;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-blue: #2563eb;
  --accent-cyan: #06b6d4;
  --accent-gold: #f59e0b;
  --accent-emerald: #10b981;
  --accent-red: #ef4444;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.35);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Consolas", "Courier New", monospace;
  --container-max: 1180px;
}

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

html {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #172554 0%, #0a0d14 60%);
  background-attachment: fixed;
}

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

a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- Sticky Reservation Bar ---------------- */
.sticky-bar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(10, 13, 20, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
  font-size: 0.9rem;
}

.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.sticky-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.sticky-brand-icon {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}

.sticky-urgency {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.88rem;
}

.live-pulse {
  display: inline-block;
  width: 9px;
  height: 9px;
  background-color: var(--accent-red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-red);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.badge-seats {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.sticky-timer {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-gold);
}

.btn-sticky {
  background: linear-gradient(135deg, var(--accent-blue), #1d4ed8);
  color: #fff !important;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.btn-sticky:hover {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  transform: translateY(-1px);
  text-decoration: none;
}

/* ---------------- Hero Section ---------------- */
.hero-section {
  padding: 48px 0 36px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #93c5fd;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: flex-start;
}

.hero-title {
  font-size: 2.85rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-title .gradient-text {
  background: linear-gradient(90deg, #60a5fa, #38bdf8, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-meta-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}

.meta-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2px;
}

.hero-highlights {
  list-style: none;
  margin-bottom: 28px;
}

.hero-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.check-icon {
  color: var(--accent-emerald);
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1.2;
}

/* ---------------- Registration Card ---------------- */
.reg-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--accent-blue);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.reg-card-header {
  text-align: center;
  margin-bottom: 20px;
}

.reg-badge-free {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.reg-card-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.reg-card-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

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

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  background-color: #0d131f;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.15s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
  background-color: #111a2c;
}

.form-control::placeholder {
  color: #475569;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 20px;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent-blue);
  width: 16px;
  height: 16px;
}

.btn-primary-cta {
  width: 100%;
  padding: 15px 20px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border: 1px solid #3b82f6;
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary-cta:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.btn-primary-cta:active {
  transform: translateY(0);
}

.reg-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.lock-icon {
  color: var(--accent-emerald);
}

/* ---------------- Keynote Speaker Spotlight ---------------- */
.section {
  padding: 60px 0;
  border-top: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.section-tag {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 12px;
}

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

.speaker-spotlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 380px 1fr;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.speaker-media {
  position: relative;
  background-color: #0b0f19;
  min-height: 440px;
}

.speaker-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.speaker-vip-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.speaker-content {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.speaker-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.speaker-name {
  font-size: 2.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.speaker-bio {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.keynote-topics-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.keynote-topics-box h4 {
  font-size: 0.88rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.keynote-topics-box ul {
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.keynote-topics-box li {
  margin-bottom: 6px;
  padding-left: 16px;
  position: relative;
}

.keynote-topics-box li::before {
  content: "•";
  color: var(--accent-cyan);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.co-speakers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.co-speaker-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.co-speaker-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-subtle);
  flex-shrink: 0;
}

.co-speaker-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.co-speaker-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ---------------- Agenda Timeline ---------------- */
.agenda-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.agenda-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.agenda-card:hover {
  border-color: #3b82f6;
  transform: translateY(-2px);
}

.agenda-time {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.agenda-details h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.agenda-details p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ---------------- Stats / Proof Bar ---------------- */
.stats-banner {
  background: linear-gradient(180deg, #111827 0%, #0d131f 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  margin: 40px 0;
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #60a5fa;
  font-family: var(--font-mono);
  letter-spacing: -0.03em;
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* ---------------- Chart & Analysis Section ---------------- */
.chart-container-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 24px;
  margin-top: 24px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.chart-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.chart-legend {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
}

.legend-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.dot-green {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
}

.chart-img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

/* ---------------- Testimonials ---------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: var(--accent-gold);
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.92rem;
  color: #cbd5e1;
  font-style: italic;
  margin-bottom: 18px;
  line-height: 1.5;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.author-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------------- FAQ Accordion ---------------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-toggle-icon {
  font-size: 1.2rem;
  color: var(--accent-cyan);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ---------------- Bottom CTA Strip ---------------- */
.bottom-cta-box {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e1b4b 100%);
  border: 1px solid #3b82f6;
  border-radius: var(--radius-xl);
  padding: 44px 32px;
  text-align: center;
  margin: 60px 0 20px;
  box-shadow: var(--shadow-glow);
}

.bottom-cta-box h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.bottom-cta-box p {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 24px;
}

.bottom-cta-box .btn-primary-cta {
  max-width: 380px;
  margin: 0 auto;
}

/* ---------------- Submission Modal Simulation ---------------- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #0f172a;
  border: 1px solid #3b82f6;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.spinner {
  width: 52px;
  height: 52px;
  border: 4px solid rgba(59, 130, 246, 0.2);
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}

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

.modal-status-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.modal-status-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: #1e293b;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  transition: width 0.3s ease;
}

/* ---------------- Footer & Legal ---------------- */
.site-footer {
  margin-top: auto;
  background-color: #07090e;
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 32px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-nav a {
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-disclaimer-box {
  border: 1px solid #1e293b;
  background: #0a0f1d;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  line-height: 1.5;
  color: #64748b;
  font-size: 0.76rem;
}

.footer-copy {
  text-align: center;
  color: #475569;
}

/* ---------------- Responsive Tweaks ---------------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .speaker-spotlight-card {
    grid-template-columns: 1fr;
  }
  .speaker-media {
    min-height: 320px;
  }
  .stats-banner {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .agenda-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
