@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;300;400;500;700;900&display=swap');

/* ===== VARIABLES ===== */
:root {
  --bg: #080b14;
  --bg2: #0d1220;
  --card: rgba(13, 18, 35, 0.92);
  --glass: rgba(255, 255, 255, 0.03);
  --accent: #00e8a2;
  --accent2: #f5a623;
  --accent3: #ff6b6b;
  --accent4: #8b5cf6;
  --accent5: #38bdf8;
  --text: #e2e8f0;
  --text2: #5a6a85;
  --border: rgba(255, 255, 255, 0.06);
  --glow: 0 0 40px rgba(0, 232, 162, 0.25);
  --radius: 20px;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Vazirmatn', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 5px;
}

/* ===== CANVAS ===== */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* ===== DOT GRID OVERLAY ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ===== PAGES ===== */
.page {
  display: none;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  animation: pageIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.page.active {
  display: block;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== LOADING ===== */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
  margin-bottom: 24px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loader-text {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 3px;
}

.loader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  margin-top: 16px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent5));
  border-radius: 3px;
  animation: loadBar 1.2s ease forwards;
}

@keyframes loadBar {
  to {
    width: 100%;
  }
}

/* ===== NAV ===== */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 20, 0.92);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
}

.nav-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent5));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--bg);
  font-weight: 900;
}

.nav-back {
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--text2);
  padding: 7px 18px;
  border-radius: 30px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-back:hover {
  color: var(--accent);
  border-color: rgba(0, 232, 162, 0.3);
  background: rgba(0, 232, 162, 0.06);
}

/* ===== LANDING ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

/* Blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
  pointer-events: none;
  animation: blobFloat 10s ease-in-out infinite alternate;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -15%;
  right: -10%;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--accent4);
  bottom: -10%;
  left: -10%;
  animation-delay: 4s;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: var(--accent5);
  top: 40%;
  left: 50%;
  animation-delay: 2s;
}

@keyframes blobFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, -30px) scale(1.15);
  }
}

.hero-badge {
  background: rgba(0, 232, 162, 0.07);
  border: 1px solid rgba(0, 232, 162, 0.2);
  border-radius: 40px;
  padding: 7px 22px;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 1.5px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeDown 0.7s ease both;
}

.badge-pulse {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

.hero-heading {
  text-align: center;
  margin-bottom: 16px;
  animation: fadeDown 0.8s ease both;
}

.hero-heading h1 {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-heading h2 {
  font-size: clamp(0.9rem, 2.5vw, 1.3rem);
  font-weight: 300;
  color: var(--text2);
  margin-top: 6px;
}

.hero-desc {
  font-size: 0.88rem;
  color: var(--text2);
  text-align: center;
  max-width: 540px;
  line-height: 2;
  margin-bottom: 36px;
  animation: fadeDown 0.9s ease both;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Visual */
.hero-visual {
  width: min(320px, 80vw);
  height: min(320px, 80vw);
  position: relative;
  margin-bottom: 40px;
  animation: fadeDown 1s ease both;
}

.hv-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hv-ring-1 {
  width: 100%;
  height: 100%;
  border-color: rgba(0, 232, 162, 0.15);
  animation: ringPulse 3s ease infinite;
}

.hv-ring-2 {
  width: 75%;
  height: 75%;
  border-color: rgba(56, 189, 248, 0.2);
  animation: ringPulse 3s ease 1s infinite;
}

.hv-ring-3 {
  width: 50%;
  height: 50%;
  border-color: rgba(139, 92, 246, 0.25);
  animation: ringPulse 3s ease 2s infinite;
}

@keyframes ringPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

.hv-cross {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hv-cross-h {
  width: 50px;
  height: 16px;
  background: var(--accent);
  border-radius: 8px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hv-cross-v {
  width: 16px;
  height: 50px;
  background: var(--accent);
  border-radius: 8px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hv-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: dotFloat 4s ease-in-out infinite;
}

.hv-dot-1 {
  background: var(--accent5);
  top: 10%;
  right: 15%;
  animation-delay: 0s;
}

.hv-dot-2 {
  background: var(--accent2);
  bottom: 15%;
  left: 10%;
  animation-delay: 1.5s;
}

.hv-dot-3 {
  background: var(--accent3);
  top: 20%;
  left: 20%;
  animation-delay: 3s;
}

.hv-dot-4 {
  background: var(--accent4);
  bottom: 10%;
  right: 20%;
  animation-delay: 0.8s;
  width: 6px;
  height: 6px;
}

@keyframes dotFloat {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }

  50% {
    transform: translateY(-12px);
    opacity: 1;
  }
}

.hv-center-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 232, 162, 0.15) 0%, transparent 70%);
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
  animation: fadeDown 1.1s ease both;
}

