/* ==========================================================================
   LUKUL ATELIER - ACQUISITION INTERFACE SUITE (v1.1 Calibration)
   Architecture: Pure CSS3, Modern Flexbox Track, Staggered Grid Matrix
   ========================================================================== */

/* --- TYPOGRAPHIC HARDENING & COGNITIVE LABELS --- */
.training-acquisition-page {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.training-acquisition-page .v-hero-section {
  padding: 120px 20px 60px 20px !important;
  min-height: auto !important;
}

.ph-badge-wrapper {
  margin: 10px 0 35px 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.ph-badge-img {
  border: none;
  display: block;
  transition: transform 0.3s ease;
}

.ph-badge-img:hover {
  transform: scale(1.02);
}

.cta-sub-label {
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  color: #888;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-top: 15px;
  font-weight: 600;
}

.card-metric-tag {
  font-family: "Space Mono", monospace;
  font-size: 0.65rem;
  color: #b89643;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.section-header-block {
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(184, 150, 67, 0.2);
  padding-bottom: 15px;
}

.space-label {
  font-family: "Space Mono", monospace;
  font-size: 0.65rem;
  color: #b89643;
  letter-spacing: 2px;
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}

.training-acquisition-page .section-title {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* --- THE HIGH-RESOLUTION DEVICE COMPONENT --- */
.device-frame {
  background: rgba(2, 44, 34, 0.03);
  border: 1px solid rgba(184, 150, 67, 0.25);
  border-radius: 14px; /* Softened outline radius mapping */
  padding: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transform: translateZ(0);
  will-change: transform;
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    border-color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.app-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* Clean internal viewport curvature softening */
  border: 1px solid rgba(2, 44, 34, 0.8);
  background-color: #011812;
  aspect-ratio: 9 / 19;
  object-fit: cover;
}

.frame-label {
  font-family: "Space Mono", monospace;
  font-size: 0.65rem;
  color: #555;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 12px;
  text-align: left;
  transition: color 0.3s ease;
}

.device-frame:hover {
  border-color: rgba(184, 150, 67, 0.7);
  box-shadow: 0 20px 40px rgba(184, 150, 67, 0.12);
}

.device-frame:hover .frame-label {
  color: #b89643;
}

/* ==========================================================================
   VIEWPORT BREAKPOINT COMPRESSION
   ========================================================================== */

/* --- MOBILE TRACK ENGINE (Horizontal Scroll Sync) --- */
@media screen and (max-width: 900px) {
  .screenshot-rail-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow-x: auto;
    padding: 0 20px 25px 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .screenshot-rail-wrapper::-webkit-scrollbar {
    display: none;
  }

  .screenshot-rail {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    width: max-content;
  }

  .device-frame {
    flex: 0 0 280px !important;
    scroll-snap-align: center;
  }
}

/* --- DESKTOP MATRIX CONFIGURATION (12-Frame Layer Structure) --- */
@media screen and (min-width: 901px) {
  .screenshot-rail-wrapper {
    width: 100%;
    overflow: visible;
  }

  .screenshot-rail {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 40px 30px !important; /* Stably balances row margins and cell columns */
    align-items: start;
  }

  /* Staggered Vertical Interlacing Equations */
  .screenshot-rail .device-frame:nth-child(even) {
    transform: translateY(45px);
  }

  .screenshot-rail .device-frame:nth-child(4n + 3) {
    transform: translateY(-15px);
  }

  #screenshot-carousel {
    padding-bottom: 90px !important; /* Prevents structural card collision at section exit boundary */
  }
}

/* ==========================================================================
   WAITLIST INTERFACE STRUCTURE HARDENING
   ========================================================================== */
.waitlist-card-surface {
  background: rgba(244, 241, 234, 0.1) !important;
  border: 1px solid rgba(184, 150, 67, 0.35) !important;
  backdrop-filter: blur(3px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(4px) saturate(120%) !important;
  border-radius: 12px;
  padding: 50px 40px !important;
  max-width: 750px;
  margin: 0 auto;
  cursor: default !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
}

.waitlist-meta-header {
  margin-bottom: 35px;
  text-align: left;
}

.waitlist-context-copy {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.7;
  font-weight: 600;
  margin-top: 10px;
}

/* The Horizontal Form Row Input Field Layout (Fixed alignment constraints) */
.form-input-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 15px !important;
  width: 100% !important;
}

#waitlist-email {
  flex: 1 !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(184, 150, 67, 0.35) !important;
  color: #111 !important;
  font-family: "Manrope", sans-serif !important;
  font-weight: 600 !important;
  padding: 16px 20px !important;
  border-radius: 6px !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.5px !important;
  height: 52px !important;
  margin: 0 !important;
}

#waitlist-email::placeholder {
  color: #888 !important;
  font-family: "Space Mono", monospace !important;
  font-size: 0.8rem !important;
  letter-spacing: 1px !important;
}

#waitlist-form .v-btn-dark {
  flex: 0 0 auto !important;
  border-radius: 6px !important;
  padding: 0 35px !important;
  height: 52px !important;
  line-height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 0.8rem !important;
  letter-spacing: 1.5px !important;
  margin: 0 !important;
  font-family: "Space Mono", monospace !important;
}

.form-status-msg {
  margin-top: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: left;
  min-height: 18px;
}

#waitlist-email:disabled {
  background: rgba(0, 0, 0, 0.05) !important;
  color: #888 !important;
  cursor: not-allowed !important;
}

.v-btn-dark.loading-state {
  opacity: 0.7 !important;
  cursor: wait !important;
}

/* Fallback adjustments for cramped viewports */
@media screen and (max-width: 600px) {
  .waitlist-card-surface {
    padding: 30px 20px !important;
  }

  .form-input-group {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
  }

  #waitlist-email {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important; /* Enforces padding calculation inside bounds */
    flex: 1 0 auto !important;
  }

  #waitlist-form .v-btn-dark {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    flex: 1 0 auto !important;
  }
}
/* ==========================================================================
   BOUTIQUE INSTITUTIONAL FOOTER INTEGRATION
   ========================================================================== */
.boutique-footer {
  margin-top: 120px;
  padding: 60px 5% 30px 5%;
  background: transparent;
  border-top: 1px solid rgba(184, 150, 67, 0.2);
  position: relative;
  z-index: 50;
}

.boutique-footer-container {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo-title {
  font-family: "Cinzel", serif;
  color: #e6b34a;
  font-size: 1.8rem;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 15px;
}

.footer-brand-copy {
  font-family: "Manrope", sans-serif;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
  font-weight: 500;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-links-col h4 {
  font-family: "Cinzel", serif;
  color: #111;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-weight: 700;
}

.footer-links-col a {
  font-family: "Manrope", sans-serif;
  color: #555;
  font-size: 0.85rem;
  font-weight: 600;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.footer-links-col a:hover {
  color: #b89643;
  transform: translateX(3px);
}

.footer-links-col .footer-mono-link {
  font-family: "Space Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

.boutique-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 25px;
  border-top: 1px solid rgba(184, 150, 67, 0.1);
  text-align: center;
}

.boutique-footer-bottom span {
  font-family: "Space Mono", monospace;
  font-size: 0.65rem;
  color: #888;
  letter-spacing: 1.5px;
  font-weight: 700;
}

/* Footer Breakpoint Normalization */
@media screen and (max-width: 1024px) {
  .boutique-footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
}

@media screen and (max-width: 500px) {
  .boutique-footer {
    padding: 40px 20px 20px 20px;
  }

  .boutique-footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-brand-copy {
    max-width: 100%;
  }
}
