/* 
=========================================
HOSPULSE PREMIUM DESIGN SYSTEM (Canva Style)
=========================================
*/

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

/* --- Core Tokens & Variables --- */
:root {
  /* Color Palette */
  --color-canvas-bg: #0B132B;          /* Ultra-Deep Navy/Midnight Blue */
  --color-canvas-dark: #060b19;        /* Darker Navy/Slate Black for contrast */
  --color-canvas-medium: #111d40;      /* Medium Navy for cards and panels */
  --color-primary-teal: #00B4D8;       /* Surgical Teal */
  --color-primary-teal-hover: #0096b4; /* Darker Teal for hover state */
  --color-primary-teal-glow: rgba(0, 180, 216, 0.4);
  --color-accent-green: #38B000;       /* Luminous Emerald Green */
  --color-accent-green-hover: #2d8c00; /* Darker Green for hover state */
  --color-accent-green-glow: rgba(56, 176, 0, 0.4);
  --color-white: #ffffff;
  
  /* Clinical Section Tokens (Section 3 - Benefits) */
  --color-clinical-bg: #ffffff;
  --color-clinical-card-bg: #fafafa;
  --color-clinical-text-dark: #0f172a;
  --color-clinical-text-muted: #475569;
  
  --color-neutral-dark: #0f172a;
  --color-neutral-gray: #94a3b8;
  --color-neutral-light-gray: #e2e8f0;
  --color-neutral-light: #ffffff;

  /* Typography */
  --font-family-headings: 'Outfit', sans-serif;
  --font-family-body: 'Inter', sans-serif;

  /* Shadows, Glows & Glassmorphism */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.2);
  --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-premium: 0 20px 40px rgba(0, 180, 216, 0.15);
  --shadow-teal-glow: 0 0 25px var(--color-primary-teal-glow);
  --shadow-green-glow: 0 0 25px var(--color-accent-green-glow);
  
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-backdrop-blur: 16px;

  /* Layout */
  --max-width-content: 1280px;
  --header-height: 80px;
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-canvas-dark);
  color: var(--color-white);
  scroll-padding-top: calc(var(--header-height) + 20px);
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

body {
  font-family: var(--font-family-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Typography System --- */
h1, h2, h3, h4 {
  font-family: var(--font-family-headings);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: -0.01em;
}

p {
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  color: var(--color-neutral-gray);
}

/* --- Layout Utility Components --- */
.container {
  width: 100%;
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 120px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 80px 0;
  }
}

.text-center {
  text-align: center;
}

/* --- Premium Canva Dark-Mode Gradient --- */
.dark-canvas-bg {
  background: radial-gradient(circle at 50% 50%, #12284f 0%, #050a17 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

/* --- Premium Navigation Header --- */
.header {
  height: var(--header-height);
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.header.sticky {
  position: fixed;
  background: rgba(11, 19, 43, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 180, 216, 0.15);
  animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-white);
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.9;
}

.logo svg {
  height: 48px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--color-neutral-gray);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.nav-link:hover {
  color: var(--color-primary-teal);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary-teal);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* --- Buttons System --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-family-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: none;
  outline: none;
}

/* Glowing Neon Teal Button */
.btn-teal {
  background: var(--color-primary-teal);
  color: var(--color-canvas-dark);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-teal:hover {
  background: var(--color-primary-teal-hover);
  box-shadow: var(--shadow-teal-glow);
  transform: translateY(-2px);
}

.btn-teal:active {
  transform: translateY(0);
}

/* Luminous Emerald Green Button */
.btn-green {
  background: var(--color-accent-green);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(56, 176, 0, 0.3);
}

.btn-green:hover {
  background: var(--color-accent-green-hover);
  box-shadow: var(--shadow-green-glow);
  transform: translateY(-2px);
}

.btn-green:active {
  transform: translateY(0);
}

/* Outline style */
.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: translateY(0);
}

/* Hamburger toggle menu */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.mobile-nav-toggle .hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  transition: all 0.3s ease;
  transform-origin: left center;
}

.mobile-menu-cta {
  display: none;
}

/* Mobile responsive navigation styles */
@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: flex;
  }
  
  .mobile-menu-cta {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100dvh;
    background: #080f22;
    border-left: 1px solid rgba(0, 180, 216, 0.1);
    flex-direction: column;
    padding: 100px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 105;
  }

  .nav-menu.open {
    right: 0;
  }

  .mobile-nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(2px, -2px);
  }

  .mobile-nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(2px, 2px);
  }
  
  .nav-cta {
    margin-right: 15px;
  }
  
  .nav-cta .btn {
    padding: 8px 18px;
    font-size: 0.9rem;
  }
}

