/* =============================================
   SKILEEZ — DAY ZERO
   Style: Brutalist Premium / Pure Black
============================================= */

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

:root {
  --black: #ffffff; /* White background */
  --white: #4D4DFF;
  --accent: #4D4DFF;
  --accent-strong: #4D4DFF;
  --accent-glow: rgba(63, 0, 255, 0.12);
  --gray: #e5e7eb; /* Light gray borders */
  --gray-mid: #6b7280;
  --gray-light: #4b5563; /* Darker sub-text */
  --font-body: 'Satoshi', sans-serif;
  --font-heading: 'Inter', sans-serif;
}

html {
  scroll-behavior: auto;
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
  /* prevent iOS rubber-band interfering with our scroll */
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow: hidden;
  height: 100%;
  cursor: default;
  overscroll-behavior: none;
  -webkit-tap-highlight-color: transparent;
}

/* Page wrap — entire content moves via transform */
#pageWrap {
  will-change: transform;
  position: relative;
  touch-action: none;
  /* tell browser our JS handles all touch scroll */
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 2px;
}

::selection {
  background: var(--accent);
  color: var(--black);
}

/* ============================
   THE FLYER
   Fixed S-element that swims through the page
============================ */
.flyer {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 300px;
  pointer-events: none;
  z-index: 10;
  will-change: transform, opacity;
  transform-origin: center center;
  opacity: 0;
  transition: opacity 1s ease;
  mix-blend-mode: normal; /* "screen" on white background makes it invisible */
}

.flyer svg {
  width: 100%;
  height: 100%;
}

.flyer.visible {
  opacity: 1;
}

/* ============================
   REVEAL
============================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

.delay-3 {
  transition-delay: 0.36s;
}

.reveal-word {
  display: inline-block;
  will-change: transform, opacity;
}

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

/* ============================
   NAV
============================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

.nav-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 14px;
  border-radius: 2px;
}

/* ============================
   HERO
============================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 48px 80px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.hero-title {
  display: block;
  line-height: 0.88;
  letter-spacing: -5px;
}

.hero-word {
  font-family: var(--font-heading);
  display: block;
  /* clamp goes low enough for 320px phones */
  font-size: clamp(58px, 14vw, 200px);
  font-weight: 900;
  text-transform: lowercase;
  color: var(--white);
  will-change: transform, opacity, filter;
}

.hero-word.accent {
  color: var(--accent);
}

.hero-sub {
  margin-top: 48px;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 300;
  color: var(--gray-light);
  line-height: 1.7;
  max-width: 520px;
}

.hero-scroll-hint {
  margin-top: 64px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray-mid);
  animation: hintPulse 2.5s ease-in-out infinite;
}

@keyframes hintPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(4px);
  }
}

/* ============================
   TICKER
============================ */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
  padding: 18px 0;
}

.ticker {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker span {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-mid);
  white-space: nowrap;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================
   WHO IT'S FOR
============================ */
.for-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 48px;
}

.for-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 64px;
}

.for-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--gray);
}

