/* Orgabill brand design system
 * Primary: Emerald Green  #357B29 (RGB: 53, 123, 41)
 * Primary Dark: #265B1D
 * Accent: Warm Amber      #F5CD08 (RGB: 245, 205, 8)
 * Dark: Slate / Charcoal  #1E2922
 * Soft Light:             #F8FAF7
 * Neutral Text:           #3C3B3C / #64748B
 */

:root {
  --o-green: #357B29;
  --o-green-rgb: 53, 123, 41;
  --o-green-dark: #24581B;
  --o-green-light: #EBF4E8;
  --o-yellow: #F5CD08;
  --o-yellow-rgb: 245, 205, 8;
  --o-yellow-light: #FEF9E6;
  --o-dark: #1E2922;
  --o-dark-surface: #141D17;
  --o-slate: #3C3B3C;
  --o-muted: #64748B;
  --o-light: #F8FAF7;
  --o-border: #E2E8F0;
  --o-border-light: #EDF2EB;
  --o-radius-sm: 0.625rem;
  --o-radius: 1rem;
  --o-radius-lg: 1.5rem;
  --o-radius-full: 9999px;
  --o-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --o-shadow: 0 10px 30px rgba(53, 123, 41, 0.08);
  --o-shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.09);
  --o-shadow-glow: 0 0 40px rgba(53, 123, 41, 0.22);
}

.landing-body {
  overflow-x: hidden;
  font-family: 'Calibri', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--o-slate);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.display-5,
.display-6,
.stat-number,
.step-number,
.badge-plan,
.brand-font {
  font-family: 'Montserrat', 'Calibri', sans-serif;
}

.min-vh-75 { min-height: 75vh; }
.py-7 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-7 { padding-top: 5rem; }
.pb-7 { padding-bottom: 5rem; }
.text-white-50 { color: rgba(255,255,255,0.6) !important; }
.object-fit-cover { object-fit: cover; }
.ls-1 { letter-spacing: 0.05em; }

/* Navigation */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  padding: 1.1rem 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.landing-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--o-border-light);
}

.landing-brand {
  color: var(--o-dark);
  font-weight: 800;
}

.landing-brand:hover {
  color: var(--o-green);
}

.landing-nav .nav-link {
  color: #475569;
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--o-radius-sm);
  transition: all 0.2s ease;
}

.landing-nav .nav-link:hover {
  color: var(--o-green);
  background: rgba(53, 123, 41, 0.06);
}

/* Hero Section */
.landing-hero {
  position: relative;
  min-height: 92vh;
  padding: 8rem 0 6rem;
  background: radial-gradient(circle at 85% 15%, rgba(53, 123, 41, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 10% 85%, rgba(245, 205, 8, 0.12) 0%, transparent 40%),
              linear-gradient(180deg, #FFFFFF 0%, #F8FAF7 100%);
  color: var(--o-dark);
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: linear-gradient(var(--o-green) 1px, transparent 1px),
                    linear-gradient(90deg, var(--o-green) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  animation: blobFloat 14s ease-in-out infinite;
}

.hero-blob-1 { width: 28rem; height: 28rem; background: rgba(53, 123, 41, 0.28); top: -8rem; right: -8rem; }
.hero-blob-2 { width: 20rem; height: 20rem; background: rgba(245, 205, 8, 0.32); bottom: 2rem; right: 28%; animation-delay: -5s; }
.hero-blob-3 { width: 16rem; height: 16rem; background: rgba(53, 123, 41, 0.22); bottom: -6rem; left: 10%; animation-delay: -9s; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -25px) scale(1.06); }
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--o-dark);
}

.hero-title mark {
  color: var(--o-green);
  background: linear-gradient(180deg, transparent 65%, rgba(53,123,41,0.18) 65%);
  padding: 0 0.15em;
  border-radius: 4px;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #475569;
}

.hero-phone-form {
  background: #ffffff;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--o-radius-full);
  box-shadow: 0 16px 36px rgba(53,123,41,0.12), 0 2px 8px rgba(0,0,0,0.04);
  padding: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 500px;
  transition: all 0.25s ease;
}

.hero-phone-form:focus-within {
  border-color: var(--o-green);
  box-shadow: 0 16px 40px rgba(53,123,41,0.18), 0 0 0 4px rgba(53,123,41,0.15);
}

.hero-phone-prefix {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding-left: 1.1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #334155;
  white-space: nowrap;
}

