:root {
  --ctmd-primary: #020617;
  --ctmd-accent: #22d3ee;
}

body {
  background: radial-gradient(circle at top, #020617 0, #020617 25%, #020617 60%, #000 100%);
}

/* Generic */
.ctmd-section {
  padding: 80px 16px;
}

.ctmd-section-header {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
  color: #e5e7eb;
}

.ctmd-section-header h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.ctmd-section-header p {
  color: #9ca3af;
  margin: 0;
}

.ctmd-section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 600;
  color: var(--ctmd-accent);
  margin-bottom: 8px;
}

/* Glass morphic utility */
.ctmd-glass {
  background: linear-gradient(135deg, rgba(15,23,42,0.9), rgba(15,23,42,0.5));
  border: 1px solid rgba(148, 163, 184, 0.5);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(15,23,42,0.65);
}

/* Hero 2030 */
.ctmd-hero-2030 {
  position: relative;
  overflow: hidden;
  padding: 120px 16px 80px;
  color: #e5e7eb;
}

.ctmd-hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(55,65,81,0.4) 1px, transparent 0);
  background-size: 40px 40px;
  opacity: 0.35;
  pointer-events: none;
}

.ctmd-hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.ctmd-hero-left h1 {
  font-size: 42px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.ctmd-gradient-text {
  background: linear-gradient(120deg, #22d3ee, #a855f7, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ctmd-hero-subtitle {
  font-size: 16px;
  color: #9ca3af;
  max-width: 520px;
}

.ctmd-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.ctmd-hero-pills span {
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  padding: 4px 10px;
  font-size: 12px;
  color: #cbd5f5;
  background: radial-gradient(circle at top left, rgba(34,211,238,0.2), transparent 40%);
}

.ctmd-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.ctmd-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.ctmd-metric {
  min-width: 110px;
  padding: 10px 12px;
  border-radius: 12px;
  background: radial-gradient(circle at top, rgba(34,211,238,0.22), rgba(15,23,42,0.9));
  border: 1px solid rgba(148,163,184,0.5);
}

.ctmd-metric-value {
  display: block;
  font-weight: 700;
  font-size: 18px;
  color: #e5e7eb;
}

.ctmd-metric-label {
  display: block;
  font-size: 11px;
  color: #9ca3af;
}

/* Hero right hologram */
.ctmd-hero-right {
  position: relative;
}

.ctmd-hero-orb {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(34,211,238,0.4), transparent 55%),
              radial-gradient(circle at 80% 100%, rgba(168,85,247,0.35), transparent 55%);
  filter: blur(14px);
  opacity: 0.85;
}

.ctmd-hero-hologram {
  position: relative;
  border-radius: 24px;
  padding: 18px 16px;
  color: #e5e7eb;
}

.ctmd-holo-header {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.ctmd-holo-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.dot-green { background: #22c55e; }
.dot-amber { background: #facc15; }
.dot-red { background: #ef4444; }

.ctmd-holo-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #9ca3af;
  margin-bottom: 10px;
}

.ctmd-holo-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.ctmd-holo-stats .label {
  display: block;
  font-size: 11px;
  color: #9ca3af;
}

.ctmd-holo-stats .value {
  display: block;
  font-size: 14px;
  color: #e5e7eb;
}

.value-healthy {
  color: #4ade80;
}

.ctmd-holo-graph img {
  width: 100%;
  border-radius: 12px;
}

.ctmd-holo-footnote {
  margin-top: 8px;
  font-size: 11px;
  color: #6b7280;
}

/* Buttons */
a.ctmd-btn-primary {
  display: inline-block;
  background: radial-gradient(circle at top, var(--ctmd-accent), #0ea5e9);
  color: #020617 !important;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  box-shadow: 0 15px 35px rgba(34,211,238,0.45);
  border: 1px solid rgba(15,23,42,0.9);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

a.ctmd-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(34,211,238,0.7);
  filter: brightness(1.05);
}

a.ctmd-btn-ghost {
  display: inline-block;
  background: rgba(15,23,42,0.6);
  color: #e5e7eb !important;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid rgba(148,163,184,0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

a.ctmd-btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15,23,42,0.7);
  border-color: var(--ctmd-accent);
}

/* Service grid */
.ctmd-service-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.ctmd-service-card {
  border-radius: 20px;
  padding: 20px 18px;
  color: #e5e7eb;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

.ctmd-service-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0 0, rgba(34,211,238,0.09), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(168,85,247,0.09), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease-out;
  pointer-events: none;
}

.ctmd-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(15,23,42,0.9);
  border-color: rgba(34,211,238,0.6);
}

.ctmd-service-card:hover::before {
  opacity: 1;
}

.ctmd-card-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  color: #9ca3af;
}

.ctmd-service-card h3 {
  margin: 0 0 8px;
}

.ctmd-service-card p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #cbd5f5;
}

.ctmd-service-card ul {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 13px;
  color: #9ca3af;
}

.ctmd-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ctmd-accent);
  text-decoration: none;
}

