/* ===========================
   MED ONE X — WEBSITE STYLES
   =========================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0066cc;
  --primary-dark: #0052a3;
  --primary-light: #e8f1fc;
  --accent: #00c48c;
  --text: #0f1923;
  --text2: #4a5568;
  --text3: #718096;
  --bg: #ffffff;
  --bg2: #f7fafc;
  --bg3: #eef2f7;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(0,102,204,0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,102,204,0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--bg2); }

.btn-nav {
  background: var(--primary);
  color: white;
  padding: 9px 20px;
  font-size: 13px;
}
.btn-nav:hover { background: var(--primary-dark); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  color: var(--text2);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-toggle:hover {
  background: var(--bg3);
  border-color: var(--primary);
  color: var(--primary);
}
.lang-flag { font-size: 15px; }

.btn-large {
  padding: 16px 36px;
  font-size: 17px;
  border-radius: 10px;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}
.logo-icon { font-size: 22px; }
.logo-x { color: var(--primary); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 50%, #f0fff8 100%);
  padding: 80px 24px 96px;
  text-align: center;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.hero-title {
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-accent {
  color: var(--primary);
}

.hero-sub {
  font-size: 18px;
  color: var(--text2);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 13px;
  color: var(--text2);
  font-weight: 500;
}

/* ===== WHY ===== */
.why {
  padding: 96px 24px;
  background: var(--bg);
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.why-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.why-icon {
  font-size: 32px;
  margin-bottom: 14px;
}

.why-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
}

/* ===== HOW IT WORKS ===== */
.how {
  padding: 96px 24px;
  background: var(--bg2);
}

.steps {
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px;
  box-shadow: var(--shadow);
}

.step-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}

.step-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
}

.step-divider {
  font-size: 24px;
  color: var(--primary);
  opacity: 0.4;
  padding: 8px 0;
}

/* ===== HOSPITAL ===== */
.hospital {
  padding: 96px 24px;
  background: var(--bg);
}

.hospital-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.hospital-text .section-label { text-align: left; }

.hospital-text h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hospital-text p {
  color: var(--text2);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 480px;
}

.hospital-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hospital-list li {
  font-size: 14px;
  color: var(--text2);
  font-weight: 500;
}

.hospital-badge {
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  color: white;
  border-radius: 16px;
  padding: 36px 32px;
  text-align: center;
  min-width: 200px;
  box-shadow: 0 12px 40px rgba(0,102,204,0.3);
}

.badge-icon { font-size: 48px; margin-bottom: 12px; }
.badge-name { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.badge-loc { font-size: 13px; opacity: 0.75; margin-bottom: 16px; }
.badge-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}

/* ===== SPECIALTIES ===== */
.specialties {
  padding: 96px 24px;
  background: var(--bg2);
}

.spec-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}

.spec-item {
  background: white;
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: all 0.2s;
}
.spec-item:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.spec-note {
  text-align: center;
  font-size: 14px;
  color: var(--text3);
  font-style: italic;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 96px 24px;
  background: linear-gradient(135deg, #0052a3 0%, #0066cc 50%, #0080ff 100%);
}

.cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-inner p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.65;
}

.cta-inner .btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.cta-inner .btn-primary:hover {
  background: #f0f7ff;
  transform: translateY(-2px);
}

.cta-note {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  padding: 48px 24px;
}

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

.footer .logo-text { color: white; }
.footer .logo-x { color: #60a5fa; }

.footer-tagline {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  margin: 12px 0 20px;
}

.footer-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }
.footer-links span { color: rgba(255,255,255,0.2); }

.footer-disclaimer {
  color: rgba(255,255,255,0.3);
  font-size: 12px;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 60px 20px 72px; }
  .why, .how, .hospital, .specialties, .cta-section { padding: 72px 20px; }

  .hospital-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hospital-badge { max-width: 280px; margin: 0 auto; }

  .hero-cta { flex-direction: column; align-items: center; }
  .hero-trust { flex-direction: column; align-items: center; gap: 8px; }
}

@media (max-width: 480px) {
  .step { flex-direction: column; gap: 12px; }
  .step-num { font-size: 24px; }
}
