/* ==========================================================================
   Leanifi Pharmacy - Coming Soon One-Pager Stylesheet
   Theme: Matched to e-com-fe-main design system (Deep Violet, Royal Purple, Mid Violet, Emerald)
   Font: Plus Jakarta Sans
   ========================================================================== */

:root {
  /* LeanifiRx brand palette */
  --leanifi-deep: #2e1a6b;
  --leanifi-teal: #4b2e9b;
  --leanifi-teal-strong: #2e1a6b;
  --leanifi-teal-soft: #7b55cc;
  --leanifi-accent: #7b55cc;
  --leanifi-accent-strong: #4b2e9b;
  --leanifi-dark: #2e1a6b;
  --leanifi-mint: #7b55cc;
  --leanifi-light-mint: #ffffff;
  --leanifi-cream: #ffffff;
  --leanifi-white: #ffffff;

  /* Leanifi pharmacy green & emerald accents */
  --leanifi-green: #0f5f5e;
  --leanifi-green-strong: #0a4847;
  --leanifi-green-soft: #1a7170;
  --leanifi-green-accent: #10b981;
  --leanifi-green-accent-light: #34d399;
  --leanifi-green-mint: #b9e4d9;
  --leanifi-green-light: #ecf7f2;
  --leanifi-green-cream: #f8fbf9;

  /* App semantic tokens */
  --background: #ffffff;
  --foreground: #231f20;
  --foreground-muted: #5c5668;
  --foreground-subtle: #8e889b;
  --heading: #2e1a6b;
  --surface: #ffffff;
  --surface-alt: #f8f6fc;
  --surface-tint: #f3effa;
  --border-soft: rgba(46, 26, 107, 0.1);
  --border-medium: rgba(75, 46, 155, 0.2);
  --shadow-soft: 0 1px 2px rgba(46, 26, 107, 0.04), 0 8px 24px -12px rgba(75, 46, 155, 0.12);
  --shadow-lifted: 0 12px 35px -8px rgba(75, 46, 155, 0.22), 0 3px 8px rgba(46, 26, 107, 0.06);
  --shadow-glow: 0 0 25px rgba(123, 85, 204, 0.35);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  --max-w: 1280px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--heading);
  line-height: 1.25;
}

p {
  color: var(--foreground-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--leanifi-deep) 0%, var(--leanifi-teal) 45%, var(--leanifi-teal-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.gradient-green {
  background: linear-gradient(135deg, var(--leanifi-green-strong) 0%, var(--leanifi-green) 50%, var(--leanifi-green-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Badge styles */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
}

.badge-purple {
  background: rgba(75, 46, 155, 0.08);
  border: 1px solid rgba(75, 46, 155, 0.2);
  color: var(--leanifi-teal);
}

.badge-green {
  background: var(--leanifi-green-light);
  border: 1px solid var(--leanifi-green-mint);
  color: var(--leanifi-green);
}

.badge-live {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #dc2626;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  animation: pulse-red 2s infinite;
}

.pulse-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--leanifi-green-accent);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, #2e1a6b 0%, #4b2e9b 50%, #2e1a6b 100%);
  color: #ffffff;
  padding: 0.65rem 1rem;
  font-size: 0.825rem;
  font-weight: 600;
  text-align: center;
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.announcement-pill {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.announcement-link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 700;
  cursor: pointer;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
  transition: all 0.3s ease;
}

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

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Brand Logo (Matching BrandLogo.tsx clipping logic) */
.brand-logo-container {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-box {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 48px;
  width: 175px;
}

.brand-logo-box img {
  position: absolute;
  left: 0;
  top: 50%;
  height: 320%;
  width: auto;
  max-width: none;
  transform: translateY(-50%);
  object-fit: contain;
  object-position: left;
  pointer-events: none;
  user-select: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--foreground-muted);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--leanifi-teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: normal;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-primary {
  background-color: var(--leanifi-teal);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(75, 46, 155, 0.25);
}

.btn-primary:hover {
  background-color: var(--leanifi-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(75, 46, 155, 0.35);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--leanifi-teal);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background-color: var(--surface-tint);
  border-color: var(--leanifi-teal);
}

.btn-emerald {
  background-color: var(--leanifi-green);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 95, 94, 0.25);
}

.btn-emerald:hover {
  background-color: var(--leanifi-green-strong);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.9rem 1.85rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--heading);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(123, 85, 204, 0.12) 0%, rgba(255, 255, 255, 0) 60%),
              radial-gradient(circle at 10% 80%, rgba(15, 95, 94, 0.08) 0%, rgba(255, 255, 255, 0) 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--heading);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--foreground-muted);
  line-height: 1.7;
  max-width: 580px;
}

