/* ==========================================================================
   PILMATE — REUSABLE COMPONENTS  (Purple Premium Theme)
   Buttons, cards, badges, forms, phone mockup, store buttons, trust items.
   ========================================================================== */

@import url('./variables.css');

/* --------------------------------------------------------------------------
   BADGE
   -------------------------------------------------------------------------- */
.badge {
  display: inline-block;
  background: rgba(181, 137, 212, 0.18);
  color: var(--purple-light);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1rem;
  border: 1px solid rgba(181, 137, 212, 0.25);
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */

/* Primary — white pill (used on dark hero backgrounds) */
.btn-primary {
  background: white;
  color: var(--purple-primary);
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  letter-spacing: -0.01em;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.25);
}

.btn-primary:focus-visible,
.btn-outline:focus-visible,
.btn-teal:focus-visible,
.nav-cta:focus-visible {
  outline: 2px solid var(--teal-mid);
  outline-offset: 2px;
}

/* Purple fill variant */
.btn-primary.btn-teal-style {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 6px 20px rgba(86, 0, 130, 0.35);
}

.btn-primary.btn-teal-style:hover {
  box-shadow: 0 12px 32px rgba(86, 0, 130, 0.50);
  transform: translateY(-2px);
}

/* Outline — ghost on dark backgrounds */
.btn-outline {
  background: transparent;
  color: white;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: border-color var(--transition), background var(--transition);
  display: inline-flex;
  align-items: center;
  letter-spacing: -0.01em;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
}

/* Solid purple — form submit / CTA */
.btn-teal {
  background: var(--gradient-primary);
  color: white;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  width: 100%;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: -0.01em;
  box-shadow: 0 4px 16px rgba(86, 0, 130, 0.3);
}

.btn-teal:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(86, 0, 130, 0.45);
}

/* Nav CTA pill */
.nav-cta {
  background: var(--gradient-primary);
  color: white;
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px rgba(86, 0, 130, 0.3);
}

.nav-cta:hover {
  opacity: 0.9;
  box-shadow: 0 6px 20px rgba(86, 0, 130, 0.45);
}

/* --------------------------------------------------------------------------
   FEATURE CARD
   -------------------------------------------------------------------------- */
.feat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-med), transform var(--transition-med), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 1;
  transition: opacity var(--transition-med);
  border-radius: inherit;
  pointer-events: none;
}

.feat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
  border-color: rgba(86, 0, 130, 0.2);
}

.feat-card:hover::before {
  background: linear-gradient(135deg, rgba(86, 0, 130, 0.08) 0%, rgba(124, 58, 165, 0.14) 100%);
}

.feat-icon {
  width: 46px;
  height: 46px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 20px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  transition: background var(--transition), box-shadow var(--transition);
}

.feat-card:hover .feat-icon {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(86, 0, 130, 0.3);
}

.feat-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.45rem;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}

.feat-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   HOW IT WORKS — FLOW CARD
   -------------------------------------------------------------------------- */
.flow-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-med), background var(--transition-med);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.flow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
}

.flow-card:hover {
  border-color: rgba(181, 137, 212, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.flow-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.flow-title {
  font-size: 18px;
  font-weight: 800;
  color: white;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 2px 8px rgba(86, 0, 130, 0.4);
}

.step-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   PROCESS STEP CARD (4-step How It Works)
   -------------------------------------------------------------------------- */
.step-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  text-align: center;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-med), border-color var(--transition-med), background var(--transition-med);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(181, 137, 212, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

.step-card-num {
  width: 40px;
  height: 40px;
  margin: 0 auto var(--space-2);
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(86, 0, 130, 0.4);
}

.step-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-2);
  border-radius: 14px;
  background: rgba(238, 231, 246, 0.12);
  color: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.step-card-title {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.step-card-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
  margin: 0;
}

/* --------------------------------------------------------------------------
   CONSULTATION
   -------------------------------------------------------------------------- */
.consult-visual {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2rem;
}

.consult-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.consult-step:last-child {
  border-bottom: none;
}

.c-num {
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  border-radius: 50%;
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(86, 0, 130, 0.3);
}

.c-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.c-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.consult-benefits {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

.benefit-item .check {
  width: 22px;
  height: 22px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 11px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   PHARMACY PARTNER BOX & BENEFITS
   -------------------------------------------------------------------------- */
.ph-benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ph-icon {
  width: 42px;
  height: 42px;
  background: var(--teal-light);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 18px;
  flex-shrink: 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.ph-benefit:hover .ph-icon {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(86, 0, 130, 0.3);
}

.ph-content h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.ph-content p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.pharmacy-cta-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.pharmacy-cta-box h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
}

.pharmacy-cta-box p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   FORMS
   -------------------------------------------------------------------------- */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.form-input {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--ink);
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  background: var(--white);
  font-weight: 500;
}

.form-input::placeholder {
  color: var(--muted);
  font-weight: 400;
}

.form-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(86, 0, 130, 0.1);
}

.form-input.error {
  border-color: #e74c3c;
}

.form-error-msg {
  font-size: 12px;
  color: #e74c3c;
  margin-top: -0.5rem;
  font-weight: 500;
}

.form-success {
  background: var(--teal-light);
  border: 1px solid rgba(86, 0, 130, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--teal-dark);
  display: none;
  font-weight: 500;
}

.form-success.visible {
  display: block;
}

/* --------------------------------------------------------------------------
   SUBSCRIPTION CARD
   -------------------------------------------------------------------------- */
.sub-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: box-shadow var(--transition-med), transform var(--transition-med), border-color var(--transition);
}

