/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1f;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

:root {
  --accent: #E63946;
  --accent-dark: #C92A37;
  --accent-light: #FFE3E5;
  --ink: #0F0F14;
  --ink-2: #2a2a33;
  --muted: #6b6b76;
  --line: #e8e8ec;
  --bg-soft: #f7f7f8;
  --radius: 14px;
}

.hidden { display: none !important; }

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

/* ============ NAV ============ */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  padding: 20px 0;
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(230,57,70,0.25);
}
.nav-cta {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 18px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
}
.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,18,0.55) 0%, rgba(10,10,18,0.75) 60%, rgba(10,10,18,0.92) 100%),
    radial-gradient(ellipse at top right, rgba(230,57,70,0.25), transparent 60%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  max-width: 800px;
}
.accent-text {
  color: var(--accent);
  position: relative;
}
.hero-tagline {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin: 0 0 40px;
  font-weight: 300;
}
.event-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 44px;
  max-width: 720px;
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
}
.meta-icon {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border-radius: 10px;
  flex-shrink: 0;
}
.meta-icon svg {
  width: 18px; height: 18px;
  color: #fff;
}
.meta-text { display: flex; flex-direction: column; gap: 2px; }
.meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
}
.meta-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(230,57,70,0.4);
}
.hero-cta svg { width: 18px; height: 18px; transition: transform 0.25s ease; }
.hero-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(230,57,70,0.55);
}
.hero-cta:hover svg { transform: translateX(4px); }
.hero-note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

@media (min-width: 720px) {
  .event-meta { grid-template-columns: repeat(3, 1fr); }
}

/* ============ SECTIONS ============ */
.section { padding: 80px 0; }
@media (min-width: 720px) { .section { padding: 110px 0; } }

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-eyebrow.light { color: var(--accent-light); }

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 50px;
  color: var(--ink);
  max-width: 720px;
}
.section-title.light { color: #fff; }

/* ============ ABOUT ============ */
.about { background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}
.about-text p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 20px;
}
.about-text strong { color: var(--ink); font-weight: 600; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat {
  padding: 28px 22px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all 0.25s ease;
}
.stat:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.stat-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

@media (min-width: 880px) {
  .about-grid { grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: start; }
}

/* ============ SPEAKERS ============ */
.speakers { background: var(--bg-soft); }
.speakers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.speaker-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}
.speaker-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.15);
  border-color: transparent;
}
.speaker-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}
.speaker-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.speaker-card:hover .speaker-photo img { transform: scale(1.05); }
.speaker-body { padding: 24px 24px 28px; }
.speaker-day {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  padding: 4px 10px;
  background: var(--accent-light);
  border-radius: 6px;
}
.speaker-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: var(--ink);
}
.speaker-role {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 500;
}
.speaker-talk {
  font-size: 0.98rem;
  color: var(--ink-2);
  margin: 0;
  font-style: italic;
  line-height: 1.5;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

@media (min-width: 720px) { .speakers-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============ REGISTER ============ */
.register-section {
  background: linear-gradient(160deg, #0F0F14 0%, #1a1a24 60%, #0F0F14 100%);
  position: relative;
  overflow: hidden;
}
.register-section::before {
  content: '';
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(230,57,70,0.18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.register-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.register-intro .section-title { margin-bottom: 20px; }
.register-desc {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin: 0 0 32px;
}
.register-desc a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.register-desc a:hover { text-decoration: underline; }
.includes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.includes-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.98rem;
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============ FORM CARD ============ */
.register-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
}
@media (min-width: 720px) { .register-card { padding: 44px 40px; } }

#register-form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.field input,
.field select {
  width: 100%;
  padding: 13px 16px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background-color: #fff;
  transition: all 0.2s ease;
}
.field input::placeholder { color: #b3b3bb; }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(230,57,70,0.12);
}
.field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23E63946' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-error {
  padding: 12px 16px;
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  color: #B91C1C;
  border-radius: 10px;
  font-size: 0.9rem;
}

.submit-btn {
  position: relative;
  width: 100%;
  padding: 16px 24px;
  font-size: 1.02rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 8px;
  box-shadow: 0 8px 20px rgba(230,57,70,0.35);
}
.submit-btn:hover:not(:disabled) {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(230,57,70,0.45);
}
.submit-btn:active:not(:disabled) { transform: translateY(0); }
.submit-btn:disabled { opacity: 0.7; cursor: not-allowed; }

.btn-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-fineprint {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 4px 0 0;
}

/* ============ CONFIRMATION ============ */
.confirmation {
  text-align: center;
  padding: 20px 0;
  animation: fadeUp 0.5s ease;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.confirm-icon {
  width: 72px; height: 72px;
  margin: 0 auto 22px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.confirm-icon svg { width: 36px; height: 36px; }
.confirm-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ink);
}
.confirm-text {
  font-size: 1.02rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 24px;
}
.confirm-details {
  background: var(--bg-soft);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  margin-bottom: 18px;
}
.confirm-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--ink-2);
  font-weight: 500;
}
.confirm-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

@media (min-width: 880px) {
  .register-container { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
}

/* ============ FOOTER ============ */
.footer {
  background: #0a0a10;
  padding: 32px 0 24px;
  color: rgba(255,255,255,0.55);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  font-size: 0.9rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 500;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--accent); }

#wbx-powered-by-slot {
  text-align: center;
  margin-top: 18px;
  width: 100%;
}

@media (min-width: 720px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