/* Hero Pillars Grid & CTAs */
.hero-pillars-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.hero-pillar-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(46, 26, 107, 0.04);
}

.hero-pillar-card:hover {
  transform: translateY(-2px);
  border-color: var(--leanifi-teal-soft);
  box-shadow: var(--shadow-soft);
}

.hero-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #efeaf8;
  color: var(--leanifi-teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hero-pillar-icon svg {
  width: 22px;
  height: 22px;
}

.hero-pillar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.15rem;
}

.hero-pillar-text {
  font-size: 0.825rem;
  color: var(--foreground-muted);
  line-height: 1.4;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

/* Hero Media Showcase */
.hero-media-wrap {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lifted);
  border: 1px solid var(--border-soft);
  height: 480px;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46, 26, 107, 0.1) 0%, rgba(46, 26, 107, 0.6) 100%);
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(75, 46, 155, 0.15);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.15rem;
  box-shadow: var(--shadow-lifted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 4s ease-in-out infinite alternate;
}

.floating-badge-1 {
  top: 24px;
  right: -20px;
}

.floating-badge-2 {
  bottom: 30px;
  left: -20px;
  animation-delay: -2s;
}

.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.badge-icon-purple {
  background: #efeaf8;
  color: var(--leanifi-teal);
}

.badge-icon-green {
  background: #e8f5f2;
  color: var(--leanifi-green);
}

.badge-info-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--heading);
}

.badge-info-sub {
  font-size: 0.725rem;
  color: var(--foreground-muted);
}

@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Trust Bar */
.trust-bar {
  background: #ffffff;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 2.25rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--surface-tint);
  color: var(--leanifi-teal);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.trust-title {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.15rem;
}

.trust-subtitle {
  font-size: 0.775rem;
  color: var(--foreground-muted);
  line-height: 1.35;
}

/* Section Header Generic */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--leanifi-teal);
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--foreground-muted);
}

/* Category Grid */
.categories-section {
  padding: 5rem 0;
  background-color: var(--surface-alt);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cat-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 1.85rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--leanifi-teal-soft);
  box-shadow: var(--shadow-lifted);
}

.cat-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.cat-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.cat-card-icon.purple { background: #efeaf8; color: var(--leanifi-teal); }
.cat-card-icon.emerald { background: #e8f5f2; color: var(--leanifi-green); }
.cat-card-icon.amber { background: #fef3c7; color: #b45309; }
.cat-card-icon.blue { background: #e0f2fe; color: #0284c7; }
.cat-card-icon.rose { background: #ffe4e6; color: #e11d48; }
.cat-card-icon.violet { background: #ede9fe; color: #6d28d9; }

.cat-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.5rem;
}

.cat-desc {
  font-size: 0.875rem;
  color: var(--foreground-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cat-pill-item {
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--heading);
  border: 1px solid var(--border-soft);
}

/* Feature Spotlight: Easy Prescription Upload (Purple Card) */
.spotlight-section {
  padding: 5rem 0;
  background: #ffffff;
}

.spotlight-box {
  background: linear-gradient(135deg, #2e1a6b 0%, #1e1045 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lifted);
}

.spotlight-box::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 85, 204, 0.4) 0%, rgba(46, 26, 107, 0) 70%);
  pointer-events: none;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.spotlight-content h3 {
  color: #ffffff;
  font-size: 2.25rem;
  line-height: 1.2;
  margin: 1rem 0;
}

.spotlight-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.spotlight-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.spotlight-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: #ffffff;
}

.spotlight-checklist svg {
  color: var(--leanifi-green-accent-light);
  flex-shrink: 0;
}

.spotlight-media-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.upload-preview-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.upload-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.25);
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.upload-status-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.upload-status-sub {
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.15rem;
}

.upload-flow-visual {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.18);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.upload-step-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.upload-step-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.upload-step-icon.active {
  background: #34d399;
  color: #064e3b;
}

.upload-step-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
}

.upload-step-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.upload-step-connector {
  width: 2px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
  margin-left: 19px;
}

/* How It Works - 4 Steps */
.how-section {
  padding: 5rem 0;
  background: var(--surface-alt);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  position: relative;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--leanifi-teal-soft);
}

.step-number {
  width: 44px;
  height: 44px;
  background: #f3effa;
  border: 2px solid rgba(75, 46, 155, 0.2);
  color: var(--leanifi-teal);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--foreground-muted);
  line-height: 1.6;
}


