/* ============================================================
   EduShare Africa — Design System v2
   A unified, mobile-first design language for all public pages
   ============================================================ */

/* ── DESIGN TOKENS ── */
/* Global design tokens live in tokens.css. */



/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; }

/* ── LAYOUT UTILITIES ── */
.ds-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-8);
}
@media (max-width: 640px) {
  .ds-container { padding: 0 var(--space-4); }
}

.ds-section {
  padding: var(--space-24) 0;
}
@media (max-width: 768px) {
  .ds-section { padding: var(--space-16) 0; }
}

.ds-section-sm {
  padding: var(--space-16) 0;
}

/* ── SECTION HEADER ── */
.ds-section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
}
.ds-section-header.left {
  text-align: left;
  margin-left: 0;
}

.ds-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand-blue);
  background: rgba(1,76,204,0.08);
  border: 1px solid rgba(1,76,204,0.15);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.ds-eyebrow.green  { color: var(--brand-green);  background: rgba(5,150,105,0.08);  border-color: rgba(5,150,105,0.15); }
.ds-eyebrow.teal   { color: var(--brand-teal);   background: rgba(13,148,136,0.08); border-color: rgba(13,148,136,0.15); }
.ds-eyebrow.purple { color: var(--brand-purple);  background: rgba(124,58,237,0.08); border-color: rgba(124,58,237,0.15); }
.ds-eyebrow.gold   { color: #b45309; background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.2); }
.ds-eyebrow.white  { color: white;   background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); }

