﻿*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:      #e8392a;
  --red-soft: #f04d3a;
  --red-dim:  rgba(232,57,42,0.15);
  --red-line: rgba(232,57,42,0.3);
  --bg:       #0c0c0e;
  --bg2:      #131316;
  --bg3:      #1a1a1e;
  --white:    #f2ede8;
  --muted:    rgba(242,237,232,0.78);
  --hint:     rgba(242,237,232,0.45);
  --border:   rgba(255,255,255,0.07);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif;
  background: var(--bg);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NAV ───────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  background: rgba(12,12,14,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.nav-logo img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-logo span {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  background: var(--red);
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}

.nav-cta:hover { background: var(--red-soft); }

/* ── HERO ──────────────────────── */
.hero {
  min-height: 100vh;
  padding-top: 64px; /* nav height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-bg-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 60vw, 30%);
  opacity: 0.1;
  z-index:-200;
  pointer-events: none;
  user-select: none;
  object-fit: contain;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 700;
  color: rgba(255,255,255,0.025);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.04em;
  user-select: none;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.75rem;
}

.hero-title {
  font-size: clamp(48px, 10vw, 128px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  background: none;
  border: none;
  padding: 0;
  max-width: 520px;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 1.1rem 2rem;
  flex: 0 0 100%;
  border: 0.5px solid var(--border);
  border-radius: 100px;
  background: var(--bg2);
  box-shadow: 0 0 18px 2px rgba(255,255,255,0.06);
}

.hero-meta-label {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
}

.hero-meta-value {
  font-size: 18px;
  font-weight: 500;
  color: var(--red);
}

.hero-divider {
  display: none;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 32px;
  background: var(--hint);
}

.title-accent { color: var(--red); font-style: normal; }

.hero-maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding: 0.8rem 1.6rem;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--white);
  background: linear-gradient(135deg, rgba(232,57,42,0.18) 0%, rgba(232,57,42,0.08) 100%);
  border: 0.5px solid rgba(232,57,42,0.35);
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(232,57,42,0.12);
  transition: background 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.hero-maps-btn::before {
  content: "📍";
  font-size: 14px;
  line-height: 1;
}

.hero-maps-btn:hover {
  background: linear-gradient(135deg, rgba(232,57,42,0.28) 0%, rgba(232,57,42,0.14) 100%);
  border-color: rgba(232,57,42,0.55);
  box-shadow: 0 0 32px rgba(232,57,42,0.22);
}

/* ── SECTION LABEL ─────────────── */
.section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: "";
  display: block;
  width: 24px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

/* ── ACT HERO (slide A) ────────── */
.act-hero {
  padding: 6rem 5rem;
  border-top: 0.5px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.act-hero-label {
  text-align: center;
  margin-bottom: 2.5rem;
}

.act-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
  max-width: 1100px;
}

.act-card {
  background: var(--bg2);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.act-number {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hint);
  margin-bottom: 1.75rem;
  display: block;
}

.act-title {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
}

.act-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
}

.act-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 0.5px solid var(--red-line);
  color: var(--red-soft);
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

/* ── AGENDA SLIDES (B & C) ─────── */
.agenda-section {
  padding: 7rem 10rem;
  border-top: 0.5px solid var(--border);
}

.agenda-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 5rem;
  align-items: end;
}

.agenda-big-title {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.agenda-intro {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  max-width: 40ch;
  align-self: end;
}

.agenda-topics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  background: none;
  border: none;
}

.topic-card {
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}

.topic-card:hover { background: var(--bg3); }

.topic-num {
  position: absolute;
  bottom: -0.15em;
  left: 0.2em;
  font-size: clamp(80px, 10vw, 130px);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: rgba(232,57,42,0.15);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.topic-name {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.topic-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}

/* ── CYBERSEC SECTION (dark) ───── */
.agenda-section.dark {
  background: var(--bg2);
}

.agenda-section.dark .topic-card {
  background: var(--bg3);
  border-color: rgba(255,255,255,0.08);
}

.agenda-section.dark .topic-card:hover {
  background: #202025;
}

.topic-card.accent {
  background: var(--red-dim);
  border: 0.5px solid var(--red-line);
}

.topic-card.accent:hover { background: rgba(232,57,42,0.2); }

.topic-card.accent .topic-name { color: var(--red-soft); }

/* ── FORM SECTION ──────────────── */
.form-section {
  padding: 8rem 2.5rem;
  border-top: 0.5px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}

.form-header {
  text-align: center;
  max-width: 640px;
  width: 100%;
}

.form-header .section-label {
  justify-content: center;
}

.form-header .section-label::before {
  display: none;
}

.form-title {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}

.form-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.event-chips {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.event-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg2);
  border: 0.5px solid var(--border);
  border-radius: 100px;
  box-shadow: 0 0 14px 1px rgba(255,255,255,0.04);
}

.chip-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hint);
}

.chip-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
}

/* ── FORM RIGHT ────────────────── */
.form-right {
  width: 100%;
  max-width: 520px;
}

.form-card {
  background: var(--bg2);
  border: 0.5px solid rgba(232,57,42,0.2);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(232,57,42,0.07), 0 0 0 1px rgba(255,255,255,0.04);
}

