/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  background: #0a0a0a;
  color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  
  /* Subtle gradient depth */
  background-image: 
    radial-gradient(ellipse at top, rgba(212, 100, 60, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(20, 20, 20, 0.5), transparent 60%);
  background-attachment: fixed;
}

/* ============================================
   COLORS (UPSPAN Design System)
   ============================================ */
:root {
  --color-bg: #0a0a0a;
  --color-text: #f5f5f5;
  --color-text-dim: #888888;
  --color-text-very-dim: #555555;
  --color-terracotta: #d4643c;
  --color-green: #4a7c5a;
  --color-border: #1a1a1a;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 24px 32px;
  padding-top: calc(env(safe-area-inset-top, 0px) + 24px);
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(10,10,10,0.95), rgba(10,10,10,0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav__logo {
  text-decoration: none;
  color: var(--color-text-dim);
  font-size: 13px;
  letter-spacing: 0.22em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav__logo:hover {
  color: var(--color-text);
}

.nav__arrow {
  font-size: 14px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 32px 40px;
  position: relative;
  text-align: center;
}

.hero__content {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease forwards 0.3s;
}

.hero__logo {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 48px;
}

.hero__arrow {
  font-size: clamp(28px, 5vw, 40px);
  color: var(--color-text);
  font-weight: 300;
}

.hero__brand {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-text);
}

.hero__tagline {
  font-size: clamp(40px, 8vw, 88px);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-text);
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--color-text-very-dim);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.5s;
}

.hero__scroll-arrow {
  animation: bounce 2s ease-in-out infinite;
  font-size: 16px;
}

/* ============================================
   COUP AU PLEXUS (PUNCH)
   ============================================ */
.punch {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 32px;
}

.punch__content {
  max-width: 900px;
  width: 100%;
}

.punch__line {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--color-text-dim);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

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

.punch__break {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-top: 48px;
  color: var(--color-text);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.6s;
}

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

/* ============================================
   STATS
   ============================================ */
.stats {
  padding: 120px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 1100px;
  width: 100%;
  flex-wrap: wrap;
}

.stats__item {
  text-align: center;
  flex: 1;
  min-width: 240px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

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

.stats__item:nth-child(3) {
  transition-delay: 0.2s;
}

.stats__item:nth-child(5) {
  transition-delay: 0.4s;
}

.stats__number {
  font-size: clamp(80px, 16vw, 160px);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-text);
}

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

.stats__label {
  font-size: clamp(11px, 1.4vw, 13px);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-top: 16px;
}

.stats__divider {
  width: 1px;
  height: 80px;
  background: var(--color-border);
}

.stats__source {
  margin-top: 64px;
  font-size: 12px;
  color: var(--color-text-very-dim);
  letter-spacing: 0.1em;
  font-style: italic;
}

/* ============================================
   MANIFESTE
   ============================================ */
.manifesto {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 32px;
  text-align: center;
}

.manifesto__content {
  max-width: 900px;
}

.manifesto__intro {
  font-size: clamp(16px, 2vw, 18px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

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

.manifesto__statement {
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--color-text);
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease 0.3s;
}

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

/* ============================================
   CTA
   ============================================ */
.cta {
  padding: 120px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta__content {
  max-width: 600px;
  width: 100%;
}

.cta__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  color: var(--color-text);
}

.cta__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 64px;
}

.cta__input {
  width: 100%;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 16px;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.cta__input::placeholder {
  color: var(--color-text-very-dim);
}

.cta__input:focus {
  outline: none;
  border-color: var(--color-terracotta);
  background: rgba(255, 255, 255, 0.05);
}

.cta__button {
  width: 100%;
  padding: 20px 24px;
  background: var(--color-text);
  color: var(--color-bg);
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta__button:hover {
  background: var(--color-green);
  color: var(--color-text);
}

.cta__button:active {
  transform: scale(0.98);
}

.cta__button--success {
  background: var(--color-green);
  color: var(--color-text);
  pointer-events: none;
}

.cta__date {
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 32px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-text-very-dim);
  border-top: 1px solid var(--color-border);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .nav {
    padding: 16px 24px;
    padding-top: calc(env(safe-area-inset-top, 0px) + 16px);
  }
  
  .stats__grid {
    flex-direction: column;
    gap: 64px;
  }
  
  .stats__divider {
    width: 80px;
    height: 1px;
  }
  
  .hero,
  .punch,
  .stats,
  .manifesto,
  .cta {
    padding-left: 24px;
    padding-right: 24px;
  }
  
  .punch,
  .stats,
  .manifesto,
  .cta {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (max-width: 480px) {
  .hero__logo {
    gap: 8px;
    margin-bottom: 32px;
  }
  
  .stats__item {
    min-width: auto;
  }
}