:root {
  /* Cinematic Premium Dark Palette */
  --bg-pure: #FFFFFF;
  --bg-darker: #F4F6F8;
  --bg-panel: #FFFFFF;
  --bg-gray: #EAEAEA;
  
  --text-primary: #1A365D;
  --text-secondary: #4A5568;
  
  --medical-blue: #143359;
  --medical-orange: #143359; /* McKesson Orange for pop on dark backgrounds */
  --medical-blue-hover: #0B2240;
  
  --font-main: 'Inter', -apple-system, sans-serif;
  
  --radius-sm: 8px;
  --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background-color: var(--bg-pure);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { width: 90%; max-width: 1300px; margin: 0 auto; }

/* Typography */
h1, h2, h3, h4, .hero-title, .massive-title, .section-title {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.section-title { font-size: clamp(2.5rem, 4vw, 3.5rem); margin-bottom: 1rem; }
.lead-text { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--text-secondary); font-weight: 400; }
.text-teal { color: var(--medical-orange); }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 1.5rem; border-radius: 4px; /* Sharp edges for premium feel */
  font-weight: 600; font-size: 1rem;
  text-decoration: none; transition: all 0.3s; cursor: pointer; border: none;
}
.btn-primary { background: var(--medical-orange); color: #FFFFFF; -webkit-tap-highlight-color: transparent; }
.btn-primary:hover, .btn-primary:active { background: #FFF; color: var(--medical-blue); box-shadow: 0 0 20px rgba(20, 51, 89, 0.2); }
.btn-primary:focus { outline: none; }
.btn-outline { background: transparent; border: 2px solid var(--medical-blue); color: var(--medical-orange); }
.btn-outline:hover { background: var(--medical-orange); color: #FFF; border-color: var(--medical-orange); }
.btn-large { height: 60px; padding: 0 2.5rem; font-size: 1.1rem; }

/* Clinical Header */
.header {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08); 
  padding: 1.25rem 0; transition: padding 0.3s;
}
.header.scrolled { padding: 1rem 0; background: rgba(255, 255, 255, 0.98); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; font-size: 1.25rem; color: var(--medical-blue); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.logo i { color: var(--medical-orange); font-size: 1.5rem; }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { color: var(--text-primary); text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: var(--medical-blue); }
.header-actions { display: flex; gap: 1rem; align-items: center; }
.mobile-toggle { display: none; background: transparent; border: none; color: var(--text-primary); font-size: 2rem; cursor: pointer; }

/* Clinical Hero (GIF Ready) */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: var(--bg-pure); overflow: hidden; padding-bottom: 2rem; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg-media { width: 100%; height: 100%; object-fit: cover; opacity: 1; } 
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.3) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 140px; }
.badge-tech { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(0,229,255,0.1); border: 1px solid rgba(0,229,255,0.3); color: var(--medical-orange); padding: 0.5rem 1rem; border-radius: 100px; font-weight: 600; font-size: 0.85rem; margin-bottom: 2rem; text-transform: uppercase; letter-spacing: 1px; z-index: 10; position: relative; }
.pulse-dot { width: 8px; height: 8px; background: var(--medical-orange); border-radius: 50%; box-shadow: 0 0 0 0 rgba(0,229,255,0.4); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(0,229,255,0); } 100% { box-shadow: 0 0 0 0 rgba(0,229,255,0); } }
.hero-title { font-size: clamp(3.5rem, 7vw, 6.5rem); color: var(--medical-blue); margin-bottom: 1.5rem; max-width: 900px; line-height: 1.05; }
.hero-subtitle { font-size: clamp(1.25rem, 2.5vw, 1.5rem); color: var(--text-secondary); max-width: 600px; margin-bottom: 3rem; }
.hero-cta-group { display: flex; align-items: center; gap: 2rem; }
.btn-text-play { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--text-primary); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.btn-text-play i { font-size: 3rem; color: var(--medical-orange); transition: transform 0.2s; }
.btn-text-play:hover i { transform: scale(1.1); }

/* GSAP Scrubbing Comparison */
.comparison-scrub { background: var(--bg-darker); border-top: 1px solid var(--bg-gray); padding: 8rem 0; border-top: 1px solid rgba(0,0,0,0.08); }
.scrub-container { display: flex; align-items: flex-start; justify-content: space-between; position: relative; padding-bottom: 4rem; }
.scrub-device { position: sticky; top: 120px; width: 45%; height: calc(100vh - 150px); display: flex; align-items: center; justify-content: center; z-index: 10; background: radial-gradient(circle, rgba(0,229,255,0.05) 0%, rgba(0,0,0,0) 70%); border-radius: 20px; }
.scrub-device img { width: 100%; max-height: 100%; object-fit: contain; transform-origin: center center; position: relative; z-index: 2; }
.glow-orb { display: none; }

