:root {
  --black: #07070b;
  --black-2: #101015;
  --blue: #4568ff;
  --blue-2: #1f45ff;
  --blue-3: #6f86ff;
  --white: #f4f7ff;
  --muted: rgba(244, 247, 255, 0.72);
  --panel: rgba(35, 60, 210, 0.58);
  --line: rgba(255, 255, 255, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: "Arial Narrow", "Roboto Condensed", Impact, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

button {
  font: inherit;
}

.page {
  width: min(100%, 520px);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--black);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.55);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 26px max(28px, env(safe-area-inset-bottom));
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: -3;
  transform: scale(1.02);
  animation: heroDrift 10s ease-in-out infinite alternate;
}

.shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(3, 3, 8, 0.82) 0%, rgba(3, 3, 8, 0.2) 38%, rgba(3, 3, 8, 0.06) 58%, rgba(3, 3, 8, 0.86) 100%),
    radial-gradient(circle at 50% 56%, rgba(65, 102, 255, 0.12), transparent 42%);
}

.hero::after,
.blue-section::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -48px;
  height: 120px;
  background: var(--black);
  transform: rotate(-4deg);
  transform-origin: left top;
  z-index: -1;
}

.hero-copy {
  padding-top: 8px;
}

.kicker {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(58px, 16vw, 86px);
  line-height: 0.86;
  text-transform: uppercase;
  font-weight: 950;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.48);
}

h1 span,
h1 strong {
  display: block;
}

h1 strong {
  color: var(--blue);
}

.hero-bottom {
  display: grid;
  gap: 22px;
  justify-items: center;
  text-align: center;
}

.hero-bottom p {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.38;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.cta {
  min-height: 72px;
  width: min(100%, 360px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  color: white;
  background: linear-gradient(180deg, #5875ff, #3154ff);
  box-shadow: 0 18px 42px rgba(39, 76, 255, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  cursor: pointer;
  text-transform: uppercase;
  font-size: 38px;
  line-height: 0.9;
  font-weight: 950;
  transition: transform 0.16s ease, filter 0.2s ease;
}

.cta:active {
  transform: translateY(2px) scale(0.99);
}

.blue-section {
  position: relative;
  z-index: 1;
  padding: 82px 22px 76px;
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(180deg, #4166ff, #3157ff 70%, #2847df);
  overflow: hidden;
}

.blue-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.34;
  pointer-events: none;
}

.section-head,
.work-card,
.result-card,
.final-cta {
  position: relative;
  z-index: 1;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2,
.result-section h2 {
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(38px, 10.4vw, 62px);
  line-height: 0.88;
  font-weight: 950;
}

.work-card {
  min-height: 154px;
  margin: 0 0 18px;
  padding: 22px 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(42, 68, 220, 0.9), rgba(33, 55, 190, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px rgba(12, 26, 120, 0.22);
  overflow: hidden;
}

.work-text {
  width: 100%;
}

.work-card h3 {
  margin-bottom: 12px;
  text-transform: uppercase;
  font-size: 31px;
  line-height: 0.94;
  font-weight: 950;
}

.work-card p,
.result-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.28;
  font-weight: 700;
}

.result-section {
  padding: 118px 22px max(38px, env(safe-area-inset-bottom));
  background: var(--black);
}

.result-card {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 12%, rgba(69, 104, 255, 0.34), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  margin-bottom: 96px;
}

.result-card h2 {
  color: var(--blue-3);
  margin-bottom: 16px;
}

.final-cta {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 24px;
}

.final-cta h2 {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translateY(0);
  }
  to {
    transform: scale(1.06) translateY(-10px);
  }
}

@media (max-width: 390px) {
  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  h1 {
    font-size: clamp(52px, 15vw, 64px);
  }

  .cta {
    min-height: 66px;
    font-size: 32px;
  }

  .work-card h3 {
    font-size: 27px;
  }

  .work-card p {
    font-size: 15px;
  }
}