/* Tiny mobile viewport adjustments (iPhone SE / 12 Pro) */
@media (max-width: 560px) {
  .nav-cta .btn {
    display: none; /* Hide top CTA to make layout space for logo + hamburger */
  }
  
  .logo svg {
    width: 145px; /* Scale logo down proportionally */
  }
}

/* --- Section 1: Hero Section --- */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 52% 48%;
  }
}

.hero-content {
  z-index: 5;
}

.hero-content h1 {
  margin-bottom: 24px;
  color: var(--color-white);
  line-height: 1.15;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary-teal) 30%, #a2ffb3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content .sub-headline {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Dashboard Mockup Frame */
.mockup-container {
  position: relative;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(0, 180, 216, 0.2);
  box-shadow: var(--shadow-premium), 0 0 30px rgba(0, 180, 216, 0.1);
  overflow: hidden;
  transition: transform 0.5s ease;
  aspect-ratio: 4/3;
  width: 100%;
}

.mockup-container:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 180, 216, 0.4);
  box-shadow: var(--shadow-premium), 0 0 40px rgba(0, 180, 216, 0.15);
}

.mockup-header-bar {
  height: 28px;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27c93f; }

.mockup-iframe {
  width: 100%;
  height: calc(100% - 28px);
  border: none;
  background: var(--color-canvas-dark);
}

/* --- Section 2: Explainer Block --- */
.explainer-section {
  position: relative;
  background: #070d1d;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.explainer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

@media (min-width: 992px) {
  .explainer-grid {
    grid-template-columns: 55% 45%;
  }
}

.explainer-left {
  text-align: left;
}

.explainer-left h2 {
  margin-bottom: 20px;
}

.explainer-left p {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

/* Interactive Explainer Video Player */
.video-player-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #091024;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

/* Dynamic Storyboard Playback Styling */
.storyboard-screen {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, #0e162f 0%, #060b19 100%);
  transition: all 0.5s ease;
}

.storyboard-visual {
  flex-grow: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
}

.storyboard-voiceover-box {
  background: rgba(0, 0, 0, 0.85);
  border-top: 2px solid var(--color-primary-teal);
  padding: 16px 24px;
  width: 100%;
  text-align: center;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.storyboard-voiceover-box p {
  font-size: 0.95rem;
  color: var(--color-white);
  line-height: 1.4;
  font-style: italic;
}

/* Interactive Play Overlay */
.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 19, 43, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.video-play-overlay:hover {
  background: rgba(11, 19, 43, 0.8);
}

.play-btn-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-accent-green);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  box-shadow: var(--shadow-green-glow);
  margin-bottom: 20px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-play-overlay:hover .play-btn-circle {
  transform: scale(1.1);
  box-shadow: 0 0 35px var(--color-accent-green-glow);
  background: #45c400;
}

/* Storyboard content styling states */
.sb-visual-element {
  max-width: 90%;
  max-height: 220px;
  object-fit: contain;
  transition: all 0.4s ease;
}

.sb-timeline {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 5;
}

.sb-timeline-progress {
  height: 100%;
  background: var(--color-accent-green);
  width: 0;
  transition: width 0.3s linear;
}

.sb-step-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--color-neutral-gray);
}

/* Playback Control Bar */
.sb-controls {
  position: absolute;
  bottom: 92px;
  right: 15px;
  display: flex;
  gap: 8px;
  z-index: 6;
}

.sb-ctrl-btn {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 0.75rem;
}

.sb-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-primary-teal);
}

/* --- Section 3: Benefit Categories (Clinical White Transition) --- */
.benefits-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7f9 100%);
  color: var(--color-clinical-text-dark);
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.benefits-header {
  max-width: 800px;
  margin: 0 auto 70px auto;
}

.benefits-header h2 {
  color: var(--color-clinical-text-dark);
  margin-bottom: 16px;
}