.ctmd-link::after {
  content: "↗";
  font-size: 11px;
}

.ctmd-link:hover {
  text-decoration: underline;
}

/* Matrix / region cards */
.ctmd-matrix-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ctmd-matrix-card {
  border-radius: 18px;
  padding: 18px 16px;
  color: #e5e7eb;
}

.ctmd-matrix-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.ctmd-matrix-card p {
  font-size: 14px;
  color: #cbd5f5;
}

.ctmd-matrix-card ul {
  font-size: 13px;
  color: #9ca3af;
  padding-left: 18px;
}

/* Process timeline */
.ctmd-process-timeline {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  padding-left: 18px;
}

.ctmd-process-timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(148,163,184,0.2), rgba(34,211,238,0.6));
}

.ctmd-process-node {
  position: relative;
  margin-bottom: 26px;
}

.ctmd-process-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid var(--ctmd-accent);
  background: #020617;
  position: absolute;
  left: -3px;
  top: 12px;
  box-shadow: 0 0 12px rgba(34,211,238,0.8);
}

.ctmd-process-card {
  margin-left: 24px;
  padding: 14px 16px;
  border-radius: 14px;
  color: #e5e7eb;
}

/* Testimonial & CTA */
.ctmd-testimonial-2030 {
  padding: 70px 16px 40px;
}

.ctmd-testimonial-inner {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
}

.ctmd-testimonial-quote {
  font-size: 18px;
  margin-bottom: 10px;
  color: #e5e7eb;
}

.ctmd-testimonial-author {
  font-size: 14px;
  color: #9ca3af;
}

.ctmd-final-cta-2030 {
  padding: 70px 16px 90px;
  text-align: center;
  color: #e5e7eb;
}

.ctmd-final-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

/* Service detail pages */
.ctmd-service-detail {
  max-width: 960px;
  margin: 40px auto;
  color: #e5e7eb;
}

.ctmd-service-detail h2 {
  color: #e5e7eb;
}

.ctmd-service-detail p {
  color: #9ca3af;
}

.ctmd-service-detail ul {
  color: #9ca3af;
}

.ctmd-service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.ctmd-service-detail-grid img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(15,23,42,0.9);
}

/* Ticket form / portal cards */
.ctmd-ticket-form {
  max-width: 620px;
  margin: 24px auto;
  border-radius: 18px;
  padding: 22px 20px;
  color: #e5e7eb;
}

.ctmd-ticket-field {
  margin-bottom: 16px;
}

.ctmd-ticket-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
  color: #e5e7eb;
}

.ctmd-ticket-field input,
.ctmd-ticket-field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148,163,184,0.6);
  padding: 10px 12px;
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
  font-size: 14px;
}

.ctmd-ticket-field input:focus,
.ctmd-ticket-field textarea:focus {
  outline: none;
  border-color: var(--ctmd-accent);
  box-shadow: 0 0 0 1px rgba(34,211,238,0.6);
}

.ctmd-portal-card {
  max-width: 640px;
  margin: 16px auto;
  padding: 18px 16px;
  border-radius: 16px;
  color: #e5e7eb;
}

/* Partner logos */
.ctmd-partners-block {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: center;
}

.ctmd-partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.ctmd-partner-logo {
  padding: 10px 14px;
  border-radius: 14px;
}

.ctmd-partner-logo img {
  max-height: 30px;
  width: auto;
}

/* Cookie banner */
#ctmd-cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #e5e7eb;
  font-size: 13px;
  z-index: 9999;
}

#ctmd-cookie-banner a {
  color: var(--ctmd-accent);
  text-decoration: underline;
}

.ctmd-cookie-actions {
  display: flex;
  gap: 8px;
}

#ctmd-cookie-banner button {
  padding: 6px 12px;
  border-radius: 999px;
  border: none;
  font-size: 11px;
  cursor: pointer;
}

#ctmd-cookie-accept {
  background: radial-gradient(circle at top, var(--ctmd-accent), #0ea5e9);
  color: #020617;
}

#ctmd-cookie-settings {
  background: transparent;
  border: 1px solid rgba(148,163,184,0.8);
  color: #e5e7eb;
}

/* Scroll reveal */
.ctmd-hero-2030,
.ctmd-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.ctmd-in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .ctmd-hero-inner {
    grid-template-columns: 1fr;
  }
  .ctmd-hero-2030 { padding-top: 90px; }
  .ctmd-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ctmd-matrix-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ctmd-service-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ctmd-hero-2030 { padding-top: 70px; }
  .ctmd-service-grid,
  .ctmd-matrix-grid {
    grid-template-columns: 1fr;
  }
  #ctmd-cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
