/* ============================================
   MoveTogether.Now — Landing Page Styles
   Athletic Editorial Aesthetic
   ============================================ */

:root {
  --red: #de2b1e;
  --red-dark: #b8221a;
  --orange: #fe920a;
  --orange-light: #ffaa3b;
  --dark: #0d0d0d;
  --dark-surface: #151515;
  --dark-elevated: #1e1e1e;
  --light: #f5f2ed;
  --light-dim: #c8c3bb;
  --white: #ffffff;

  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- RESET & BASE ---- */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--light);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.hide-mobile {
  display: inline;
}

/* ---- SCROLLBAR ---- */

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark);
}
::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 4px;
}

/* ---- REVEAL ANIMATION ---- */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ---- NAV ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: baseline;
}

.nav__logo-move {
  color: var(--white);
}

.nav__logo-together {
  color: var(--white);
}

.nav__logo-dot {
  color: var(--orange);
}

.nav__logo-now {
  color: var(--red);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav__links a {
  color: var(--light-dim);
  transition: color 0.25s;
  position: relative;
}

.nav__links a:hover {
  color: var(--white);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s var(--ease-out);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.25s, transform 0.25s;
}

.nav__cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.nav__cta::after {
  display: none !important;
}

.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 110;
}

.nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.nav__burger span:nth-child(1) { top: 2px; }
.nav__burger span:nth-child(2) { top: 11px; }
.nav__burger span:nth-child(3) { top: 20px; }

.nav__burger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.nav__burger.open span:nth-child(2) {
  opacity: 0;
}
.nav__burger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem) 2rem;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(16px);
  font-size: 1.1rem;
  font-weight: 500;
}

.nav__mobile a {
  color: var(--light-dim);
  transition: color 0.2s;
}

.nav__mobile a:hover {
  color: var(--white);
}

.nav__mobile .nav__cta {
  display: inline-block;
  text-align: center;
  width: fit-content;
}

/* ---- HERO ---- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 0 4rem;
}

.hero__bg-slash {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 140%;
  background: linear-gradient(135deg, var(--red) 0%, var(--orange) 100%);
  transform: skewX(-12deg);
  opacity: 0.07;
  pointer-events: none;
}

.hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
  opacity: 0.5;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: clamp(0.875rem, 1.5vw, 1.1rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero__title-dot {
  color: var(--red);
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--light-dim);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero__proof {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.hero__proof-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

.hero__proof-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--white);
  line-height: 1;
}

.hero__proof-label {
  display: block;
  font-size: 0.75rem;
  color: var(--light-dim);
  line-height: 1.4;
  margin-top: 0.25rem;
}

/* Floating sport emojis */
.hero__floaters {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.floater {
  position: absolute;
  font-size: 2.5rem;
  opacity: 0.08;
  animation: float 18s ease-in-out infinite;
}

.floater--1 { top: 15%; right: 12%; animation-delay: 0s; }
.floater--2 { top: 35%; right: 22%; animation-delay: -4s; font-size: 3rem; }
.floater--3 { top: 60%; right: 8%; animation-delay: -8s; }
.floater--4 { top: 75%; right: 28%; animation-delay: -12s; font-size: 2rem; }
.floater--5 { top: 20%; right: 35%; animation-delay: -6s; font-size: 2rem; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(5deg); }
  66% { transform: translateY(10px) rotate(-3deg); }
}

/* ---- BUTTONS ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-spring), background 0.25s, box-shadow 0.25s;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(222, 43, 30, 0.3);
}

.btn--primary:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 32px rgba(222, 43, 30, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--light);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn--ghost:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
}

.btn--lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

/* ---- SECTIONS COMMON ---- */

.section-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 3.5rem;
}

.section-title-dot {
  color: var(--red);
}

/* ---- STEPS (HOW IT WORKS) ---- */

.steps {
  padding: 8rem 0;
  position: relative;
  background: var(--dark-surface);
  overflow: hidden;
}

.steps__slash {
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--dark);
  transform: skewY(-2deg);
}

.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.step {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--dark-elevated);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--orange));
  opacity: 0;
  transition: opacity 0.4s;
}

.step:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.1);
}

.step:hover::before {
  opacity: 1;
}

.step__number {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--red);
  opacity: 0.15;
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  line-height: 1;
}

.step__icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--orange);
}

.step__icon {
  width: 48px;
  height: 48px;
}

.step__title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.step__desc {
  font-size: 0.95rem;
  color: var(--light-dim);
  line-height: 1.7;
}

/* ---- FEATURES ---- */

.features {
  padding: 8rem 0;
  position: relative;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature {
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: var(--dark-surface);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, background 0.4s;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgba(222, 43, 30, 0.2);
  background: var(--dark-elevated);
}

.feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--red);
  background: rgba(222, 43, 30, 0.08);
  border-radius: 10px;
  padding: 8px;
}

.feature__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.feature__desc {
  font-size: 0.9rem;
  color: var(--light-dim);
  line-height: 1.7;
}

/* ---- QUOTE BREAK ---- */

.quote-break {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background: var(--dark-surface);
}

.quote-break__slash {
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--dark);
  transform: skewY(2deg);
}

.quote-break__text {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--white);
  max-width: 800px;
  position: relative;
  padding-left: 2rem;
}

.quote-break__text::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--red), var(--orange));
  border-radius: 2px;
}

.quote-break__attr {
  font-size: 0.9rem;
  color: var(--orange);
  margin-top: 1.5rem;
  padding-left: 2rem;
  font-style: italic;
}

/* ---- APP STORES ---- */

.app-stores {
  padding: 8rem 0 6rem;
  position: relative;
  text-align: center;
}

.app-stores__content {
  max-width: 640px;
  margin: 0 auto;
}

.app-stores__desc {
  font-size: 1.1rem;
  color: var(--light-dim);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.app-stores__badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.store-badge {
  display: block;
  transition: transform 0.3s var(--ease-spring), opacity 0.3s;
  opacity: 0.6;
}

.store-badge:hover {
  transform: scale(1.05);
  opacity: 0.85;
}

.store-badge__svg {
  height: 48px;
  width: auto;
}

/* ---- FOOTER ---- */

.footer {
  position: relative;
  overflow: hidden;
  background: var(--dark-surface);
  padding: 4rem 0 2rem;
}

.footer__slash {
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--dark);
  transform: skewY(-1.5deg);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--light-dim);
  margin-top: 0.75rem;
  line-height: 1.5;
}

.footer__links {
  display: flex;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--light-dim);
  padding-top: 0.5rem;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  padding-top: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .steps__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .nav__links {
    display: none;
  }

  .nav__burger {
    display: block;
  }

  .nav__mobile.open {
    display: flex;
  }

  .hide-mobile {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }

  .hero__title {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .hero__proof {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .hero__proof-divider {
    width: 40px;
    height: 1px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    text-align: center;
    justify-content: center;
  }

  .features__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .section-title {
    margin-bottom: 2.5rem;
  }

  .footer__inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer__links {
    flex-direction: column;
    gap: 1rem;
  }
}