.hero-phone-form .form-control {
  background: transparent;
  border: none;
  color: var(--o-dark);
  box-shadow: none;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.5rem 0.5rem 0.5rem 0.25rem;
}

.hero-phone-form .form-control:focus {
  box-shadow: none;
}

.hero-phone-form .form-control::placeholder {
  color: #94A3B8;
  font-weight: 400;
}

.hero-phone-form .btn {
  border-radius: var(--o-radius-full);
  padding: 0.75rem 1.65rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--o-green), var(--o-green-dark));
  border: none;
  box-shadow: 0 4px 14px rgba(53,123,41,0.3);
  transition: all 0.2s ease;
}

.hero-phone-form .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(53,123,41,0.4);
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.85rem;
  color: #64748B;
  font-weight: 500;
}

.hero-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.06);
  padding: 0.25rem 0.65rem;
  border-radius: var(--o-radius-full);
}

/* Hero Showcase Card Visual */
.hero-showcase-wrap {
  position: relative;
  z-index: 2;
  perspective: 1000px;
}

.hero-showcase-card {
  background: #ffffff;
  border-radius: var(--o-radius-lg);
  border: 1px solid rgba(53, 123, 41, 0.15);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12), 0 4px 20px rgba(53,123,41,0.08);
  overflow: hidden;
  position: relative;
  transform: rotateY(-3deg) rotateX(2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-showcase-card:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-4px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.15), 0 8px 30px rgba(53,123,41,0.12);
}

.hero-showcase-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

.live-pulse-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(20, 29, 23, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--o-radius-full);
  border: 1px solid rgba(255,255,255,0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 1.8s infinite;
}

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

.hero-floating-pill {
  position: absolute;
  background: #ffffff;
  border-radius: var(--o-radius);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  box-shadow: 0 16px 36px rgba(0,0,0,0.14);
  z-index: 4;
  animation: pillHover 6s ease-in-out infinite;
}

.hero-pill-top {
  top: -1.5rem;
  right: -1.5rem;
  border: 1px solid rgba(53, 123, 41, 0.2);
}

.hero-pill-bottom {
  bottom: -1.5rem;
  left: -1.5rem;
  border: 1px solid rgba(245, 205, 8, 0.3);
  animation-delay: -3s;
}

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

/* Glass Stats Bar */
.glass-stats {
  background: #ffffff;
  border: 1px solid var(--o-border);
  border-radius: var(--o-radius-lg);
  box-shadow: 0 20px 45px rgba(53,123,41,0.09);
  margin-top: -3.5rem;
  position: relative;
  z-index: 5;
}

.glass-stats .stat-number {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--o-green);
  line-height: 1;
  letter-spacing: -0.02em;
}

.glass-stats .stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748B;
}

/* Section Header Styles */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--o-green);
  background: var(--o-green-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--o-radius-full);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--o-dark);
}

.section-subtitle {
  color: #64748B;
  font-size: 1.075rem;
  max-width: 620px;
  line-height: 1.6;
}

/* Step Cards */
.steps-row {
  position: relative;
  z-index: 0;
}

.step-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--o-radius);
  border: 1px solid var(--o-border);
  padding: 2.25rem 1.75rem;
  height: 100%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(53,123,41,0.1);
  border-color: rgba(53,123,41,0.3);
}

.step-number {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(135deg, var(--o-green), var(--o-green-dark));
  box-shadow: 0 8px 20px rgba(53,123,41,0.28);
  margin-bottom: 1.35rem;
}

.step-timeline-line {
  position: absolute;
  top: 4.8rem;
  left: 50%;
  width: calc(100% - 6rem);
  height: 2px;
  background: linear-gradient(90deg, var(--o-green), rgba(53,123,41,0.15));
  transform: translateX(-50%);
}

/* Feature Grid Cards */
.feature-card {
  background: #ffffff;
  border-radius: var(--o-radius);
  border: 1px solid var(--o-border);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: all 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53,123,41,0.3);
  box-shadow: 0 16px 36px rgba(0,0,0,0.06);
}

.feature-icon-box {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

/* Quick Filter Pills */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  border: 1px solid var(--o-border);
  background: #ffffff;
  color: #475569;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--o-radius-full);
  transition: all 0.2s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--o-green);
  border-color: var(--o-green);
  color: #ffffff;
}

