/* ============================================
   Shared Product Page Styles
   Used by: audit.html, program.html
   Matches skills.css dark theme for consistency
   ============================================ */

:root {
  --product-max: 1080px;
  --surface-dark: #023377;
  --navy-deep: #012169;
  --accent-orange: #f7931e;
  --accent-orange-hover: #e5830f;
  --white: #fbfbfd;
  --black: #1d1d1f;
  --gray-100: #e8e8ed;
  --gray-200: #d2d2d7;
  --gray-400: #86868b;
  --gray-600: #6e6e73;
  --font-heading: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* --- Body --- */
.product-page {
  background: var(--surface-dark);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Container --- */
.product-container {
  max-width: var(--product-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Hero
   ============================================ */
.product-hero {
  padding: 160px 0 80px;
  text-align: center;
  color: var(--white);
  background: linear-gradient(180deg, rgba(26, 69, 156, 0.25) 0%, var(--surface-dark) 100%);
}

.product-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-orange);
  border: 1.5px solid rgba(247, 147, 30, 0.3);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.product-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
}

.product-hero__accent {
  background: linear-gradient(135deg, var(--accent-orange), #ff6b35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-hero__sub {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
  margin: 0 auto 40px;
}

.product-hero__price {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}

.product-hero__cta {
  display: inline-block;
  font-family: var(--font-heading);
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  background: var(--accent-orange);
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(247, 147, 30, 0.25);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.product-hero__cta:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(247, 147, 30, 0.35);
}

/* ============================================
   Sections
   ============================================ */
.product-section {
  padding: 100px 0;
}

.product-section--light {
  background: var(--navy-deep);
}

.product-section__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-align: center;
  color: var(--white);
}

.product-section__sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* ============================================
   Grid Cards
   ============================================ */
.product-grid {
  display: grid;
  gap: 20px;
}

.product-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--gray-200);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.product-card__icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--black);
}

.product-card p {
  font-size: 15px;
  line-height: 1.55;
  color: #3a3a3f;
}

/* ============================================
   Steps
   ============================================ */
.product-steps {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.product-step:last-child {
  border-bottom: none;
}

.product-step__num {
  flex-shrink: 0;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247, 147, 30, 0.12);
  color: var(--accent-orange);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.product-step h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 4px;
}

.product-step p {
  font-size: 15px;
  line-height: 1.6;
  color: #3a3a3f;
}

/* ============================================
   CTA
   ============================================ */
.product-cta {
  padding: 120px 0;
  text-align: center;
  color: var(--white);
  background: linear-gradient(180deg, var(--surface-dark), var(--navy-deep) 60%, rgba(247, 147, 30, 0.06));
}

.product-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.product-cta__sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  line-height: 1.5;
}

.product-cta__price {
  font-family: var(--font-heading);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}

.product-cta__btn {
  display: inline-block;
  font-family: var(--font-heading);
  padding: 16px 44px;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  background: var(--accent-orange);
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(247, 147, 30, 0.3);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.product-cta__btn:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(247, 147, 30, 0.4);
}

.product-cta__or {
  margin: 16px 0;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

.product-cta__book-btn {
  display: inline-block;
  font-family: var(--font-heading);
  padding: 14px 40px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-orange);
  background: transparent;
  border: 2px solid var(--accent-orange);
  border-radius: 60px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.product-cta__book-btn:hover {
  background: var(--accent-orange);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(247, 147, 30, 0.3);
}

/* ============================================
   Pricing Cards
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
}

.pricing-card--popular {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 1px var(--accent-orange), 0 8px 40px rgba(247, 147, 30, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--accent-orange);
  padding: 6px 20px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.pricing-card__name {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.pricing-card__desc {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
  min-height: 44px;
}

.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  padding: 6px 0;
}

.pricing-card__features li::before {
  content: "\2713";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 212, 170, 0.15);
  color: #00D4AA;
  margin-top: 1px;
}

.pricing-card__cta {
  display: block;
  font-family: var(--font-heading);
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  background: var(--accent-orange);
  border-radius: 100px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 8px 32px rgba(247, 147, 30, 0.25);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  margin-bottom: 16px;
}

.pricing-card__cta:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(247, 147, 30, 0.35);
}

.pricing-card__book {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-orange);
  text-decoration: none;
  transition: opacity 0.3s;
}

.pricing-card__book:hover {
  opacity: 0.8;
}

/* ============================================
   Upsell / Explainer Sections
   (Matches custom-build on skills.html)
   ============================================ */
.product-upsell {
  background: var(--navy-deep);
  padding: 120px 0;
}

.product-upsell + .product-upsell {
  padding-top: 0;
}

.upsell-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
}

.upsell-block__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-orange);
  border: 1.5px solid rgba(247, 147, 30, 0.3);
  border-radius: 100px;
  padding: 6px 18px;
  margin-bottom: 28px;
}

.upsell-block__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
}

.upsell-block__body {
  font-size: clamp(16px, 1.8vw, 18px);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 40px;
}

.upsell-block__features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  max-width: 520px;
  margin: 0 auto 48px;
}

.upsell-block__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.upsell-block__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: rgba(0, 212, 170, 0.15);
  color: #00D4AA;
  margin-top: 1px;
}

.upsell-block__price {
  font-family: var(--font-heading);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 32px;
}

.upsell-block__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--gray-600);
  letter-spacing: 0.02em;
}

.upsell-block__sub-cta {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-orange);
  text-decoration: none;
  transition: opacity 0.3s;
}

.upsell-block__sub-cta:hover {
  opacity: 0.8;
}

/* --- Price Row (final CTA) --- */
.product-cta__price-row {
  font-family: var(--font-heading);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  color: var(--accent-orange);
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

.product-cta__price-row span {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 12px;
}

/* ============================================
   Mobile
   ============================================ */
@media (max-width: 768px) {
  .product-hero {
    padding: 130px 0 60px;
  }

  .product-section {
    padding: 72px 0;
  }

  .product-grid--3 {
    grid-template-columns: 1fr;
  }

  .product-grid--2 {
    grid-template-columns: 1fr;
  }

  .product-step {
    flex-direction: column;
    gap: 12px;
  }

  .product-cta {
    padding: 80px 0;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .product-upsell {
    padding: 80px 0;
  }

  .product-upsell + .product-upsell {
    padding-top: 0;
  }

  .upsell-block {
    padding: 40px 24px;
  }
}
