/* ============================================================
   Desk-Lock — Home Page Styles
   ============================================================ */

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}

.hero-bg .img-placeholder {
  width: 100%;
  height: 100%;
  background-color: #0D0D0D;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
}

.hero-wordmark {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(3.5rem, 9vw, 10rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 1.2s ease 0.2s forwards;
}

.hero-wordmark span {
  color: var(--accent-highlight);
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1.5vw, 1rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-silver);
  opacity: 0;
  animation: heroFadeUp 1.2s ease 0.5s forwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: heroFadeUp 1s ease 1.2s forwards;
  z-index: 2;
}

.hero-scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent-silver), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ---- ZOOM REVEAL SECTION ---- */
.zoom-section-wrapper {
  position: relative;
}

/* The sticky container — this is what pins while scrolling */
.zoom-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
}

/* The tall scroll container that drives the animation */
.zoom-scroll-driver {
  height: 500vh;
}

.zoom-image-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
}

.zoom-image {
  width: 80vmin;
  height: 80vmin;
  max-width: 720px;
  max-height: 720px;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.05s linear;
}

.zoom-image.img-placeholder {
  width: 80vmin;
  height: 80vmin;
  max-width: 720px;
  max-height: 720px;
  flex-shrink: 0;
}

.zoom-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100px);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

/* Callout boxes */
.zoom-callout {
  position: absolute;
  max-width: 220px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.zoom-callout.visible {
  opacity: 1;
}

.zoom-callout-inner {
  background: rgba(26, 26, 26, 0.9);
  border: 1px solid var(--border-dark);
  padding: 12px 16px;
  backdrop-filter: blur(8px);
}

.zoom-callout-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-highlight);
  margin-bottom: 6px;
}

.zoom-callout-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--accent-silver);
  line-height: 1.5;
}

.zoom-callout-line {
  position: absolute;
  background: var(--accent-highlight);
  opacity: 0.5;
}

/* Callout positions */
.callout-1 {
  bottom: calc(50% + 40px);
  left: calc(50% - 380px);
}

.callout-2 {
  top: calc(50% - 120px);
  right: calc(50% - 380px);
}

.callout-3 {
  bottom: calc(50% - 140px);
  left: calc(50% - 380px);
}

.zoom-finale-text {
  position: absolute;
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 5;
  pointer-events: none;
}

.zoom-finale-text.visible {
  opacity: 1;
}

.zoom-finale-text .headline-md {
  margin-bottom: 16px;
  text-shadow: 0 0 40px rgba(0,0,0,0.8);
}

/* ---- LINEUP SECTION ---- */
.lineup-section {
  padding: var(--section-pad) 0;
  background-color: var(--bg-primary);
}

.lineup-header {
  margin-bottom: 64px;
}

.lineup-section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-highlight);
  margin-bottom: 16px;
}

.lineup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--border-subtle);
  border: 1px solid var(--border-subtle);
}

.product-card {
  background-color: var(--bg-primary);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background-color var(--trans-fast), transform var(--trans-fast);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-highlight), transparent);
  opacity: 0;
  transition: opacity var(--trans-fast);
}

.product-card:hover {
  background-color: var(--bg-elevated);
  transform: translateY(-4px);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card-image {
  aspect-ratio: 1 / 1;
  width: 100%;
}

.product-card-image.img-placeholder {
  background-color: #0D0D0D;
}

.product-card-sku {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.product-card-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.product-card-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.product-card-dims {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--accent-silver);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.product-card-price {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.product-card-link {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-highlight);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--trans-fast);
}

.product-card-link:hover {
  gap: 10px;
}

/* ---- VIDEO SECTION ---- */
.video-section {
  padding: var(--section-pad) 0;
  position: relative;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  overflow: hidden;
  will-change: transform;
}

.video-container video,
.video-container .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 2;
  cursor: pointer;
  background: rgba(0,0,0,0.35);
  transition: background var(--trans-fast);
}

.video-play-overlay:hover {
  background: rgba(0,0,0,0.2);
}

.video-play-btn {
  width: 72px;
  height: 72px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--trans-fast), transform var(--trans-fast);
}

.video-play-overlay:hover .video-play-btn {
  border-color: var(--accent-highlight);
  transform: scale(1.08);
}

.video-play-btn svg {
  width: 24px;
  height: 24px;
  fill: white;
  margin-left: 4px;
}

.video-caption {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.video-label-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.video-label-row .label {
  text-align: center;
}

/* ---- SOCIAL PROOF SECTION ---- */
.social-proof-section {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
}

.quotes-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background-color: var(--border-subtle);
}

.quote-block {
  background-color: var(--bg-primary);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quote-mark {
  font-family: var(--font-sans);
  font-size: 3rem;
  line-height: 1;
  color: var(--accent-highlight);
  opacity: 0.5;
}

.quote-text {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-primary);
  flex: 1;
}

.quote-attr {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ---- CTA SECTION ---- */
.cta-section {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
}

.cta-bg {
  position: absolute;
  inset: 0;
  animation: ctaZoom 12s ease-in-out infinite alternate;
}

.cta-bg .img-placeholder {
  width: 100%;
  height: 100%;
}

@keyframes ctaZoom {
  from { transform: scale(1.0); }
  to { transform: scale(1.06); }
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.82) 100%);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 0 24px;
}

/* ============================================================
   RESPONSIVE — HOME
   ============================================================ */

@media (max-width: 1024px) {
  .lineup-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .callout-1,
  .callout-2,
  .callout-3 {
    display: none;
  }
}

@media (max-width: 768px) {
  .lineup-grid {
    grid-template-columns: 1fr;
  }

  .quotes-row {
    grid-template-columns: 1fr;
  }

  .video-wrapper {
    padding: 0;
  }

  .callout-1,
  .callout-2,
  .callout-3 {
    display: none;
  }
}