.ds-h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-primary-dk);
  margin-bottom: var(--space-4);
}
.ds-h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-primary-dk);
  margin-bottom: var(--space-4);
}
.ds-h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary-dk);
  margin-bottom: var(--space-2);
}
.ds-body-lg {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
}
.ds-body {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}
.ds-body-sm {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── COLOUR ACCENT CLASSES ── */
.text-blue   { color: var(--brand-blue);  }
.text-navy   { color: var(--brand-navy);  }
.text-teal   { color: var(--brand-teal);  }
.text-green  { color: var(--brand-green); }
.text-gold   { color: var(--brand-gold);  }
.text-purple { color: var(--brand-purple);}
.text-white  { color: #fff;               }
.text-muted  { color: var(--color-text-muted); }

/* ── BUTTON SYSTEM ── */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.625rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.ds-btn:focus-visible { outline: 3px solid rgba(1,76,204,0.4); outline-offset: 3px; }

/* Primary */
.ds-btn-primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.ds-btn-primary:hover {
  background: var(--brand-navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(1,76,204,0.25);
}

/* Secondary / Ghost */
.ds-btn-secondary {
  background: transparent;
  color: var(--brand-navy);
  border-color: var(--color-border-dk);
}
.ds-btn-secondary:hover {
  background: var(--color-bg-muted);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

/* White (for dark backgrounds) */
.ds-btn-white {
  background: #fff;
  color: var(--brand-navy);
  box-shadow: var(--shadow-sm);
}
.ds-btn-white:hover {
  background: var(--color-bg-soft);
  transform: translateY(-2px);
}

/* Outline-white */
.ds-btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.ds-btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
}

/* Size variants */
.ds-btn-sm { padding: 0.55rem 1.1rem; font-size: var(--text-xs); }
.ds-btn-lg { padding: 1rem 2.25rem; font-size: var(--text-base); }
.ds-btn-xl { padding: 1.1rem 2.5rem; font-size: var(--text-lg); font-weight: 800; }

/* Icon only */
.ds-btn-icon { padding: 0.65rem; border-radius: var(--radius-md); }

/* ── BADGE / PILL ── */
.ds-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.3px;
}
.ds-badge-blue   { background: #eff6ff; color: var(--brand-blue); }
.ds-badge-green  { background: #ecfdf5; color: var(--brand-green); }
.ds-badge-teal   { background: #f0fdfa; color: var(--brand-teal); }
.ds-badge-gold   { background: #fffbeb; color: #b45309; }
.ds-badge-purple { background: #faf5ff; color: var(--brand-purple); }
.ds-badge-red    { background: #fef2f2; color: #dc2626; }
.ds-badge-grey   { background: var(--color-bg-muted); color: var(--color-text-muted); }
.ds-badge-navy   { background: var(--brand-navy); color: #fff; }
.ds-badge-free   { background: #ecfdf5; color: var(--brand-green); border: 1px solid #a7f3d0; }
.ds-badge-paid   { background: #eff6ff; color: var(--brand-blue); border: 1px solid #bfdbfe; }

/* ── CARDS ── */
.ds-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.ds-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(1,76,204,0.2);
}
.ds-card-padded { padding: var(--space-6); }
.ds-card-padded-lg { padding: var(--space-8); }

/* ── ICON BOX ── */
.ds-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ds-icon-box-sm { width: 40px; height: 40px; border-radius: var(--radius-md); }
.ds-icon-box-lg { width: 64px; height: 64px; border-radius: var(--radius-xl); }
.ds-icon-box-blue   { background: rgba(1,76,204,0.08);   color: var(--brand-blue); }
.ds-icon-box-teal   { background: rgba(13,148,136,0.10); color: var(--brand-teal); }
.ds-icon-box-green  { background: rgba(5,150,105,0.10);  color: var(--brand-green); }
.ds-icon-box-purple { background: rgba(124,58,237,0.10); color: var(--brand-purple); }
.ds-icon-box-gold   { background: rgba(245,158,11,0.12); color: #b45309; }
.ds-icon-box-navy   { background: var(--brand-navy); color: #fff; }

/* ── FORM INPUTS ── */
.ds-field { margin-bottom: var(--space-5); }
.ds-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: var(--space-2);
}
.ds-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border-dk);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.ds-input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(1,76,204,0.10);
}
.ds-input::placeholder { color: var(--color-text-light); }
.ds-input-lg { padding: 0.9rem 1.25rem; font-size: var(--text-lg); }

textarea.ds-input { resize: vertical; min-height: 120px; line-height: 1.6; }

.ds-select {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border-dk);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
  appearance: none;
  outline: none;
  transition: border-color var(--transition);
  cursor: pointer;
}
.ds-select:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 4px rgba(1,76,204,0.10); }

/* ── PAGE HERO ── */
.ds-page-hero {
  background: linear-gradient(135deg, var(--brand-navy) 0%, #013ba0 60%, #0d40b0 100%);
  padding: var(--space-20) 0 var(--space-16);
  position: relative;
  overflow: hidden;
}
.ds-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.ds-page-hero-content { position: relative; z-index: 1; }
.ds-page-hero .ds-h1 { color: #fff; }
.ds-page-hero .ds-body-lg { color: rgba(255,255,255,0.8); }

/* ── DIVIDER ── */
.ds-divider {
  height: 1px;
  background: var(--color-border);
  border: none;
  margin: 0;
}

/* ── STEP INDICATOR ── */
.ds-steps {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
.ds-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
  position: relative;
}
.ds-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(50% + 22px);
  right: calc(-50% + 22px);
  height: 2px;
  background: var(--color-border);
}
.ds-step-num {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-bg-muted);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 800;
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.ds-step.active .ds-step-num {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(1,76,204,0.12);
}
.ds-step-label { font-size: var(--text-xs); font-weight: 700; color: var(--color-text-muted); }
.ds-step.active .ds-step-label { color: var(--brand-blue); }

/* ── ACCORDION / FAQ ── */
.ds-faq-item {
  border-bottom: 1px solid var(--color-border);
}
.ds-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  cursor: pointer;
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text);
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
}
.ds-faq-question:hover { color: var(--brand-blue); }
.ds-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--color-text-muted);
}
.ds-faq-item.open .ds-faq-icon {
  background: var(--brand-blue);
  color: #fff;
  transform: rotate(45deg);
}
.ds-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out), padding 0.2s;
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}
.ds-faq-item.open .ds-faq-answer {
  max-height: 600px;
  padding-bottom: var(--space-5);
}

/* ── GRID UTILITIES ── */
.ds-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.ds-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.ds-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

@media (max-width: 1024px) {
  .ds-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .ds-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ds-grid-2, .ds-grid-3, .ds-grid-4 { grid-template-columns: 1fr; }
}

/* ── CHECKLIST ── */
.ds-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.ds-checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.55;
}
.ds-checklist li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--brand-blue);
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l3 3 5-6' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── ALERT BANNERS ── */
.ds-alert {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 600;
}
.ds-alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.ds-alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.ds-alert-warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.ds-alert-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ── BREADCRUMB ── */
.ds-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  flex-wrap: wrap;
}
.ds-breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color var(--transition); }
.ds-breadcrumb a:hover { color: #fff; }
.ds-breadcrumb-sep { opacity: 0.4; }
.ds-breadcrumb-current { color: #fff; font-weight: 600; }

/* On light bg */
.ds-breadcrumb.light { color: var(--color-text-muted); }
.ds-breadcrumb.light a { color: var(--color-text-muted); }
.ds-breadcrumb.light a:hover { color: var(--brand-blue); }
.ds-breadcrumb.light .ds-breadcrumb-current { color: var(--brand-navy); }

/* ── RESOURCE CARD ── */
.ds-resource-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.ds-resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(1,76,204,0.2);
}
.ds-resource-card-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.ds-resource-card-img-placeholder {
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-soft);
  color: var(--brand-blue);
  font-size: 2.5rem;
}
.ds-resource-card-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ds-resource-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}
.ds-resource-card-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.35;
  margin-bottom: var(--space-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}
