:root{
  --primary: #006aff;
  --primary-glow: rgba(0, 106, 255, 0.15);
  --accent: #00d2ff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #f1f5f9;
  --soft: #f8fbff;
  --card-shadow: 0 10px 40px -15px rgba(15, 23, 42, 0.1);
  --card-hover-shadow: 0 25px 60px -20px rgba(15, 23, 42, 0.18);
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

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

.nav-wrap { 
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px);
  position: fixed; 
  top: 15px; 
  left: 0; 
  right: 0; 
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-wrap.scrolled {
  top: 0;
}

.nav-wrap.scrolled .top-nav {
  margin-top: 0;
  border-radius: 0 0 24px 24px;
  max-width: 100%;
  width: 100%;
  border-left: none;
  border-right: none;
  border-top: none;
  background: rgba(255, 255, 255, 0.95);
}

.top-nav { 
  background: rgba(255, 255, 255, 0.85); 
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px; 
  padding: 8px 12px 8px 20px; 
  max-width: 1140px; 
  margin: 0 auto; 
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08); 
  width: calc(100% - 32px); 
}

.nav-link-custom {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link-custom:hover::after { width: 100%; }
.nav-link-custom:hover { color: var(--primary) !important; }

.brand-img { height: 38px; width: auto; transition: transform 0.3s ease; }
.navbar-brand:hover .brand-img { transform: scale(1.04); }

.hero { 
  position: relative; 
  overflow: hidden; 
  background: radial-gradient(120% 120% at 50% 0%, #f0f7ff 0, #fff 100%); 
  padding-top: 180px !important;
  padding-bottom: 120px !important;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--primary-glow) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent);
  pointer-events: none;
}

.hero-title { 
  font-size: clamp(2.8rem, 6.5vw, 4.5rem); 
  font-weight: 800; 
  line-height: 1.05; 
  letter-spacing: -0.04em; 
  color: #0f172a; 
}

.hero-title span.text-primary {
  display: block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 20px rgba(0, 106, 255, 0.1));
}

.hero-copy { 
  max-width: 680px; 
  font-size: 1.2rem; 
  color: #64748b; 
  line-height: 1.65; 
  font-weight: 450;
}

.dashboard-wrap { perspective: 1000px; margin-top: 4rem; }
.dashboard { border-radius: 1.5rem; box-shadow: 0 30px 60px rgba(0,0,0,0.12); border: 1px solid rgba(0,0,0,0.05); transform: rotateX(5deg); transition: transform 0.5s ease; width: 100%; max-width: 1000px; margin: 0 auto; }
.dashboard-wrap:hover .dashboard { transform: rotateX(0deg); }

