/* ============================================
   Bedside Ready - Main Stylesheet
   Color palette derived from brand graphics:
   - Coral:      #D4726A
   - Soft Pink:  #F2B5A0
   - Dark Teal:  #1D3B3E
   - Sage Green: #5B8A7D
   - Light Sage: #C8D5CA
   - Cream:      #F5EDE6
   ============================================ */

/* === CSS Variables === */
:root {
  --coral: #D4726A;
  --coral-dark: #B85A53;
  --coral-light: #E8958E;
  --soft-pink: #F2B5A0;
  --dark-teal: #1D3B3E;
  --dark-teal-light: #2A5458;
  --sage: #5B8A7D;
  --sage-light: #7BA89A;
  --light-sage: #C8D5CA;
  --cream: #F5EDE6;
  --white: #FFFFFF;
  --text-dark: #1D3B3E;
  --text-muted: #5A6B6E;
  --text-light: #8A9A9D;
  --border-light: #E0E7E3;
  --shadow-sm: 0 2px 8px rgba(29, 59, 62, 0.08);
  --shadow-md: 0 4px 20px rgba(29, 59, 62, 0.12);
  --shadow-lg: 0 8px 40px rgba(29, 59, 62, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark-teal);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
  color: var(--text-muted);
  line-height: 1.7;
}

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

/* === Header & Navigation === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-teal);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--dark-teal);
  background: var(--light-sage);
}

.nav-cta {
  background: var(--coral) !important;
  color: var(--white) !important;
}

.nav-cta:hover {
  background: var(--coral-dark) !important;
}

/* Hamburger menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-teal);
  border-radius: 2px;
  transition: all var(--transition);
}

/* === Hero Sections === */
.hero {
  margin-top: var(--header-height);
  padding: 80px 0;
  background: var(--cream);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 540px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--light-sage);
  color: var(--sage);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--dark-teal);
}

.hero h1 span {
  color: var(--coral);
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}

.hero-image-decoration {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 20px;
  left: 20px;
  border-radius: var(--radius-lg);
  background: var(--light-sage);
  z-index: -1;
}

/* Page hero (smaller, for inner pages) */
.page-hero {
  margin-top: var(--header-height);
  padding: 60px 0;
  background: var(--cream);
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--dark-teal);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--dark-teal-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--coral);
  border: 2px solid var(--coral);
}

.btn-outline:hover {
  background: var(--coral);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* === Sections === */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--cream);
}

.section-sage {
  background: var(--light-sage);
}

.section-teal {
  background: var(--dark-teal);
  color: var(--white);
}

.section-teal h2,
.section-teal h3 {
  color: var(--white);
}

.section-teal p {
  color: var(--light-sage);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
}

/* === Feature Cards (Home) === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--border-light);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--coral);
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
}

/* === Two Column Layout === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

.two-col-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}

.two-col-content h2 {
  margin-bottom: 16px;
}

.two-col-content p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* === Confidence Section (Home) === */
.confidence-section {
  padding: 100px 0;
  background: var(--dark-teal);
}

.confidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.confidence-text {
  text-align: left;
}

.confidence-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.confidence-section p {
  color: var(--light-sage);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.confidence-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
  max-height: 480px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.video-support-note {
  margin-top: 12px;
  color: var(--light-sage);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* === Testimonials === */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--coral-light);
  position: absolute;
  top: 12px;
  left: 24px;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-card p {
  padding-top: 24px;
  font-style: italic;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--light-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--sage);
  font-size: 1.1rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--dark-teal);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: normal;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* Single featured testimonial */
.testimonial-featured {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-featured blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-featured cite {
  font-style: normal;
  font-weight: 600;
  color: var(--coral);
}

/* === Pricing Cards === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-light);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--coral);
}

.pricing-card.featured::after {
  content: 'Best Value';
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--coral);
  color: var(--white);
  padding: 4px 40px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: rotate(45deg);
}

.pricing-card h3 {
  margin-bottom: 8px;
}

.pricing-amount {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--dark-teal);
  margin: 16px 0 4px;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* Membership features list */
.membership-features {
  padding: 60px 0;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.features-category h3 {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--coral);
  display: inline-block;
}

.features-category ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.features-category li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.features-category li::before {
  content: '';
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--light-sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235B8A7D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* === Mentor Section === */
.mentor-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
}

.mentor-photo {
  width: 300px;
  height: 360px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.mentor-info h3 {
  margin-bottom: 8px;
}

.mentor-info .role {
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 16px;
}

.mentor-info p {
  margin-bottom: 12px;
}

/* === Contact Form === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-teal);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--coral);
}

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

.contact-info {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-info h3 {
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--light-sage);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--sage);
}

.contact-detail h4 {
  margin-bottom: 4px;
  color: var(--dark-teal);
}

.contact-detail p {
  font-size: 0.95rem;
}

/* === CTA Section === */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background: var(--dark-teal);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--light-sage);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

/* === Footer === */
.footer {
  background: var(--dark-teal);
  color: var(--light-sage);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand .logo-icon {
  background: var(--coral);
}

.footer-brand p {
  color: var(--light-sage);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a {
  display: block;
  color: var(--light-sage);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(200, 213, 202, 0.2);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* === Utility === */
.text-center { text-align: center; }
.text-coral { color: var(--coral); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* === Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 968px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .confidence-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .confidence-text {
    text-align: center;
  }

  .confidence-video {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .confidence-video video {
    max-height: none;
    border-radius: var(--radius-sm);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .two-col.reverse {
    direction: ltr;
  }

  .mentor-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mentor-photo {
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    gap: 4px;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav a {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 50px 0;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 60px 0;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
