:root {
  --bg: #070707;
  --bg-soft: #0f0f0f;
  --bg-card: rgba(255, 255, 255, 0.055);
  --cream: #f2ead8;
  --cream-soft: #cfc4aa;
  --red: #b41522;
  --red-light: #ff2638;
  --line: rgba(242, 234, 216, 0.14);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --radius: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(
      circle at top left,
      rgba(180, 21, 34, 0.22),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(242, 234, 216, 0.08),
      transparent 28%
    ),
    var(--bg);
  color: var(--cream);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 18px 0;
  transition: 0.35s ease;
}

.site-header.scrolled {
  background: rgba(7, 7, 7, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 14px;
}

.brand span {
  font-size: 15px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--cream-soft);
  font-size: 14px;
  font-weight: 700;
  transition: 0.25s ease;
}

.main-nav a:hover {
  color: var(--cream);
}

.nav-cta {
  padding: 12px 18px;
  border: 1px solid rgba(255, 38, 56, 0.55);
  border-radius: 999px;
  color: var(--cream) !important;
  background: rgba(180, 21, 34, 0.16);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--cream);
  transition: 0.25s ease;
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 0 90px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(7, 7, 7, 0.45), rgba(7, 7, 7, 1)),
    repeating-linear-gradient(
      90deg,
      rgba(242, 234, 216, 0.025) 0,
      rgba(242, 234, 216, 0.025) 1px,
      transparent 1px,
      transparent 90px
    );
  pointer-events: none;
}

.snake-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(45px);
  opacity: 0.28;
  animation: floatGlow 7s ease-in-out infinite;
}

.snake-glow-one {
  top: 16%;
  right: 8%;
  background: var(--red);
}

.snake-glow-two {
  bottom: 10%;
  left: 6%;
  background: rgba(242, 234, 216, 0.18);
  animation-delay: 1.5s;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--red-light);
}

.hero h1 {
  font-size: clamp(58px, 9vw, 130px);
  line-height: 0.86;
  letter-spacing: -5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--red-light);
  text-shadow: 0 0 38px rgba(255, 38, 56, 0.24);
}

.hero-text {
  max-width: 650px;
  color: var(--cream-soft);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.6;
  margin-bottom: 34px;
}

.hero-text strong {
  color: var(--cream);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  color: var(--cream);
  background: linear-gradient(135deg, var(--red), #750b13);
  box-shadow: 0 18px 38px rgba(180, 21, 34, 0.32);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(180, 21, 34, 0.42);
}

.btn-secondary {
  color: var(--cream);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
  border-color: rgba(255, 38, 56, 0.6);
  background: rgba(180, 21, 34, 0.13);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 620px;
}

.hero-points div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(12px);
}

.hero-points strong {
  display: block;
  font-size: 24px;
  margin-bottom: 4px;
}

.hero-points span {
  color: var(--cream-soft);
  font-size: 13px;
}

/* Hero Card */

.hero-card {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.025)
    ),
    rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    transparent,
    rgba(255, 38, 56, 0.4),
    transparent
  );
  opacity: 0.45;
  animation: borderSweep 5s linear infinite;
}

.logo-orbit {
  position: relative;
  z-index: 2;
  width: min(330px, 72%);
  margin: 0 auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.logo-orbit img {
  width: 82%;
  border-radius: 28px;
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.5));
  animation: logoPulse 4s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 38, 56, 0.35);
  animation: rotateRing 12s linear infinite;
}

.orbit-ring::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red-light);
  box-shadow: 0 0 26px var(--red-light);
}

.card-content {
  position: relative;
  z-index: 2;
  width: calc(100% - 46px);
  margin: 34px auto 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7, 7, 7, 0.5);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.card-content p {
  color: var(--cream-soft);
  line-height: 1.55;
}

.status-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--red-light);
  box-shadow: 0 0 18px var(--red-light);
  flex: 0 0 auto;
}

/* Sections */

.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.01)
    ),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-head h2,
.application-content h2 {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-head p,
.application-content p {
  color: var(--cream-soft);
  font-size: 18px;
  line-height: 1.7;
}

.text-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: clamp(26px, 5vw, 54px);
  box-shadow: var(--shadow);
}

.text-box p {
  color: var(--cream-soft);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.65;
}

.text-box p + p {
  margin-top: 18px;
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.025)
  );
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 38, 56, 0.5);
  box-shadow: 0 24px 60px rgba(180, 21, 34, 0.18);
}

.icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(180, 21, 34, 0.18);
  border: 1px solid rgba(255, 38, 56, 0.36);
  color: var(--red-light);
  font-weight: 900;
  margin-bottom: 28px;
}

.card h3 {
  font-size: 24px;
  margin-bottom: 14px;
}

.card p {
  color: var(--cream-soft);
  line-height: 1.7;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.step::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 160px;
  height: 160px;
  background: rgba(180, 21, 34, 0.2);
  border-radius: 50%;
  filter: blur(20px);
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  font-weight: 900;
  margin-bottom: 24px;
}

.step h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.step p {
  color: var(--cream-soft);
  line-height: 1.7;
}

/* Application */

.application-section {
  background:
    radial-gradient(
      circle at top right,
      rgba(180, 21, 34, 0.26),
      transparent 36%
    ),
    #080808;
}

.application-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 42px;
  align-items: start;
}

.application-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--cream);
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.32);
  color: var(--cream);
  outline: none;
  font: inherit;
  transition: 0.25s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(207, 196, 170, 0.55);
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: rgba(255, 38, 56, 0.75);
  box-shadow: 0 0 0 4px rgba(255, 38, 56, 0.12);
}

.form-btn {
  width: 100%;
  margin-top: 8px;
}

.form-message {
  min-height: 24px;
  margin-top: 16px;
  font-weight: 800;
}

.form-message.success {
  color: #8cffb1;
}

.form-message.error {
  color: #ff7b7b;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  background: #050505;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--cream-soft);
  font-size: 14px;
}

.footer-inner a {
  color: var(--cream);
  font-weight: 800;
}

/* Reveal Animations */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.15s;
}

.reveal-delay-1 {
  transition-delay: 0.12s;
}

.reveal-delay-2 {
  transition-delay: 0.22s;
}

.created-by {
  color: var(--cream-soft);
}

.created-by a {
  color: var(--cream);
  font-weight: 900;
  text-decoration: none;
  position: relative;
}

.created-by a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--red-light);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.created-by a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Keyframes */

@keyframes floatGlow {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-24px) scale(1.08);
  }
}

@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes logoPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.035);
  }
}

@keyframes borderSweep {
  0% {
    transform: rotate(0deg) scale(1.2);
  }

  100% {
    transform: rotate(360deg) scale(1.2);
  }
}

/* Responsive */

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 84px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(7, 7, 7, 0.94);
    backdrop-filter: blur(18px);
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .hero-grid,
  .application-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-card {
    min-height: 420px;
  }

  .cards,
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand span {
    display: none;
  }

  .hero h1 {
    letter-spacing: -3px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 76px 0;
  }

  .footer-inner {
    flex-direction: column;
  }
}
