/* ============================================
   BE THE ONE - App Showcase Styles
   /product and /product/:feature pages
   ============================================ */

/* ---- Layout ---- */
.app-page {
  min-height: 100vh;
}

.app-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ---- Hero Section (Main /product page) ---- */
.app-hero {
  padding: 140px 0 80px;
  text-align: center;
}

.app-hero-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: var(--accent-gold-dim);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.app-hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.app-hero-subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.app-hero-mockup {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.app-hero-mockup img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.app-hero-mockup-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(212, 168, 83, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.app-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding: 14px 32px;
  background: var(--accent-gold);
  color: var(--bg-primary);
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.app-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}

/* ---- Features Grid (Main /product page) ---- */
.app-features-section {
  padding: 80px 0;
}

.app-features-section-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

.app-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.app-feature-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.app-feature-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
}

.app-feature-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.app-feature-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.app-feature-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.app-feature-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-gold);
}

.app-feature-card-link svg {
  transition: transform var(--transition-fast);
}

.app-feature-card:hover .app-feature-card-link svg {
  transform: translateX(4px);
}

/* ---- Stats Strip ---- */
.app-stats {
  padding: 60px 0;
  text-align: center;
}

.app-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.app-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.app-stat-value {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: -0.02em;
}

.app-stat-label {
  font-size: 15px;
  color: var(--text-secondary);
}

.app-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

/* ---- FAQ Section ---- */
.app-faq-section {
  padding: 80px 0;
  max-width: 720px;
  margin: 0 auto;
}

.app-faq-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 40px;
}

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

.app-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.app-faq-question:hover {
  color: var(--accent-gold);
}

.app-faq-question svg {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition-base);
}

.app-faq-item.active .app-faq-question svg {
  transform: rotate(180deg);
}

.app-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.app-faq-item.active .app-faq-answer {
  max-height: 300px;
}

.app-faq-answer p {
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- CTA Section ---- */
.app-cta-section {
  padding: 80px 0 100px;
  text-align: center;
}

.app-cta-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.app-cta-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.app-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent-gold);
  color: var(--bg-primary);
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.app-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-gold);
}

/* ============================================
   Feature Detail Pages (/product/:feature)
   ============================================ */

/* ---- Breadcrumb ---- */
.app-breadcrumb {
  padding: 100px 0 0;
}

.app-breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.app-breadcrumb-trail a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.app-breadcrumb-trail a:hover {
  color: var(--accent-gold);
}

.app-breadcrumb-trail svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.app-breadcrumb-trail .current {
  color: var(--text-secondary);
}

/* ---- Feature Hero ---- */
.app-feature-hero {
  padding: 40px 0 60px;
  text-align: center;
}

.app-feature-hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.app-feature-hero-tagline {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.5;
}

/* ---- Placeholder Image ---- */
.app-placeholder-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  min-height: 320px;
  background: linear-gradient(135deg, #111113 0%, #18181b 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  color: var(--text-muted);
}

.app-placeholder-img svg {
  width: 48px;
  height: 48px;
  color: var(--accent-gold);
  opacity: 0.5;
}

.app-placeholder-img span {
  font-size: 13px;
  letter-spacing: 0.5px;
}

html[data-theme="light"] .app-placeholder-img {
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.98) 0%, rgba(236, 226, 205, 0.98) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.app-placeholder-img-lg {
  min-height: 400px;
  max-width: 800px;
  margin: 0 auto;
}

.app-placeholder-img-sm {
  min-height: 200px;
}

/* ---- Why Section ---- */
.app-why-section {
  padding: 60px 0;
}

.app-section-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.app-section-title-center {
  text-align: center;
}

.app-why-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  border-left: 3px solid var(--accent-gold);
}

.app-why-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.app-why-card p:last-child {
  margin-bottom: 0;
}

/* ---- How It Works Section ---- */
.app-steps-section {
  padding: 60px 0;
}

.app-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.app-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
}

.app-step-number {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gold-dim);
  color: var(--accent-gold);
  font-size: 18px;
  font-weight: 700;
  border-radius: 12px;
  flex-shrink: 0;
}

.app-step-content h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.app-step-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Benefits Grid ---- */
.app-benefits-section {
  padding: 60px 0;
}

.app-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.app-benefit {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
}

.app-benefit-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.app-benefit-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- Who This Is For ---- */
.app-who-section {
  padding: 60px 0;
}

.app-who-list {
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-who-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.app-who-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-gold);
}

.app-who-item span {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Related Features ---- */
.app-related-section {
  padding: 60px 0;
}

.app-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.app-related-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.app-related-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
}

.app-related-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.app-related-card-text h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.app-related-card-text p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================
   Responsive
   ============================================ */

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

@media (max-width: 640px) {
  .app-hero {
    padding: 120px 0 60px;
  }

  .app-features-grid {
    grid-template-columns: 1fr;
  }

  .app-stats-row {
    flex-direction: column;
    gap: 24px;
  }

  .app-stat-divider {
    width: 40px;
    height: 1px;
  }

  .app-breadcrumb {
    padding: 90px 0 0;
  }

  .app-feature-hero {
    padding: 24px 0 40px;
  }

  .app-step {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .app-step-number {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .app-benefits-grid {
    grid-template-columns: 1fr;
  }

  .app-related-grid {
    grid-template-columns: 1fr;
  }

  .app-why-card {
    padding: 28px 24px;
  }

  .app-placeholder-img-lg {
    min-height: 240px;
  }

  .app-placeholder-img-sm {
    min-height: 160px;
  }
}
