:root {
  /* Peakcare Premium Palette - Green & Mint Harmony */
  --pb-green: #1b8354;
  --pb-mint: #5cd399;
  --pb-lightgreen: #cdeadd;
  --pb-emerald: #10b981;
  --pb-slate: #1e2b37;
  --pb-white: #ffffff;
  
  /* Gradients */
  --pb-gradient-primary: linear-gradient(135deg, var(--pb-green) 0%, var(--pb-mint) 100%);
  --pb-gradient-glow: conic-gradient(from 0deg, var(--pb-green), var(--pb-mint), var(--pb-lightgreen), var(--pb-emerald), var(--pb-green));
}

/* --- Typography --- */
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

body {
  font-family: 'Figtree', sans-serif;
  -webkit-font-smoothing: antialiased;
  background: linear-gradient(180deg, #F4F8F7 0%, #E8F5EE 320px, #FFFFFF 1200px) no-repeat;
  background-attachment: fixed;
  background-color: #FFFFFF;
  padding-top: 72px;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1440px;
  height: 480px;
  background: radial-gradient(circle at top, rgba(92, 211, 153, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 10;
}

@media (max-width: 1024px) {
  body {
    padding-top: 65px;
  }
}

@media (max-width: 768px) {
  body::before {
    display: none;
  }
}

h1, h2, h3, .u-text-style-h1, .u-text-style-h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

em {
  font-style: italic;
  font-family: 'Outfit', sans-serif;
}

/* --- Premium Buttons (Rotating Border) --- */
.pb-btn-premium {
  position: relative;
  display: inline-flex;
  padding: 2px;
  border-radius: 9999px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none !important;
}

.pb-btn-premium::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, #1b8354, #5cd399, #cdeadd, #10b981, #5cd399, #1b8354);
  transform: translate(-50%, -50%) rotate(0deg);
  animation: pb-spin 4s linear infinite;
  z-index: 0;
}

.pb-btn-premium:hover {
  transform: scale(1.02);
}

.pb-btn-premium-inner {
  position: relative;
  z-index: 1;
  background: var(--pb-slate);
  color: white;
  padding: 14px 28px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- Glassmorphism Components --- */
.pb-glass-card {
  position: relative;
  background: var(--pb-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--pb-glass-border);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* --- Animations --- */
@keyframes pb-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- Reveal Animations --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), 
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Premium Reveal States */
[data-reveal].is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* --- Section Subheadings --- */
.premium-subheading {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(30, 40, 60, 0.7);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

/* --- Physician Cards --- */
.physician-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.physician-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08);
}

/* --- Testimonial / Result Badges --- */
.g-tag {
    display: inline-flex;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.g-tag-before {
    background: #F3F0FF;
    color: #8B7AAB;
}

.g-tag-after {
    background: #E8F5E9;
    color: #4CAF50;
}

/* Fallback: If JS is disabled or fails, show content after a short delay */
.no-js [data-reveal],
[data-reveal]:not(.is-visible) {
  /* Commenting out opacity: 0 to ensure visibility if JS fails */
  /* opacity: 0; */
}

/* Ensure sections have a minimum height to prevent layout shift */
section {
  min-height: 10vh;
}

/* --- Marquee --- */
.pb-marquee-container {
  overflow: hidden;
  display: flex;
  white-space: nowrap;
}

.pb-marquee-content {
  display: flex;
  animation: pb-marquee 30s linear infinite;
}

@keyframes pb-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Product Card Refinements --- */
.pb-card-vial-wrap {
    display: flex;
    justify-content: center;
    margin: 0.5rem 0;
}

.pb-card-vial-centered {
    max-width: 140px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
    transition: transform 0.4s ease;
}

.pb-product-premium-card:hover .pb-card-vial-centered {
    transform: scale(1.05) translateY(-5px);
}

.pb-reviews-center {
    text-align: center;
    width: 100%;
    margin-bottom: 0.5rem;
}

.pb-reviews-center .pb-stars-wrap {
    justify-content: center;
}

.pb-card-content {
    text-align: center;
}

.pb-flex-between {
    flex-direction: column;
    gap: 0.5rem;
}

.pb-prod-pricing {
    text-align: center;
}

/* --- Utility Colors --- */
.u-color-green { color: var(--pb-green); }
.u-color-mint { color: var(--pb-mint); }
.u-color-emerald { color: var(--pb-emerald); }