.metric-tag { position: absolute; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); padding: 0.85rem 1.25rem; border-radius: 1rem; display: flex; align-items: center; gap: 0.75rem; box-shadow: 0 10px 30px rgba(0,0,0,0.08); border: 1px solid rgba(255,255,255,0.4); z-index: 5; text-align: left; }
.metric-tag i { font-size: 1.5rem; color: var(--primary); width: 40px; height: 40px; background: #f0f7ff; display: flex; align-items: center; justify-content: center; border-radius: 0.75rem; }
.metric-tag small { display: block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em; color: #888; margin-bottom: 2px; }
.metric-tag strong { display: block; font-size: 1.1rem; color: #0f172a; }
.tag-left { top: 15%; left: 0%; }
.tag-right { top: 35%; right: 0%; }
.tag-bottom { bottom: 10%; left: 15%; }
.float-a { animation: float 6s ease-in-out infinite; }
.float-b { animation: float 6s ease-in-out infinite 1s; }
.float-c { animation: float 6s ease-in-out infinite 2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

.chip {
  background: #fff;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.text-justify { text-align: justify; }
.letter-spacing-sm { letter-spacing: -0.01em; }

.section-head { max-width: 800px; margin-bottom: 4rem; }

.btn-grad {
  background: linear-gradient(135deg, var(--primary), #0056cc);
  color: #fff !important;
  border: 0;
  border-radius: 12px;
  padding: 14px 28px;
  font-weight: 700;
  box-shadow: 0 10px 30px -5px rgba(0, 106, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-grad:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px -10px rgba(0, 106, 255, 0.4);
  color: #fff !important;
}

.dashboard-wrap { 
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 40px; 
  padding: 40px; 
  background: linear-gradient(145deg, #f0f7ff, #ffffff);
  box-shadow: 0 60px 120px -30px rgba(59, 130, 246, 0.15); 
  max-width: 1040px; 
  margin: 0 auto;
  transition: transform 0.5s ease;
}

.dashboard { 
  border-radius: 16px; 
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.15);
  transition: transform 0.5s ease;
}

.metric-tag { 
  position: absolute; 
  display: flex; 
  align-items: center; 
  gap: 14px; 
  background: rgba(255, 255, 255, 0.9); 
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 18px; 
  padding: 14px 18px; 
  box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.1); 
  text-align: left; 
  z-index: 5; 
}

.tag-left { left:-60px; top:20% }
.tag-right { right:-50px; top:40% }
.tag-bottom { left:120px; bottom:30px }

.metric-tag i { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: #f0f9ff; color: var(--primary); font-size: 14px; }
.metric-tag small { display: block; font-size: 9px; font-weight: 700; color: #94a3b8; letter-spacing: .05em; text-transform: uppercase; }
.metric-tag strong { font-size: 18px; font-weight: 750; line-height: 1.2; color: #0f172a; }
.metric-tag span { font-size: 11px; color: #10b981; font-weight: 600; }

.tag {
  background: white;
  border: 1px solid #eef2f6;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text);
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
}

.sticky-top { top: 100px; z-index: 5; }
.cardish { 
  position: relative; 
  height: 100%; 
  background: #fff; 
  border: 1px solid var(--border); 
  border-radius: 24px; 
  padding: 28px; 
  box-shadow: var(--card-shadow); 
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
  overflow: hidden; 
}

.cardish::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cardish:hover { 
  transform: translateY(-8px); 
  box-shadow: var(--card-hover-shadow);
  border-color: #e2e8f0;
}

.cardish:hover::before { opacity: 1; }

.icon-badge { 
  width: 52px; 
  height: 52px; 
  border-radius: 16px; 
  display: grid; 
  place-items: center; 
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe); 
  color: var(--primary); 
  font-size: 1.4rem; 
  box-shadow: inset 0 0 0 1px rgba(15, 143, 232, 0.1); 
  transition: all 0.3s ease; 
}

.cardish:hover .icon-badge {
  background: var(--primary);
  color: #fff;
  transform: rotate(-5deg) scale(1.1);
}

.section-title { 
  font-size: clamp(2.2rem, 3.8vw, 3.5rem); 
  font-weight: 800; 
  line-height: 1.1; 
  letter-spacing: -0.03em; 
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Animations */
.reveal { 
  opacity: 0; 
  transform: translateY(30px); 
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); 
}

.reveal.in-view { 
  opacity: 1; 
  transform: translateY(0); 
}

/* Stagger delay classes - will be applied by JS or manually */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

.float-a { animation: float 6s ease-in-out infinite; }
.float-b { animation: float 8s ease-in-out infinite; }
.float-c { animation: float 7s ease-in-out infinite; }

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

@keyframes shadowPulse {
  0%, 100% { box-shadow: 0 0 0 8px #fff, 0 10px 30px -10px rgba(0, 106, 255, 0.2); }
  50% { box-shadow: 0 0 0 15px rgba(224, 242, 254, 1), 0 20px 45px -12px rgba(0, 106, 255, 0.35); }
}

/* Stats enhancement */
.stats h2 { font-weight: 800; margin-bottom: 0; }
.count { font-variant-numeric: tabular-nums; }

/* Missing Layout & Component Styles */
.py-6 { padding: 7rem 0; }
.bg-soft { background: var(--soft); }
.stats { background: var(--soft); }
.letter { letter-spacing: .18em; }
.section-head { max-width: 760px; margin: 0 auto; }

/* Pharma Workflow Styles */
#workflow { background: #fff; }
.workflow-container { position: relative; padding: 40px 0; }
.workflow-line {
  position: absolute;
  top: 80px; 
  left: 10%;
  right: 10%;
  height: 1px;
  background: #cbd5e1;
  z-index: 0;
}
.workflow-item { position: relative; z-index: 5; transition: transform 0.3s ease; }
.workflow-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
  font-size: 1.5rem;
  color: var(--primary);
  border: 1px solid #cbd5e1;
  position: relative;
  z-index: 10;
  box-shadow: 0 0 0 8px #fff;
  animation: shadowPulse 4s infinite ease-in-out;
}

.workflow-item .step-num { 
  font-size: 11px; 
  font-weight: 800; 
  text-transform: uppercase; 
  letter-spacing: 0.1em;
}

.workflow-item p { 
  font-size: 13px; 
  color: #64748b; 
  line-height: 1.5; 
  max-width: 160px; 
  margin: 0 auto; 
}

/* Testimonial Styles */
.test-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.test-stars { color: #f59e0b; font-size: 14px; margin-bottom: 20px; }
.test-body { font-size: 15px; line-height: 1.6; color: #334155; margin-bottom: 24px; flex-grow: 1; }
.test-footer { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid #f1f5f9; }
.test-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.test-info h6 { font-size: 14px; font-weight: 700; margin-bottom: 2px; color: #0f172a; }
.test-info p { font-size: 12px; color: #64748b; margin-bottom: 0; }

/* Contact & Form Details */
.contact-item { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e0f2fe;
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-text h6 { font-size: 11px; font-weight: 800; color: #94a3b8; text-transform: uppercase; margin-bottom: 4px; letter-spacing: 0.05em; }
.contact-text p { font-size: 14px; font-weight: 600; color: #1e293b; margin-bottom: 0; }

.compliance-box {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 24px;
  margin-top: 40px;
}

.tag { border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; font-size: 12px; background: #fff; }

.form-label-custom {
  font-size: 13.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
  display: block;
}

.phone-group-custom {
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2px;
  transition: all 0.2s ease;
  background: #fff;
}
.phone-group-custom:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}
.phone-input-custom {
  border: none;
  width: 100%;
  padding: 14px 16px;
  font-size: 14px;
  outline: none;
  color: var(--text);
  background: transparent;
}

.phone-group-custom .iti {
  width: 100%;
  display: block;
}

.phone-group-custom .iti__country-container {
  left: 8px;
}

.phone-group-custom .iti__selected-country-primary {
  border-radius: 10px;
  padding: 0 10px;
  transition: background-color 0.2s ease;
}

.phone-group-custom .iti__selected-country-primary:hover {
  background-color: #f8fafc;
}

.phone-group-custom .iti__tel-input {
  padding-left: 110px !important;
}

.phone-group-custom .iti--allow-dropdown .iti__tel-input,
.phone-group-custom .iti--show-flags .iti__tel-input,
.phone-group-custom .iti--separate-dial-code .iti__tel-input {
  padding-right: 16px;
}

.phone-group-custom .iti__dropdown-content {
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px -18px rgba(15, 23, 42, 0.2);
  border-radius: 12px;
}

.phone-group-custom .iti__search-input {
  border-radius: 10px;
  border-color: #dbe3ee;
}

.phone-group-custom .iti__country {
  padding: 8px 10px;
}

.phone-group-custom .iti__country.iti__highlight {
  background-color: #eef6ff;
}

.btn-form-custom {
  background: var(--primary);
  color: #fff !important;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px var(--primary-glow);
}
.btn-form-custom:hover {
  background: #0056cc;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 106, 255, 0.35);
}

/* Charts & Bars */
.bars { display: flex; gap: 8px; align-items: flex-end; height: 170px; }
.bar { flex: 1; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--accent), var(--primary)); }
.progress-xx { height: 6px; background: #eceff7; border-radius: 999px; overflow: hidden; }
.progress-xx>span { display: block; height: 100%; background: linear-gradient(135deg, var(--primary), var(--accent)); }

/* Pricing Section */
.pricing-toggle {
  position: relative;
  width: 60px;
  height: 32px;
}

.pricing-switch {
  display: none;
}

.pricing-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #e2e8f0;
  transition: .4s;
  border-radius: 34px;
}

.pricing-slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pricing-switch:checked + .pricing-slider {
  background-color: var(--primary);
}

.pricing-switch:checked + .pricing-slider:before {
  transform: translateX(28px);
}

.pricing-label.active {
  color: var(--primary) !important;
}

.pricing-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 40px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--card-hover-shadow);
  border-color: rgba(0, 106, 255, 0.2);
}

.pricing-card.featured {
  background: white;
  border: 2px solid var(--primary);
  box-shadow: 0 20px 50px -15px rgba(0, 106, 255, 0.15);
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-glow);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.plan-name {
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.plan-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.plan-price {
  margin-bottom: 35px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-price .currency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.plan-price .amount {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plan-price .period {
  color: var(--muted);
  font-weight: 500;
}

.pricing-body {
  flex-grow: 1;
  margin-bottom: 35px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-features li {
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.plan-features li.everything {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--border);
}

.plan-features li.everything i {
  color: #f59e0b;
}

.addon-tag {
  background: #fff;
  border: 1px solid var(--border);
  padding: 24px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  height: 100%;
}

.addon-tag i {
  font-size: 1.8rem;
  color: var(--primary);
  opacity: 0.8;
}

.addon-tag span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.addon-tag:hover {
  background: var(--soft);
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 10px 25px -10px rgba(0, 106, 255, 0.1);
}

.pricing-faq h6 {
  margin-bottom: 12px;
  color: var(--text);
}

.mt-7 { margin-top: 6rem !important; }
.mt-8 { margin-top: 8rem !important; }

@media (max-width: 991px) {
  .pricing-card { padding: 30px; }
  .plan-price .amount { font-size: 2.25rem; }
}

/* Contact Form Glass */
.contact-form-card {
  border-radius: 32px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 40px 100px -20px rgba(15, 23, 42, 0.12);
  padding: 48px;
}

.form-input-custom {
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text);
  transition: all 0.3s ease;
}

.form-input-custom::placeholder {
  color: #94a3b8;
}

.form-input-custom:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 5px var(--primary-glow);
  outline: none;
}

.footer-custom h6 { font-weight: 700; margin-bottom: 20px; color: var(--text); }
.tiny { font-size: 10px; opacity: 0.7; }

@media (max-width: 991.98px) {
  .hero { padding-top: 140px !important; }
  .dashboard-wrap { padding: 20px; border-radius: 24px; }
  .metric-tag { position: relative; left: 0 !important; right: 0 !important; top: 0 !important; bottom: 0 !important; margin: 15px auto; max-width: 280px; }
}