.sub-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(86, 0, 130, 0.2);
}

.sub-num {
  font-size: 42px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-heading);
  line-height: 1;
  letter-spacing: -0.04em;
}

.sub-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 0.35rem;
}

.sub-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 0.6rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   DELIVERY CARD
   -------------------------------------------------------------------------- */
.del-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: box-shadow var(--transition-med), transform var(--transition-med);
}

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

.del-card.featured {
  border-color: transparent;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-md);
}

.del-card.featured:hover {
  box-shadow: var(--shadow-lg);
}

.del-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.del-card.featured .del-title {
  color: var(--white);
}

.del-card.featured .del-desc {
  color: rgba(255, 255, 255, 0.88);
}

.del-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

/* --------------------------------------------------------------------------
   TESTIMONIAL CARD
   -------------------------------------------------------------------------- */
.testi-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: box-shadow var(--transition-med), transform var(--transition-med), border-color var(--transition);
}

.testi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(86, 0, 130, 0.15);
}

.testi-stars {
  color: var(--teal);
  font-size: 13px;
  margin-bottom: 0.8rem;
  letter-spacing: 3px;
}

.testi-text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 1.1rem;
  font-style: italic;
  font-weight: 400;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testi-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.testi-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.testi-role {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   TRUST ITEMS
   -------------------------------------------------------------------------- */
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink2);
  font-size: 13px;
  font-weight: 600;
}

.trust-icon {
  width: 36px;
  height: 36px;
  background: var(--teal-light);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 16px;
  flex-shrink: 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.trust-item:hover .trust-icon {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 3px 10px rgba(86, 0, 130, 0.25);
}

/* --------------------------------------------------------------------------
   STORE BUTTONS
   -------------------------------------------------------------------------- */
.store-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.store-btn-icon {
  font-size: 26px;
  line-height: 1;
}

.store-btn-text {
  text-align: left;
}

.store-btn-text small {
  font-size: 10px;
  display: block;
  opacity: 0.65;
  letter-spacing: 0.02em;
}

.store-btn-text strong {
  font-size: 15px;
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* --------------------------------------------------------------------------
   HERO APP SHOWCASE (slider)
   -------------------------------------------------------------------------- */
.hero-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: min(620px, 72vh);
  perspective: 1400px;
  animation: hero-showcase-float 6s ease-in-out infinite;
  touch-action: pan-y;
}

@keyframes hero-showcase-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.hero-showcase-glow {
  position: absolute;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181, 137, 212, 0.35) 0%, rgba(86, 0, 130, 0.12) 45%, transparent 72%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
  animation: hero-glow-pulse 5s ease-in-out infinite;
}

@keyframes hero-glow-pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.06); }
}

.hero-showcase-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 0;
}

.hero-showcase-ring--1 {
  width: 340px;
  height: 340px;
  animation: hero-ring-spin 18s linear infinite;
}

.hero-showcase-ring--2 {
  width: 420px;
  height: 420px;
  animation: hero-ring-spin 26s linear infinite reverse;
}