.stat-box {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 28px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.stat-box:hover {
  border-color: rgba(0, 232, 162, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text2);
  margin-top: 2px;
}

/* Enter Button */
.enter-btn {
  position: relative;
  padding: 16px 56px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  background: transparent;
  border: none;
  color: var(--accent);
  transition: all 0.4s;
  animation: fadeDown 1.2s ease both;
}

.enter-btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -2;
  border-radius: inherit;
  background: linear-gradient(60deg, var(--accent), var(--accent5), var(--accent4), var(--accent));
  background-size: 300% 300%;
  animation: gradShift 4s ease infinite;
}

.enter-btn::after {
  content: '';
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: inherit;
  background: var(--bg);
}

.enter-btn:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--glow);
}

@keyframes gradShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Makers */
.makers {
  margin-top: 56px;
  text-align: center;
  animation: fadeDown 1.3s ease both;
}

.makers-label {
  font-size: 0.75rem;
  color: var(--text2);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.makers-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.maker-chip {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 8px 20px 8px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
}

.maker-chip:hover {
  border-color: rgba(0, 232, 162, 0.25);
  transform: translateY(-2px);
}

.maker-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.ma-1 {
  background: linear-gradient(135deg, var(--accent), var(--accent5));
  color: var(--bg);
}

.ma-2 {
  background: linear-gradient(135deg, var(--accent3), var(--accent4));
  color: #fff;
}

.maker-name {
  font-size: 0.82rem;
  font-weight: 700;
}

.maker-role {
  font-size: 0.68rem;
  color: var(--text2);
}

/* ===== SERVICES ===== */
.section-header {
  text-align: center;
  padding: 44px 24px 24px;
}

.tag-pill {
  display: inline-block;
  background: rgba(0, 232, 162, 0.06);
  border: 1px solid rgba(0, 232, 162, 0.18);
  color: var(--accent);
  font-size: 0.7rem;
  padding: 4px 16px;
  border-radius: 30px;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  font-weight: 900;
  background: linear-gradient(135deg, #fff 40%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--text2);
  font-size: 0.88rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  padding: 16px 28px 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.svc-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
}

.svc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.1);
}

.svc-card-visual {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.svc-card-visual svg {
  width: 56px;
  height: 56px;
  position: relative;
  z-index: 1;
}

.svc-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, var(--card));
}

.svc-card-body {
  padding: 20px 22px 22px;
}

.svc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.svc-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.svc-badge {
  font-size: 0.65rem;
  color: var(--text2);
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
}

.svc-desc {
  font-size: 0.8rem;
  color: var(--text2);
  line-height: 1.9;
  margin-bottom: 16px;
}

.svc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.svc-count {
  font-size: 0.75rem;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.svc-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text2);
  transition: all 0.3s;
}

.svc-card:hover .svc-arrow {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

/* ===== DISEASES ===== */
.diseases-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text2);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb span {
  cursor: pointer;
  transition: color 0.3s;
}

.breadcrumb span:hover {
  color: var(--accent);
}

.breadcrumb .bc-sep {
  color: rgba(255, 255, 255, 0.15);
  cursor: default;
}

.breadcrumb .bc-current {
  color: var(--accent);
  cursor: default;
}

.disease-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.dh-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.dh-icon svg {
  width: 36px;
  height: 36px;
}

.dh-info h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

.dh-info p {
  color: var(--text2);
  font-size: 0.85rem;
}

.diseases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.dis-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.dis-card::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--accent), var(--accent5));
  border-radius: 0 3px 3px 0;
  transition: width 0.3s;
}

.dis-card:hover::before {
  width: 5px;
}

.dis-card:hover {
  transform: translateX(-4px);
  border-color: rgba(0, 232, 162, 0.15);
  box-shadow: 0 8px 32px rgba(0, 232, 162, 0.08);
}

.dis-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dis-card-icon svg {
  width: 22px;
  height: 22px;
}

.dis-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.dis-brief {
  font-size: 0.78rem;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 14px;
}

.dis-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.dtag {
  background: rgba(0, 232, 162, 0.06);
  border: 1px solid rgba(0, 232, 162, 0.15);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.65rem;
  color: var(--accent);
}

/* ===== DETAIL ===== */
.detail-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

.detail-hero {
  background: linear-gradient(135deg, rgba(13, 18, 35, 0.95), rgba(8, 11, 20, 0.98));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 30px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.detail-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 232, 162, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.dh-top {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.dh-main-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.dh-main-icon svg {
  width: 36px;
  height: 36px;
}

.dh-title h1 {
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}

.dh-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.meta-tag {
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.meta-tag.mt-accent {
  background: rgba(0, 232, 162, 0.08);
  border: 1px solid rgba(0, 232, 162, 0.2);
  color: var(--accent);
}

.meta-tag.mt-warn {
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.2);
  color: var(--accent2);
}

.meta-tag.mt-danger {
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.2);
  color: var(--accent3);
}

.meta-tag.mt-info {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--accent5);
}

