/* ===== BodyTrack Product Page Styles ===== */
/* Brand accent: Ferrari red (#DA291C) — matches in-app palette */

:root {
  --bdt-red: #DA291C;
  --bdt-red-soft: #FF6B5C;
  --bdt-red-deep: #B11F14;
  --bdt-red-tint: #FFF1EF;
  --bdt-ink: #0E0E10;
}

/* ===== Hero ===== */
.bdt-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top, rgba(218, 41, 28, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, var(--bdt-ink) 0%, #1a1a1d 100%);
  color: #fff;
  padding: 0;
}

.bdt-hero-content {
  position: relative;
  text-align: center;
  padding: 96px 24px 88px;
}

.bdt-hero-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--bdt-red) 0%, var(--bdt-red-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 36px rgba(218, 41, 28, 0.4);
}

.bdt-hero h1 {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -2px;
  background: linear-gradient(90deg, #fff 0%, #ffd5d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bdt-hero-tagline {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.bdt-hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 36px;
  font-weight: 400;
}

.bdt-hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.bdt-hero-buttons .store-badge img {
  display: block;
  transition: transform var(--transition);
}

.bdt-hero-buttons .store-badge:hover img {
  transform: translateY(-2px);
}

/* ===== Features Grid ===== */
.bdt-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.bdt-feature-card {
  background: var(--card);
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.bdt-feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--bdt-red);
  box-shadow: 0 8px 24px rgba(218, 41, 28, 0.08);
}

.bdt-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bdt-red-tint);
  color: var(--bdt-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.bdt-feature-icon svg {
  width: 26px;
  height: 26px;
}

.bdt-feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.bdt-feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
}

/* ===== Spotlight ===== */
.bdt-spotlight {
  background: #fff;
}

.bdt-spotlight-alt {
  background: var(--bg-page);
}

.bdt-spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.bdt-spotlight-reverse {
  direction: rtl;
}

.bdt-spotlight-reverse > * {
  direction: ltr;
}

.bdt-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--bdt-red);
  margin-bottom: 14px;
  padding: 5px 10px;
  background: var(--bdt-red-tint);
  border-radius: 4px;
}

.bdt-spotlight-text h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: -0.6px;
}

.bdt-spotlight-text > p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 22px;
}

.bdt-bullet-list {
  list-style: none;
  padding: 0;
}

.bdt-bullet-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.bdt-bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 18px;
  background: var(--bdt-red);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ===== Coach visual (chat preview) ===== */
.bdt-spotlight-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.bdt-coach-visual {
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  background: linear-gradient(135deg, #fafbfc 0%, #f0f3f5 100%);
  border-radius: 24px;
  border: 1px solid var(--border);
  align-items: stretch;
}

.bdt-chat-bubble {
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.55;
  max-width: 88%;
  box-shadow: var(--shadow-sm);
}

.bdt-chat-user {
  background: #fff;
  color: var(--dark);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.bdt-chat-ai {
  background: linear-gradient(135deg, var(--bdt-red) 0%, var(--bdt-red-soft) 100%);
  color: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  font-weight: 500;
}

/* ===== Body visual ===== */
.bdt-body-visual {
  flex-direction: row;
  gap: 28px;
  padding: 36px 28px;
  background: linear-gradient(135deg, var(--bdt-ink) 0%, #2a2a2e 100%);
  border-radius: 24px;
  color: #fff;
  align-items: center;
  justify-content: center;
}

.bdt-body-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.bdt-stat-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bdt-stat-row .bdt-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  flex: 0 0 auto;
  width: 56px;
}

.bdt-stat-row .bdt-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  flex: 1;
}

.bdt-stat-row .bdt-stat-value em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 2px;
}

.bdt-stat-delta {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  flex: 0 0 auto;
}

.bdt-stat-delta.bdt-down {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
}

.bdt-stat-delta.bdt-up {
  background: rgba(218, 41, 28, 0.15);
  color: var(--bdt-red-soft);
}

.bdt-body-silhouette {
  width: 100px;
  height: auto;
  color: rgba(255, 255, 255, 0.85);
  flex: 0 0 auto;
}

/* ===== Stats Section ===== */
.bdt-stats-section {
  background: var(--bdt-ink);
  color: #fff;
}

.bdt-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bdt-stat-card {
  text-align: center;
  padding: 36px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.bdt-stat-card:hover {
  border-color: var(--bdt-red);
  background: rgba(218, 41, 28, 0.06);
}

.bdt-stats-section .bdt-stat-card .bdt-stat-number {
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--bdt-red-soft) 0%, var(--bdt-red) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  letter-spacing: -1px;
}

.bdt-stats-section .bdt-stat-card .bdt-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ===== Links Grid ===== */
.bdt-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.bdt-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 28px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: all var(--transition);
  text-align: center;
}

.bdt-link-card:hover {
  border-color: var(--bdt-red);
  color: var(--bdt-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(218, 41, 28, 0.08);
}

.bdt-link-card svg {
  color: var(--bdt-red);
}

.bdt-link-card span {
  font-size: 14px;
  font-weight: 600;
}

/* ===== Footer info ===== */
.bdt-footer-info {
  margin: 12px 0;
  line-height: 1.8;
}

.bdt-footer-info p {
  color: var(--text-muted);
  font-size: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .bdt-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bdt-spotlight-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bdt-spotlight-reverse {
    direction: ltr;
  }

  .bdt-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bdt-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .bdt-hero-content {
    padding: 72px 20px 64px;
  }

  .bdt-hero h1 {
    font-size: 40px;
  }

  .bdt-hero-tagline {
    font-size: 18px;
  }

  .bdt-hero-desc {
    font-size: 14px;
  }

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

  .bdt-spotlight-text h2 {
    font-size: 24px;
  }

  .bdt-body-visual {
    flex-direction: column;
  }

  .bdt-body-silhouette {
    width: 80px;
  }
}
