/* -------------------------------------------------------------
 * Dr. Herbs GoodGut Kenya Mobile-Exclusive Sales Landing Page
 * ------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@600;700;800;900&display=swap');

:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #34d399;
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --bg-dark: #06140e;
  --bg-dark-card: #0d2218;
  --bg-dark-border: rgba(16, 185, 129, 0.25);
  --text-light: #f8fafc;
  --text-dark: #0f172a;
  --bg-light: #f2faf5;
  --white: #ffffff;
  --danger: #ef4444;
  --whatsapp: #25d366;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius: 16px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

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

/* Outer layout wrapper - force mobile viewport frame when viewed on desktop */
body {
  font-family: var(--font-body);
  background-color: #030a07;
  color: var(--text-dark);
  line-height: 1.5;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

/* Mobile Screen Container - Max 480px width */
.mobile-app-wrapper {
  width: 100%;
  max-width: 480px;
  background-color: var(--bg-light);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  overflow-x: hidden;
  padding-bottom: 75px; /* space for sticky bar */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold { color: var(--accent-gold); }
.text-green { color: var(--primary-dark); }

/* Sticky Top Urgency Bar */
.top-bar {
  background: linear-gradient(90deg, #047857 0%, #10b981 100%);
  color: white;
  text-align: center;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.top-bar .badge-flash {
  background: var(--accent-gold);
  color: #000;
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 800;
  margin-right: 4px;
}

/* Header Nav */
.header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  border-bottom: 1px solid rgba(16, 185, 129, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 33px;
  z-index: 99;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-badge {
  background: var(--bg-dark);
  color: var(--primary-light);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.logo-text h2 {
  font-size: 1.2rem;
  color: var(--bg-dark);
  margin-bottom: -2px;
}

.logo-text span {
  font-size: 0.65rem;
  color: var(--primary-dark);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.btn-header-call {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
}

/* Mobile Hero */
.hero {
  background: radial-gradient(circle at 50% 0%, #0d2e1f 0%, #04120a 100%);
  color: white;
  padding: 24px 16px 36px;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid var(--bg-dark-border);
  color: var(--primary-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 1.95rem;
  line-height: 1.18;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 20px;
}

/* Mobile Product Showcase Image */
.hero-img-box {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(16, 185, 129, 0.2);
  margin-bottom: 20px;
  background: #000;
}

.hero-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-badge-float {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(6, 20, 14, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 10px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.hero-badge-float .icon {
  width: 34px;
  height: 34px;
  background: var(--primary);
  color: #000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-badge-float div h4 {
  font-size: 0.85rem;
  color: white;
}

.hero-badge-float div p {
  font-size: 0.72rem;
  color: var(--primary-light);
}

.hero-checklist {
  list-style: none;
  text-align: left;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #e2e8f0;
}

.hero-checklist li i {
  color: var(--primary);
  font-size: 1.1rem;
}

.btn-cta-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  padding: 16px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  border: none;
  cursor: pointer;
}

.btn-cta-mobile:active {
  transform: scale(0.98);
}

.trust-badges-row {
  display: flex;
  justify-content: space-around;
  margin-top: 15px;
  font-size: 0.75rem;
  color: #94a3b8;
}

.trust-badges-row span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Symptoms Section */
.symptoms-section {
  padding: 32px 16px;
  background: #ffffff;
}

.section-title-mobile {
  text-align: center;
  margin-bottom: 24px;
}

.section-title-mobile .tag {
  display: inline-block;
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 15px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title-mobile h2 {
  font-size: 1.65rem;
  color: var(--text-dark);
}

.symptoms-mobile-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.symptom-mobile-card {
  background: var(--bg-light);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.symptom-mobile-icon {
  width: 44px;
  height: 44px;
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.symptom-mobile-text h3 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.symptom-mobile-text p {
  font-size: 0.85rem;
  color: #64748b;
}

/* Solution Showcase */
.solution-section {
  padding: 32px 16px;
  background: linear-gradient(180deg, #f2faf5 0%, #e1f5eb 100%);
}

.mobile-card-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  margin-bottom: 20px;
  border: 3px solid #white;
}

.mobile-card-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Ingredients Mobile Accordion / Stack */
.ingredients-section {
  padding: 32px 16px;
  background: var(--bg-dark);
  color: white;
}

.ingredients-section .section-title-mobile h2 {
  color: white;
}

.ingredients-mobile-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ingredient-mobile-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: 14px;
  padding: 18px;
}

.ingredient-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.ing-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  font-family: var(--font-heading);
}

.ingredient-header h3 {
  font-size: 1.1rem;
  color: var(--primary-light);
}

.ing-sub {
  font-size: 0.75rem;
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ingredient-mobile-card p {
  font-size: 0.88rem;
  color: #cbd5e1;
}

/* Doctor Section Mobile */
.doctor-section {
  padding: 32px 16px;
  background: white;
}

.doctor-mobile-box {
  background: linear-gradient(135deg, #0d2218 0%, #04120a 100%);
  border-radius: 18px;
  padding: 20px;
  color: white;
  text-align: center;
}

.doctor-avatar-mobile {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  margin: 0 auto 14px;
  overflow: hidden;
}

.doctor-avatar-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-mobile {
  font-size: 0.92rem;
  font-style: italic;
  color: #e2e8f0;
  margin: 14px 0;
  line-height: 1.5;
  background: rgba(255,255,255,0.05);
  padding: 12px;
  border-radius: 10px;
  border-left: 3px solid var(--primary);
}

/* Testimonials Mobile */
.testimonials-section {
  padding: 32px 16px;
  background: var(--bg-light);
}

.testimonials-mobile-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-mobile-card {
  background: white;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(16, 185, 129, 0.15);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.user-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.user-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}

.user-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-meta h4 {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.user-meta p {
  font-size: 0.75rem;
  color: #64748b;
}

.stars {
  color: var(--accent-gold);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.testimonial-mobile-card p {
  font-size: 0.88rem;
  color: #334155;
}

/* Mobile Pricing Cards Selector */
.order-section {
  padding: 36px 16px;
  background: radial-gradient(circle at 50% 0%, #0d2e1f 0%, #04120a 100%);
  color: white;
}

.package-mobile-selector {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 25px;
}

.package-item-card {
  background: var(--bg-dark-card);
  border: 2px solid var(--bg-dark-border);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.package-item-card.selected {
  border-color: var(--accent-gold);
  background: #123323;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.package-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.package-item-card.selected .package-radio {
  border-color: var(--accent-gold);
  background: var(--accent-gold);
}

.package-item-card.selected .package-radio::after {
  content: '';
  width: 8px;
  height: 8px;
  background: #000;
  border-radius: 50%;
}

.package-info {
  flex-grow: 1;
}

.package-info h3 {
  font-size: 1.05rem;
  color: white;
}

.package-info span {
  font-size: 0.75rem;
  color: var(--primary-light);
}

.package-price-tag {
  text-align: right;
}

.package-price-tag .old {
  text-decoration: line-through;
  font-size: 0.8rem;
  color: #94a3b8;
  display: block;
}

.package-price-tag .new {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--accent-gold);
  font-family: var(--font-heading);
}

.badge-pop-mobile {
  position: absolute;
  top: -10px;
  right: 15px;
  background: var(--accent-gold);
  color: #000;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 10px;
  text-transform: uppercase;
}

/* Mobile Order Form */
.mobile-form-box {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: 18px;
  padding: 20px 16px;
}

.form-group-m {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group-m label {
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 600;
}

.form-input-m {
  background: rgba(6, 20, 14, 0.8);
  border: 1px solid var(--bg-dark-border);
  color: white;
  padding: 14px 16px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.98rem;
}

.form-input-m:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(6, 20, 14, 0.95);
}

.payment-toggle-mobile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pay-btn-m {
  background: rgba(6, 20, 14, 0.8);
  border: 1px solid var(--bg-dark-border);
  color: white;
  padding: 12px 10px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.pay-btn-m.active {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
}

/* FAQ Mobile */
.faq-section {
  padding: 32px 16px;
  background: white;
}

.faq-item-m {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-q-m {
  padding: 16px;
  background: var(--bg-light);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-a-m {
  display: none;
  padding: 16px;
  background: white;
  font-size: 0.88rem;
  color: #475569;
}

.faq-item-m.open .faq-a-m {
  display: block;
  border-top: 1px solid #f1f5f9;
}

/* Mobile Sticky Bottom CTA Bar */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: rgba(4, 18, 10, 0.96);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
  z-index: 9999;
}

.sticky-cta-price {
  display: flex;
  flex-direction: column;
}

.sticky-cta-price span {
  font-size: 0.7rem;
  color: var(--primary-light);
}

.sticky-cta-price strong {
  font-size: 1.25rem;
  color: var(--accent-gold);
  font-family: var(--font-heading);
}

.btn-sticky-tap {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  font-weight: 900;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

/* Floating WhatsApp Button for Mobile Users */
.btn-whatsapp-float {
  position: fixed;
  bottom: 70px;
  right: calc(50% - 225px);
  width: 50px;
  height: 50px;
  background: var(--whatsapp);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  z-index: 9998;
}

@media (max-width: 480px) {
  .btn-whatsapp-float {
    right: 15px;
  }
}

/* Toast Notification Mobile */
.live-toast-m {
  position: fixed;
  bottom: 75px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  width: 90%;
  max-width: 440px;
  background: white;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9990;
  border-left: 4px solid var(--primary);
  opacity: 0;
  transition: all 0.4s ease;
}

.live-toast-m.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-m-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.toast-m-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.toast-m-text {
  font-size: 0.8rem;
  color: var(--text-dark);
}

.toast-m-text strong {
  color: var(--primary-dark);
}

/* Success Modal Mobile */
.modal-overlay-m {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-overlay-m.active {
  opacity: 1;
  visibility: visible;
}

.modal-m-card {
  background: var(--bg-dark-card);
  border: 2px solid var(--primary);
  color: white;
  border-radius: 20px;
  padding: 25px 20px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.modal-m-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 15px;
}

.modal-m-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.modal-m-card p {
  color: #cbd5e1;
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.btn-close-m {
  background: var(--accent-gold);
  color: #000;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 25px;
  border: none;
  width: 100%;
  font-size: 0.95rem;
}
