/* ==========================================================================
   Free WhatsApp Health Reminders Stylesheet
   PCOS Ferticure Clinic — PF-189
   ========================================================================== */

:root {
  --wr-navy: #1B2A4A;
  --wr-navy-light: #2C3E6B;
  --wr-blush: #FAF5F7;
  --wr-blush-card: #FFFFFF;
  --wr-blush-border: #EFE4E9;
  --wr-magenta: #8A2D56;
  --wr-magenta-dark: #6D1E41;
  --wr-magenta-light: #F7EBF0;
  --wr-green: #25D366;
  --wr-green-dark: #128C7E;
  --wr-text: #2D3748;
  --wr-muted: #64748B;
  --wr-radius: 12px;
  --wr-shadow: 0 4px 20px rgba(27, 42, 74, 0.06);
  --wr-shadow-hover: 0 8px 30px rgba(138, 45, 86, 0.12);
}

.wr-page-wrapper {
  color: var(--wr-text);
  line-height: 1.6;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}

.wr-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Breadcrumb & Badges */
.wr-breadcrumb-nav {
  padding: 16px 0 8px;
  font-size: 0.88rem;
  color: var(--wr-muted);
}
.wr-breadcrumb-nav a {
  color: var(--wr-magenta);
  text-decoration: none;
}
.wr-breadcrumb-nav a:hover {
  text-decoration: underline;
}
.wr-breadcrumb-sep {
  margin: 0 8px;
  color: #CBD5E1;
}

.wr-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.wr-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}
.wr-badge-eyebrow {
  background: var(--wr-magenta-light);
  color: var(--wr-magenta);
  border: 1px solid rgba(138, 45, 86, 0.2);
}
.wr-badge-preview {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
}

/* Hero Section */
.wr-hero-section {
  background: linear-gradient(135deg, #FAF5F7 0%, #FFFFFF 60%, #F5EDF1 100%);
  padding: 36px 0 54px;
  border-bottom: 1px solid var(--wr-blush-border);
}
.wr-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.wr-hero-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  color: var(--wr-navy);
  line-height: 1.22;
  margin: 0 0 16px;
  font-weight: 700;
}
.wr-hero-lead {
  font-size: 1.15rem;
  color: #4A5568;
  margin-bottom: 24px;
  line-height: 1.6;
}
.wr-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}
.wr-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--wr-navy);
  border: 1px solid var(--wr-blush-border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}
.wr-hero-pill svg {
  color: var(--wr-magenta);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.wr-status-alert {
  background: #FFFBEB;
  border-left: 4px solid #D97706;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 0.92rem;
  color: #92400E;
  margin-top: 16px;
  line-height: 1.5;
}
.wr-status-alert strong {
  color: #78350F;
}

.wr-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.wr-hero-visual img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--wr-radius);
  box-shadow: var(--wr-shadow);
  border: 1px solid var(--wr-blush-border);
  object-fit: cover;
}