@keyframes hero-ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-slider {
  position: relative;
  width: min(290px, 38vw);
  aspect-ratio: 390 / 844;
  max-height: min(620px, 68vh);
  transform-style: preserve-3d;
  z-index: 2;
  touch-action: pan-y;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translate3d(48px, 16px, -100px) scale(0.86) rotateY(-10deg);
  transition:
    transform 0.75s cubic-bezier(0.34, 1.2, 0.64, 1),
    opacity 0.55s ease,
    filter 0.55s ease;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotateY(0deg);
  z-index: 4;
  pointer-events: auto;
  filter: brightness(1);
}

.hero-slide.is-prev {
  opacity: 0.4;
  transform: translate3d(-58px, 14px, -140px) scale(0.8) rotateY(14deg);
  z-index: 2;
  filter: brightness(0.85);
}

.hero-slide.is-next {
  opacity: 0.65;
  transform: translate3d(52px, 10px, -70px) scale(0.9) rotateY(-12deg);
  z-index: 3;
  filter: brightness(0.92);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 28px 56px rgba(15, 5, 25, 0.45));
  user-select: none;
  -webkit-user-drag: none;
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: var(--space-3);
  z-index: 5;
  position: relative;
}

.hero-slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition:
    width 0.35s ease,
    background 0.35s ease,
    transform 0.25s ease;
}

.hero-slider-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.15);
}

.hero-slider-dot.is-active {
  width: 28px;
  background: var(--white);
}

.hero-slider-dot:focus-visible {
  outline: 2px solid var(--purple-light);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-showcase,
  .hero-showcase-glow,
  .hero-showcase-ring--1,
  .hero-showcase-ring--2 {
    animation: none;
  }

  .hero-slide {
    transition-duration: 0.01ms;
  }
}

/* Legacy phone mockup (unused on home — kept for reference pages) */
.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: 220px;
  height: 430px;
  background: var(--ink);
  border-radius: 36px;
  border: 8px solid #1a0a2e;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(39, 12, 60, 0.6);
  z-index: 1;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.phone-header {
  background: var(--gradient-primary);
  padding: 16px 14px 12px;
  color: white;
}

.phone-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.phone-header-top span {
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

.phone-loc {
  font-size: 10px;
  opacity: 0.85;
}

.phone-search {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-body {
  padding: 10px;
  flex: 1;
  overflow: hidden;
}

.phone-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}

.phone-cat {
  background: white;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 600;
  color: var(--ink);
}

.phone-cat .cat-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.phone-recent-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.med-item {
  background: white;
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.med-dot {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--teal-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.med-info { flex: 1; }

.med-name {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.med-sub {
  font-size: 9px;
  color: var(--muted);
}

.med-price {
  font-size: 10px;
  font-weight: 700;
  color: var(--teal);
}

.phone-nav {
  background: white;
  border-top: 1px solid var(--border);
  padding: 8px;
  display: flex;
  justify-content: space-around;
}

.p-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 8px;
  color: var(--muted);
  font-weight: 500;
}

.p-nav-item.active {
  color: var(--teal);
}

.p-nav-item .dot {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--teal-light);
}

.p-nav-item.active .dot {
  background: var(--gradient-primary);
}

/* --------------------------------------------------------------------------
   ABOUT PAGE — STAT & TEAM CARDS
   -------------------------------------------------------------------------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.stat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: box-shadow var(--transition-med), transform var(--transition-med), border-color var(--transition);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(86, 0, 130, 0.2);
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-heading);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 0.4rem;
  font-weight: 500;
}

/* Team member card */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.team-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: box-shadow var(--transition-med), transform var(--transition-med), border-color var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(86, 0, 130, 0.15);
}

.team-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: white;
  margin: 0 auto 1rem;
  box-shadow: 0 6px 20px rgba(86, 0, 130, 0.3);
}

.team-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-heading);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.team-role {
  font-size: 13px;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-bio {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   CONTACT PAGE
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 20px;
  flex-shrink: 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.contact-info-item:hover .contact-info-icon {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(86, 0, 130, 0.3);
}

.contact-info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.contact-note {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--teal-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--teal);
}

.contact-note p {
  font-size: 13px;
  color: var(--teal-dark);
  line-height: 1.7;
  margin: 0;
}

.contact-note a {
  color: var(--teal);
  font-weight: 600;
}
