/* ============================================
   ProdAhead — Product Mentoring Platform
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #0f0f0f;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Color Palette ---
   Black:      #0f0f0f
   Dark:       #1a1a1a
   Gray 700:   #555555
   Gray 500:   #888888
   Gray 200:   #e5e5e5
   Gray 100:   #f5f5f5
   Accent:     #0567a7  (blue, replacing red)
   White:      #ffffff
*/

/* --- Typography --- */
h1, h2, h3, h4 {
  line-height: 1.15;
  font-weight: 800;
  color: #0f0f0f;
}

h1 { font-size: 3.8rem; letter-spacing: -2px; }
h2 { font-size: 2.2rem; letter-spacing: -0.5px; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; font-weight: 700; }

p {
  color: #555555;
  line-height: 1.7;
}

.section-subtitle {
  color: #888888;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 3rem;
  text-align: center;
}

/* --- Layout --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 90px 0;
}

.section-alt {
  background: #f5f5f5;
}

/* --- Navigation --- */
nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e5e5;
  z-index: 100;
  padding: 0 24px;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f0f0f;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: #888888;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: #0f0f0f;
}

.btn-nav-cta {
  flex-shrink: 0;
  background: #0f0f0f;
  color: #ffffff;
  padding: 9px 22px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.btn-nav-cta:hover {
  background: #333333;
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #0f0f0f;
  margin: 5px 0;
  transition: 0.3s;
}

/* --- Hero --- */
#hero {
  padding: 110px 0 100px;
  text-align: center;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.hero-overline {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 24px;
}

#hero h1 {
  font-size: 4.2rem;
  margin-bottom: 24px;
  letter-spacing: -2.5px;
  color: #0f0f0f;
  line-height: 1.08;
}

#hero h1 span {
  color: #0567a7;
}

#hero .hero-subtitle {
  font-size: 1.15rem;
  color: #777777;
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.65;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 7px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.btn-primary {
  background: #0f0f0f;
  color: #ffffff;
  border-color: #0f0f0f;
}

.btn-primary:hover {
  background: #333333;
  border-color: #333333;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: transparent;
  color: #0f0f0f;
  border-color: #cccccc;
}

.btn-secondary:hover {
  border-color: #0f0f0f;
  background: #f5f5f5;
}

/* --- How It Works --- */
#how-it-works {
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 2rem;
}

.step-card {
  padding: 32px 20px;
  text-align: center;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #ffffff;
  transition: box-shadow 0.2s;
}

.step-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0f0f0f;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.step-card p {
  font-size: 0.9rem;
  color: #888888;
  line-height: 1.6;
}

/* --- Mentor Cards --- */
#mentors {
  text-align: center;
}

.mentors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 2rem;
  text-align: left;
}

.mentor-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.mentor-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

/* Grayscale → colour on hover — the key feature */
.mentor-photo-wrap {
  width: 100%;
  height: 300px;
  overflow: hidden;
  background: #f0f0f0;
}

.mentor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1);
  transition: filter 0.5s ease;
}

.mentor-card:hover .mentor-photo {
  filter: grayscale(0);
}

.mentor-card-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mentor-card-body h3 {
  color: #0f0f0f;
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.mentor-title {
  color: #0567a7;
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mentor-bio {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 16px;
  line-height: 1.65;
}

.mentor-specializations {
  list-style: none;
  margin-bottom: 20px;
  flex-grow: 1;
}

.mentor-specializations li {
  font-size: 0.85rem;
  color: #777777;
  padding: 3px 0 3px 16px;
  position: relative;
  line-height: 1.5;
}

.mentor-specializations li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0567a7;
  opacity: 0.6;
}

.mentor-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.btn-book {
  background: #0f0f0f;
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.btn-book:hover {
  background: #333333;
  transform: translateY(-1px);
}

.btn-linkedin {
  color: #0077b5;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
}

.btn-linkedin:hover {
  opacity: 0.7;
}

/* --- Booking Panel --- */
.booking-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.4s ease;
  padding: 0;
  background: #f5f5f5;
  border-bottom: 1px solid #e5e5e5;
}

.booking-panel.open {
  max-height: 1800px;
  padding: 60px 0 72px;
}

.booking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.booking-mentor-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.booking-mentor-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e5e5e5;
}