/* Common Section Headers */
.wr-section {
  padding: 60px 0;
}
.wr-section-alt {
  background: #FAFAFA;
}
.wr-section-title-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px;
}
.wr-section-title-wrap h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 2.5vw, 2.3rem);
  color: var(--wr-navy);
  margin: 0 0 12px;
  font-weight: 700;
}
.wr-section-title-wrap p {
  color: var(--wr-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* Feature Cards (Section B) */
.wr-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.wr-feature-card {
  background: var(--wr-blush-card);
  border: 1px solid var(--wr-blush-border);
  border-radius: var(--wr-radius);
  padding: 28px;
  box-shadow: var(--wr-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.wr-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--wr-shadow-hover);
}
.wr-feature-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--wr-magenta-light);
  color: var(--wr-magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.wr-feature-icon-badge svg {
  width: 24px;
  height: 24px;
}
.wr-feature-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  color: var(--wr-navy);
  margin: 0 0 10px;
}
.wr-feature-card p {
  font-size: 0.95rem;
  color: #4A5568;
  margin-bottom: 16px;
  flex-grow: 1;
}
.wr-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.wr-feature-tag {
  background: #F1F5F9;
  color: #475569;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 500;
}
.wr-feature-note {
  font-size: 0.82rem;
  color: #718096;
  background: #F8FAFC;
  padding: 10px 12px;
  border-radius: 6px;
  border-left: 3px solid #CBD5E1;
  margin-top: auto;
}
.wr-feature-note.clinical-disclaimer {
  border-left-color: #F59E0B;
  background: #FFFBEB;
  color: #92400E;
}

/* Workflow Steps (Section C) */
.wr-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.wr-step-card {
  background: #FFFFFF;
  border: 1px solid var(--wr-blush-border);
  border-radius: var(--wr-radius);
  padding: 24px 20px;
  position: relative;
  box-shadow: var(--wr-shadow);
}
.wr-step-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--wr-magenta);
  line-height: 1;
  margin-bottom: 12px;
  font-family: 'Playfair Display', Georgia, serif;
  opacity: 0.9;
}
.wr-step-card h4 {
  font-size: 1.1rem;
  color: var(--wr-navy);
  margin: 0 0 8px;
}
.wr-step-card p {
  font-size: 0.88rem;
  color: var(--wr-muted);
  margin: 0;
  line-height: 1.5;
}

/* Reminder Setup Interface (Section D) */
.wr-setup-section {
  background: #FAF5F7;
  border-top: 1px solid var(--wr-blush-border);
  border-bottom: 1px solid var(--wr-blush-border);
}
.wr-setup-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--wr-blush-border);
}

.wr-form-col h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  color: var(--wr-navy);
  margin: 0 0 6px;
}
.wr-form-subtitle {
  font-size: 0.9rem;
  color: var(--wr-muted);
  margin-bottom: 24px;
}

.wr-form-group {
  margin-bottom: 20px;
}
.wr-form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--wr-navy);
  margin-bottom: 8px;
}
.wr-form-control {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.95rem;
  color: var(--wr-text);
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.wr-form-control:focus {
  outline: none;
  border-color: var(--wr-magenta);
  box-shadow: 0 0 0 3px rgba(138, 45, 86, 0.15);
}

.wr-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.wr-preset-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.wr-preset-btn {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #334155;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.wr-preset-btn.active, .wr-preset-btn:hover {
  background: var(--wr-magenta);
  color: #FFFFFF;
  border-color: var(--wr-magenta);
}

.wr-consent-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.wr-consent-box input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--wr-magenta);
  cursor: pointer;
}
.wr-consent-text {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.45;
}

.wr-submit-btn-disabled {
  width: 100%;
  padding: 14px 20px;
  font-size: 0.96rem;
  font-weight: 600;
  color: #64748B;
  background: #E2E8F0;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  cursor: not-allowed;
  text-align: center;
  transition: all 0.2s ease;
}

.wr-form-disclaimer {
  margin-top: 12px;
  font-size: 0.8rem;
  color: #94A3B8;
  text-align: center;
  line-height: 1.4;
}