/* Featured Hospital Cards */
.featured-card {
  background: #ffffff;
  border-radius: var(--o-radius);
  border: 1px solid var(--o-border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(53,123,41,0.12);
  border-color: rgba(53,123,41,0.3);
}

.featured-card .card-img-wrap {
  position: relative;
  height: 200px;
  background: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.featured-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.featured-card .badge-plan {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--o-yellow);
  color: var(--o-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: var(--o-radius-full);
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.featured-card .badge-verified {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(30, 41, 34, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: var(--o-radius-full);
}

.featured-card .card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rating-stars {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: 1px;
}

/* Testimonial Cards */
.testimonial-card {
  background: #ffffff;
  border-radius: var(--o-radius);
  border: 1px solid var(--o-border);
  padding: 2rem 1.75rem;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.06);
  border-color: rgba(53,123,41,0.2);
}

.testimonial-card .quote-icon {
  color: var(--o-green);
  opacity: 0.2;
  font-size: 2.75rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Partner Hospital Section */
.partner-section {
  background: linear-gradient(135deg, #141D17 0%, #1E2922 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.partner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 75%, rgba(53,123,41,0.5) 0%, transparent 45%),
              radial-gradient(circle at 15% 25%, rgba(245,205,8,0.2) 0%, transparent 40%);
  pointer-events: none;
}

.partner-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--o-radius-lg);
  padding: 2.25rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.partner-card .form-control {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: var(--o-radius-sm);
  padding: 0.65rem 0.9rem;
}

.partner-card .form-control:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--o-yellow);
  box-shadow: 0 0 0 3px rgba(245, 205, 8, 0.25);
  color: #ffffff;
}

.partner-card .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* FAQ Accordion */
.accordion-flush .accordion-item {
  background: #ffffff;
  border: 1px solid var(--o-border);
  border-radius: var(--o-radius) !important;
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.accordion-flush .accordion-item:hover {
  border-color: rgba(53,123,41,0.3);
}

.accordion-flush .accordion-button {
  background: transparent;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1.25rem 1.5rem;
  color: var(--o-dark);
}

.accordion-flush .accordion-button:not(.collapsed) {
  color: var(--o-green);
  background: rgba(53, 123, 41, 0.04);
  box-shadow: none;
}

.accordion-flush .accordion-button:focus {
  box-shadow: none;
}

.accordion-flush .accordion-body {
  padding: 0 1.5rem 1.35rem 1.5rem;
  color: #475569;
  line-height: 1.65;
}

/* Footer */
.landing-footer {
  background: #111814;
  color: rgba(255,255,255,0.7);
}

.landing-footer a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.landing-footer a:hover {
  color: #ffffff;
}

.landing-footer .border-secondary {
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Buttons */
.btn-primary {
  background: var(--o-green);
  border-color: var(--o-green);
  font-weight: 700;
  border-radius: var(--o-radius-sm);
  padding: 0.6rem 1.25rem;
  transition: all 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: var(--o-green-dark) !important;
  border-color: var(--o-green-dark) !important;
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: var(--o-green);
  border-color: var(--o-green);
  font-weight: 700;
  border-radius: var(--o-radius-sm);
  transition: all 0.2s ease;
}

.btn-outline-primary:hover {
  background: var(--o-green);
  border-color: var(--o-green);
  color: #ffffff;
}

.text-primary { color: var(--o-green) !important; }
.bg-primary { background-color: var(--o-green) !important; }
.bg-primary-subtle { background-color: var(--o-green-light) !important; }

@media (min-width: 768px) {
  .border-start-md {
    border-left: 1px solid var(--o-border);
  }
}

@media (max-width: 991.98px) {
  .landing-hero { padding: 7rem 0 4rem; min-height: auto; }
  .hero-showcase-wrap { margin-top: 2.5rem; }
  .hero-showcase-card { transform: none; }
  .hero-pill-top { top: -1rem; right: 0; }
  .hero-pill-bottom { bottom: -1rem; left: 0; }
  .step-timeline-line { display: none; }
  .hero-phone-form { flex-direction: column; border-radius: var(--o-radius); }
  .hero-phone-prefix { width: 100%; justify-content: flex-start; padding-top: 0.5rem; }
  .hero-phone-form .btn { width: 100%; border-radius: var(--o-radius-sm); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-blob, .hero-floating-pill, .pulse-dot {
    animation: none;
  }
}