/* Comparison Table */
.comparison-section {
  padding: 5rem 0;
  background: var(--surface-alt);
}

.comparison-table-wrapper {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  background: #ffffff;
  border-bottom: 2px solid var(--border-soft);
}

.comparison-table th.brand-col {
  background: #f3effa;
  color: var(--leanifi-teal-strong);
  border-bottom-color: rgba(75, 46, 155, 0.2);
}

.comparison-table td {
  padding: 1.15rem 1.5rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-soft);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.brand-col {
  background: rgba(243, 239, 250, 0.5);
  font-weight: 600;
  color: var(--leanifi-teal-strong);
}

/* FAQ Accordion */
.faq-section {
  padding: 5rem 0;
  background: #ffffff;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item.active {
  border-color: var(--leanifi-teal-soft);
  box-shadow: var(--shadow-soft);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-arrow {
  transition: transform 0.3s ease;
  color: var(--leanifi-teal);
  font-size: 1.25rem;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease, opacity 0.25s ease;
  font-size: 0.925rem;
  color: var(--foreground-muted);
  line-height: 1.7;
  opacity: 0;
  visibility: hidden;
}

.faq-item.active .faq-answer {
  max-height: 800px;
  padding: 0 1.5rem 1.35rem;
  opacity: 1;
  visibility: visible;
}

/* Countdown & Final CTA */
.final-cta-section {
  padding: 5rem 0;
  background: radial-gradient(circle at 50% 50%, rgba(75, 46, 155, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
}

.final-cta-card {
  background: linear-gradient(135deg, #2e1a6b 0%, #4b2e9b 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 2.5rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lifted);
}

.launch-summary-card {
  max-width: 620px;
  margin: 2rem auto 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  text-align: left;
}

.launch-summary-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.launch-summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 0;
  margin: 0;
}

.launch-summary-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.45;
}

.launch-summary-item svg {
  color: #34d399;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  min-width: 90px;
  text-align: center;
}

.countdown-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.countdown-unit {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Footer (Matched directly to e-com-fe-main Footer.tsx) */
.site-footer {
  border-top: 1px solid rgba(46, 26, 107, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, rgba(123, 85, 204, 0.05) 100%);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--foreground-muted);
}

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

.dgda-badge-box {
  margin-top: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(75, 46, 155, 0.2);
  background: rgba(123, 85, 204, 0.08);
  padding: 0.65rem 0.95rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dgda-badge-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dgda-badge-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--leanifi-teal);
}

.dgda-badge-num {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--heading);
}

.mobile-menu-cta {
  display: none;
}

