/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1e293b; background: #fff; line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ===== COLORS — Medical red + white + soft blue ===== */
:root {
  --red: #DC2626;
  --red-dark: #B91C1C;
  --red-light: #FEF2F2;
  --blue: #3B82F6;
  --blue-light: #EFF6FF;
  --blue-soft: #93C5FD;
  --dark: #1e293b;
  --gray: #64748b;
  --light: #F8FAFC;
  --border: #E2E8F0;
  --success: #22c55e;
  --white: #ffffff;
}

/* ===== URGENCY BAR ===== */
.urgency-bar {
  background: var(--red); color: #fff; text-align: center; padding: 10px 20px;
  font-size: 0.82rem; font-weight: 500;
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
}
.urgency-bar strong { font-weight: 700; }

/* ===== NAV ===== */
nav {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); padding: 14px 0;
}
nav .container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo {
  font-size: 1.3rem; font-weight: 800; color: var(--dark);
  display: flex; align-items: center; gap: 6px;
}
.logo-cross { color: var(--red); font-size: 1.6rem; font-weight: 900; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--dark); transition: color 0.2s; }
.nav-links a:hover { color: var(--red); }
.nav-cta {
  background: var(--red); color: #fff !important; padding: 10px 22px;
  border-radius: 8px; font-weight: 700; font-size: 0.9rem; transition: all 0.2s;
}
.nav-cta:hover { background: var(--red-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--dark); }

