/* Medisphere New Landing Page - Blue/White Healthcare Theme */

:root {
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --primary-light: #6ea8fe;
  --accent: #0dcaf0;
  --white: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --gray-900: #212529;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-800);
  overflow-x: hidden;
}

/* Sticky Nav */
.nav-new {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.nav-new.scrolled {
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

.nav-new .navbar-brand img {
  height: 42px;
}

.nav-new .nav-link {
  color: var(--gray-800) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}

.nav-new .nav-link:hover {
  color: var(--primary) !important;
}

.nav-new .btn-demo {
  background: linear-gradient(135deg, var(--primary) 0%, #0a58ca 100%);
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-new .btn-demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

/* Hero - extra top padding for fixed nav */
.hero-new {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 50%, #ffffff 100%);
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-new::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(circle, rgba(13, 110, 253, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-new h1 {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}

.hero-new .subhead {
  font-size: 1.2rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.hero-new .tagline {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hero-new .btn-primary-new {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-new .btn-primary-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(13, 110, 253, 0.45);
}

.hero-new .btn-outline-new {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s;
}

.hero-new .btn-outline-new:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.hero-note {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Section titles */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
}

.section-subtitle {
  color: var(--gray-600);
  font-size: 1.1rem;
}

/* Feature cards - animated */
.feature-card {
  background: white;
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--gray-200);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(13, 110, 253, 0.12);
}

.feature-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.1) 0%, rgba(13, 110, 253, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-card .icon-wrap i {
  font-size: 1.5rem;
  color: var(--primary);
}

/* Module cards */
.module-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
}

.module-card:hover {
  border-color: var(--primary-light);
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.08);
}

.module-card .module-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Screenshots */
.screenshot-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.screenshot-card:hover {
  transform: translateY(-4px);
}

.screenshot-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.screenshot-card .caption {
  padding: 1rem;
  background: white;
  font-weight: 600;
  color: var(--gray-800);
}

/* Deployment options */
.deploy-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 2px solid var(--gray-200);
  height: 100%;
  transition: all 0.3s;
}

.deploy-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(13, 110, 253, 0.1);
}

.deploy-card .deploy-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Trusted by */
.trust-logo {
  max-height: 50px;
  filter: grayscale(30%);
  opacity: 0.85;
}

/* Implementation steps */
.step-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

/* About */
.about-bg {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
}

/* Contact form */
.contact-form-new {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.contact-form-new .form-control {
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  padding: 0.75rem 1rem;
}

.contact-form-new .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.15);
}

.contact-form-new .btn-submit {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  padding: 0.85rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.2s;
}

.contact-form-new .btn-submit:hover {
  transform: translateY(-2px);
}

/* Footer */
.footer-new {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

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

.footer-new a:hover {
  color: white;
}

.footer-new .footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.footer-new .copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.rounded-lg {
  border-radius: 12px !important;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-new h1 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
}
