:root {
  --navy: #0b1650;
  --blue: #1e3fd6;
  --violet: #6d28d9;
  --magenta: #d6247a;
  --pink: #ff2e9a;
  --teal: #22d3c8;
  --ink: #14142b;
  --muted: #5b5f77;
  --bg-light: #f6f7fb;
  --white: #ffffff;
  --gradient-main: linear-gradient(125deg, var(--navy) 0%, var(--blue) 30%, var(--violet) 62%, var(--magenta) 100%);
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-card: 0 20px 45px rgba(11, 22, 80, 0.18);
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Poppins', 'Inter', sans-serif;
  line-height: 1.15;
  margin: 0 0 .5em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 22, 80, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.brand-logo {
  height: 42px;
  width: 42px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 2px;
}

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  font-size: 1.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color .2s ease;
}

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

.nav-cta {
  background: linear-gradient(120deg, var(--magenta), var(--pink));
  padding: 10px 20px;
  border-radius: 999px;
  color: #fff !important;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.btn-primary {
  background: linear-gradient(120deg, var(--magenta), var(--pink));
  color: #fff;
  box-shadow: 0 12px 30px rgba(214, 36, 122, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(214, 36, 122, 0.45); }
.btn-primary:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-main);
  color: #fff;
  padding: 72px 0 96px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.beam {
  position: absolute;
  background: rgba(255,255,255,0.08);
  transform: rotate(-18deg);
}
.beam-1 { width: 140%; height: 220px; top: -60px; left: -20%; background: rgba(34, 211, 200, 0.15); }
.beam-2 { width: 140%; height: 120px; bottom: -40px; right: -20%; background: rgba(255, 46, 154, 0.18); }

.dots {
  position: absolute;
  width: 120px;
  height: 160px;
  background-image: radial-gradient(rgba(255,255,255,0.35) 2px, transparent 2px);
  background-size: 14px 14px;
}
.dots-1 { top: 18%; right: 6%; }
.dots-2 { bottom: 10%; left: 4%; opacity: .6; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--teal);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.hero-theme {
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 500;
  color: #ffe3f1;
  margin-bottom: 18px;
}

.hero-desc {
  color: rgba(255,255,255,0.85);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-info-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  backdrop-filter: blur(6px);
}

.info-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.info-icon svg { width: 20px; height: 20px; }

.info-card strong { display: block; font-size: 0.95rem; }
.info-card span { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.75); }

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

.hero-free-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.speaker-float-card {
  position: relative;
  width: min(340px, 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 4px solid rgba(255,255,255,0.15);
}

.speaker-float-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top center;
}

.speaker-float-tag {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(11, 22, 80, 0.85);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}
.tag-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--teal);
  margin-bottom: 4px;
}
.tag-name {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }

.section-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--magenta);
  margin-bottom: 12px;
}
.section-eyebrow-light { color: var(--teal); }

.theme-section h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  max-width: 26ch;
  color: var(--navy);
}

.theme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 1.02rem;
}

/* ---------- Speaker section ---------- */
.speaker-section {
  background: #fff;
}
.speaker-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.speaker-photo-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}
.speaker-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(11,22,80,0.35));
}
.speaker-photo { width: 100%; height: 460px; object-fit: cover; object-position: top center; }

.speaker-content h2 { color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.2rem); }
.speaker-role {
  font-weight: 600;
  color: var(--magenta);
  margin-bottom: 18px;
}
.speaker-content p:not(.speaker-role) { color: var(--muted); }

/* ---------- Infos section ---------- */
.infos-section {
  background: var(--bg-light);
}
.infos-section h2 {
  color: var(--navy);
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  max-width: 24ch;
}
.infos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 36px;
  align-items: stretch;
}
.infos-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(11,22,80,0.08);
}
.infos-list li:last-child { border-bottom: none; }
.li-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.li-icon svg { width: 22px; height: 22px; }
.infos-list strong { display: block; color: var(--navy); font-size: 1rem; }
.infos-list span { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 2px; }

.infos-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 320px;
}
.infos-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* ---------- Register section ---------- */
.register-section {
  position: relative;
  overflow: hidden;
  background: var(--gradient-main);
  color: #fff;
}
.register-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.register-intro h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.register-intro p { color: rgba(255,255,255,0.85); max-width: 40ch; }

.register-form {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field-small { max-width: 160px; }

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.form-field input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.95);
  color: var(--ink);
  font-size: 0.95rem;
  font-family: inherit;
}
.form-field input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(34, 211, 200, 0.35);
}
.form-field input:invalid:not(:placeholder-shown) {
  border-color: var(--pink);
}

.btn-submit { width: 100%; margin-top: 8px; }

.form-feedback {
  margin: 14px 0 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}
.form-feedback.success { color: #b7f7ce; }
.form-feedback.error { color: #ffd0e3; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  height: 34px;
  width: 34px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 2px;
}
.footer-brand p { margin: 0; font-size: 0.85rem; }
.footer-copy { font-size: 0.8rem; margin: 0; }

/* ---------- Cookie consent ---------- */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.25);
}
.cookie-consent-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-consent-inner p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  max-width: 60ch;
}
.cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.btn-cookie {
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  border: none;
}
.btn-cookie-accept {
  background: linear-gradient(120deg, var(--magenta), var(--pink));
  color: #fff;
}
.btn-cookie-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-cookie-ghost:hover { background: rgba(255,255,255,0.18); }

@media (max-width: 640px) {
  .cookie-consent-inner { flex-direction: column; align-items: stretch; }
  .cookie-consent-actions { justify-content: flex-end; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .speaker-inner, .infos-grid, .register-inner, .theme-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { order: -1; }
  .speaker-photo-wrap { order: -1; }
  .speaker-photo { height: 340px; }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav.open { display: flex; }
  .nav-cta { align-self: flex-start; }
  .nav-toggle { display: flex; }

  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .form-field-small { max-width: none; }
}