.booking-label {
  font-size: 0.78rem;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 2px;
}

.booking-header h3 {
  font-size: 1.25rem;
  color: #0f0f0f;
}

.booking-close {
  background: none;
  border: 1px solid #cccccc;
  color: #555555;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
}

.booking-close:hover {
  border-color: #0f0f0f;
  color: #0f0f0f;
}

.cal-embed-wrap {
  width: 100%;
  min-height: 1000px;
  overflow: visible;
  border-radius: 12px;
  background: #ffffff;
}

/* Disabled book button state */
.btn-book:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* --- Pricing --- */
#pricing {
  text-align: center;
}

.pricing-card {
  max-width: 460px;
  margin: 2rem auto 0;
  background: #ffffff;
  border: 2px solid #0f0f0f;
  border-radius: 16px;
  padding: 48px 40px;
}

.pricing-amount {
  font-size: 3.8rem;
  font-weight: 800;
  color: #0f0f0f;
  letter-spacing: -3px;
  margin-bottom: 4px;
}

.pricing-amount span {
  font-size: 1.4rem;
  color: #888888;
  font-weight: 400;
  letter-spacing: 0;
}

.pricing-duration {
  color: #888888;
  font-size: 1rem;
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
}

.pricing-features li {
  padding: 9px 0;
  color: #444444;
  font-size: 0.92rem;
  padding-left: 28px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #0567a7;
  font-weight: 700;
}

/* --- Not Sure / Contact --- */
#not-sure, #contact {
  text-align: center;
  padding: 60px 0;
}

.form-embed {
  max-width: 600px;
  margin: 2rem auto 0;
}

.form-embed iframe {
  width: 100%;
  border: none;
  border-radius: 12px;
}

.form-placeholder {
  background: #f5f5f5;
  border: 2px dashed #d5d5d5;
  border-radius: 12px;
  padding: 60px 20px;
  color: #aaaaaa;
  font-size: 0.92rem;
}

.contact-form {
  max-width: 520px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f0f0f;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #0f0f0f;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaaaaa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0f0f0f;
  box-shadow: 0 0 0 3px rgba(15, 15, 15, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 8px;
}

.form-notice {
  font-size: 0.85rem;
  color: #666666;
  min-height: 20px;
  margin: 0;
}

.form-notice.success {
  color: #10b981;
  font-weight: 500;
}

.form-notice.error {
  color: #0567a7;
  font-weight: 500;
}

/* --- Cancellation Policy --- */
#policy {
  text-align: center;
  background: #f5f5f5;
  padding: 60px 0;
}

#policy h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

#policy p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 0.92rem;
  color: #666666;
}

/* --- Footer --- */
footer {
  background: #0f0f0f;
  color: #aaaaaa;
  padding: 44px 0;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 18px;
}

.footer-links a {
  color: #888888;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copy {
  font-size: 0.82rem;
  color: #555555;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  h1 { font-size: 2.4rem; letter-spacing: -1px; }
  h2 { font-size: 1.7rem; }

  section { padding: 64px 0; }

  /* Nav mobile */
  .btn-nav-cta { display: none; }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    justify-content: flex-start;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-hamburger {
    display: block;
  }

  /* Hero mobile */
  #hero {
    padding: 72px 0 64px;
  }

  #hero h1 {
    font-size: 2.6rem;
    letter-spacing: -1.5px;
  }

  #hero .hero-subtitle {
    font-size: 1rem;
  }

  /* Steps mobile */
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Mentors mobile */
  .mentors-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mentor-photo-wrap {
    height: 260px;
  }

  .mentor-card-body {
    padding: 22px 22px 26px;
  }

  /* Pricing mobile */
  .pricing-card {
    padding: 36px 24px;
  }

  .pricing-amount {
    font-size: 3rem;
  }
}

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

  #hero h1 {
    font-size: 2rem;
    letter-spacing: -0.5px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}
