:root {
  --bg-top: #051b2c;
  --bg-bottom: #0a4f78;
  --text-main: #f9fdff;
  --text-soft: #dbf2ff;
  --brand-cyan: #00c2ff;
  --brand-lime: #95f246;
  --brand-gold: #ffd166;
  --brand-orange: #ff7f11;
  --brand-pink: #ff477e;
  --panel-bg: rgba(4, 30, 48, 0.62);
  --panel-border: rgba(255, 255, 255, 0.22);
  --card-bg: rgba(250, 255, 255, 0.92);
  --card-text: #08334d;
  --shadow: 0 20px 50px rgba(3, 18, 28, 0.35);
  --radius-lg: 26px;
  --radius-md: 18px;
  --font-body: "Sora", "Segoe UI", Tahoma, sans-serif;
  --font-title: "Bungee", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--text-main);
  background:
    radial-gradient(circle at 12% -5%, rgba(255, 209, 102, 0.45) 0%, rgba(255, 209, 102, 0) 38%),
    radial-gradient(circle at 100% 0%, rgba(255, 71, 126, 0.38) 0%, rgba(255, 71, 126, 0) 42%),
    linear-gradient(140deg, var(--bg-top), var(--bg-bottom));
}

.scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.75;
  animation: drift 12s ease-in-out infinite alternate;
}

.orb-1 {
  width: 290px;
  height: 290px;
  left: -70px;
  top: 26%;
  background: radial-gradient(circle at 30% 30%, #fff5cc, var(--brand-orange));
}

.orb-2 {
  width: 210px;
  height: 210px;
  right: 7%;
  top: 8%;
  background: radial-gradient(circle at 30% 30%, #d7f8ff, var(--brand-cyan));
  animation-duration: 10s;
}

.orb-3 {
  width: 240px;
  height: 240px;
  right: 18%;
  bottom: 6%;
  background: radial-gradient(circle at 30% 30%, #efffdd, var(--brand-lime));
  animation-duration: 15s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.site-header {
  width: min(1120px, 100% - 2.3rem);
  margin: 1.3rem auto 0;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(6, 36, 57, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-title);
  font-size: 0.82rem;
  color: #063048;
  background: linear-gradient(135deg, var(--brand-gold), #fff4b2);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.nav-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.hero {
  width: min(1120px, 100% - 2.3rem);
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.3rem;
  align-items: stretch;
}

.hero-copy {
  padding: 2.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.eyebrow {
  margin: 0 0 0.9rem;
  width: fit-content;
  color: #033046;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.35rem 0.78rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--brand-gold), #ffed9f);
}

h1 {
  margin: 0;
  font-family: var(--font-title);
  line-height: 1.1;
  letter-spacing: 0.03em;
  font-size: clamp(1.9rem, 4.6vw, 3.3rem);
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(3, 20, 30, 0.55);
}

.hero-text {
  margin: 1.1rem 0 1.55rem;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 62ch;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.78rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

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

.btn-ghost {
  padding: 0.65rem 1.1rem;
  color: #ebf9ff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
  padding: 0.65rem 1.2rem;
  color: #082940;
  background: linear-gradient(120deg, var(--brand-gold), var(--brand-orange));
  box-shadow: 0 12px 26px rgba(255, 118, 22, 0.35);
}

.btn-outline {
  color: #f3fbff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.btn-lg {
  min-height: 3rem;
  padding: 0.82rem 1.3rem;
}

.session-message {
  margin: 1rem 0 0;
  color: #f4fbff;
}

.session-message a {
  color: #ffffff;
  font-weight: 700;
}

.hero-panel {
  padding: 1.9rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--panel-border);
  background: linear-gradient(170deg, rgba(0, 194, 255, 0.24), rgba(149, 242, 70, 0.15));
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  margin: 0 0 1rem;
  font-family: var(--font-title);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 1.25rem;
}

.hero-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.hero-panel li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #f4fcff;
  line-height: 1.45;
}

.dot {
  width: 10px;
  height: 10px;
  margin-top: 0.38rem;
  border-radius: 999px;
  flex: 0 0 auto;
}

.dot-gold { background: var(--brand-gold); }
.dot-cyan { background: var(--brand-cyan); }
.dot-lime { background: var(--brand-lime); }

.chip-row {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  color: #0b3451;
  background: var(--card-bg);
}

.feature-strip {
  width: min(1120px, 100% - 2.3rem);
  margin: 1.3rem auto 2.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature-card {
  border-radius: var(--radius-md);
  background: var(--card-bg);
  color: var(--card-text);
  padding: 1.2rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 12px 28px rgba(1, 15, 26, 0.22);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-family: var(--font-title);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.feature-card p {
  margin: 0.65rem 0 0;
  line-height: 1.6;
  font-weight: 500;
}

.reveal {
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  animation: reveal 0.75s cubic-bezier(0.17, 0.84, 0.44, 1) forwards;
}

.reveal-1 { animation-delay: 0.05s; }
.reveal-2 { animation-delay: 0.18s; }
.reveal-3 { animation-delay: 0.35s; }
.reveal-4 { animation-delay: 0.5s; }

@keyframes drift {
  from { transform: translateY(0) translateX(0) scale(1); }
  to { transform: translateY(-14px) translateX(8px) scale(1.04); }
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 980px) {
  .site-header {
    width: min(1120px, 100% - 1.2rem);
    border-radius: 26px;
    padding: 0.8rem;
  }

  .hero {
    width: min(1120px, 100% - 1.2rem);
    grid-template-columns: 1fr;
    margin-top: 1.2rem;
  }

  .feature-strip {
    width: min(1120px, 100% - 1.2rem);
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: min(1120px, 100% - 0.8rem);
    border-radius: 18px;
    padding: 0.7rem;
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .hero-copy {
    padding: 1.3rem;
  }

  .hero-panel {
    padding: 1.2rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .nav-actions {
    width: 100%;
    justify-content: stretch;
    gap: 0.45rem;
  }

  .btn-ghost,
  .btn-primary {
    flex: 1 1 auto;
    padding: 0.58rem 0.9rem;
    font-size: 0.9rem;
  }

  .btn-lg {
    width: 100%;
  }
}
