/* ============================================================
   amipregnant.com.au — Landing Page Styles
   ============================================================ */

/* ============================================================
   Hero
   ============================================================ */

.hero {
  background: linear-gradient(160deg, var(--purple-50) 0%, var(--white) 60%, var(--orange-50) 100%);
  padding: var(--space-20) 0;
  overflow: hidden;
  position: relative;
  /* Prevent any child from causing horizontal scroll */
  max-width: 100vw;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(176,122,140,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-badge {
  margin-bottom: var(--space-5);
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--grey-900);
  margin-bottom: var(--space-5);
}

.hero-subheading {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.3;
  margin-top: var(--space-2);
  margin-bottom: var(--space-4);
  max-width: 520px;
  /* clamp prevents 1.5rem being too large on 320px */
  font-size: clamp(1.15rem, 5vw, 1.5rem);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: var(--grey-600);
  line-height: 1.7;
  margin-bottom: var(--space-5);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--grey-600);
  font-weight: 500;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 540px;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

/* ============================================================
   Trust Bar
   ============================================================ */

.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.trust-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--grey-900);
}

.trust-item span {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--grey-500);
}

/* ============================================================
   Steps / How it works
   ============================================================ */

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: var(--space-6);
  align-items: center;
}

.step-card {
  border-radius: 20px;
  padding: var(--space-8) var(--space-6);
  text-align: center;
  border: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

/* Alternating pastel fills matching our palette */
.step-card--1 { background: #EDE4D9; }  /* warm cream  — purple-50  */
.step-card--2 { background: #DDE8DC; }  /* pale sage   — purple-100 */
.step-card--3 { background: #EDE4D9; }  /* warm cream  — purple-50  */
.step-card--4 { background: #DDE8DC; }  /* pale sage   — purple-100 */

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

/* Clickable card variant — used when a step card is wrapped in an <a> */
.step-card--link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}
.step-card--link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.13);
}
.step-card--link h3,
.step-card--link p {
  color: inherit;
}

.step-icon-wrap {
  width: 68px;
  height: 68px;
  background: var(--purple-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
}

.step-card h3 {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--grey-900);
}

.step-card p {
  font-size: var(--font-size-sm);
  color: var(--grey-600);
  line-height: 1.6;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-400);
}

/* ============================================================
   About
   ============================================================ */

.about-section {
  background: linear-gradient(160deg, var(--white) 0%, var(--purple-50) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--font-size-base);
  color: var(--grey-700);
}

.about-tick {
  color: var(--color-brand);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about-stat-card {
  background: linear-gradient(135deg, var(--purple-600), var(--orange-500));
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
}

.about-stat-value {
  font-size: 4rem;
  font-weight: 900;
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-stat-label {
  color: rgba(255,255,255,0.85);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.about-feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.about-feature-card {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--grey-700);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   Pricing
   ============================================================ */

.pricing-header {
  text-align: center;
  padding-bottom: var(--space-6);
}

.pricing-header h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--grey-900);
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}

.price-currency {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--grey-500);
}

.price-value {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple-600), var(--orange-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--grey-700);
}

.pricing-features .check {
  color: #10B981;
  font-weight: 700;
}

/* ============================================================
   Telehealth
   ============================================================ */

.telehealth-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  background: linear-gradient(135deg, var(--purple-50) 0%, var(--orange-50) 100%);
  border: 1px solid var(--purple-100);
}

.telehealth-content {
  flex: 1;
}

.telehealth-icon {
  flex-shrink: 0;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--grey-900);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover { color: var(--color-brand); }

.faq-icon {
  font-size: 1.25rem;
  color: var(--grey-400);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--color-brand);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding: 0 var(--space-6) var(--space-5);
  font-size: var(--font-size-sm);
  color: var(--grey-600);
  line-height: 1.7;
}

/* ============================================================
   Safety
   ============================================================ */

.safety-section {
  background: var(--white);
}

.safety-card {
  background: linear-gradient(135deg, #FEF3F2, #FFF1F0);
  border: 1.5px solid #FECACA;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  display: flex;
  align-items: flex-start;
  gap: var(--space-6);
}

.safety-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.safety-content h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: #991B1B;
  margin-bottom: var(--space-2);
}

.safety-content p {
  color: #7F1D1D;
  font-size: var(--font-size-sm);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.safety-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.safety-symptom-list {
  list-style: disc;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
  color: #7F1D1D;
  font-size: var(--font-size-sm);
  line-height: 2;
}

.safety-attend {
  margin-bottom: var(--space-4) !important;
}

.safety-healthdirect {
  margin-bottom: 0 !important;
  font-size: var(--font-size-sm);
  color: #7F1D1D;
}

/* ============================================================
   CTA Banner
   ============================================================ */

.cta-banner {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-900));
  padding: var(--space-20) 0;
  /* Prevent hero pseudo-element from creating overflow */
  overflow: hidden;
}

.cta-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-4);
}

.cta-subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-8);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-8); }
  /* Hero image stays visible on tablet/mobile and sits beneath the hero buttons */
  .hero-visual { display: flex; width: 100%; min-width: 0; }
  .hero-actions { margin-bottom: 0; }
  .hero-image { max-width: 480px; }
  .trust-items { grid-template-columns: repeat(2, 1fr); }
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .step-arrow { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .telehealth-card { flex-direction: column; }
}

@media (max-width: 768px) {
  .trust-items { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .cta-title { font-size: var(--font-size-3xl); }
  .safety-card { flex-direction: column; }
  .telehealth-card { gap: var(--space-4); padding-bottom: var(--space-8); }
  .telehealth-icon { display: none; }
  .telehealth-content .btn { display: block; width: 100%; text-align: center; box-sizing: border-box; white-space: normal; line-height: 1.4; }
  .hero { padding: var(--space-12) 0; }
  .hero-inner { gap: var(--space-6); }
  .hero-image { max-width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
  .cta-banner { padding: var(--space-12) 0; }
  .cta-subtitle { font-size: var(--font-size-base); }
}

@media (max-width: 480px) {
  .hero { padding: var(--space-10) 0; }
  .hero-subtitle { font-size: var(--font-size-base); }
  .hero-image { border-radius: var(--radius-lg); }
  .trust-item { gap: var(--space-3); }
  .trust-icon { font-size: 1.4rem; }
  .faq-question { padding: var(--space-4); font-size: var(--font-size-sm); }
  .cta-banner { padding: var(--space-10) 0; }
  .cta-title { font-size: var(--font-size-2xl); }
  .cta-subtitle { font-size: var(--font-size-sm); }
  .safety-card { padding: var(--space-5); }
  /* Safety action buttons: stack vertically on very small screens */
  .safety-actions { flex-direction: column; align-items: stretch; }
  .safety-actions .btn { text-align: center; }
  /* Telehealth card: full-width button, comfortable padding */
  .telehealth-card { padding: var(--space-6) var(--space-5) var(--space-7); }
  .telehealth-content .btn {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    line-height: 1.4;
  }
}