.benefits-header p {
  color: var(--color-clinical-text-muted);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid article:nth-child(3) {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Benefit Cards Container Query Setup */
.benefit-card-wrapper {
  container-type: inline-size;
}

.benefit-card {
  background: var(--color-clinical-card-bg);
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 40px 32px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.benefit-card:hover {
  transform: translateY(-6px);
  background: var(--color-white);
  border-color: rgba(0, 180, 216, 0.3);
  box-shadow: 0 15px 30px rgba(0, 180, 216, 0.06), 0 0 20px rgba(0, 180, 216, 0.03);
}

.benefit-icon-container {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(0, 180, 216, 0.06);
  color: var(--color-primary-teal);
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon-container {
  background: var(--color-primary-teal);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.2);
}

/* Color thematic split */
.benefit-card.col-2 .benefit-icon-container {
  background: rgba(56, 176, 0, 0.06);
  color: var(--color-accent-green);
}

.benefit-card.col-2:hover .benefit-icon-container {
  background: var(--color-accent-green);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(56, 176, 0, 0.2);
}

.benefit-card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  color: var(--color-clinical-text-dark);
}

.benefit-card p {
  color: var(--color-clinical-text-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

/* Container Queries for fluid formatting */
@container (min-width: 320px) {
  .benefit-card {
    padding: 32px 24px;
  }
}

@container (min-width: 400px) {
  .benefit-card {
    padding: 40px 32px;
  }
}

/* --- Section 4: Footer --- */
.footer {
  background: var(--color-canvas-dark);
  color: var(--color-white);
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-brand p {
  color: var(--color-neutral-gray);
  font-size: 0.95rem;
  max-width: 320px;
  line-height: 1.5;
}

.footer-nav h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--color-white);
  font-family: var(--font-family-headings);
  font-weight: 600;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--color-neutral-gray);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

.footer-links button.open-demo-modal {
  background: none;
  border: none;
  color: var(--color-accent-green);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  transition: color 0.3s ease;
}

.footer-links button.open-demo-modal:hover {
  color: var(--color-primary-teal);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: var(--color-neutral-gray);
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: var(--color-primary-teal);
}

/* --- Interactive Demo Modal (Glassmorphic Dialog) --- */
dialog[popover]:is(:popover-open, .\:popover-open) {
  display: flex;
}

dialog.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100dvw;
  height: 100dvh;
  background: rgba(5, 10, 23, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 200;
  padding: 20px;
}

dialog.modal-overlay[open] {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 580px;
  background: rgba(11, 19, 43, 0.95);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), var(--shadow-teal-glow);
  position: relative;
  max-height: 90dvh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary-teal) rgba(255,255,255,0.05);
}

.modal-card::-webkit-scrollbar {
  width: 6px;
}
.modal-card::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.modal-card::-webkit-scrollbar-thumb {
  background: var(--color-primary-teal);
  border-radius: 3px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-primary-teal);
  color: var(--color-primary-teal);
}

.modal-card h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  color: var(--color-white);
}

.modal-card p {
  color: var(--color-neutral-gray);
  margin-bottom: 30px;
  font-size: 0.95rem;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 8px;
}

.form-input, .form-select {
  width: 100%;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--color-white);
  padding: 0 16px;
  font-family: var(--font-family-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.form-select option {
  background: var(--color-canvas-bg);
  color: var(--color-white);
}

.form-input:focus, .form-select:focus {
  border-color: var(--color-primary-teal);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(0, 180, 216, 0.15);
}

/* User inputs validation style */
.form-input:user-valid:not(:placeholder-shown), 
.form-select:user-valid:not(:placeholder-shown) {
  border-color: var(--color-accent-green);
}

/* --- Page animations --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   FEATURES PAGE STYLES
   ========================================= */

/* Hero Styles */
.features-hero {
  padding: 160px 20px 80px 20px;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, #12284f 0%, #050a17 100%);
  position: relative;
  overflow: hidden;
}

.features-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 850;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: var(--color-white);
}

