.c4-hero-section {
  background: #0d1b3e;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.c4-hero-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.c4-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(37, 99, 235, 0.5);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #60a5fa;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.c4-hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #60a5fa;
  flex-shrink: 0;
}

.c4-hero-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 24px;
}

.c4-hero-accent {
  color: #60a5fa;
}

.c4-hero-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  max-width: 480px;
  margin-bottom: 36px;
}

.c4-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.c4-btn-primary {
  background: #2563eb;
  color: #ffffff !important;
  border: 2px solid #2563eb;
  border-radius: 6px;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.2s;
}

.c4-btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
  text-decoration: none;
}

.c4-btn-outline {
  background: transparent;
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  padding: 12px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s, transform 0.2s;
}

.c4-btn-outline:hover {
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-1px);
  text-decoration: none;
}

.c4-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.c4-stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 18px 22px;
  min-width: 130px;
  flex: 1;
}

.c4-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #60a5fa;
  line-height: 1;
  margin-bottom: 6px;
}

.c4-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

.c4-hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

lottie-player.hero-globe {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: hue-rotate(50deg) saturate(1.3);
}

/* ─── COURSES SECTION ─── */
.c4-courses-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.c4-courses-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 8px;
}

.c4-courses-sub {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 600px;
  margin-top: 12px;
  margin-bottom: 0;
}

.c4-courses-all-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  white-space: nowrap;
}

.c4-courses-all-link:hover {
  color: #2563eb;
  text-decoration: none;
}

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

.c4-course-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  background: #fff;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.c4-course-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(10,14,26,0.12);
  text-decoration: none;
  color: inherit;
}

.c4-course-thumb {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
}

.c4-course-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.c4-course-level {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.c4-course-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.c4-course-desc {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.c4-course-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: #555555;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.c4-course-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 991px) {
  .c4-hero-section {
    padding: 100px 0 50px;
    min-height: auto;
  }

  .c4-hero-right {
    margin-top: 40px;
  }

  lottie-player.hero-globe {
    max-width: 360px;
  }
}

@media (max-width: 576px) {
  .c4-hero-stats {
    gap: 10px;
  }

  .c4-stat-card {
    min-width: 100px;
    padding: 14px 16px;
  }

  .c4-stat-number {
    font-size: 1.6rem;
  }
}

/* ─── TABLER ICONS ─── */
.c4-card-icon {
  font-size: 2rem;
  color: #2563eb;
}

.c4-tool-thumb .c4-card-icon {
  font-size: 1.8rem;
}

.c4-course-meta .ti {
  font-size: 0.85rem;
}

/* ─── TOOL CARDS (c4 Lab) ─── */
.c4-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.c4-tool-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.c4-tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(10,14,26,0.12);
  text-decoration: none;
  color: inherit;
}

.c4-tool-thumb {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.c4-tool-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.c4-tool-count {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 4px;
}

.c4-tool-name {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.c4-tool-desc {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.6;
  flex: 1;
}

.c4-lab-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* --- c4 Lab packages --- */
.c4-package-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 28px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}

.c4-tier-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 6px;
  margin-bottom: 22px;
}

.c4-tier-tab {
  min-height: 44px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.c4-tier-tab:hover,
.c4-tier-tab:focus {
  color: #1d4ed8;
  outline: none;
}

.c4-tier-tab.is-active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.c4-package-summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.c4-package-summary h4 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 1.35rem;
}

.c4-package-summary p {
  margin: 0;
  max-width: 640px;
  color: #555555;
  font-size: 0.95rem;
  line-height: 1.6;
}

.c4-package-meta {
  min-width: 160px;
  text-align: right;
}

.c4-package-meta span {
  display: block;
  color: #0f172a;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
}

.c4-package-meta small {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

.c4-package-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.c4-package-stats div {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px 16px;
}

.c4-package-stats strong,
.c4-package-stats span {
  display: block;
}

.c4-package-stats strong {
  color: #2563eb;
  font-size: 1.15rem;
  line-height: 1.2;
  margin-bottom: 4px;
}

.c4-package-stats span {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.c4-tool-card.is-hidden {
  display: none;
}

.c4-pricing-section {
  margin-top: 0;
}

.c4-section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.c4-section-title-row h3 {
  margin-bottom: 0;
}

.c4-billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #e2e8f0;
  border-radius: 9px;
  background: #ffffff;
  padding: 5px;
}

.c4-billing-toggle button {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0 14px;
  cursor: pointer;
}

.c4-billing-toggle button.is-active {
  background: #2563eb;
  color: #ffffff;
}

.c4-billing-toggle span {
  margin-left: 6px;
  margin-right: 8px;
  color: #16a34a;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.c4-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.c4-price-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  padding: 22px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.c4-price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(10,14,26,0.12);
}

.c4-price-card.is-featured {
  border-color: #2563eb;
  box-shadow: 0 12px 34px rgba(37, 99, 235, 0.13);
}

.c4-price-card.is-selected {
  outline: 3px solid rgba(37, 99, 235, 0.16);
}

.c4-price-name {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.c4-price-value {
  display: block;
  color: #0f172a;
  font-size: 2.5rem;
  line-height: 1;
  margin-top: 16px;
}

.c4-price-cycle {
  display: block;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 8px;
}

.c4-price-card p {
  color: #555555;
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 18px 0 22px;
  flex: 1;
}

.c4-price-card .btn {
  align-self: flex-start;
}

.c4-compare-section {
  margin-top: 0;
}

.c4-compare-billing {
  text-align: right;
}

.c4-compare-billing p {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 12px;
}

.c4-compare-table-wrap {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  overflow-x: auto;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}

.c4-compare-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.c4-compare-table th,
.c4-compare-table td {
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.45;
  padding: 14px 18px;
  text-align: center;
  vertical-align: top;
}

.c4-compare-table th:first-child,
.c4-compare-table td:first-child {
  text-align: left;
  width: 34%;
}

.c4-compare-table th {
  background: #f8fafc;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.c4-compare-table th span,
.c4-compare-table th strong,
.c4-compare-table th small {
  display: block;
  letter-spacing: 0;
  text-transform: none;
}

.c4-compare-table th span {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.c4-compare-table th strong {
  color: #0f172a;
  font-size: 1.55rem;
  line-height: 1.1;
  margin-top: 8px;
}

.c4-compare-table th small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 4px;
}

.c4-compare-group td {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 12px 18px;
  text-align: left;
  text-transform: uppercase;
}

.c4-compare-table td.yes,
.c4-compare-table td.no,
.c4-compare-table td.value {
  font-size: 1.25rem;
  font-weight: 800;
}

.c4-compare-table td.yes {
  color: #16a34a;
}

.c4-compare-table td.no {
  color: #ef4444;
}

.c4-compare-table td.value {
  font-size: 1rem;
}

.c4-compare-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 991px) {
  .c4-package-summary,
  .c4-section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .c4-package-meta {
    text-align: left;
  }

  .c4-compare-billing {
    text-align: left;
  }

  .c4-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .c4-tier-tabs,
  .c4-package-stats,
  .c4-pricing-grid {
    grid-template-columns: 1fr;
  }

  .c4-package-panel,
  .c4-price-card {
    padding: 18px;
  }

  .c4-billing-toggle {
    width: 100%;
    flex-wrap: wrap;
  }

  .c4-billing-toggle button {
    flex: 1;
  }
}

/* ─── MANUAL CARDS ─── */
.c4-manual-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}

.c4-manual-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c4-manual-thumb-placeholder {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
}