/* WhatsApp Message Interactive Simulator */
.wr-preview-col {
  display: flex;
  flex-direction: column;
}
.wr-phone-mockup {
  background: #ECE5DD; /* WhatsApp Chat Background */
  border-radius: 24px;
  padding: 18px 14px;
  border: 8px solid #1E293B;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  min-height: 440px;
}
.wr-phone-header {
  background: #075E54;
  color: #FFFFFF;
  padding: 10px 14px;
  border-radius: 12px 12px 0 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wr-phone-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.wr-phone-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wr-phone-sender {
  flex-grow: 1;
}
.wr-phone-sender-name {
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.wr-verified-badge {
  color: #25D366;
  width: 14px;
  height: 14px;
}
.wr-phone-sender-sub {
  font-size: 0.72rem;
  opacity: 0.85;
}

.wr-chat-area {
  flex-grow: 1;
  padding: 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wr-date-bubble {
  align-self: center;
  background: rgba(255, 255, 255, 0.8);
  font-size: 0.72rem;
  color: #555;
  padding: 3px 10px;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.wr-msg-bubble {
  align-self: flex-start;
  background: #FFFFFF;
  padding: 12px 14px;
  border-radius: 0 12px 12px 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  max-width: 90%;
  font-size: 0.88rem;
  color: #111;
  position: relative;
  line-height: 1.45;
}
.wr-msg-header {
  font-weight: 700;
  color: var(--wr-magenta);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wr-msg-body {
  margin-bottom: 8px;
}
.wr-msg-meta {
  font-size: 0.72rem;
  color: #888;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed #E2E8F0;
  padding-top: 6px;
  margin-top: 6px;
}
.wr-msg-time {
  margin-left: auto;
}
.wr-phone-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.wr-chat-action-btn {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #0284C7;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}

/* Privacy & Controls (Section E) */
.wr-privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.wr-privacy-card {
  background: #FFFFFF;
  border: 1px solid var(--wr-blush-border);
  border-radius: var(--wr-radius);
  padding: 24px;
  box-shadow: var(--wr-shadow);
}
.wr-privacy-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #ECFDF5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.wr-privacy-card h4 {
  font-size: 1.15rem;
  color: var(--wr-navy);
  margin: 0 0 8px;
}
.wr-privacy-card p {
  font-size: 0.92rem;
  color: #4A5568;
  margin: 0;
  line-height: 1.5;
}

/* FAQs (Section F) */
.wr-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wr-faq-item {
  background: #FFFFFF;
  border: 1px solid var(--wr-blush-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.wr-faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--wr-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background-color 0.15s ease;
}
.wr-faq-question:hover {
  background: #FAF5F7;
}
.wr-faq-chevron {
  font-size: 1.25rem;
  color: var(--wr-magenta);
  transition: transform 0.2s ease;
  line-height: 1;
}
.wr-faq-item.is-open .wr-faq-chevron {
  transform: rotate(180deg);
}
.wr-faq-answer {
  display: none;
  padding: 0 22px 20px;
  font-size: 0.95rem;
  color: #4A5568;
  line-height: 1.6;
}
.wr-faq-item.is-open .wr-faq-answer {
  display: block;
}

/* Secondary Consultation CTA (Section G) */
.wr-consult-section {
  background: linear-gradient(135deg, #1B2A4A 0%, #2D3E6B 100%);
  color: #FFFFFF;
  padding: 56px 0;
  text-align: center;
}
.wr-consult-card {
  max-width: 780px;
  margin: 0 auto;
}
.wr-consult-card h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  color: #FFFFFF;
  margin: 0 0 16px;
}
.wr-consult-card p {
  font-size: 1.08rem;
  color: #E2E8F0;
  line-height: 1.6;
  margin-bottom: 28px;
}
.wr-consult-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  color: var(--wr-magenta);
  font-size: 1.02rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.wr-consult-btn:hover {
  background: #FAF5F7;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Medical Disclaimer Banner */
.wr-disclaimer-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 18px 24px;
  margin: 40px auto 0;
  max-width: 980px;
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.55;
  text-align: center;
}
.wr-disclaimer-box strong {
  color: #334155;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .wr-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .wr-hero-pills {
    justify-content: center;
  }
  .wr-badge-row {
    justify-content: center;
  }
  .wr-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wr-setup-wrapper {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .wr-phone-mockup {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
  }
  .wr-privacy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wr-steps-grid {
    grid-template-columns: 1fr;
  }
  .wr-form-row {
    grid-template-columns: 1fr;
  }
  .wr-hero-section {
    padding: 24px 0 36px;
  }
  .wr-section {
    padding: 40px 0;
  }
  .wr-setup-wrapper {
    padding: 18px 14px;
  }
  .wr-features-grid {
    grid-template-columns: 1fr;
  }
}
