/**
 * SAVE LIFE QR INDIA - Main Stylesheet
 * Brand Colors:
 * - Navy Blue: #0B192C, #1E3E62
 * - Red (Emergency): #D90429, #EF233C
 * - Orange (Alert): #F77F00, #FF9F1C
 * - Green (Safety): #06D6A0, #2EC4B6
 * - Light Background: #F8FAFC
 */

:root {
  --primary-navy: #0B192C;
  --navy-light: #1E3E62;
  --emergency-red: #D90429;
  --emergency-red-hover: #BA0323;
  --alert-orange: #F77F00;
  --safety-green: #06D6A0;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --bg-light: #F8FAFC;
  --card-bg: #FFFFFF;
  --border-color: #E2E8F0;
  --shadow-sm: 0 2px 4px rgba(11, 25, 44, 0.04);
  --shadow-md: 0 6px 18px rgba(11, 25, 44, 0.08);
  --shadow-lg: 0 12px 28px rgba(11, 25, 44, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-navy);
  letter-spacing: -0.02em;
}

/* Navbar */
.navbar-brand {
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary-navy) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-badge {
  background: linear-gradient(135deg, var(--emergency-red), var(--alert-orange));
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--navy-light) !important;
  padding: 0.5rem 1rem !important;
  transition: all 0.2s ease;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
  color: var(--emergency-red) !important;
}

/* Buttons */
.btn-emergency {
  background: linear-gradient(135deg, var(--emergency-red), #B8001F);
  color: #fff !important;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(217, 4, 41, 0.25);
}
.btn-emergency:hover {
  background: linear-gradient(135deg, #B8001F, #8F0018);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(217, 4, 41, 0.35);
}
.btn-navy {
  background-color: var(--primary-navy);
  color: #fff !important;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1.5rem;
  transition: all 0.25s ease;
}
.btn-navy:hover {
  background-color: var(--navy-light);
  transform: translateY(-1px);
}
.btn-outline-navy {
  color: var(--primary-navy) !important;
  border: 2px solid var(--primary-navy);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.4rem;
  transition: all 0.2s ease;
}
.btn-outline-navy:hover {
  background-color: var(--primary-navy);
  color: #fff !important;
}

/* Hero Section */
.hero-section {
  background: radial-gradient(circle at 80% 20%, rgba(239, 35, 60, 0.08), transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(30, 62, 98, 0.06), transparent 50%),
              #FFFFFF;
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--border-color);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FEE2E2;
  color: var(--emergency-red);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-title span.highlight {
  color: var(--emergency-red);
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 2rem;
}

/* Feature & Step Cards */
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: all 0.25s ease;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}
.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.icon-red { background: #FEE2E2; color: var(--emergency-red); }
.icon-orange { background: #FEF3C7; color: var(--alert-orange); }
.icon-navy { background: #E2E8F0; color: var(--primary-navy); }
.icon-green { background: #D1FAE5; color: #059669; }

/* Pricing Card */
.pricing-card {
  background: #FFFFFF;
  border: 2px solid var(--primary-navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s ease;
}
.pricing-card:hover {
  transform: translateY(-5px);
}
.pricing-header {
  background: linear-gradient(135deg, var(--primary-navy), var(--navy-light));
  color: #fff;
  padding: 2.5rem 2rem;
  text-align: center;
}
.pricing-price {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
  margin: 1rem 0;
}
.pricing-body {
  padding: 2.5rem 2rem;
}
.pricing-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}
.pricing-feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-dark);
  font-size: 1rem;
}
.pricing-feature-list li i {
  color: var(--safety-green);
  font-size: 1.15rem;
}

/* Steps */
.step-number {
  width: 44px;
  height: 44px;
  background-color: var(--primary-navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* Public Footer */
.footer-main {
  background-color: var(--primary-navy);
  color: #94A3B8;
  padding: 4.5rem 0 2rem;
  border-top: 4px solid var(--emergency-red);
}
.footer-main h5 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #FFFFFF;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
  font-size: 0.88rem;
}

/* Mobile Emergency View */
.emergency-header {
  background: linear-gradient(135deg, var(--emergency-red), #990011);
  color: #FFFFFF;
  padding: 2rem 1.5rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 8px 24px rgba(217, 4, 41, 0.3);
}
.blood-badge {
  display: inline-block;
  background-color: #FFFFFF;
  color: var(--emergency-red);
  font-size: 1.35rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.btn-call-emergency {
  background-color: #FFFFFF;
  color: var(--emergency-red) !important;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}
.btn-call-emergency:hover {
  transform: scale(1.02);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .pricing-price {
    font-size: 2.75rem;
  }
}