.footer-bottom {
  border-top: 1px solid rgba(46, 26, 107, 0.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.775rem;
  color: var(--foreground-subtle);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-image-frame {
    height: 320px;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spotlight-grid {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
  }
  .spotlight-box {
    padding: 2.5rem 1.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Prevent any element from causing horizontal scroll */
  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Header & Navigation */
  .site-header {
    height: 64px;
  }

  .nav-wrapper {
    height: 64px;
    gap: 0.5rem;
  }

  .brand-logo-box {
    height: 38px;
    width: 135px;
  }

  .nav-menu {
    display: none;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .nav-badge-desktop {
    display: none !important;
  }

  /* Explore products button always prominent on mobile */
  .nav-explore-btn {
    display: inline-flex !important;
    padding: 0.45rem 0.85rem !important;
    font-size: 0.8rem !important;
    border-radius: var(--radius-sm);
    white-space: nowrap !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--surface-alt);
    border: 1px solid var(--border-soft);
    color: var(--heading);
    cursor: pointer;
    flex-shrink: 0;
  }

  .mobile-menu-cta {
    display: block !important;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-soft);
  }

  /* Announcement Bar */
  .announcement-bar {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }

  .announcement-content {
    gap: 0.35rem;
    line-height: 1.4;
  }

  /* Hero Section */
  .hero-section {
    padding: 2rem 0 3rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-content {
    gap: 1.25rem;
  }

  .hero-title {
    font-size: 2.15rem;
    line-height: 1.2;
    word-break: break-word;
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-pillars-grid {
    gap: 0.75rem;
  }

  .hero-pillar-card {
    padding: 0.75rem 1rem;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
  }

  .hero-cta-row .btn {
    width: 100% !important;
    justify-content: center;
    padding: 0.85rem 1.5rem;
  }

  .hero-media-wrap {
    margin-top: 0.5rem;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-lg);
  }

  .hero-image-frame {
    height: 250px;
    border-radius: var(--radius-lg);
    width: 100%;
  }

  .floating-badge {
    padding: 0.55rem 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
  }

  .floating-badge-1 {
    top: 10px;
    right: 8px;
    transform: scale(0.85);
    transform-origin: top right;
  }

  .floating-badge-2 {
    bottom: 10px;
    left: 8px;
    transform: scale(0.85);
    transform-origin: bottom left;
  }

  /* Trust Bar */
  .trust-bar {
    padding: 1.5rem 0;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .trust-item {
    padding: 0.25rem 0;
  }

  /* Categories Section */
  .categories-section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-desc {
    font-size: 0.925rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .cat-card {
    padding: 1.25rem;
  }

  /* Spotlight Prescription Upload (Purple Card) */
  .spotlight-section {
    padding: 3rem 0;
    overflow: hidden;
  }

  .spotlight-box {
    padding: 1.75rem 1.15rem !important;
    border-radius: var(--radius-lg) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .spotlight-box::after {
    display: none !important;
  }

  .spotlight-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .spotlight-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .spotlight-content h3 {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
    margin: 0.75rem 0 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .spotlight-content p {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.25rem !important;
    word-break: break-word !important;
  }

  .spotlight-checklist {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    margin-bottom: 1.5rem !important;
    width: 100% !important;
  }

  .spotlight-checklist li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.65rem !important;
    font-size: 0.85rem !important;
    line-height: 1.45 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    min-width: 0 !important;
  }

  .spotlight-checklist svg {
    flex-shrink: 0;
    margin-top: 2px;
  }

  .spotlight-content .btn {
    width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.875rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box !important;
  }

  .spotlight-media-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 1.15rem !important;
    margin-top: 0.5rem !important;
    box-sizing: border-box !important;
  }

  .upload-preview-box {
    gap: 1rem;
    width: 100%;
  }

  .upload-status-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    padding: 0.75rem 0.9rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .upload-status-title {
    font-size: 0.875rem;
  }

  .upload-status-sub {
    font-size: 0.725rem;
  }

  .upload-flow-visual {
    padding: 0.85rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .upload-step-item {
    gap: 0.65rem !important;
    min-width: 0 !important;
  }

  .upload-step-label {
    font-size: 0.825rem !important;
  }

  .upload-step-sub {
    font-size: 0.725rem !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* How It Works */
  .how-section {
    padding: 3rem 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-card {
    padding: 1.5rem 1.25rem;
  }

  /* Launch Countdown */
  .final-cta-section {
    padding: 3rem 0;
  }

  .final-cta-card {
    padding: 2rem 1.15rem;
    border-radius: var(--radius-lg);
  }

  .final-cta-card h2 {
    font-size: 1.75rem;
    margin-top: 0.75rem;
    word-break: break-word;
  }

  .launch-summary-card {
    padding: 1.15rem;
    margin: 1.25rem auto 1.5rem;
  }

  .launch-summary-item {
    font-size: 0.875rem;
    line-height: 1.4;
  }

  .countdown-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 1.5rem 0;
  }

  .countdown-box {
    min-width: 62px;
    padding: 0.65rem 0.45rem;
  }

  .countdown-number {
    font-size: 1.55rem;
  }

  .final-cta-card .btn {
    width: 100% !important;
    justify-content: center;
    padding: 0.85rem 1rem;
    white-space: normal;
  }

  /* FAQ Accordion Mobile Fix */
  .faq-section {
    padding: 3rem 0;
  }

  .faq-question {
    font-size: 0.925rem;
    padding: 1.15rem 1.25rem;
    gap: 0.5rem;
  }

  .faq-question span {
    word-break: break-word;
  }

  /* Strictly hide closed answer with 0 height and 0 padding */
  .faq-answer {
    max-height: 0 !important;
    padding: 0 1.25rem 0 1.25rem !important;
    font-size: 0.875rem !important;
    opacity: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
    line-height: 1.6 !important;
    box-sizing: border-box !important;
  }

  /* Expand when active */
  .faq-item.active .faq-answer {
    max-height: 800px !important;
    padding: 0 1.25rem 1.25rem 1.25rem !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Footer */
  .site-footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 380px) {
  .brand-logo-box {
    width: 115px;
    height: 32px;
  }

  .nav-explore-btn {
    padding: 0.35rem 0.55rem !important;
    font-size: 0.725rem !important;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .countdown-box {
    min-width: 55px;
    padding: 0.5rem 0.35rem;
  }

  .countdown-number {
    font-size: 1.35rem;
  }

  .spotlight-content h3 {
    font-size: 1.35rem !important;
  }
}
