/* ==========================================================================
   APP TOUR PAGE — Styles
   Builds on top of styles.css (shared design tokens, nav, footer, reveal)
   ========================================================================== */

/* ---------- TOUR HERO ---------- */
.tour-hero {
  padding: calc(var(--space-4xl) + 80px) 0 var(--space-3xl);
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  text-align: center;
}

.tour-hero__eyebrow {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
  font-weight: 500;
}

.tour-hero__title {
  max-width: 800px;
  margin: 0 auto var(--space-lg);
}

.tour-hero__subtitle {
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  color: var(--color-text-on-dark-secondary);
  font-size: var(--text-body-lg);
  line-height: 1.7;
}

.tour-hero__progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--color-text-on-dark-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tour-hero__dots {
  display: flex;
  gap: 6px;
}

.tour-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(240, 235, 225, 0.2);
  transition: background 0.3s ease, transform 0.3s ease;
}

.tour-dot--active {
  background: var(--color-gold);
  transform: scale(1.3);
}

.tour-hero__scroll-hint {
  opacity: 0.5;
}


/* ---------- TOUR SCREEN SECTIONS ---------- */
.tour-screen {
  padding: var(--space-3xl) 0;
}

.tour-screen--alt {
  background: var(--color-bg-warm);
}

.tour-screen__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .tour-screen__layout {
    grid-template-columns: 300px 1fr;
    gap: var(--space-3xl);
  }

  .tour-screen__layout--reverse {
    grid-template-columns: 1fr 300px;
  }

  .tour-screen__layout--reverse .tour-screen__phone {
    order: 2;
  }

  .tour-screen__layout--reverse .tour-screen__content {
    order: 1;
  }
}

/* Phone frame — screenshots have baked-in bezels, just add drop shadow */
.tour-phone {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  max-width: 280px;
  margin: 0 auto;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-phone:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: none;
}

.tour-phone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  filter: drop-shadow(0 16px 48px rgba(0,0,0,0.25));
}

/* Screen content */
.tour-screen__number {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.tour-screen__title {
  font-size: var(--text-h2);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.tour-screen__description {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-size: var(--text-body);
}

.tour-screen__features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xs);
}

@media (min-width: 480px) {
  .tour-screen__features {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs) var(--space-lg);
  }
}

.tour-screen__features li {
  font-family: var(--font-ui);
  font-size: var(--text-small);
  color: var(--color-text-secondary);
  padding: var(--space-xs) 0;
  display: flex;
  align-items: start;
  gap: var(--space-sm);
}

.tour-screen__features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.5em;
}


/* ---------- TOUR FEEDBACK ---------- */
.tour-feedback {
  padding: var(--space-3xl) 0;
}

.tour-feedback__inner {
  text-align: center;
}

.tour-feedback__title {
  font-size: var(--text-h1);
  margin-bottom: var(--space-md);
}

.tour-feedback__subtitle {
  color: var(--color-text-secondary);
  font-size: var(--text-body-lg);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
}

.tour-feedback__form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.tour-feedback__ratings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

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

.tour-rating__label {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-small);
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.tour-rating__stars {
  display: flex;
  gap: 4px;
}

.tour-star {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-border);
  cursor: pointer;
  padding: 2px;
  transition: color 0.15s ease, transform 0.15s ease;
  line-height: 1;
}

.tour-star:hover,
.tour-star--active {
  color: var(--color-gold);
  transform: scale(1.15);
}

.tour-feedback__select {
  width: 100%;
  font-family: var(--font-ui);
  font-size: var(--text-small);
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  color: var(--color-text);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%236B6862' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

.tour-feedback__select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.1);
}

.tour-feedback__label {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-small);
  font-weight: 500;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.tour-feedback__textarea {
  width: 100%;
  font-family: var(--font-ui);
  font-size: var(--text-small);
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  color: var(--color-text);
  resize: vertical;
  min-height: 80px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.tour-feedback__textarea::placeholder {
  color: var(--color-text-muted);
}

.tour-feedback__textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.1);
}

.tour-feedback__row {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.tour-feedback__email {
  flex: 1;
  font-family: var(--font-ui);
  font-size: var(--text-small);
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-card);
  color: var(--color-text);
  min-width: 0;
}

.tour-feedback__email::placeholder {
  color: var(--color-text-muted);
}

.tour-feedback__email:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.1);
}

.tour-feedback__btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.tour-feedback__success-text {
  font-family: var(--font-ui);
  font-size: var(--text-body-lg);
  color: var(--color-green);
  font-weight: 500;
}

@media (max-width: 480px) {
  .tour-feedback__row {
    flex-direction: column;
  }

  .tour-feedback__btn {
    width: 100%;
    justify-content: center;
  }
}


/* ---------- TOUR CTA ---------- */
.tour-cta {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-dark);
  color: var(--color-text-on-dark);
  text-align: center;
}

.tour-cta__title {
  font-size: var(--text-h1);
  margin-bottom: var(--space-md);
}

.tour-cta__subtitle {
  color: var(--color-text-on-dark-secondary);
  font-size: var(--text-body-lg);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto var(--space-xl);
}


/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .tour-phone {
    transition: none;
  }

  .tour-dot {
    transition: none;
  }

  .tour-star {
    transition: none;
  }
}