/* Scrub Panels */
.scrub-content { width: 50%; padding-top: 5vh; padding-bottom: 10vh; z-index: 20; }
.scrub-panel { min-height: 80vh; display: flex; align-items: center; margin-bottom: 2rem; }
.panel-card { background: var(--bg-panel); border: 1px solid rgba(0,0,0,0.15); border-radius: var(--radius-lg); padding: 3rem; box-shadow: 0 30px 60px rgba(0,0,0,0.5); width: 100%; pointer-events: auto; }
.panel-card-inner { display: flex; gap: 2rem; align-items: center; }
.visual-block { flex: 1; height: 250px; background: var(--bg-pure); border-radius: var(--radius-sm); margin: 0; overflow: hidden; }
.panel-text-block { flex: 1; }
.visual-block img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.card-badge { display: inline-block; padding: 0.4rem 1rem; border-radius: 4px; font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; }
.badge-danger { background: rgba(255, 59, 48, 0.15); color: #FF3B30; border: 1px solid rgba(255, 59, 48, 0.3); }
.badge-success { background: rgba(0, 229, 255, 0.15); color: var(--medical-orange); border: 1px solid rgba(0, 229, 255, 0.3); }
.panel-card h3 { font-size: 2rem; margin-bottom: 1rem; color: var(--text-primary); }
.panel-card p { color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 1.5rem; }
.clean-list { list-style: none; }
.clean-list li { padding: 0.75rem 0; display: flex; align-items: center; gap: 0.75rem; font-weight: 500; border-bottom: 1px solid rgba(0,0,0,0.08); color: var(--text-primary); }
.clean-list i { color: var(--medical-orange); font-size: 1.25rem; }

/* High-End Visual Features Grid */
.features-section { padding: 8rem 0; background: #143359; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card { background: #FFFFFF; border: none; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.3s, border-color 0.3s; }
.feature-card:hover { transform: translateY(-10px); border-color: rgba(0,229,255,0.3); }
.feature-visual { height: 250px; position: relative; overflow: hidden; background: #FFFFFF; }
.feature-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: opacity 0.3s, transform 0.5s; }
.feature-card:hover .feature-visual img { opacity: 1; transform: scale(1.05); }
.icon-overlay { position: absolute; bottom: -24px; left: 2rem; width: 64px; height: 64px; background: var(--bg-pure); border: 1px solid rgba(0,0,0,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--medical-orange); z-index: 2; }
.feature-text { padding: 3rem 2rem 2rem; }
.feature-text h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: var(--medical-blue); }
.feature-text p { color: var(--text-primary); font-size: 0.95rem; }

/* Video Demos */
.video-demos { padding: 8rem 0; background: var(--bg-darker); border-top: 1px solid var(--bg-gray); border-top: 1px solid rgba(0,0,0,0.08); }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.video-thumbnail { height: 400px; border-radius: var(--radius-sm); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: pointer; border: 1px solid rgba(0,0,0,0.15); }
.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.video-overlay-dark { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); z-index: 1; transition: background 0.3s; }
.video-thumbnail:hover .video-overlay-dark { background: rgba(0,0,0,0.1); }
.play-btn-large { position: absolute; width: 80px; height: 80px; background: rgba(0,0,0,0.5); backdrop-filter: blur(10px); border: 1px solid rgba(0,0,0,0.2); border-radius: 50%; color: var(--text-primary); display: flex; align-items: center; justify-content: center; font-size: 2rem; z-index: 2; transition: transform 0.3s, background 0.3s; }
.video-thumbnail:hover .play-btn-large { transform: scale(1.1); background: var(--medical-orange); border-color: var(--medical-orange); color: #FFFFFF; }
.video-card h3 { margin-top: 1.5rem; font-size: 1.5rem; }

/* Company & Traction */

/* Founder Cards */
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.founder-card { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    gap: 1.5rem; 
    background: var(--bg-darker); 
    padding: 2.5rem 1.5rem; 
    border-radius: var(--radius-lg); 
    border: 1px solid rgba(0,0,0,0.08); 
    transition: transform 0.3s;
    height: 100%;
}
.founder-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.founder-photo { 
    width: 120px; 
    height: 120px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 4px solid #FFF; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    flex-shrink: 0; 
}
.founder-details h4 { 
    font-size: 1.25rem; 
    color: var(--medical-blue); 
    margin-bottom: 0.25rem; 
}
.founder-role { 
    display: block; 
    font-size: 0.85rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: var(--text-secondary); 
    margin-bottom: 1rem; 
}
.founder-details p { 
    color: var(--text-primary); 
    font-size: 0.95rem; 
    line-height: 1.6; 
}
.title-accent-blue {
    color: var(--medical-blue);
    border-left: 4px solid var(--medical-blue);
    padding-left: 1.5rem;
    text-align: left !important;
}

.company-section { padding: 8rem 0; background: var(--bg-pure); }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }




.traction-box { background: var(--bg-panel); border: 1px solid rgba(0,0,0,0.08); padding: 4rem; border-radius: var(--radius-lg); }
.traction-box h3 { font-size: 2rem; margin-bottom: 2rem; }
.t-list { display: flex; flex-direction: column; gap: 1.5rem; }
.t-item { display: flex; align-items: center; gap: 1rem; font-size: 1.1rem; font-weight: 500; border-bottom: 1px solid rgba(0,0,0,0.08); padding-bottom: 1.5rem; }
.t-item i { font-size: 1.5rem; }

/* Partner Portal */
.partner-portal { padding: 8rem 0; background: var(--bg-darker); border-top: 1px solid var(--bg-gray); border-top: 1px solid rgba(0,0,0,0.08); }
.portal-card { background: var(--bg-pure); border: 1px solid rgba(0,0,0,0.15); border-radius: var(--radius-lg); display: grid; grid-template-columns: 1fr 1.2fr; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.portal-info { padding: 5rem; background: var(--bg-panel); border-right: 1px solid rgba(0,0,0,0.08); display: flex; flex-direction: column; justify-content: center; }
.massive-title { font-size: clamp(3rem, 5vw, 4.5rem); color: var(--text-primary); margin-bottom: 1rem; line-height: 1; }
.portal-form { padding: 5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; font-size: 0.85rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 1rem; background: rgba(0,0,0,0.08); color: var(--text-primary); border: 1px solid rgba(0,0,0,0.15); border-radius: 4px; font-family: var(--font-main); font-size: 1rem; transition: all 0.2s; }
.form-group textarea { height: 120px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--medical-orange); background: rgba(0,229,255,0.05); }
.form-status { margin-top: 1rem; text-align: center; font-weight: 500; }

/* Massive Corporate Footer (Restored) */
.corp-footer { background: #143359; color: #FFFFFF; padding: 6rem 0 2rem; border-top: 1px solid rgba(0,0,0,0.08); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 6rem; }
.footer-col h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 1.5rem; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 1px; }
.footer-col a { display: block; color: rgba(255,255,255,0.7); text-decoration: none; margin-bottom: 0.75rem; font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: #FFF; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 2rem; display: flex; justify-content: space-between; color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.legal-links a { color: rgba(255,255,255,0.6); text-decoration: none; margin-left: 1.5rem; transition: color 0.2s; }
.legal-links a:hover { color: #FFF; }

/* Responsive / Mobile Optimization */
@media (max-width: 1024px) {
  .hero-content { padding-top: 100px; }
  .feature-grid { grid-template-columns: 1fr; }
  .split-layout { grid-template-columns: 1fr; }
  .portal-card { grid-template-columns: 1fr; }
  .portal-info { padding: 4rem 2rem; }
  .portal-form { padding: 3rem 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  /* Mobile Scrubbing - Clean Stacked Layout */
  .scrub-container { display: flex; flex-direction: column; padding-bottom: 2rem; }
  .scrub-device { position: relative; top: 0; width: 100%; height: auto; margin-bottom: 2rem; z-index: 10; }
  .scrub-device img { width: auto; max-width: 90%; max-height: 300px; object-fit: contain; margin: 0 auto; display: block; }
  .scrub-content { position: relative; width: 100%; height: auto; padding-top: 0; z-index: 20; }
  .scrub-panel { height: auto; min-height: auto; margin-bottom: 2rem; }
  .panel-card { padding: 1.5rem; background: var(--bg-panel); border: 1px solid rgba(0,0,0,0.15); }
  .panel-card-inner { flex-direction: column; gap: 1.5rem; text-align: left; }
  .visual-block { width: 100%; height: 250px; }
  .panel-card .clean-list { text-align: left; }
}

@media (max-width: 768px) {
  .founders-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: #FFF; padding: 2rem; box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-top: 1px solid #EAEAEA; gap: 1.5rem; text-align: center; }
  .nav-links.nav-active { display: flex; }
  .header-actions .btn { display: none; }
  .mobile-toggle { display: block; color: var(--medical-blue); }
  
  /* Reduce gap between sections */
  .comparison-scrub, .features-section, .video-demos, .company-section, .partner-portal { padding: 4rem 0; }
  .corp-footer { padding: 4rem 0 2rem; }
  
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .video-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
  
  /* Make sure footer bottom text is fully visible */
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; padding-bottom: 2rem; color: #FFFFFF; }
  .legal-links a { margin: 0 0.5rem; color: #FFFFFF; }
}

.feature-text::after { content: ''; display: block; width: 40px; height: 3px; background: var(--medical-orange); margin-top: 2rem; }

.features-title-blue-bg { color: #FFFFFF; border-left: 4px solid var(--medical-orange); padding-left: 1.5rem; text-align: left !important; margin-bottom: 4rem; }