.ds-resource-card-title:hover { color: var(--brand-blue); }
.ds-resource-card-creator {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.ds-resource-card-avatar {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background: var(--brand-blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ds-resource-card-creator a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}
.ds-resource-card-creator a:hover { color: var(--brand-blue); }
.ds-resource-card-footer {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}
.ds-resource-card-price {
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--brand-navy);
}
.ds-resource-card-price.free { color: var(--brand-green); }

/* ── STAR RATING ── */
.ds-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}
.ds-stars svg { flex-shrink: 0; }

/* ── PAGE LAYOUTS ── */
.ds-page-with-sidebar {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 1024px) {
  .ds-page-with-sidebar { grid-template-columns: 1fr; }
}

/* ── SIDEBAR ── */
.ds-sidebar {
  position: sticky;
  top: 100px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}
.ds-sidebar-section { margin-bottom: var(--space-6); }
.ds-sidebar-title {
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

/* ── AVATAR ── */
.ds-avatar {
  border-radius: var(--radius-full);
  background: var(--brand-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.ds-avatar-sm  { width: 32px;  height: 32px;  font-size: var(--text-sm); }
.ds-avatar-md  { width: 40px;  height: 40px;  font-size: var(--text-base); }
.ds-avatar-lg  { width: 56px;  height: 56px;  font-size: var(--text-xl); }
.ds-avatar-xl  { width: 72px;  height: 72px;  font-size: var(--text-2xl); }

/* ── REVEAL ANIMATIONS ── */
.ds-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.ds-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── ROLE TABS / PILLS ── */
.ds-role-tabs {
  display: flex;
  gap: var(--space-2);
  background: var(--color-bg-muted);
  padding: var(--space-1);
  border-radius: var(--radius-full);
  width: fit-content;
}
.ds-role-tab {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  transition: all var(--transition);
  text-decoration: none;
}
.ds-role-tab:hover { color: var(--brand-navy); }
.ds-role-tab.active {
  background: var(--color-bg);
  color: var(--brand-navy);
  box-shadow: var(--shadow-xs);
}
.ds-role-tab.teacher.active { color: var(--color-teacher); }
.ds-role-tab.student.active { color: var(--color-student); }
.ds-role-tab.parent.active  { color: var(--color-parent);  }

/* ── STAT BLOCK ── */
.ds-stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.ds-stat-value {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.ds-stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 600;
}
.ds-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--color-border);
  align-self: center;
}

/* ── PRICING CARD ── */
.ds-pricing-card {
  background: var(--color-bg);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.ds-pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ds-pricing-card.featured {
  border: 2px solid var(--brand-blue);
  box-shadow: var(--shadow-md);
}
.ds-pricing-card-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}
.accent-blue   { background: var(--brand-blue); }
.accent-teal   { background: var(--brand-teal); }
.accent-purple { background: var(--brand-purple); }
.accent-green  { background: var(--brand-green); }
.accent-gold   { background: var(--brand-gold); }

.ds-pricing-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 800;
  background: var(--brand-blue);
  color: #fff;
  margin-bottom: var(--space-4);
  letter-spacing: 0.3px;
}

