/* BENCHSTOCK — Single phone layout */

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

html {
  overflow: hidden;
}

body {
  background: #0E0F12;
  color: #E6E8EB;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  height: 100vh;
  overflow: hidden;
}

/* HEADER */
.benchstock-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 16px;
  background: #0E0F12;
  border-bottom: 1px solid #2A2F38;
  transition: transform 0.3s ease;
}

.benchstock-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #E6E8EB;
}

.benchstock-header .brand img {
  width: 28px;
  height: 28px;
}

.benchstock-header .brand span {
  font-size: 14px;
  font-weight: 600;
}

/* PHONE - sticky in upper half */
.phone-container {
  position: relative;
  margin-top: 130px;
  height: calc(50vh - 150px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #0E0F12;
  z-index: 10;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.phone-container.bounce {
  animation: bounce 0.5s ease;
}

@keyframes bounce {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(0.95); }
  50% { transform: scale(1.05); }
  75% { transform: scale(0.98); }
}

.nav-arrow {
  background: rgba(140, 29, 24, 0.2);
  border: 1px solid rgba(140, 29, 24, 0.5);
  color: #E6E8EB;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}

#prevBtn {
  left: 32px;
}

#nextBtn2 {
  right: 32px;
}

.nav-arrow:hover,
.nav-arrow:active {
  background: rgba(140, 29, 24, 0.4);
}

.nav-arrow.hidden {
  opacity: 0;
  pointer-events: none;
}

.phone-frame {
  width: 180px;
  background: linear-gradient(145deg, #1a1d23, #0e0f12);
  border: 2px solid #2a2f38;
  border-radius: 24px;
  padding: 6px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.phone-screen {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 19.5;
}

.phone-screen img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.phone-screen img.active {
  opacity: 1;
}

/* CONTENT SECTIONS - horizontal carousel */
.content-sections {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50vh;
  display: flex;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  z-index: 15;
  background: linear-gradient(to top, #0E0F12 85%, rgba(14, 15, 18, 0.95) 95%, transparent);
}

/* HERO */
.hero-section {
  min-width: 100vw;
  width: 100vw;
  height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.hero-section h1 {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 12px;
}

.hero-tagline {
  font-size: 14px;
  color: #9AA0A6;
}

/* STEPS */
.walk-step {
  min-width: 100vw;
  width: 100vw;
  height: 50vh;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.step-marker {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(140, 29, 24, 0.2);
  border: 1px solid rgba(140, 29, 24, 0.5);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.walk-step h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.walk-step p {
  font-size: 14px;
  color: #9AA0A6;
  line-height: 1.6;
}

/* CTA */
.cta-section {
  min-width: 100vw;
  width: 100vw;
  height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.cta-section h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 14px;
  color: #9AA0A6;
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  background: #8C1D18;
  color: white;
}

/* FOOTER */
.footer {
  padding: 24px;
  text-align: center;
  font-size: 12px;
  color: #9AA0A6;
  border-top: 1px solid #2A2F38;
}

/* DESKTOP */
@media (min-width: 768px) {
  .phone-container {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
  }

  .phone-frame {
    width: 280px;
    border-radius: 32px;
    padding: 8px;
  }

  .phone-screen {
    border-radius: 24px;
  }

  .content-sections {
    margin-left: 50%;
    width: 50%;
  }

  .hero-section {
    min-height: 100vh;
    padding: 60px 48px;
    align-items: flex-start;
    text-align: left;
  }

  .hero-section h1 {
    font-size: 42px;
  }

  .hero-tagline {
    font-size: 18px;
  }

  .walk-step {
    min-height: 80vh;
    padding: 48px;
  }

  .walk-step h3 {
    font-size: 28px;
  }

  .walk-step p {
    font-size: 16px;
    max-width: 400px;
  }

  .cta-section {
    align-items: flex-start;
    text-align: left;
    padding: 60px 48px;
  }

  .cta-section h2 {
    font-size: 36px;
  }
}
