:root {
  color-scheme: dark;
  --bg: #0b0b0b;
  --panel: #141414;
  --text: #f5f5f5;
  --muted: #a8a8a8;
  --accent-blue: #4aa8ff;
  --accent-green: #3dd98d;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 26px 60px rgba(0, 0, 0, 0.6);
  --radius: 22px;
  --ticker-row-height: 56px;
  --ticker-row-gap: 12px;
  --ticker-step: calc(var(--ticker-row-height) + var(--ticker-row-gap));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

.bg-shapes span {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  opacity: 0.65;
  filter: blur(80px);
  animation: float 22s ease-in-out infinite;
}

.bg-shapes .shape-blue {
  top: 8%;
  left: 6%;
  background: rgba(74, 168, 255, 0.28);
}

.bg-shapes .shape-green {
  bottom: 12%;
  right: 12%;
  width: 360px;
  height: 360px;
  background: rgba(61, 217, 141, 0.22);
  animation-delay: -6s;
}

.bg-shapes .shape-mid {
  top: 55%;
  left: 65%;
  width: 240px;
  height: 240px;
  background: rgba(74, 168, 255, 0.18);
  animation-delay: -12s;
}

@keyframes float {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-20px, 24px, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 64px;
  padding: 24px 24px 64px;
}

.site-header {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img {
  width: 82px;
  height: 82px;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  object-fit: contain;
  background: #0d0d0d;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
  animation: logoShine 6s ease-in-out infinite;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: none;
}

.brand-tagline {
  font-size: 0.7rem;
  color: #a9a9a9;
  letter-spacing: 0.24em;
  line-height: 1.2;
  text-transform: uppercase;
}

.header-cta {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.header-cta:hover {
  border-color: rgba(74, 168, 255, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(74, 168, 255, 0.2);
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: center;
}

.thankyou {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  place-items: center;
}

.thankyou-card {
  width: min(720px, 100%);
  background: #121212;
  border-radius: calc(var(--radius) + 4px);
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
}

.thankyou-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.thankyou-card h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
}

.thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.thankyou-primary,
.thankyou-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.thankyou-primary {
  background: var(--accent-blue);
  color: #070707;
}

.thankyou-primary:hover {
  background: var(--accent-green);
  transform: translateY(-1px);
}

.thankyou-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text);
  background: transparent;
}

.thankyou-secondary:hover {
  border-color: rgba(74, 168, 255, 0.6);
  transform: translateY(-1px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.015em;
  margin: 0;
  color: #f4f4f4;
  text-shadow: 0 0 22px rgba(74, 168, 255, 0.18), 0 0 44px rgba(74, 168, 255, 0.08);
  animation: headlineGlow 6.5s ease-in-out infinite;
  position: relative;
  display: inline-block;
  overflow: hidden;
  isolation: isolate;
}

h1::after {
  content: "";
  position: absolute;
  top: -25%;
  left: -45%;
  width: 35%;
  height: 150%;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 28px rgba(74, 168, 255, 0.2), 0 0 50px rgba(61, 217, 141, 0.16);
  transform: skewX(-18deg) translateX(-120%);
  animation: headlineShine 7s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}

.lead {
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.75;
  color: #d6d6d6;
  max-width: 520px;
  --glow: rgba(74, 168, 255, 0.14);
  animation: textBreathe 7s ease-in-out infinite;
}

.highlights {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #cfcfcf;
  font-size: 0.98rem;
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  --glow: rgba(255, 255, 255, 0.12);
  animation: textBreathe 6.4s ease-in-out infinite;
}

.highlight span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 10px rgba(74, 168, 255, 0.5);
}

.highlight:nth-child(2) span {
  background: var(--accent-green);
  box-shadow: 0 0 10px rgba(61, 217, 141, 0.5);
}

.highlight:nth-child(3) span {
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.category-ticker {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  width: min(520px, 100%);
}

.ticker-label {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.ticker-window {
  height: calc(var(--ticker-row-height) * 2 + var(--ticker-row-gap));
  overflow: hidden;
}

.ticker-track {
  display: flex;
  flex-direction: column;
  gap: var(--ticker-row-gap);
  animation: tickerSlide 12s ease-in-out infinite;
}

.ticker-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  height: var(--ticker-row-height);
}

.ticker-item {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  background: #0b0b0b;
  color: #f0f0f0;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.ticker-item:hover {
  border-color: rgba(74, 168, 255, 0.6);
  background: #0f0f0f;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(74, 168, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.category-ticker:hover .ticker-track {
  animation-play-state: paused;
}

.highlight:nth-child(2) {
  --glow: rgba(61, 217, 141, 0.16);
  animation-delay: 0.2s;
}

.highlight:nth-child(3) {
  --glow: rgba(255, 255, 255, 0.18);
  animation-delay: 0.4s;
}

.form-panel {
  background: #121212;
  border-radius: calc(var(--radius) + 4px);
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
}

.form-panel::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  pointer-events: none;
}

.form-panel::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.6;
  pointer-events: none;
}

