/* ================================================================
   PharmCollect – Landing Page Stylesheet
   ================================================================ */
:root {
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;
  --blue-500: #3B82F6;
  --blue-600: #2563EB;
  --blue-700: #1D4ED8;
  --teal-50: #F0FDFA;
  --teal-600: #0D9488;
  --indigo-50: #EEF2FF;
  --indigo-600: #4F46E5;
  --green-50: #ECFDF5;
  --green-600: #16A34A;
  --amber-50: #FFFBEB;
  --amber-600: #D97706;
  --rose-50: #FFF1F2;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(17, 24, 39, 0.08);
  --shadow-md: 0 10px 28px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 24px 50px rgba(37, 99, 235, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

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

.btn-lg {
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 14px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: var(--white);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--white);
  color: var(--gray-900);
  border-color: var(--gray-200);
}

.btn-outline:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
}

.btn-ghost {
  color: var(--gray-700);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--gray-100);
}

.btn-white {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow 0.2s ease;
}

.navbar.scrolled {
  box-shadow: 0 6px 24px rgba(17, 24, 39, 0.06);
}

.nav-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.4px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
}

.nav-links a:hover {
  color: var(--blue-600);
}

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

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 16px 20px 20px;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-weight: 600;
  color: var(--gray-700);
}

.mobile-menu-actions {
  display: flex;
  gap: 10px;
  padding-top: 8px;
}

.mobile-menu-actions .btn {
  flex: 1;
}

/* ===== HERO ===== */
.hero {
  padding: 64px 0 72px;
  background: radial-gradient(circle at 85% 15%, rgba(59, 130, 246, 0.12), transparent 45%),
              radial-gradient(circle at 10% 80%, rgba(13, 148, 136, 0.08), transparent 40%),
              linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-700);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}

.hero-copy h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1.4px;
  color: var(--gray-900);
  margin-bottom: 18px;
}

.hero-lead {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  width: fit-content;
}

.metric-item strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--blue-700);
}

.metric-item span {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
}

.metric-divider {
  width: 1px;
  height: 32px;
  background: var(--gray-200);
}

/* Hero Visual Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 100%;
  max-width: 360px;
  background: var(--gray-50);
  border: 8px solid var(--gray-900);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding-bottom: 14px;
}

.mockup-header {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: var(--white);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-loc-label {
  font-size: 11px;
  opacity: 0.85;
  display: block;
}

.mockup-loc {
  font-size: 13px;
  font-weight: 700;
}

.mockup-status {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.mockup-slider {
  margin: 12px;
  overflow: hidden;
  border-radius: 14px;
  position: relative;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.mockup-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.mockup-slide {
  min-width: 100%;
  height: 170px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg) center / cover no-repeat;
  filter: blur(16px) brightness(0.92);
  transform: scale(1.15);
}

.mockup-slide img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mockup-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
  background: var(--white);
}

.m-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: var(--gray-200);
  cursor: pointer;
  transition: all 0.2s ease;
}

.m-dot.active {
  width: 18px;
  border-radius: 3px;
  background: var(--blue-600);
}

.mockup-rx-card {
  margin: 0 12px 12px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563EB, #0EA5E9);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mockup-rx-icon {
  font-size: 22px;
}

.mockup-rx-text {
  flex: 1;
}

.mockup-rx-text strong {
  display: block;
  font-size: 13px;
}

.mockup-rx-text span {
  font-size: 11px;
  opacity: 0.9;
}

.mockup-rx-btn {
  background: var(--white);
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}

.mockup-pharmacies {
  margin: 0 12px;
  display: grid;
  gap: 8px;
}

.mockup-ph-row {
  background: var(--white);
  padding: 10px 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}

.mockup-ph-row img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
}

.mockup-ph-row strong {
  display: block;
  font-size: 13px;
}

.mockup-ph-row span {
  font-size: 11px;
  color: var(--gray-500);
}

.pill-open {
  margin-left: auto;
  font-size: 11px !important;
  font-weight: 700;
  color: var(--green-600) !important;
  background: var(--green-50);
  padding: 3px 8px;
  border-radius: 999px;
}

.floating-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

.floating-card span {
  font-size: 22px;
}

.floating-card strong {
  display: block;
  font-size: 12px;
}

.floating-card small {
  font-size: 11px;
  color: var(--gray-500);
}

.fc-top {
  top: 34px;
  left: -18px;
}

.fc-bottom {
  bottom: 24px;
  right: -18px;
}

/* ===== PARTNERS ===== */
.partners-strip {
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  background: var(--white);
  padding: 20px 0;
}

.partners-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.partners-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.partner-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}

.partner-chip img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

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

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

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--gray-600);
  font-size: 16px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.fi-blue   { background: var(--blue-50); }
.fi-teal   { background: var(--teal-50); }
.fi-indigo { background: var(--indigo-50); }
.fi-amber  { background: var(--amber-50); }
.fi-green  { background: var(--green-50); }
.fi-rose   { background: var(--rose-50); }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--gray-600);
}

/* Current Partners Showcase */
.partners-showcase {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.partner-card {
  flex: 1 1 300px;
  max-width: 360px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-500);
  box-shadow: var(--shadow-md);
}

.partner-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.partner-logo-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  overflow: hidden;
}

.partner-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-monogram {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.4px;
  border: none;
}

.pm-blue   { background: var(--blue-50); color: var(--blue-700); }
.pm-teal   { background: var(--teal-50); color: var(--teal-600); }
.pm-indigo { background: var(--indigo-50); color: var(--indigo-600); }

.partner-type {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 4px 10px;
  border-radius: 999px;
}

.partner-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.partner-card p {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 16px;
  flex: 1;
}

.promo-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-600);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue-600);
  color: var(--white);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--gray-600);
}

/* Portals Grid */
.portals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.portal-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.portal-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-500);
  box-shadow: var(--shadow-md);
}

.portal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.portal-emoji {
  font-size: 28px;
}

.portal-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
}

.badge-teal   { background: var(--teal-50); color: var(--teal-600); }
.badge-indigo { background: var(--indigo-50); color: var(--indigo-600); }
.badge-amber  { background: var(--amber-50); color: var(--amber-600); }
.badge-green  { background: var(--green-50); color: var(--green-600); }

.portal-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.portal-card p {
  font-size: 13.5px;
  color: var(--gray-600);
  flex: 1;
  margin-bottom: 14px;
}

.portal-cta {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue-600);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: var(--white);
  padding: 56px 0;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-inner h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 6px;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 52px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-text {
  color: var(--white);
}

.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  max-width: 320px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-links a {
  display: block;
  font-size: 13.5px;
  padding: 4px 0;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead,
  .hero-metrics {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

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

  .fc-top,
  .fc-bottom {
    display: none;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .partners-inner {
    justify-content: center;
    text-align: center;
  }

  .partners-logos {
    justify-content: center;
  }

  .partner-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .features-grid,
  .steps-grid,
  .footer-inner,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 44px 0 56px;
  }

  .section {
    padding: 56px 0;
  }
}
