:root {
  --ink: #141526;
  --muted: #666a7c;
  --night: #090b18;
  --night-soft: #11152a;
  --purple: #8b5cf6;
  --purple-bright: #a78bfa;
  --cyan: #39d5ff;
  --green: #a7f3d0;
  --surface: #f5f5fa;
  --line: rgba(20, 21, 38, 0.1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  color: var(--ink);
  background: var(--night);
  font-family: Inter, Aptos, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.navbar {
  padding-block: 1rem;
  background: rgba(9, 11, 24, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.navbar-brand {
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.7rem;
  background: linear-gradient(135deg, var(--purple), #5445e5);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.45);
}

.brand-mark svg,
.experience-icon svg,
.teams-note svg,
.agenda-step svg {
  width: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #fff;
}

.btn {
  border-radius: 0.7rem;
  font-weight: 700;
}

.btn-lg {
  padding: 0.85rem 1.25rem;
}

.btn-glow {
  border: 0;
  background: linear-gradient(135deg, #9b7bff, #7258ef);
  color: #fff;
  box-shadow: 0 10px 30px rgba(114, 88, 239, 0.3);
}

.btn-glow:hover,
.btn-glow:focus {
  background: linear-gradient(135deg, #ad94ff, #8069f4);
  color: #fff;
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 9rem 0 5rem;
  background:
    radial-gradient(circle at 85% 20%, rgba(80, 56, 180, 0.2), transparent 30%),
    var(--night);
  color: #fff;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-orb-one {
  width: 28rem;
  height: 28rem;
  top: -12rem;
  right: -8rem;
  background: rgba(139, 92, 246, 0.16);
  box-shadow: 0 0 100px rgba(139, 92, 246, 0.35);
}

.hero-orb-two {
  width: 18rem;
  height: 18rem;
  bottom: -8rem;
  left: 20%;
  background: rgba(57, 213, 255, 0.08);
  box-shadow: 0 0 90px rgba(57, 213, 255, 0.22);
}

.eyebrow,
.section-kicker {
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(4rem, 9vw, 7.7rem);
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.gradient-text {
  background: linear-gradient(100deg, var(--purple-bright), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-card {
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
}

.mini-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(167, 243, 208, 0.22);
  border-radius: 999px;
  background: rgba(167, 243, 208, 0.08);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
}

.live-pill span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.teams-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  background: rgba(139, 92, 246, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 600;
}

.teams-note svg {
  flex: 0 0 auto;
  fill: var(--purple-bright);
  stroke: none;
}

.hero-scroll {
  position: absolute;
  bottom: -5rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-line {
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--purple-bright), transparent);
}

.section-padding {
  padding-block: clamp(5rem, 10vw, 8rem);
}

.section-title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section-intro {
  color: var(--muted);
  font-size: 1.08rem;
}

.experience-card {
  position: relative;
  overflow: hidden;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
}

.experience-card p {
  color: var(--muted);
}

.experience-number {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  color: rgba(20, 21, 38, 0.13);
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.experience-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 3.5rem;
  place-items: center;
  border-radius: 0.9rem;
}

.icon-purple {
  background: rgba(139, 92, 246, 0.12);
  color: #6d42dc;
}

.icon-blue {
  background: rgba(14, 165, 233, 0.12);
  color: #087dac;
}

.icon-green {
  background: rgba(5, 150, 105, 0.12);
  color: #087957;
}

.agenda-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(139, 92, 246, 0.13), transparent 22rem),
    var(--night-soft);
  color: #fff;
}

.day-badge {
  display: inline-block;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
  font-weight: 700;
}

.agenda-list {
  max-width: 66rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.agenda-item {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.5rem;
  padding-bottom: 1.25rem;
}

.agenda-item:not(:last-child)::before {
  position: absolute;
  z-index: 0;
  top: 3.25rem;
  bottom: -0.25rem;
  left: 1.72rem;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
  content: "";
}

.agenda-step {
  z-index: 1;
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background: var(--night-soft);
  color: var(--purple-bright);
  font-size: 0.78rem;
  font-weight: 800;
}

.agenda-card {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.045);
}

.agenda-card h3 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.agenda-card p {
  max-width: 51rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.6);
}

.agenda-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.75rem;
  font-weight: 700;
}

.type-pill {
  padding: 0.35rem 0.6rem;
  border-radius: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.type-welcome {
  background: rgba(57, 213, 255, 0.12);
  color: #75dfff;
}

.type-present {
  background: rgba(139, 92, 246, 0.15);
  color: #b9a5ff;
}

.type-learn {
  background: rgba(167, 243, 208, 0.11);
  color: var(--green);
}

.type-discuss {
  background: rgba(251, 191, 36, 0.12);
  color: #fbd36b;
}

.module-link {
  display: inline-block;
  margin-top: 1.15rem;
  color: #b9a5ff;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.module-link:hover {
  color: #fff;
}

.module-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.module-chips span {
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.76rem;
  font-weight: 600;
}

.check-in-card {
  border-color: rgba(251, 191, 36, 0.2);
  background: linear-gradient(120deg, rgba(251, 191, 36, 0.06), rgba(255, 255, 255, 0.035));
}

.day-two-section {
  background: #f2f1f8;
}

.section-kicker-dark {
  color: #6546cf;
}

.day-badge-dark {
  border-color: var(--line);
  background: #fff;
  color: var(--muted);
}

.agenda-list-light .agenda-item:not(:last-child)::before {
  background: rgba(20, 21, 38, 0.12);
}

.agenda-list-light .agenda-step {
  border-color: var(--line);
  background: #f2f1f8;
  color: #6546cf;
}

.agenda-list-light .agenda-card {
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 14px 45px rgba(20, 21, 38, 0.04);
}

.agenda-list-light .agenda-card p,
.agenda-list-light .agenda-meta {
  color: var(--muted);
}

.agenda-list-light .type-present {
  background: rgba(139, 92, 246, 0.11);
  color: #6546cf;
}

.agenda-list-light .type-learn {
  background: rgba(5, 150, 105, 0.1);
  color: #087957;
}

.agenda-list-light .type-discuss {
  background: rgba(202, 138, 4, 0.1);
  color: #8a5b00;
}

.agenda-list-light .type-welcome {
  background: rgba(14, 165, 233, 0.1);
  color: #087dac;
}

.agenda-list-light .module-link {
  color: #6546cf;
}

.agenda-list-light .module-link:hover {
  color: #37227e;
}

.agenda-list-light .module-chips span {
  border-color: var(--line);
  color: var(--muted);
}

.agenda-list-light .check-in-card {
  border-color: rgba(202, 138, 4, 0.22);
  background: linear-gradient(120deg, rgba(251, 191, 36, 0.07), #fff);
}

.type-finale {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.agenda-list-light .final-item .agenda-step {
  border: 0;
  background: linear-gradient(135deg, var(--purple), #5f48d8);
  color: #fff;
  box-shadow: 0 10px 30px rgba(95, 72, 216, 0.3);
}

.final-card,
.agenda-list-light .final-card {
  border-color: transparent;
  background: linear-gradient(135deg, #6d4ce0, #4430a6);
  color: #fff;
  box-shadow: 0 20px 60px rgba(68, 48, 166, 0.22);
}

.agenda-list-light .final-card p,
.agenda-list-light .final-card .agenda-meta {
  color: rgba(255, 255, 255, 0.68);
}

.final-outcome {
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 700;
}

.prepare-section {
  background: var(--night);
}

.prepare-card {
  padding: clamp(2rem, 6vw, 4.5rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 1.75rem;
  background:
    radial-gradient(circle at 90% 10%, rgba(57, 213, 255, 0.12), transparent 20rem),
    linear-gradient(135deg, rgba(139, 92, 246, 0.16), rgba(255, 255, 255, 0.04));
}

.ready-list {
  display: grid;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.74);
}

.ready-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
}

.ready-list span {
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #060711;
  color: #fff;
}

.error-page {
  display: grid;
  min-height: 100vh;
  padding: 1rem;
  place-items: center;
  background: var(--night);
}

.error-card {
  width: min(38rem, 100%);
  padding: clamp(2rem, 7vw, 4rem);
  border-radius: 1.5rem;
  background: #fff;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.9rem;
    background: #101326;
  }

  .hero {
    min-height: auto;
  }

  .hero-card {
    max-width: 35rem;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding-top: 7.5rem;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 15vw, 5rem);
  }

  .hero .btn {
    width: 100%;
  }

  .agenda-item {
    grid-template-columns: 2.7rem 1fr;
    gap: 0.75rem;
  }

  .agenda-step {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 0.75rem;
  }

  .agenda-item:not(:last-child)::before {
    top: 2.5rem;
    left: 1.32rem;
  }

  .agenda-card {
    padding: 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