/* ── FEATURE LIST IN PRICING ── */
.ds-feature-list {
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.ds-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
}
.ds-feature-list li svg { flex-shrink: 0; margin-top: 1px; }

/* ── PROGRESS BAR ── */
.ds-progress-track {
  height: 6px;
  background: var(--color-bg-muted);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.ds-progress-fill {
  height: 100%;
  background: var(--brand-blue);
  border-radius: var(--radius-full);
  transition: width 1s var(--ease-out);
}

/* ── CONTACT METHODS ── */
.ds-contact-method {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
}

/* ── TAG CLOUD ── */
.ds-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.ds-tag {
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  background: var(--color-bg-muted);
  color: var(--color-text-muted);
  text-decoration: none;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
  cursor: pointer;
}
.ds-tag:hover, .ds-tag.active {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}

/* ── QUOTE / HIGHLIGHT BOX ── */
.ds-highlight-box {
  border-left: 4px solid var(--brand-blue);
  background: #eff6ff;
  padding: var(--space-5) var(--space-6);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-size: var(--text-base);
  color: var(--brand-navy);
  line-height: 1.65;
}
.ds-highlight-box.green { border-color: var(--brand-green); background: #ecfdf5; color: #065f46; }
.ds-highlight-box.gold  { border-color: var(--brand-gold);  background: #fffbeb; color: #92400e; }

/* ── MOBILE NAV OVERRIDE ── */
@media (max-width: 768px) {
  .ds-hide-mobile { display: none !important; }
}
@media (min-width: 769px) {
  .ds-hide-desktop { display: none !important; }
}

/* ── SCROLL REVEAL JS HOOK ── */
.ds-reveal-group .ds-reveal:nth-child(1) { transition-delay: 0s; }
.ds-reveal-group .ds-reveal:nth-child(2) { transition-delay: 0.07s; }
.ds-reveal-group .ds-reveal:nth-child(3) { transition-delay: 0.14s; }
.ds-reveal-group .ds-reveal:nth-child(4) { transition-delay: 0.21s; }
.ds-reveal-group .ds-reveal:nth-child(5) { transition-delay: 0.28s; }
.ds-reveal-group .ds-reveal:nth-child(6) { transition-delay: 0.35s; }

/* ── DARK SECTION UTILITY ── */
.ds-dark-section {
  background: var(--brand-navy);
  color: rgba(255,255,255,0.85);
}
.ds-dark-section .ds-h2 { color: #fff; }
.ds-dark-section .ds-body { color: rgba(255,255,255,0.7); }
.ds-dark-section .ds-body-lg { color: rgba(255,255,255,0.75); }

/* ── HORIZONTAL SCROLL ROW ── */
.ds-scroll-row {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ds-scroll-row::-webkit-scrollbar { display: none; }

/* ── TOGGLE SWITCH ── */
.ds-toggle-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-10);
}
.ds-toggle-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text-muted);
}
.ds-toggle-label.active { color: var(--brand-navy); }
.ds-toggle-input { display: none; }
.ds-toggle-switch {
  width: 48px;
  height: 26px;
  border-radius: var(--radius-full);
  background: var(--color-border-dk);
  position: relative;
  cursor: pointer;
  transition: background var(--transition);
}
.ds-toggle-input:checked + .ds-toggle-switch { background: var(--brand-blue); }
.ds-toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: #fff;
  transition: transform var(--transition);
  box-shadow: var(--shadow-xs);
}
.ds-toggle-input:checked + .ds-toggle-switch::after { transform: translateX(22px); }

/* ── EMPTY STATE ── */
.ds-empty-state {
  text-align: center;
  padding: var(--space-20) var(--space-8);
}
.ds-empty-state-icon {
  width: 72px; height: 72px;
  background: var(--color-bg-muted);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  color: var(--color-text-light);
}

/* ── SEARCH BAR ── */
.ds-search-wrap {
  position: relative;
  max-width: 560px;
}
.ds-search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
  pointer-events: none;
}
.ds-search-input {
  width: 100%;
  padding: 0.9rem 1rem 0.9rem 3rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border-dk);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.ds-search-input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(1,76,204,0.10);
}
.ds-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
}

/* ── GLOBAL SHARED SCRIPT HOOKS ── */
/* Used by inline JS in pages to trigger ds-reveal */