.form-card-header {
  padding: 2rem 2.5rem 1.75rem;
  border-bottom: 0.5px solid var(--border);
  background: linear-gradient(135deg, rgba(232,57,42,0.08) 0%, transparent 60%);
}

.form-card-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}

.form-card-heading {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
}

#formWrapper {
  padding: 2rem 2.5rem 2.5rem;
}

.field {
  margin-bottom: 1.5rem;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--hint);
  margin-bottom: 0.6rem;
}

.field label .req { color: var(--red); margin-left: 2px; }
.field label .opt { color: rgba(242,237,232,0.45); margin-left: 6px; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 11px; }

.counter-wrap {
  display: flex;
  align-items: stretch;
}

.counter-btn {
  width: 50px;
  background: var(--bg3);
  border: 0.5px solid rgba(255,255,255,0.1);
  color: rgba(242,237,232,0.4);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s;
  user-select: none;
}

.counter-btn:first-child { border-radius: 10px 0 0 10px; border-right: none; }
.counter-btn:last-child  { border-radius: 0 10px 10px 0; border-left: none; }
.counter-btn:hover { background: var(--red-dim); color: var(--red-soft); }
.counter-btn:active { transform: scale(0.94); }

#participants {
  flex: 1;
  max-width: 100px;
  background: var(--bg3);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-left: none;
  border-right: none;
  border-radius: 0;
  padding: 0.875rem 0.5rem;
  font-size: 22px;
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
  color: var(--white);
  text-align: center;
  outline: none;
  -moz-appearance: textfield;
}
#participants::-webkit-inner-spin-button,
#participants::-webkit-outer-spin-button { -webkit-appearance: none; }
#participants:focus { background: rgba(232,57,42,0.07); }
#participants.error { border-top-color: rgba(232,57,42,0.5) !important; border-bottom-color: rgba(232,57,42,0.5) !important; }

.field input[type="email"] {
  width: 100%;
  background: var(--bg3);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
  color: var(--white);
  outline: none;
  transition: all 0.15s;
}
.field input[type="email"]:focus {
  border-color: rgba(232,57,42,0.5);
  background: rgba(232,57,42,0.06);
  box-shadow: 0 0 0 3px rgba(232,57,42,0.1);
}
.field input[type="email"]::placeholder { color: rgba(242,237,232,0.18); }
.field input[type="email"].error { border-color: rgba(232,57,42,0.6); }

.field-hint {
  display: block;
  font-size: 12px;
  color: var(--hint);
  margin-top: 0.4rem;
}

.error-msg {
  font-size: 12px;
  color: #e24b4a;
  margin-top: 0.4rem;
  display: none;
}
.error-msg.visible { display: block; }

.divider-thin {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 1.75rem 0;
}

.privacy-note {
  font-size: 11px;
  color: rgba(242,237,232,0.22);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.privacy-note a { color: rgba(232,57,42,0.6); text-decoration: none; }
.privacy-note a:hover { color: var(--red-soft); }

.submit-btn {
  width: 100%;
  padding: 1.1rem;
  background: var(--red);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background 0.15s, transform 0.1s;
}
.submit-btn:hover { background: var(--red-soft); }
.submit-btn:active { transform: scale(0.99); }
.submit-btn:disabled { opacity: 0.5; pointer-events: none; }

/* ── SUCCESS ───────────────────── */
.success-state {
  display: none;
  text-align: center;
  padding: 2rem 0;
}
.success-state.visible { display: block; }

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red-dim);
  border: 0.5px solid var(--red-line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 22px;
}

.success-state h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.success-state p {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
}

/* ── FOOTER ────────────────────── */
footer {
  border-top: 0.5px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 4rem;
  padding: 4rem 5rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  width: fit-content;
}

.footer-logo img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 13px;
  color: var(--hint);
  font-weight: 300;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hint);
  margin-bottom: 0.4rem;
}

.footer-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
  width: fit-content;
}

.footer-link:hover { color: var(--white); }

.footer-text {
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 5rem;
  border-top: 0.5px solid var(--border);
  background: var(--bg2);
}

.footer-bottom p {
  font-size: 12px;
  color: var(--hint);
}

.footer-bottom a {
  font-size: 12px;
  color: var(--hint);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-bottom a:hover { color: var(--muted); }

/* ── RESPONSIVE ────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .hero { padding: 64px 1.25rem 4rem; }
  .hero-meta {
    flex-direction: column;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    gap: 0.75rem;
    align-items: flex-start;
  }
  .hero-meta-item { padding: 0; }
  .hero-divider { width: 100%; height: 0.5px; }
  .hero-scroll { display: none; }
  .act-cards { grid-template-columns: 1fr; }
  .act-hero { padding: 4rem 1.25rem; }
  .agenda-section { padding: 5rem 1.25rem; }
  .agenda-header { grid-template-columns: 1fr; gap: 1.5rem; }
  .agenda-topics { grid-template-columns: 1fr; }
  .form-section { padding: 5rem 1.25rem; gap: 3rem; }
  .form-card-header { padding: 1.5rem 1.5rem 1.25rem; }
  #formWrapper { padding: 1.5rem 1.5rem 2rem; }
  .event-chips { gap: 0.5rem; }
  .event-chip { padding: 0.6rem 1.1rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem; }
  .footer-bottom { padding: 1rem 1.5rem; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}