.for-item {
  padding: 48px 40px;
  border-right: 1px solid var(--gray);
  border-top: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.for-item:hover {
  background: rgba(45, 0, 179, 0.05);
  border-color: rgba(63, 0, 255, 0.25);
}

/* Card lights up when flyer lands on it */
.for-item.card-lit {
  background: rgba(45, 0, 179, 0.08) !important;
  border-color: rgba(63, 0, 255, 0.5) !important;
  box-shadow:
    inset 0 0 40px rgba(45, 0, 179, 0.08),
    0 0 30px rgba(63, 0, 255, 0.12);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Impact pulse — plays once on landing */
.for-item.card-impact {
  animation: cardImpact 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardImpact {
  0% {
    transform: scale(1.025);
    background: rgba(63, 0, 255, 0.18);
    border-color: rgba(63, 0, 255, 0.8);
  }

  40% {
    transform: scale(0.995);
  }

  100% {
    transform: scale(1);
    background: rgba(45, 0, 179, 0.08);
    border-color: rgba(63, 0, 255, 0.5);
  }
}


.for-number {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.for-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.for-desc {
  font-size: 15px;
  font-weight: 300;
  color: var(--gray-light);
  line-height: 1.75;
}

/* ============================
   DIVIDER
============================ */
.divider {
  width: 100%;
  height: 1px;
  background: var(--gray);
}

/* ============================
   OFFER
============================ */
.offer-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.offer-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 32px;
}

.offer-headline {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
}

.offer-right {
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.offer-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 17px;
  font-weight: 300;
  color: var(--gray-light);
  line-height: 1.6;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 9px;
}

.accent-dot {
  background: var(--accent-strong);
}

/* ============================
   CAPTURE
============================ */
.capture-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.capture-counter {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 40px;
}

.counter-num {
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.counter-label {
  font-size: 20px;
  font-weight: 300;
  color: var(--gray-light);
}

.capture-headline {
  font-family: var(--font-heading);
  font-size: clamp(52px, 10vw, 140px);
  font-weight: 900;
  letter-spacing: -5px;
  line-height: 0.88;
  color: var(--white);
  margin-bottom: 32px;
  text-transform: lowercase;
}

.capture-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--gray-light);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 52px;
}

.capture-form {
  display: flex;
  width: 100%;
  max-width: 620px;
  border: 1px solid var(--gray);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.capture-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.capture-input {
  flex: 1;
  padding: 20px 24px;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--white);
  caret-color: var(--accent);
}

.capture-input::placeholder {
  color: var(--gray-mid);
}

.capture-btn {
  padding: 20px 32px;
  background: var(--accent-strong);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: lowercase;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.capture-btn:hover {
  background: #1D4ED8;
}

.capture-btn:active {
  transform: scale(0.98);
}

.capture-btn.loading {
  opacity: 0.6;
  cursor: not-allowed;
}

#btnArrow {
  transition: transform 0.2s ease;
}

.capture-btn:hover #btnArrow {
  transform: translateX(4px);
}

.capture-promise {
  margin-top: 20px;
  font-size: 13px;
  color: var(--gray-mid);
  font-weight: 300;
}

.success-msg {
  display: none;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
  padding: 28px 32px;
  border: 1px solid rgba(63, 0, 255, 0.4);
  border-radius: 6px;
  background: rgba(45, 0, 179, 0.06);
  max-width: 620px;
}

.success-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.success-check {
  font-size: 20px;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

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

.success-text strong {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.success-text span {
  font-size: 15px;
  font-weight: 300;
  color: var(--gray-light);
  line-height: 1.6;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: #5865F2;
  color: #fff;
  text-decoration: none;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  align-self: flex-start;
}

.discord-btn:hover {
  background: #4752C4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.35);
}

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

.discord-arrow {
  transition: transform 0.2s;
}

.discord-btn:hover .discord-arrow {
  transform: translateX(4px);
}

.success-sub {
  font-size: 13px;
  color: var(--gray-mid);
  font-weight: 300;
}

/* ============================
   MANIFESTO
============================ */
.manifesto-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 48px;
}

.manifesto-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 64px;
}

.manifesto-text {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.manifesto-text p {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.3px;
  color: var(--gray-light);
}

.manifesto-text p:last-child {
  color: var(--white);
  font-weight: 500;
}

/* ============================
   FOOTER
============================ */
.footer {
  border-top: 1px solid var(--gray);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-size: 16px;
  font-weight: 900;
  text-transform: lowercase;
}

.footer-copy {
  font-size: 13px;
  color: var(--gray-mid);
  font-weight: 300;
}

/* ============================
   KEYFRAMES
============================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

/* ============================
   RESPONSIVE — TABLET (≤900px)
============================ */
@media (max-width: 900px) {

  /* NAV */
  .nav {
    padding: 18px 24px;
  }

  /* HERO */
  .hero {
    padding: 120px 24px 60px;
  }

  .hero-title {
    letter-spacing: -3px;
  }

  /* FOR SECTION */
  .for-section {
    padding: 80px 24px;
  }

  .for-grid {
    grid-template-columns: 1fr;
    border-left: none;
  }

  .for-item {
    border-left: 1px solid var(--gray);
    border-right: 1px solid var(--gray);
  }

  /* Cards slide in from bottom on mobile (not sides) */
  .for-item[style*='translateX'] {
    transform: translateY(20px) !important;
  }

  /* OFFER */
  .offer-section {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 24px;
  }

  .offer-right {
    padding-top: 0;
  }

  /* CAPTURE */
  .capture-section {
    padding: 80px 24px;
  }

  .capture-headline {
    letter-spacing: -3px;
  }

  .capture-form {
    flex-direction: column;
    border: none;
    gap: 12px;
  }

  .capture-input {
    border: 1px solid var(--gray);
    border-radius: 4px;
    padding: 18px 20px;
  }

  .capture-btn {
    border-radius: 4px;
    justify-content: center;
    padding: 18px 24px;
  }

  .success-msg {
    padding: 20px 24px;
  }

  .discord-btn {
    align-self: stretch;
    justify-content: center;
  }

  /* MANIFESTO */
  .manifesto-section {
    padding: 80px 24px;
  }

  /* FOOTER */
  .footer {
    padding: 32px 24px;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* FLYER — hidden on tablets only (600px phone gets its own smaller version below) */
  .flyer {
    display: none !important;
  }

  /* PROGRESS BAR — thinner */
  /* keep left:0, just cosmetic */
}

/* ============================
   RESPONSIVE — PHONE (≤600px)
============================ */
@media (max-width: 600px) {

  /* NAV */
  .nav {
    padding: 14px 20px;
  }

  .nav-logo {
    font-size: 16px;
  }

  .nav-tag {
    font-size: 9px;
    letter-spacing: 2px;
    padding: 5px 10px;
  }

  /* HERO */
  .hero {
    padding: 96px 20px 48px;
  }

  .hero-title {
    letter-spacing: -2px;
  }

  .hero-sub {
    font-size: 15px;
    margin-top: 28px;
  }

  .hero-scroll-hint {
    margin-top: 40px;
  }

  /* FOR SECTION */
  .for-section {
    padding: 64px 20px;
  }

  .for-item {
    padding: 32px 24px;
  }

  .for-number {
    font-size: 11px;
    margin-bottom: 14px;
  }

  .for-title {
    font-size: 22px;
    letter-spacing: -0.5px;
  }

  .for-desc {
    font-size: 14px;
  }

  /* OFFER */
  .offer-section {
    padding: 64px 20px;
    gap: 32px;
  }

  .offer-headline {
    font-size: clamp(30px, 9vw, 52px);
    letter-spacing: -1.5px;
  }

  .offer-point {
    font-size: 15px;
    gap: 12px;
  }

  /* CAPTURE */
  .capture-section {
    padding: 64px 20px;
  }

  .counter-num {
    font-size: 52px;
    letter-spacing: -2px;
  }

  .counter-label {
    font-size: 16px;
  }

  .capture-headline {
    font-size: clamp(42px, 14vw, 80px);
    letter-spacing: -2px;
    margin-bottom: 20px;
  }

  .capture-sub {
    font-size: 15px;
    margin-bottom: 36px;
  }

  .capture-promise {
    font-size: 12px;
    margin-top: 14px;
  }

  .success-top {
    flex-direction: column;
    gap: 8px;
  }

  .success-text strong {
    font-size: 16px;
  }

  .success-text span {
    font-size: 14px;
  }

  /* MANIFESTO */
  .manifesto-section {
    padding: 64px 20px;
  }

  .manifesto-text {
    gap: 20px;
  }

  .manifesto-text p {
    font-size: clamp(18px, 4.5vw, 26px);
  }

  /* DIVIDER */
  .divider {
    margin: 0;
  }

  /* FOOTER */
  .footer {
    padding: 28px 20px;
  }

  .footer-logo {
    font-size: 14px;
  }

  .footer-copy {
    font-size: 11px;
  }

  /* TICKER */
  .ticker span {
    font-size: 11px;
  }

  /* FLYER — small, simplified on phones */
  .flyer {
    display: block !important;
    width: 80px !important;
    height: 80px !important;
  }
}

/* ============================
   TOUCH — disable hover effects that look odd on tap
============================ */
@media (hover: none) {
  .for-item:hover {
    background: transparent;
    border-color: var(--gray);
  }

  .discord-btn:hover {
    transform: none;
    box-shadow: none;
  }

  .capture-btn:hover #btnArrow {
    transform: none;
  }
}