/* Tabs */
.tabs-bar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 5px;
}

.tab-btn {
  flex: 1;
  min-width: 90px;
  background: transparent;
  border: none;
  color: var(--text2);
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.tab-btn.active {
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  box-shadow: var(--glow);
}

.tab-btn:not(.active):hover {
  background: rgba(0, 232, 162, 0.06);
  color: var(--accent);
}

.tab-panel {
  display: none;
  animation: pageIn 0.35s ease;
}

.tab-panel.active {
  display: block;
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.info-item {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  transition: all 0.3s;
}

.info-item:hover {
  border-color: rgba(0, 232, 162, 0.15);
  transform: translateY(-3px);
}

.info-item-icon {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.info-item h4 {
  font-size: 0.72rem;
  color: var(--text2);
  margin-bottom: 4px;
}

.info-item p {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 600;
}

/* Text Block */
.text-block {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 18px;
}

.text-block h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 232, 162, 0.08);
}

.text-block ul {
  list-style: none;
}

.text-block ul li {
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: var(--text2);
  font-size: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.8;
}

.text-block ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 8px;
  flex-shrink: 0;
}

.text-block p {
  color: var(--text2);
  line-height: 2;
  font-size: 0.85rem;
}

/* Alerts */
.alert {
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.84rem;
  line-height: 1.9;
}

.alert-danger {
  background: rgba(255, 107, 107, 0.06);
  border: 1px solid rgba(255, 107, 107, 0.2);
  color: #ffb3b3;
}

.alert-success {
  background: rgba(0, 232, 162, 0.05);
  border: 1px solid rgba(0, 232, 162, 0.15);
  color: #a0ffe0;
}

.alert-warn {
  background: rgba(245, 166, 35, 0.06);
  border: 1px solid rgba(245, 166, 35, 0.2);
  color: #ffe0a0;
}

.alert-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* Media Grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.media-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 232, 162, 0.2);
}

.media-player-wrap {
  position: relative;
  background: #000;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.media-player-wrap audio.media-player {
  width: 100%;
  padding: 24px 12px 12px;
  aspect-ratio: auto;
}

.media-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
  object-fit: contain;
}

.media-player-error {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  padding: 16px;
  text-align: center;
  color: var(--text2);
  font-size: 0.8rem;
}

.media-type {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 20px;
  padding: 2px 10px;
  font-size: 0.65rem;
  color: #fff;
  pointer-events: none;
}

.media-body {
  padding: 12px 14px;
}

.media-body h4 {
  font-size: 0.8rem;
  color: #fff;
  margin-bottom: 4px;
}

.media-body p {
  font-size: 0.7rem;
  color: var(--text2);
}

/* Downloads */
.dl-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: rgba(0, 232, 162, 0.04);
  border: 1px solid rgba(0, 232, 162, 0.15);
  border-radius: 14px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 10px;
}

.dl-btn:hover {
  background: rgba(0, 232, 162, 0.1);
  border-color: var(--accent);
  transform: translateX(-4px);
  box-shadow: var(--glow);
}

.dl-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent5));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--bg);
  font-weight: 900;
}

.dl-text h4 {
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 2px;
}

.dl-text p {
  font-size: 0.7rem;
  color: var(--text2);
}

.dl-size {
  margin-right: auto;
  font-size: 0.7rem;
  color: var(--text2);
  background: var(--glass);
  padding: 3px 10px;
  border-radius: 20px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: rgba(4, 6, 12, 0.9);
  border-top: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
  color: var(--text2);
  font-size: 0.75rem;
}

.site-footer strong {
  color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media(max-width:640px) {
  .services-grid {
    padding: 12px 14px 50px;
    gap: 16px;
  }

  .diseases-wrap {
    padding: 0 14px 50px;
  }

  .detail-wrap {
    padding: 14px 14px 60px;
  }

  .hero-stats {
    gap: 12px;
  }

  .stat-box {
    padding: 14px 18px;
  }

  .tabs-bar {
    gap: 3px;
  }

  .tab-btn {
    font-size: 0.7rem;
    padding: 8px 8px;
    min-width: 70px;
  }

  .disease-hero {
    padding: 16px;
    gap: 14px;
  }

  .detail-hero {
    padding: 18px;
  }

  .svc-card-visual {
    height: 120px;
  }
}

/* ===== REDUCED MOTION ===== */
@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}