/* Styles specific to the Pet Mat preorder page (mat-preorder.html) */

.preorder-layout {
  padding: 8rem 2rem 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .preorder-layout {
    grid-template-columns: 1fr;
    padding-top: 6rem;
  }
}

.preorder-info img {
  width: 100%;
}

.preorder-checkout {
  max-width: 600px;
}

.preorder-timeline {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.timeline-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 2rem;
  text-align: center;
}

.timeline-track {
  display: flex;
  position: relative;
}

.timeline-track::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

.timeline-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.timeline-node {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text-muted);
}

.timeline-step.complete .timeline-node {
  background: var(--color-success);
  border-color: var(--color-success);
  color: white;
}

.timeline-step.current .timeline-node {
  background: var(--color-pink);
  border-color: var(--color-pink);
  color: white;
  box-shadow: 0 0 0 4px rgba(255, 51, 187, 0.15);
}

.timeline-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
}

.timeline-label strong {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.3;
}

.timeline-step.upcoming .timeline-label strong {
  color: var(--color-text-muted);
}

.timeline-label span {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.timeline-step.current .timeline-label span {
  color: var(--color-pink);
  font-weight: 600;
}

.timeline-cta {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.timeline-cta a {
  color: var(--color-blue);
  text-decoration: none;
}

.timeline-cta a:hover {
  text-decoration: underline;
}

.press-bar {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.press-bar-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.press-bar-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.press-bar-logo {
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 0.2s;
}

.press-bar-logo:hover {
  opacity: 0.8;
}

.press-bar-logo img {
  height: 28px;
  width: auto;
}

.clinical-validation {
  padding: 5rem 2rem;
  background-color: var(--color-dark-bg);
  text-align: center;
}

.clinical-validation-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
}

.clinical-stats {
  display: flex;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.clinical-stat-value {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-pink);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.clinical-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

.clinical-attribution {
  font-size: 0.8rem;
  color: var(--color-text-light);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

.how-it-works-outer {
  background-color: var(--color-dark-bg);
}

.how-it-works {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
}

.how-it-works-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 2rem;
  text-align: center;
}

.how-it-works-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.how-it-works-step {
  background: var(--color-offwhite);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.how-it-works-body {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.how-it-works-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-pink);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.how-it-works-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
}

.how-it-works-video-placeholder {
  border: 2px dashed var(--color-border);
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.how-it-works-video-placeholder strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-text-secondary);
}

.video-embed-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 8px;
  overflow: hidden;
  margin-top: 2rem;
}

.video-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .how-it-works-steps {
    grid-template-columns: 1fr;
  }
}

.commitment {
  background-color: var(--color-dark-bg);
  padding: 5rem 2rem;
  text-align: center;
}

.commitment-inner {
  max-width: 640px;
  margin: 0 auto;
}

.commitment-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-pink);
  margin-bottom: 0.75rem;
}

.commitment h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 2.5rem;
}

.commitment-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.commitment-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.commitment-item-icon {
  color: var(--color-pink);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.commitment-item-text strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.2rem;
}

.commitment-item-text span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.faq {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.faq-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.faq details {
  border-bottom: 1px solid var(--color-border);
}

.faq details:first-of-type {
  border-top: 1px solid var(--color-border);
}

.faq summary {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-primary);
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  padding-bottom: 1.1rem;
  margin: 0;
}

.faq details p a {
  color: var(--color-blue);
  text-decoration: none;
}

.faq details p a:hover {
  text-decoration: underline;
}

.callout-strip {
  background-color: var(--color-dark-bg);
  padding: 3rem 2rem;
}

.callout-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.callout-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
}

.callout-icon {
  color: var(--color-pink);
  margin-bottom: 0.25rem;
}

.callout-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.4;
}

.callout-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

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

.app-showcase {
  padding: 5rem 2rem;
  background-color: var(--color-offwhite);
}

.app-showcase-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.app-screenshots {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.app-screenshots img {
  flex: 1;
  width: 0;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.app-screenshots img:nth-child(1) {
  transform: translateY(1.5rem);
}

.app-screenshots img:nth-child(3) {
  transform: translateY(0.75rem);
}

.app-showcase-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

.app-showcase-content p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.app-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.app-feature-list li {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.app-feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-pink);
  flex-shrink: 0;
}

.app-store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.app-store-badges a img {
  height: 40px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.app-store-badges a:hover img {
  opacity: 1;
}

@media (max-width: 768px) {
  .app-showcase-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.bottom-cta {
  text-align: center;
  padding: 5rem 2rem;
  background-color: var(--color-light-pink-bg);
}

.bottom-cta h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 1.5rem;
}

.bottom-cta a {
  display: inline-block;
  background-color: var(--color-pink);
  color: var(--color-white);
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}

.bottom-cta a:hover {
  background-color: var(--color-pink-hover);
}

.sticky-preorder {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 0.875rem 1rem;
  z-index: 200;
}

.sticky-preorder.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .sticky-preorder {
    display: block;
  }
}

.sticky-preorder a {
  display: block;
  background-color: var(--color-pink);
  color: var(--color-white);
  text-align: center;
  padding: 0.875rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}

.sticky-preorder a:hover {
  background-color: var(--color-pink-hover);
}

.hero-cta-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.monitors-section {
  margin-top: 2rem;
}

.monitors-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.monitors-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.monitors-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.monitors-icon {
  color: var(--color-pink);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.hero-heading {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .hero-heading {
    font-size: 1.875rem;
  }
}

@media (max-width: 600px) {
  .timeline-track {
    flex-direction: column;
    gap: 0;
    padding-left: 0.75rem;
  }

  .timeline-track::before {
    top: 8%;
    bottom: 8%;
    left: 14px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .timeline-step {
    flex-direction: row;
    align-items: flex-start;
    padding: 0.6rem 0;
    gap: 1rem;
  }

  .timeline-node {
    flex-shrink: 0;
  }

  .timeline-label {
    align-items: flex-start;
    text-align: left;
    padding-top: 0.2rem;
  }
}