.form-panel h2 {
  font-family: "Sora", "Trebuchet MS", sans-serif;
  font-size: 1.7rem;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}

form {
  display: grid;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.field {
  display: grid;
  gap: 10px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  font-size: 0.7rem;
  color: #9c9c9c;
  text-transform: uppercase;
  letter-spacing: 0.25em;
}

input,
select,
textarea {
  width: 100%;
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: var(--text);
  padding: 16px 18px;
  font-size: 1rem;
  font-family: "Manrope", "Trebuchet MS", sans-serif;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), inset 0 -18px 24px rgba(0, 0, 0, 0.4);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(74, 168, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(74, 168, 255, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  background: #0d0d0d;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.other-field {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.other-field.is-visible {
  max-height: 200px;
  opacity: 1;
}

.submit-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

button[type="submit"] {
  border: none;
  border-radius: 999px;
  padding: 16px 22px;
  font-size: 1.02rem;
  font-family: "Sora", "Trebuchet MS", sans-serif;
  color: #070707;
  background: var(--accent-blue);
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

button[type="submit"]:hover {
  transform: translateY(-1px);
  background: var(--accent-green);
  box-shadow: none;
}

form.is-submitting button[type="submit"] {
  transform: translateY(0);
  box-shadow: none;
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 22px;
  transition: color 0.3s ease;
}

.form-status[data-state="success"] {
  color: var(--accent-green);
}

.form-status[data-state="error"] {
  color: #ff6b6b;
}

.fade-up {
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.8s ease forwards;
}

.fade-up.delay-1 {
  animation-delay: 0.15s;
}

.fade-up.delay-2 {
  animation-delay: 0.3s;
}

.fade-up.delay-3 {
  animation-delay: 0.45s;
}

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

@keyframes headlineGlow {
  0%,
  100% {
    text-shadow: 0 0 22px rgba(74, 168, 255, 0.18), 0 0 44px rgba(74, 168, 255, 0.08);
  }
  50% {
    text-shadow: 0 0 22px rgba(61, 217, 141, 0.2), 0 0 44px rgba(61, 217, 141, 0.1);
  }
}

@keyframes logoShine {
  0%,
  100% {
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  }
  50% {
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 0 18px rgba(74, 168, 255, 0.22);
  }
}

@keyframes tickerSlide {
  0%,
  18% {
    transform: translateY(0);
  }
  23%,
  41% {
    transform: translateY(calc(-1 * var(--ticker-step)));
  }
  46%,
  64% {
    transform: translateY(calc(-2 * var(--ticker-step)));
  }
  69%,
  87% {
    transform: translateY(calc(-3 * var(--ticker-step)));
  }
  92%,
  100% {
    transform: translateY(calc(-4 * var(--ticker-step)));
  }
}

@keyframes headlineShine {
  0% {
    transform: skewX(-18deg) translateX(-120%);
    opacity: 0;
  }
  20% {
    opacity: 0.6;
  }
  55% {
    transform: skewX(-18deg) translateX(320%);
    opacity: 0;
  }
  100% {
    transform: skewX(-18deg) translateX(320%);
    opacity: 0;
  }
}

@keyframes textBreathe {
  0%,
  100% {
    opacity: 0.88;
    transform: translateY(0);
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  50% {
    opacity: 1;
    transform: translateY(-1px);
    text-shadow: 0 0 18px var(--glow);
  }
}

footer {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
  gap: 12px;
}

.footer-accent {
  color: var(--accent-blue);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 20px 18px 52px;
    gap: 48px;
  }

  .brand {
    gap: 12px;
  }

  .brand img {
    width: 68px;
    height: 68px;
  }

  .form-panel {
    padding: 24px;
  }

  button[type="submit"] {
    width: 100%;
  }

  .thankyou-card {
    padding: 24px;
  }

  .thankyou-primary,
  .thankyou-secondary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