.features-hero h1 span {
  background: linear-gradient(135deg, #00B4D8 0%, #38B000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 180, 216, 0.1);
}

.features-hero p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

/* Tab Navigation */
.features-tabs-container {
  display: flex;
  justify-content: center;
  margin: -20px auto 60px auto;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.features-tabs {
  display: flex;
  gap: 8px;
  background: rgba(11, 19, 43, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  padding: 6px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}

.features-tabs::-webkit-scrollbar {
  display: none; /* Safari & Chrome */
}

.tab-btn {
  padding: 14px 28px;
  border-radius: 30px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: none;
  font-family: var(--font-family-headings);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
  background: var(--color-primary-teal);
  color: var(--color-canvas-dark);
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.3);
}

/* Panels */
.features-panel {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.features-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Category Sections Themes */
.features-section {
  padding: 90px 20px;
}

.clinical-theme {
  background: radial-gradient(circle at 50% 50%, #0e1d3e 0%, #050a16 100%);
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.financial-theme {
  background: radial-gradient(circle at 50% 50%, #0d1e3d 0%, #040814 100%);
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pharmacy-theme {
  background: radial-gradient(circle at 50% 50%, #0c203b 0%, #030712 100%);
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.security-theme {
  background: radial-gradient(circle at 50% 50%, #0a1b3a 0%, #02060e 100%);
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Grid Layouts */
.features-split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 991px) {
  .features-split-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-split-grid.reverse-mobile {
    direction: rtl;
  }
  .features-split-grid.reverse-mobile > * {
    direction: ltr;
  }
}

.features-details h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 850;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.features-details p.section-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.75);
}

/* Feature Cards Grid */
.features-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 600px) {
  .features-cards-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 28px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-subtle);
  color: var(--color-white);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 180, 216, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.feature-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.feature-icon {
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 180, 216, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-theme .feature-icon {
  background: rgba(255, 255, 255, 0.08);
}

.badge-v7 {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.badge-blue {
  background: rgba(0, 180, 216, 0.1);
  color: #00B4D8;
}

.badge-green {
  background: rgba(56, 176, 0, 0.1);
  color: #38B000;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 750;
  margin-bottom: 8px;
  color: inherit;
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   SLEEK CSS MOCKUPS FOR FEATURES PAGE
   ========================================= */

.mockup-container {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Clinical Sidebar Mockup */
.mockup-clinical {
  background: #0B132B;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  padding: 24px;
}

.clinical-nav-sim {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-sim-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: #00B4D8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.nav-sim-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  margin-bottom: 8px;
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-sim-item.active {
  background: rgba(0, 180, 216, 0.08);
  border-color: rgba(0, 180, 216, 0.2);
  color: #00B4D8;
}

.pulse-line-sim {
  height: 60px;
  background: linear-gradient(90deg, rgba(0, 245, 212, 0.1) 0%, rgba(0, 180, 216, 0.1) 100%);
  border-radius: 8px;
  margin-top: 16px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 245, 212, 0.1);
}

.pulse-line-sim::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, #00F5D4 50%, transparent 100%);
  animation: pulse-scan 2.5s infinite linear;
  opacity: 0.6;
}

@keyframes pulse-scan {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Financial Ledger Mockup */
.mockup-financial {
  background: #111d40;
  color: #ffffff;
  padding: 24px;
}

.financial-grid-sim {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.fin-metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
}

.fin-metric-lbl {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.fin-metric-val {
  font-size: 1.1rem;
  font-weight: 800;
}

.fin-metric-val.green {
  color: #38B000;
  text-shadow: 0 0 10px rgba(56, 176, 0, 0.2);
}

.fin-audit-sim {
  margin-top: 16px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 14px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.fin-audit-header {
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

/* Pharmacy Expiration Warning Mockup */
.mockup-pharmacy {
  background: #0f172a;
  color: #ffffff;
  padding: 24px;
}

.pharmacy-warn-list {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 16px;
}

.warn-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.warn-item:last-child {
  border-bottom: none;
}

.warn-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.warn-item-title {
  font-size: 0.88rem;
  font-weight: 750;
}

.warn-item-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.warn-item-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  animation: pulse-warn 1.5s infinite alternate;
}

.badge-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

@keyframes pulse-warn {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

/* Infrastructure Mockup */
.mockup-security {
  background: rgba(11, 19, 43, 0.6);
  backdrop-filter: blur(10px);
  padding: 24px;
}

.security-stack-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stack-status-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.stack-item-title {
  font-weight: 700;
}

.stack-item-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #00F5D4;
  font-weight: 700;
}

.stack-item-status::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00F5D4;
  box-shadow: 0 0 8px #00F5D4;
}

/* Action Block in Features */
.features-action-block {
  padding: 100px 20px;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, #111d40 0%, #060b19 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.features-action-block h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 850;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.features-action-block p {
  max-width: 700px;
  margin: 0 auto 40px auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.features-action-block .btn {
  padding: 16px 36px;
  font-size: 1.05rem;
  font-weight: 800;
}

/* =========================================
   PRICING PAGE STYLES
   ========================================= */

/* Hero / Header Section */
.pricing-hero {
  padding: 160px 20px 80px 20px;
  background: radial-gradient(circle at 50% 50%, #12284f 0%, #050a17 100%);
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

@media (max-width: 991px) {
  .pricing-header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

.pricing-hero-info {
  max-width: 750px;
}

.pricing-hero h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.8rem);
  font-weight: 850;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  color: var(--color-white);
}

.pricing-hero h1 span {
  background: linear-gradient(135deg, #00B4D8 0%, #38B000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 180, 216, 0.1);
}

.pricing-hero p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

/* Currency Dropdown Selector */
.currency-selector-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 8px 18px;
}

.currency-label {
  font-family: var(--font-family-headings);
  font-weight: 750;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

.currency-select {
  background: transparent;
  border: none;
  font-family: var(--font-family-headings);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-white);
  cursor: pointer;
  outline: none;
  padding-right: 8px;
}

.currency-select option {
  background: var(--color-canvas-bg);
  color: var(--color-white);
}

/* Matrix Section */
.pricing-matrix-section {
  padding: 80px 20px 100px 20px;
  background: radial-gradient(circle at 50% 50%, #12284f 0%, #050a17 100%);
  position: relative;
}

.pricing-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

@media (max-width: 991px) {
  .pricing-matrix {
    grid-template-columns: 1fr;
    max-width: 550px;
    margin: 0 auto;
  }
}

/* Pricing Card Card */
.pricing-card {
  background: rgba(11, 19, 43, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-subtle);
  color: var(--color-white);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 180, 216, 0.25);
  box-shadow: var(--shadow-premium), 0 0 25px rgba(0, 180, 216, 0.1);
}

/* Growth Plan Card Highlight */
.pricing-card.featured {
  border: 2px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  background-image: linear-gradient(rgba(11, 19, 43, 0.92), rgba(11, 19, 43, 0.92)), 
                    linear-gradient(135deg, #00B4D8 0%, #38B000 100%);
  box-shadow: 0 10px 40px rgba(0, 180, 216, 0.25), 0 0 20px rgba(0, 180, 216, 0.15);
}

.pricing-card.featured:hover {
  box-shadow: 0 15px 45px rgba(0, 180, 216, 0.35), 0 0 30px rgba(0, 180, 216, 0.25);
}

.featured-badge {
  position: absolute;
  top: -16px;
  right: 32px;
  background: linear-gradient(135deg, #00B4D8 0%, #38B000 100%);
  color: var(--color-canvas-dark);
  font-family: var(--font-family-headings);
  font-weight: 800;
  font-size: 0.72rem;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.4);
}

/* Pricing typography */
.plan-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.plan-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
  min-height: 68px;
}

.plan-capacity {
  font-size: 0.88rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #00B4D8;
  margin-bottom: 16px;
}

.pricing-card.featured .plan-capacity {
  color: #38B000;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  margin-bottom: 16px;
  transition: opacity 0.25s ease;
}

.plan-price-wrap.price-change-fade {
  opacity: 0.2;
}

.price-symbol {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  align-self: flex-start;
  margin-top: 4px;
  margin-right: 2px;
}

.price-amount {
  font-size: 3.6rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-white);
}

.price-period {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 8px;
}

.plan-value-hook {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 20px;
  margin-bottom: 24px;
  min-height: 48px;
}

/* Modules Checklist */
.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
  flex-grow: 1;
}

.plan-features-list li {
  font-size: 0.92rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.plan-features-list li::before {
  content: '✓';
  color: #00B4D8;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card.featured .plan-features-list li::before {
  color: #38B000;
}

.pricing-card .btn {
  width: 100%;
  padding: 14px;
  font-size: 0.95rem;
  font-weight: 800;
}

/* Trust Section */
.trust-section {
  padding: 90px 20px;
  background-color: var(--color-canvas-dark);
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.trust-section h2 {
  text-align: center;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 850;
  margin-bottom: 50px;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 991px) {
  .trust-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

.trust-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-subtle);
  transition: all 0.3s ease;
}

.trust-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 180, 216, 0.25);
  background: rgba(255, 255, 255, 0.03);
}

.trust-card-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(0, 180, 216, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00B4D8;
  border: 1px solid rgba(0, 180, 216, 0.15);
}

.trust-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--color-white);
}

.trust-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* FAQ Accordion Component */
.faq-section {
  padding: 90px 20px 100px 20px;
  background-color: var(--color-canvas-dark);
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.faq-section h2 {
  text-align: center;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 850;
  margin-bottom: 50px;
  letter-spacing: -0.02em;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 180, 216, 0.25);
  background: rgba(255, 255, 255, 0.03);
}

.faq-item details summary {
  padding: 22px 28px;
  font-family: var(--font-family-headings);
  font-weight: 750;
  font-size: 1.08rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  outline: none;
  color: var(--color-white);
}

.faq-item details summary::-webkit-details-marker {
  display: none;
}

.faq-item details summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-primary-teal);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item details[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item details p {
  padding: 0 28px 24px 28px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   ABOUT US PAGE STYLES
   ========================================= */

/* Hero Section */
.about-hero {
  padding: 180px 20px 100px 20px;
  background: radial-gradient(circle at 50% 50%, #0e1d3e 0%, #050a16 100%);
  color: var(--color-white);
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.about-hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.about-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 850;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.about-hero h1 span {
  background: linear-gradient(135deg, #00B4D8 0%, #38B000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 180, 216, 0.1);
}

.about-hero p {
  font-size: 1.22rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

/* Section 2: Our Story (Why) */
.story-section {
  padding: 100px 20px;
  background-color: var(--color-canvas-dark);
  color: var(--color-white);
}

.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 991px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.story-details h2 {
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 850;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.story-details p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

/* CSS simulated Medical Control Center Dashboard Mockup */
.mockup-story-dashboard {
  background: #0B132B;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  box-shadow: var(--shadow-premium), 0 0 30px rgba(0, 180, 216, 0.1);
  color: var(--color-white);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.story-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.story-dash-title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #00B4D8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.story-dash-status {
  width: 8px;
  height: 8px;
  background-color: #38B000;
  border-radius: 50%;
  box-shadow: 0 0 8px #38B000;
}

.story-dash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.story-metric-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
}

.story-metric-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.story-metric-val {
  font-size: 1.25rem;
  font-weight: 800;
}

.story-chart-panel {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.story-chart-line {
  height: 60px;
  background: 
    linear-gradient(90deg, rgba(0, 180, 216, 0.1) 1px, transparent 1px) 0 0 / 10px 10px,
    linear-gradient(0deg, rgba(0, 180, 216, 0.1) 1px, transparent 1px) 0 0 / 10px 10px;
  position: relative;
}

.story-chart-path {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #00B4D8;
  box-shadow: 0 0 10px #00B4D8;
  transform: translateY(-50%);
  animation: pulse-wave-move 3s linear infinite;
}

@keyframes pulse-wave-move {
  0% { transform: translateY(-50%) scaleY(1); opacity: 0.8; }
  25% { transform: translateY(-70%) scaleY(1.5); }
  35% { transform: translateY(-30%) scaleY(2); }
  50% { transform: translateY(-50%) scaleY(1); }
  75% { transform: translateY(-70%) scaleY(1.3); }
  85% { transform: translateY(-40%) scaleY(1.8); }
  100% { transform: translateY(-50%) scaleY(1); opacity: 0.8; }
}

/* Section 3: Core Pillars */
.pillars-section {
  padding: 100px 20px;
  background-color: #060b19;
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.pillars-section h2 {
  text-align: center;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 850;
  margin-bottom: 60px;
  letter-spacing: -0.02em;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 991px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
}

.pillar-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 44px 36px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-subtle);
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 180, 216, 0.25);
  background: rgba(255, 255, 255, 0.03);
}

.pillar-icon {
  font-size: 2.2rem;
  margin-bottom: 24px;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.15) 0%, rgba(56, 176, 0, 0.15) 100%);
  border: 1px solid rgba(0, 180, 216, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* Section 4: The Scale Block (Authority Stat) */
.scale-section {
  padding: 120px 20px;
  background: linear-gradient(135deg, #0B132B 0%, #00B4D8 100%);
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.scale-section-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.scale-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 850;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.scale-stat {
  font-size: clamp(4.5rem, 9vw, 8.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  text-shadow: 0 10px 40px rgba(0, 180, 216, 0.4);
}

.scale-label {
  font-family: var(--font-family-headings);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  color: #00F5D4;
  text-shadow: 0 0 15px rgba(0, 245, 212, 0.4);
}

.scale-subtext {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* Floating Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(11, 19, 43, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  background: #00B4D8;
  border-color: #00B4D8;
  color: var(--color-white);
  box-shadow: 0 10px 25px rgba(0, 180, 216, 0.45);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}