/* ===== HERO ===== */
.hero {
  padding: 160px 0 80px; background: var(--white); position: relative;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-content { max-width: 540px; }
.hero-badge {
  display: inline-block; background: var(--red-light); color: var(--red);
  padding: 6px 16px; border-radius: 50px; font-size: 0.82rem; font-weight: 600;
  margin-bottom: 20px; border: 1px solid rgba(220,38,38,0.2);
}
.hero h1 { font-size: 2.8rem; color: var(--dark); line-height: 1.12; margin-bottom: 18px; font-weight: 800; }
.hero h1 span { color: var(--red); }
.hero p { font-size: 1.08rem; color: var(--gray); margin-bottom: 28px; max-width: 480px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.btn-primary {
  background: var(--red); color: #fff; padding: 14px 30px; border-radius: 10px;
  font-size: 1rem; font-weight: 700; border: none; cursor: pointer;
  transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(220,38,38,0.2);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(220,38,38,0.3); }
.btn-secondary {
  background: var(--white); color: var(--dark); padding: 14px 30px; border-radius: 10px;
  font-size: 1rem; font-weight: 600; border: 2px solid var(--border);
  cursor: pointer; transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--blue); background: var(--blue-light); }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.cert-badge {
  display: flex; align-items: center; gap: 6px; padding: 6px 14px;
  background: var(--light); border-radius: 8px; font-size: 0.8rem;
  font-weight: 600; color: var(--dark); border: 1px solid var(--border);
}
.cert-icon { font-size: 0.9rem; }

/* Hero image */
.hero-image { position: relative; }
.hero-image > img { border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.hero-cert-card {
  position: absolute; bottom: -20px; left: -20px; background: var(--white);
  border-radius: 14px; padding: 16px 20px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 1px solid var(--border);
}
.cert-card-icon { font-size: 2rem; }
.hero-cert-card strong { font-size: 0.88rem; display: block; }
.hero-cert-card p { font-size: 0.75rem; color: var(--gray); margin: 0; }

/* ===== STATS BAR ===== */
.stats-bar { background: var(--blue-light); padding: 32px 0; border-top: 1px solid rgba(59,130,246,0.1); border-bottom: 1px solid rgba(59,130,246,0.1); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { display: flex; align-items: center; gap: 14px; }
.stat-icon { font-size: 1.8rem; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--white); border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.stat-item h3 { font-size: 1.5rem; font-weight: 800; color: var(--dark); }
.stat-item p { font-size: 0.82rem; color: var(--gray); margin-top: 2px; }

/* ===== SECTION BASE ===== */
section { padding: 80px 0; }
.section-label {
  text-transform: uppercase; font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
  color: var(--red); margin-bottom: 10px;
}
.section-title { font-size: 2.2rem; font-weight: 800; margin-bottom: 14px; color: var(--dark); }
.section-subtitle { font-size: 1.02rem; color: var(--gray); max-width: 560px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== FEATURES ===== */
.features { background: var(--light); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 48px; }
.feature-card {
  background: var(--white); border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.feature-img-wrap { position: relative; }
.feature-img-wrap img { width: 100%; height: 150px; object-fit: cover; }
.feature-number {
  position: absolute; top: 10px; right: 10px; background: var(--red); color: #fff;
  padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 800;
}
.feature-body { padding: 20px; }
.feature-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-body p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; }

/* ===== CERTIFICATE SECTION ===== */
.cert-section { background: var(--white); }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.cert-doc {
  background: var(--light); border: 2px solid var(--border); border-radius: 16px;
  padding: 40px; text-align: center; position: relative;
}
.cert-doc-header { margin-bottom: 24px; }
.cert-doc-cross { color: var(--red); font-size: 2.5rem; font-weight: 900; display: block; margin-bottom: 8px; }
.cert-doc-header h3 { font-size: 1rem; color: var(--gray); text-transform: uppercase; letter-spacing: 2px; }
.cert-doc-title { font-size: 1.4rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.cert-doc-name { font-size: 1.1rem; font-style: italic; color: var(--blue); margin-bottom: 12px; }
.cert-doc-line { width: 60%; height: 1px; background: var(--border); margin: 16px auto; }
.cert-doc-text { font-size: 0.85rem; color: var(--gray); margin-bottom: 4px; }
.cert-doc-stamp {
  display: inline-block; margin-top: 20px; padding: 8px 24px; border: 3px solid var(--red);
  border-radius: 8px; color: var(--red); font-weight: 800; font-size: 1rem;
  transform: rotate(-5deg); letter-spacing: 3px;
}
.cert-content p:not(.section-label) { font-size: 1rem; color: var(--gray); line-height: 1.7; margin-bottom: 20px; }
.cert-list { display: flex; flex-direction: column; gap: 10px; }
.cert-list li {
  display: flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 500;
}
.cert-list li::before { content: '\2713'; color: var(--success); font-weight: 700; font-size: 1rem; }

/* ===== PRICING ===== */
.pricing { background: var(--light); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.pricing-card {
  background: var(--white); border-radius: 20px; padding: 36px 28px; border: 2px solid var(--border);
  position: relative; transition: all 0.3s; text-align: center;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.06); }
.pricing-card.popular { border-color: var(--red); }
.pricing-card.popular .popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; padding: 6px 20px; border-radius: 50px;
  font-size: 0.78rem; font-weight: 700; white-space: nowrap;
}
.pricing-icon { font-size: 2rem; margin-bottom: 8px; }
.pricing-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.pricing-card .price { font-size: 2.8rem; font-weight: 800; color: var(--dark); margin: 12px 0; }
.pricing-card .price span { font-size: 0.9rem; font-weight: 400; color: var(--gray); }
.pricing-card .price-desc { font-size: 0.85rem; color: var(--gray); margin-bottom: 20px; }
.pricing-features { margin-bottom: 28px; text-align: left; }
.pricing-features li { padding: 7px 0; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; }
.pricing-features li::before { content: '\2713'; color: var(--success); font-weight: 700; }
.pricing-features li.disabled { color: var(--gray); opacity: 0.45; }
.pricing-features li.disabled::before { content: '\2717'; color: #ccc; }
.pricing-btn {
  display: block; width: 100%; padding: 13px; border-radius: 10px; text-align: center;
  font-size: 0.95rem; font-weight: 700; border: 2px solid var(--red); color: var(--red);
  background: var(--white); cursor: pointer; transition: all 0.2s;
}
.pricing-btn:hover, .pricing-card.popular .pricing-btn {
  background: var(--red); color: #fff;
}
.pricing-card.popular .pricing-btn:hover { background: var(--red-dark); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.testimonial-card {
  background: var(--light); padding: 28px; border-radius: 16px; border: 1px solid var(--border);
  transition: all 0.3s;
}
.testimonial-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.05); }
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card > p { font-size: 0.93rem; color: var(--dark); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--blue-soft); }
.testimonial-name { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { font-size: 0.78rem; color: var(--gray); }

/* ===== FAQ ===== */
.faq { background: var(--white); }
.faq-list { max-width: 720px; margin: 48px auto 0; }
.faq-item { background: var(--light); border-radius: 12px; border: 1px solid var(--border); margin-bottom: 10px; overflow: hidden; }
.faq-question {
  padding: 18px 22px; font-size: 1rem; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--blue-light); }
.faq-question::after { content: '+'; font-size: 1.3rem; color: var(--red); font-weight: 700; transition: transform 0.3s; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px; max-height: 0; overflow: hidden; transition: all 0.3s ease; }
.faq-item.active .faq-answer { padding: 0 22px 18px; max-height: 300px; }
.faq-answer p { font-size: 0.92rem; color: var(--gray); line-height: 1.7; }

/* ===== CTA ===== */
.cta-section { background: var(--light); padding: 80px 0; }
.cta-card {
  background: var(--white); border-radius: 24px; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}
.cta-left { padding: 60px 48px; display: flex; flex-direction: column; justify-content: center; }
.cta-left h2 { font-size: 2rem; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.cta-left p { font-size: 1.05rem; color: var(--gray); margin-bottom: 28px; }
.cta-right img { width: 100%; height: 100%; object-fit: cover; }

/* ===== FOOTER ===== */
footer { background: var(--dark); color: rgba(255,255,255,0.65); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand h3 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.footer-cross { color: var(--red); font-size: 1.4rem; font-weight: 900; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 0.9rem; margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.85rem; padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--blue-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 0.8rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .cert-grid { grid-template-columns: 1fr; }
  .cert-preview { order: 2; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2.2rem; }
  .hero { padding-top: 140px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .section-title { font-size: 1.8rem; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-right { display: none; }
  .cta-left { padding: 40px 24px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; }
  .hero-badges { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-item h3 { font-size: 1.3rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
